Skip to content

10-Dev: make check in mgmt2 removes files installed by make install #8792

Description

@bneradt

The 10-Dev coverage builds are failing in opensource CI. Here's a current example:
https://ci.trafficserver.apache.org/view/10-Dev/job/10-Dev/job/coverage/13/console

The reason it fails is because the run of the regression tests fails because the installed traffic_server binary no longer exists at the time it tries to run them:

+ /tmp/ats/bin/traffic_server -K -k -R 1
/home/jenkins/workspace/10-Dev/coverage/src@tmp/durable-5ab76cb8/script.sh: line 4: /tmp/ats/bin/traffic_server: No such file or directory

The --prefix configure the CI uses is /tmp/ats. Experimenting with things locally, I notice that the previous make install call does indeed populate /tmp/ats/bin/traffic_server along with the other installed files, but the latter make check call deletes the files from that directory. Further, I notice that the make check call in mgmt2 removes those files.

Here's a session demonstrating this:

$ git show --no-patch --oneline
1e6620bf2 (HEAD -> fix_10dev_coverage, upstream/10-Dev) Fixes the cache unit tests by removing an undeclared class function, (#8782)

$ make install > /dev/null 2>&1
$ ls /tmp/ats
bin  etc  include  lib  libexec  share  var

$ make check > /dev/null 2>&1

$ ls /tmp/ats
lib

Notice that after make check, only lib remains in the install directory.

This problem does not happen on master. Only for 10-Dev.

Activity

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions