summaryrefslogtreecommitdiffstats
path: root/travis-ci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: catch broken fuzz targets as early as possibleEvgeny Vereshchagin2019-05-191-1/+1
| | | | See https://github.com/google/oss-fuzz/pull/2419.
* Merge pull request #12515 from evverx/fix-fuzzers-in-local-modeZbigniew Jędrzejewski-Szmek2019-05-161-0/+11
|\ | | | | travis: make sure the fuzzers can be built in "local" mode
| * tests: make fuzzbuzz.sh compatible with Azure Pipelines againEvgeny Vereshchagin2019-05-141-0/+2
| | | | | | | | | | | | | | Now that https://github.com/systemd/systemd/pull/12542 is merged, fuzzbuzz.sh should be changed a little bit to make it work on Azure Pipelines. We can no longer assume that source repositories are added "automagically" by Travis CI or that PATH is set properly.
| * travis: make sure the fuzzers can be built in "local" modeEvgeny Vereshchagin2019-05-141-0/+9
| |
* | tests: make docker-run and helper.py happy by not using colons in filenamesEvgeny Vereshchagin2019-05-161-1/+7
| | | | | | | | This should address https://github.com/google/oss-fuzz/issues/2428
* | tests: turn on the QEMU part in the Xenial jobEvgeny Vereshchagin2019-05-141-1/+3
| | | | | | | | | | | | | | The test has been flaky since varlink was merged. Let's not annoy people with the test that fails more often than not. It should be OK because the same test is run on Arch.
* | tests: set NSPAWN_TIMEOUT and QEMU_TIMEOUT explicitlyEvgeny Vereshchagin2019-05-141-2/+3
|/ | | | | | | | These were never set explictily because we relied on Travis CI canceling a job if it's been stuck for 10 minutes. Now that the script is run on Azure Pipelines (where the default timeout is 60 minutes) we should limit the script manually to avoid waiting for an hour for broken jobs to finish.
* tests: make fuzzbuzz.sh compatible with Azure PiplinesEvgeny Vereshchagin2019-05-141-2/+8
|
* travis: make the ASan+UBSan stage compatible with Azure PipelinesEvgeny Vereshchagin2019-05-121-1/+2
|
* travis: make sure that the fuzz targets can be built on OSS-FuzzEvgeny Vereshchagin2019-05-071-0/+6
|
* travis: make sure the fuzz targets can be built on FuzzBuzzEvgeny Vereshchagin2019-05-071-0/+10
|
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
|
* scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek2019-04-124-69/+68
| | | | | | | | | | | | | | | | | | We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed. 4 sp was the most common, in particular the majority of scripts under test/ used that. Let's standarize on 4 sp, because many commandlines are long and there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp also seems to be the default indentation, so this will make it less likely that people will mess up if they don't load the editor config. (I think people often use vi, and vi has no support to load project-wide configuration automatically. We distribute a .vimrc file, but it is not loaded by default, and even the instructions in it seem to discourage its use for security reasons.) Also remove the few vim config lines that were left. We should either have them on all files, or none. Also remove some strange stuff like '#!/bin/env bash', yikes.
* travis: use /bin/systemd instead of /usr/bin/systemdEvgeny Vereshchagin2019-03-051-1/+1
| | | | Apparently systemd is in /bin now.
* travis: stop using the official upstream-systemd-ci repositoryEvgeny Vereshchagin2019-02-031-1/+2
| | | | | | | | | Turns out the key for the repository hasn't been propagated properly so let's restore the kludge that was removed in https://github.com/systemd/systemd/pull/11582. Of course it's ugly but at least it works. The issue was kind of reported to the maintainers of the repository in https://github.com/systemd/systemd/pull/11531#issuecomment-460023474.
* travis: switch to the "official" systemd-ci repositoryEvgeny Vereshchagin2019-01-291-3/+1
| | | | | | Now that add-apt-repository hasn't failed for almost two days on Semaphore it should be safe to assume that the key has been propagated properly and the repository is ready to be used on Travis CI.
* travis: also run TEST-01-BASIC with QEMU to cover udevd and so onEvgeny Vereshchagin2018-12-291-0/+5
|
* travis: pass $TRAVIS when running the tests so that they can be skipped properlyEvgeny Vereshchagin2018-12-291-1/+1
|
* travis: merge RUN_CLANG into RUNEvgeny Vereshchagin2018-12-291-8/+5
| | | | | They are basically the same except that a couple of environment variables have to be passed for building systemd with clang.
* test: don't run TEST-01-BASIC in unprivileged containers on Travis CIEvgeny Vereshchagin2018-12-241-1/+1
|
* travis: add another stage to really run everything under ASan+UBsanEvgeny Vereshchagin2018-12-241-0/+19
| | | | | This should help to catch issues like https://github.com/systemd/systemd/issues/11253 and https://github.com/systemd/systemd/issues/11251.
* travis: use xenial instead of trustyEvgeny Vereshchagin2018-12-231-3/+0
| | | | | This should also fix an issue mentioned in https://github.com/systemd/systemd/pull/11196#issuecomment-448123946.
* travis: mount tmpfs on /tmp before running the testsEvgeny Vereshchagin2018-12-091-0/+3
| | | | | | To judge from https://api.travis-ci.org/v3/job/465547774/log.txt, overlayfs on Travis CI is having trouble delivering inotify events, which is why `test-path` and `test-event` are failing there.
* travis: use systemd as PID1 in debian containersEvgeny Vereshchagin2018-12-091-7/+4
| | | | | | Turns out some tests like `test-execute` are tightly coupled with systemd as PID1 (which should be fixed of course). In the meantime, let's see how it goes.
* travis: also compile systemd on Debian TestingEvgeny Vereshchagin2018-12-071-0/+83
| | | | This should help to catch issues like https://github.com/systemd/systemd/issues/11075
* travis: install llvm to get llvm-symbolizerEvgeny Vereshchagin2018-12-041-1/+1
| | | | See https://clang.llvm.org/docs/AddressSanitizer.html#symbolizing-the-reports
* travis: also run the tests built with clang under ASan+UBsanEvgeny Vereshchagin2018-12-041-3/+6
|
* travis: also build systemd with clangEvgeny Vereshchagin2018-12-011-1/+6
|
* travis: make sure that *.perf and directives.* files are in syncEvgeny Vereshchagin2018-11-281-0/+1
| | | | | | New features are constantly added to networkd. Apparently, not everybody knows that the "directives" files should be updated too to make the fuzzers aware of them.
* tests: skip test_exec_ambientcapabilities on Travis CI under ASanEvgeny Vereshchagin2018-11-201-0/+1
| | | | | | Let's not bother contributors with spurious failures nobody can't seem to reproduce. There is an issue about that where we're trying to figure out what's going on: https://github.com/systemd/systemd/issues/10696.
* travis: make the ASan & UBsan job a little bit stricterEvgeny Vereshchagin2018-11-172-1/+7
|
* travis: use double the normal timeout in the ASan & UBSan stageEvgeny Vereshchagin2018-11-142-1/+62
| | | | This should somewhat address https://github.com/systemd/systemd/issues/10696.
* travis: also compile and run unsafe unit testsEvgeny Vereshchagin2018-11-141-2/+2
|
* travis: treat warnings as errors while building systemdEvgeny Vereshchagin2018-11-101-2/+2
|
* tests: keep SYS_PTRACE when running under ASanFrantisek Sumsal2018-11-091-1/+0
|
* travis: use 3 times the normal timeout when the tests are run under ASan+UBSanEvgeny Vereshchagin2018-11-081-1/+1
|
* travis.yml: replace test-capability with a script exiting with 77Evgeny Vereshchagin2018-11-081-0/+1
| | | | | | | | | | | | | | | | | | | The test is currently failing when run under ASan in a docker container: ``` --- command --- SYSTEMD_KBD_MODEL_MAP='/build/src/locale/kbd-model-map' PATH='/build/build:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' SYSTEMD_LANGUAGE_FALLBACK_MAP='/build/src/locale/language-fallback-map' /build/build/test-capability --- stderr --- have ambient caps: yes Capabilities:= cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_resource,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap,cap_mac_override,cap_mac_admin,cap_syslog,cap_wake_alarm,cap_block_suspend,cap_audit_read+eip Capabilities:= cap_dac_override,cap_net_raw+ep ==7021==LeakSanitizer has encountered a fatal error. ==7021==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==7021==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) Assertion 'WIFEXITED(status) && WEXITSTATUS(status) == 0' failed at ../src/test/test-capability.c:71, function fork_test(). Aborting. ------- ``` https://api.travis-ci.org/v3/job/452349948/log.txt
* travis: UBSan should be every C programmer's friend so let's build systemd ↵Evgeny Vereshchagin2018-11-081-3/+5
| | | | with it too
* travis: move the ASan part into a separate stageEvgeny Vereshchagin2018-11-081-2/+3
|
* travis: also rebuild everything with ASanEvgeny Vereshchagin2018-11-081-1/+5
| | | | It should help to catch issues like https://github.com/systemd/systemd/issues/10677.
* travis: install dependencies necessary for running parse-hwdb.pyEvgeny Vereshchagin2018-11-081-1/+1
|
* travis: drop the workaround for test-capabilityFrantisek Sumsal2018-11-081-1/+0
|
* travis: show all commands when building systemdEvgeny Vereshchagin2018-11-071-1/+1
| | | | | | | This should prevent Travis CI from terminating build jobs that don't print anything for more than 10 minutes. See https://travis-ci.org/systemd/systemd/builds/451737177.
* travis: build and run fuzzers against crash reproducersEvgeny Vereshchagin2018-11-071-1/+1
|
* travis: overwrite test-capability with a simple script that is just skippedEvgeny Vereshchagin2018-11-071-0/+1
| | | | | so that it will be possible to work on the test failure and try to make Travis CI work at the same time.
* travis: workaround for dnf upgradeFrantisek Sumsal2018-11-061-1/+3
| | | | | | dnf upgrade on Fedora Rawhide pulls in unwanted selinux-policy packages which breaks the system in several ways (and usually ends up with crashed systemd)
* travis: drop the unnecessary /etc/machine-id magicFrantisek Sumsal2018-11-061-7/+2
|
* travis: run Coverity on a more stable Fedora releaseFrantisek Sumsal2018-11-061-1/+1
|
* travis: move Docker setup to a separate scriptFrantisek Sumsal2018-11-062-44/+65
| | | | This should make debugging somewhat easier
* travis: rewrite .travis.yml and re-enable Travis CI for FedoraFrantisek Sumsal2018-11-061-0/+44
|