Hi,

when running the test suite of the "atomic" utility, systemd crashes.

This is on my Fedora 24 Server development VM, not on a Atomic system.
I have:

    docker-1.10.3-9.git667d6d1.fc24.x86_64
    systemd-229-7.fc24.x86_64
    Linux 4.5.4-300.fc24.x86_64

The crash looks like this:

    # TEST_INTEGRATION=mount ./test.sh
    [...]
    Running test test_mount.sh...
    Broadcast message from systemd-journ...@f24.mvo.lan (Fri 2016-05-13 
15:11:05 EEST):

    systemd[1]: Caught <ABRT>, dumped core as pid 1792.


    Broadcast message from systemd-journ...@f24.mvo.lan (Fri 2016-05-13 
15:11:05 EEST):

    systemd[1]: Freezing execution.

    PASS
    Coverage report: [...]
    ALL TESTS PASSED

I didn't dig very deep, but it looks like the crash is triggered when
there are two atomic mounts at the same time:

    # systemctl start docker
    # id=$(docker create atomic-test-secret /bin/true)
    # atomic mount $id /mnt/1
    # atomic mount atomic-test-secret /mnt/2

    Broadcast message from systemd-journ...@f24.mvo.lan (Fri 2016-05-13 
15:17:56 EEST):

    systemd[1]: Caught <ABRT>, dumped core as pid 1774.


    Broadcast message from systemd-journ...@f24.mvo.lan (Fri 2016-05-13 
15:17:56 EEST):

    systemd[1]: Freezing execution.

The crash doesn't seem to be limited to mounting: test_diff.sh also
crashes systemd, while test_display.sh doesn't.


This is mostly FYI.  I ran into this when starting to write some more
tests, and I think I can survive by keeping the new tests simple enough
to not crash systemd for me.

Reply via email to