Skip to content

The debian systemd package seems to prevent the nss tests from being run under ASan/UBsan on GHActions #21975

Closed

Description

@evverx

In #21935 (comment) it was pointed out that neither test-nss-hosts nor test-nss-users is run automatically on a regular basis. To address that #21946 was opened where the tests failed under UBSan as expected. That PR was closed in favor of #21778 where the tests keep failing on Ubuntu CI/Semaphore CI because systemd is built with nss there but libnss-* packages aren't installed when the "unit-tests" test is run. It would be great if it was possible to either fix the debian package or skip the test upstream. Turns out all those "deny-list-ubuntu-ci " files affect the "upstream" tests only (which I already turned off in that PR).

cc @mbiebl @bluca

Activity

  1. bluca commented on Jan 3, 2022

    @bluca
    Member
  2. evverx commented on Jan 3, 2022

    @evverx
    ContributorAuthor

    Thanks! I'll wait for Ubuntu CI/Semaphore CI to finish there to make sure the issue is gone and then I'm going to drop the last commit (where I turned off TEST-02-UNITTESTS with deny-list-ubuntu-ci) to figure out whether the "upstream" test needs fixing too.

  3. evverx commented on Jan 3, 2022

    @evverx
    ContributorAuthor

    To judge from https://autopkgtest.ubuntu.com/results/autopkgtest-focal-upstream-systemd-ci-systemd-ci/focal/s390x/s/systemd-upstream/20220103_155527_939db@/log.gz where TEST-02-UNITTESTS failed with

    ...
    ======== mymachines ========
    Failed to load module mymachines: libnss_mymachines.so.2: cannot open shared object file: No such file or directory
    
    ...
    --- test-nss-hosts begin ---
    ======== myhostname ========
    Failed to load module myhostname: libnss_myhostname.so.2: cannot open shared object file: No such file or directory
    

    the "upstream" test needs updating too.

    The "unit-tests" test seems to pass now though and SemaphoreCI is green because the "upstream" test isn't run there.

  4. reopened this on Jan 3, 2022
  5. evverx commented on Jan 3, 2022

    @evverx
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions