Commit graph

430 commits

Author SHA1 Message Date
Jordan Petridis 5fe97b9f1c
registry: Change the way in which images are tagged
Previously we tried using the git commit ref as a UID for the
images. This does not work though cause multiple jobs that rebuild
the image can be triggered and override the same image tag. Instead
use the CI_JOB_ID to provide better semantics wrt naming conflicts.

Additionally add the date as part of the tag to better indicate
the age of the image. Gitlab WEBGUI doens't indicate the age
in a good way nor makes it easy to short the images.
2019-03-26 17:18:24 +02:00
Jordan Petridis bc2bd98a75
gitlab/ci_template: disable another test in check
close #12
2019-03-26 13:47:01 +02:00
Matthew Waters 497415544b docker: add android-specific image
pre-includes the NDK/SDK
2019-03-26 04:00:57 +00:00
Jordan Petridis 01624a5051
gitab/ci_template: Update cerbero image 2019-03-26 02:26:55 +02:00
Tim-Philipp Müller 7ed820aa1f gitlab/ci_template: run valgrind tests automatically
Don't valgrind everything for all changes though,
but only those modules most likely to be affected
by changes in the current ci project. So, valgrind

 - gstreamer only for gstreamer core changes
 - gst-plugins-base for core/base changes
 - gst-plugins-good for core/base/good changes
 - gst-plugins-ugly for core/base/ugly changes
 - gst-plugins-bad for core/base/good changes

In other words: don't valgrind core/base if it's
good/bad/ugly that's being changed, for example.
Don't valgrind -good or -ugly for changes in -bad,
etc.

Meaning:

 - for changes in core, valgrind core/base/good/ugly/bad
 - for changes in base, valgrind base/good/ugly/bad
 - for changes in good, valgrind good/bad
 - for changes in ugly, valgrind ugly
 - for changes in bad, valgrind bad

More modules to be added later once they're valgrind
clean on the CI.

https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/80
2019-03-25 17:31:44 +00:00
Tim-Philipp Müller 21733f4057 gitlab/ci_template: add manual valgrind jobs 2019-03-25 17:31:44 +00:00
Nirbheek Chauhan ad598c3f02 Always print timestamps when running Cerbero
This is useful when doing performance improvements or comparisons.
2019-03-25 21:49:29 +05:30
Nirbheek Chauhan fc2b4a657c docker/cerbero: Always install lbzip2 for use in packaging
See: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/132

Needed for https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/139
2019-03-25 21:49:29 +05:30
Thibault Saunier 43d8affe31 Do not run indent on gst-integration-testsuites 2019-03-25 09:32:27 -03:00
Tim-Philipp Müller b0affb257e gitlab/ci_template: blacklist curlhttpsrc test_multiple_http_requests
Too flaky.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/932
2019-03-23 20:04:38 +00:00
Thibault Saunier 472901ba17 docker:fedora: Remove Qt5 devel packages
as we haven't tested building it and it leads to build issues in
examples.
2019-03-22 21:21:31 +00:00
Jordan Petridis d1181c94d5 gitlab/ci_template: add a build that disabled debug logs 2019-03-22 14:57:35 +00:00
Thibault Saunier 452f64bb5e docker:fedora: No need to add site-packages to PATH 2019-03-21 20:53:32 -03:00
Thibault Saunier f04c2e7f38 fedora: Install meson 0.49.2
Working around https://github.com/mesonbuild/meson/issues/5087
2019-03-21 18:15:13 -03:00
Thibault Saunier e229b559d4 Revert "docker/fedora: use meson from fedora repos"
This reverts commit a116f19eeb.
2019-03-21 18:15:13 -03:00
Thibault Saunier 74a954ca91 Track gst-integration-testsuites 2019-03-21 18:15:13 -03:00
Thibault Saunier 3f3031eafb fedora: Install git-lfs 2019-03-21 18:15:13 -03:00
Jordan Petridis 0831f87561
gitlab/ci_template: refresh the image builds 2019-03-14 20:51:08 +02:00
Jordan Petridis fb91ee1830 docker/fedora: use the meson subprojects cmd to download subprojects
Introduced in 0.49.0 so we can avoid the need to configure in
order to cache the subproejct repos.
2019-03-14 15:33:05 +00:00
Jordan Petridis 71ef6dd804 docker/fedora: use upstream registry to retch the base image
Fedora is now hosting its official docker images at
https://registry.fedoraproject.org
2019-03-14 15:33:05 +00:00
Jordan Petridis a9e17aad52 docker/fedora: use git-core instead of git
We don't need the full blown git pakcage and we can avoid
a couple of perl deps that way
2019-03-14 15:33:05 +00:00
Jordan Petridis a116f19eeb docker/fedora: use meson from fedora repos
Fedora is still on version 0.49.2 while pip is on 0.50.
With the version from pip we can no longer run some gst-sharp tests
so we essentially revert back to 0.49

