Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch all builds from Travis to Cirrus #1350

Merged
merged 6 commits into from Dec 8, 2020
Merged

Commits on Dec 7, 2020

  1. Demote i686-apple-darwin to Tier 2

    It's deprecated by Xcode, and the version of Xcode installed by
    Cirrus-CI doesn't include 32 bit libraries.
    asomers committed Dec 7, 2020
    Copy the full SHA
    b169d58 View commit details
    Browse the repository at this point in the history
  2. Disable clock_getres on redox

    coolreader18 authored and asomers committed Dec 7, 2020
    Copy the full SHA
    1eb5733 View commit details
    Browse the repository at this point in the history
  3. Make the poll tests resilient against signals

    When run in Cirrus-CI's environment, the tests generate copious SIGRT_1
    signals.  This commit ensures that the poll tests will retry on EINTR.
    asomers committed Dec 7, 2020
    Copy the full SHA
    8b2374c View commit details
    Browse the repository at this point in the history
  4. Handle SIGRT_1 in test_alarm

    When run in Cirrus-CI's environment, the tests generate copious SIGRT_1
    signals.  This commit ensures that test_alarm will ignore them.
    asomers committed Dec 7, 2020
    Copy the full SHA
    a1eb895 View commit details
    Browse the repository at this point in the history
  5. Switch all builds from Travis to Cirrus

    Travis has been super-slow lately (> 6 hours per build).  Cirrus is much
    faster: about 20 minutes.  Cirrus also has slightly better test
    coverage, mainly because it doesn't use SECCOMP.
    
    Also,
    
    * Fix the Redox CI build.  The old Travis configuration didn't actually
      build for Redox, so we never noticed that Redox can't be built with a
      stable compiler.  Thanks to @coolreader18 for finding this.
    
    * Disable the udp_offload tests on cross-tested platforms.  These tests
      are failing with ENOPROTOOPT in Cirrus-CI.  I suspect it's due to a
      lack of support in QEMU.  These tests were skipped on Travis because
      its kernel was too old.
    
    * Fix require_kernel_version on Cirrus-CI.  Cirrus reports the Linux
      kernel version as 4.19.112+, which the semver crate can't handle.
    
    * Fix test_setfsuid on Cirrus.  When run on Cirrus, it seems like the
      file in /tmp gets deleted as soon as it's closed.  Probably an
      overzealous temporary file cleaner.  Use /var/tmp, because no
      temporary file cleaner should run in there.
    
    * Skip mount tests on Cirrus.  They fail for an unknown reason.
    Issue nix-rust#1351
    
    * Skip the AF_ALG tests on Cirrus-CI
    Issue nix-rust#1352
    asomers committed Dec 7, 2020
    Copy the full SHA
    bf7a5fd View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Fix a use-after-free in execve_test_factory

    Ensure that the exec functions' arguments are valid for 'static.
    Previously they were short-lived temporaries.
    asomers committed Dec 8, 2020
    Copy the full SHA
    4a84e0c View commit details
    Browse the repository at this point in the history