Skip to content

Commit

Permalink
tests: partially disable private-home.exp to fix ci
Browse files Browse the repository at this point in the history
This test started failing today with "TESTING ERROR 3".

Log from a CI re-run of test-fs on commit 897f12d ("build(deps): bump
step-security/harden-runner from 2.9.0 to 2.9.1", 2024-09-01) /
PR #6455[1]:

    2024-09-19T13:39:04.5681290Z TESTING: private home (test/fs/private-home.exp)
    2024-09-19T13:39:04.5713434Z spawn /bin/bash
    2024-09-19T13:39:05.2772248Z touch ~/_firejail_test_file1
    2024-09-19T13:39:05.2773779Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2774475Z <jail/firejail/test/fs$ touch ~/_firejail_test_file1
    2024-09-19T13:39:05.2775175Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2776506Z <jail/firejail/test/fs$ touch ~/_firejail_test_file2
    2024-09-19T13:39:05.2777841Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2778918Z <ejail/firejail/test/fs$ mkdir ~/_firejail_test_dir1
    2024-09-19T13:39:05.2780080Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2780903Z <fs$ mkdir ~/_firejail_test_dir1/_firejail_test_dir2
    2024-09-19T13:39:05.2781613Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2782461Z <_test_dir1/_firejail_test_dir2/_firejail_test_file3
    2024-09-19T13:39:05.2783224Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2784047Z <firejail/test/fs$ ln -s /etc ~/_firejail_test_link1
    2024-09-19T13:39:05.2784851Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2785861Z < ln -s ~/_firejail_test_dir1 ~/_firejail_test_link2
    2024-09-19T13:39:05.2787008Z runner@fv-az1247-944:~/work/firejail/firejail/test/fs$
    2024-09-19T13:39:05.2788303Z <test_file1,_firejail_test_file2,_firejail_test_dir1
    [...]
    2024-09-19T13:39:05.4971716Z runner@fv-az1247-944:~$ find ~
    2024-09-19T13:39:05.4989255Z /home/runner
    2024-09-19T13:39:05.4990116Z /home/runner/_firejail_test_file1
    2024-09-19T13:39:05.4990768Z /home/runner/_firejail_test_file2
    2024-09-19T13:39:05.4991299Z /home/runner/_firejail_test_dir1
    2024-09-19T13:39:05.4992082Z /home/runner/_firejail_test_dir1/_firejail_test_dir2
    2024-09-19T13:39:05.4992760Z /home/runner/_firejail_test_dir1/_firejail_test_dir2/_firejail_test_file3
    [...]
    2024-09-19T13:39:15.4995765Z runner@fv-az1247-944:~$ TESTING ERROR 3
    2024-09-19T13:39:15.5000367Z

Misc: This was noticed on #6477.

[1] https://github.com/netblue30/firejail/actions/runs/10655583953/job/30378507249
  • Loading branch information
kmk3 committed Sep 19, 2024
1 parent 271fb1b commit f833a49
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions test/fs/private-home.exp
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,21 @@ expect {
}
after 100

send -- "find ~\r"
expect {
timeout {puts "TESTING ERROR 2\n";exit}
"_firejail_test_file3"
}
expect {
timeout {puts "TESTING ERROR 3\n";exit}
"_firejail_test_file2"
}
expect {
timeout {puts "TESTING ERROR 4\n";exit}
"_firejail_test_file1"
}
after 100
# FIXME: Prints "TESTING ERROR 3" in CI since 2024-09-19.
#send -- "find ~\r"
#expect {
# timeout {puts "TESTING ERROR 2\n";exit}
# "_firejail_test_file3"
#}
#expect {
# timeout {puts "TESTING ERROR 3\n";exit}
# "_firejail_test_file2"
#}
#expect {
# timeout {puts "TESTING ERROR 4\n";exit}
# "_firejail_test_file1"
#}
#after 100

send -- "exit\r"
sleep 1
Expand Down

0 comments on commit f833a49

Please sign in to comment.