https://github.com/mesonbuild/meson/issues/5087
2019-03-14 15:33:05 +00:00
Matthew Waters 775c0b3520 gitlab: remove the android gst-build target
android is now being tested using cerbero for the binaries we produce.
2019-03-13 13:00:01 -04:00
Matthew Waters d6779a1d07 gitlab/cerbero-android: build without werror 2019-03-13 10:35:00 -04:00
Nicolas Dufresne 4221153836 CI: Add Android universal builds 2019-03-13 10:35:00 -04:00
Nicolas Dufresne ae80b863c3 gitlab: Move cerbero jobs in gst-ci
This will allow extending the CI at one place.
2019-03-12 22:56:21 -04:00
Jordan Petridis aa8205abdb
docker/fedora: Include common debug symbols in the image
Part of #14
2019-03-12 15:53:47 +02:00
Matthew Waters ed534a2f5a cerbero: enable the werror variant by default 2019-03-11 15:00:57 +00:00
Jordan Petridis 98176bd5bf docker/fedora/prepare.sh: add valgrind 2019-03-11 12:50:58 +00:00
Matthew Waters d86a39a65b gitlab: update cerbero-fedora image to the latest 2019-03-10 23:57:55 +11:00
Thibault Saunier 907400a2a0 Blacklist check.gstreamer-sharp.SdpTests 2019-03-06 10:47:20 -03:00
Tim-Philipp Müller badb75f4ed gitlab/ci_template: skip cerbero builds for gst-build changes 2019-03-03 21:57:16 +00:00
Thibault Saunier f87d553bc4 Enable GstSharp 2019-02-25 19:20:22 -03:00
Thibault Saunier b8c24cc7f4 Add depencencies to build gstreamer-sharp in our image 2019-02-25 18:00:02 -03:00
Jordan Petridis 42335f3100
ci_template: unblacklist test
Should be fixed by the following MR
https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/merge_requests/20
2019-02-22 14:52:53 +02:00
Tim-Philipp Müller 001e05ab3a gitlab/ci_template: blacklist ges test_auto_transition test
Fails too often.

Reported as https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/63
2019-02-18 14:12:35 +00:00
Sebastian Dröge c1d7f69fd5 Blacklist racy audiomixer.test_flush_start_flush_stop test
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/555
2019-02-12 11:26:03 +02:00
Philippe Normand 0cde909af1 gitlab: Blacklist another ges test
python.test_timeline.TestTransitions.test_transition_type fails as reported in
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/62
2019-02-05 13:04:16 +00:00
Philippe Normand 81765960ca gitlab: Blacklist the rtsp-server test_shared_udp test
This test sometimes fails, as reported in
https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/61
2019-02-05 10:27:39 +00:00
Nicolas Dufresne fb5e6c2595 docker: cerbero: Add Android cross toolchain
This runs the cross-android-universal bootstrap. Note that we remove the
Android NDK source as it is no longer needed during builds.
2019-02-02 10:50:09 -05:00
Nicolas Dufresne b289400a04 Update docker hash
While cleaning up, I got confused since some docker were rebuilt without
but unused. So I broke the build, this should fix it.
2019-01-31 11:39:11 -05:00
Tim-Philipp Müller e6a39a4eba gitlab/ci_template: blacklist multisocketsink test_add_client test
Unexpected critical/warning: gsignal.c:2641: instance '0x144a770' has no handler with id '2'

Stack trace:
gst_debug_get_stack_trace (gstinfo.c:2788)
gst_check_log_critical_func (gstcheck.c:281)
g_logv (/usr/lib64/libglib-2.0.so.0.5800.2:0x7f40d144e4fb)
g_log (/usr/lib64/libglib-2.0.so.0.5800.2:0x7f40d144e6ef)
g_signal_handler_disconnect (/usr/lib64/libgobject-2.0.so.0.5800.2:0x7f40d13c5a03)
g_cancellable_disconnect (/usr/lib64/libgio-2.0.so.0.5800.2:0x7f40d1238dae)
?? (/usr/lib64/libgio-2.0.so.0.5800.2:0x7f40d1238df8)
?? (/usr/lib64/libglib-2.0.so.0.5800.2:0x7f40d1444045)
?? (/usr/lib64/libglib-2.0.so.0.5800.2:0x7f40d1445407)
ensure_condition (gstmultisocketsink.c:999)
gst_multi_handle_sink_remove_client_link (gstmultihandlesink.c:971)
gst_multi_handle_sink_clear (gstmultihandlesink.c:847)
gst_multi_handle_sink_change_state (gstmultihandlesink.c:2200)
gst_element_change_state (gstelement.c:2952)
gst_element_change_state (gstelement.c:2991)
gst_element_change_state (gstelement.c:2991)
gst_element_set_state_func (gstelement.c:2906)
test_add_client (multisocketsink.c:230)

Likely same root cause as:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/516
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/534
2019-01-16 15:48:40 +00:00
Jordan Petridis 092f6ddd84
gitlab/ci_template: blacklist extra tests
rtpsession.test_multiple_senders_roundrobin_rbs:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/548

elements_audiotestsrc.test_layout:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/535
2019-01-11 11:06:44 +02:00
Jordan Petridis f951999359
gitlab/ci_template: blacklist even more tests!
gstreamer.gst_gstsystemclock.test_periodic_shot:
https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/348

splitmux.test_splitmuxsrc_caps_change:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/547

nle_simple.test_simplest:
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/57

ges_basic.test_ges_pipeline_change_stat:
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/58

camerabin.test_single_video_recording:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864#note_101558

camerabin.test_multiple_video_recordings:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864#note_101646
2019-01-11 11:06:44 +02:00
Jordan Petridis 0dd20f61ea
gitlab/ci_template: Blacklist some more problematic tests
These tests are somewhat hard to reproduce and don't have an issue
associated with them yet, but they seem to fail quite often in
scenarios where they are run as part of a bigger group of tests

See !61 for more
2019-01-11 11:06:43 +02:00
Jordan Petridis dcf237a438
ci_template: Remove the j = 1 restriction from check
Previously we were forcing tests to run with j 1 to avoid random
failures/races that occurred due to tests being racy. Majority
of those tests have been blacklisted and this should no longer be
needed.
2019-01-11 11:05:59 +02:00
Nicolas Dufresne c021fb8310 gitlab: Update to latest cerbero docker image 2019-01-11 03:04:55 +00:00
Nicolas Dufresne bd83865236 docker: Use a local config for cerbero local_source and home_dir
Ohterwise the cerbero.cbc seems to take precendence on the localconf.cbc
during builds, which cause caching issues, since data does not get stored
at the right place.
2019-01-10 16:37:45 -05:00
Nicolas Dufresne db62f95ba2 gitlab: Remove uneeded mkdir
The cerbero_home is already part of the /cerbero folder that we rsync
at start.
2019-01-10 16:26:49 -05:00
Jordan Petridis eaa7497fa4
gitlab/ci_template: blacklist another test
camerabin.test_image_video_cycle seems racy:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864
2019-01-10 11:42:05 +02:00