[WIP] security : add more tests #1851
Triggered via pull request
December 20, 2023 13:03
Status
Success
Total duration
1h 47m 42s
Artifacts
11
eden.yml
on: pull_request
Execute Eden test workflow
/
Determine best available runner
0s
Matrix: Execute Eden test workflow / Smoke tests
Execute Eden test workflow
/
Networking test suite
52m 18s
Execute Eden test workflow
/
LPC LOC test suite
39m 15s
Execute Eden test workflow
/
User apps test suite
21m 42s
Matrix: Execute Eden test workflow / EVE upgrade test suite
Matrix: Execute Eden test workflow / Storage test suite
Annotations
15 errors
Execute Eden test workflow / Smoke tests (ext4, false):
tests/workflow/testdata/sec_eden.txt#L1
[stdout]
configName: default
configFile: /home/runner/.eden/contexts/default.yml
time="2023-12-20T13:21:28Z" level=info msg="TestKernelModuleSigning started"
time="2023-12-20T13:21:28Z" level=debug msg="Will use config from /home/runner/.eden/contexts/default.yml"
time="2023-12-20T13:21:28Z" level=debug msg="Try to add config from /tmp/go-test-script2554936374/script-sec_eden/eden-config.yml"
time="2023-12-20T13:21:28Z" level=info msg="TestKernelModuleSigning finished"
time="2023-12-20T13:21:28Z" level=info msg="TestUnconfinedProcesses started"
time="2023-12-20T13:21:28Z" level=info msg="TestUnconfinedProcesses finished"
--- FAIL: TestUnconfinedProcesses (0.12s)
testContext.go:380: done waiting for State
sec_test.go:150: Unconfined process found: init
sec_test.go:150: Unconfined process found: kthreadd
sec_test.go:150: Unconfined process found: rcu_gp
sec_test.go:150: Unconfined process found: rcu_par_gp
sec_test.go:150: Unconfined process found: kworker/0:0H-events_highpri
sec_test.go:150: Unconfined process found: mm_percpu_wq
sec_test.go:150: Unconfined process found: rcu_tasks_rude_
sec_test.go:150: Unconfined process found: rcu_tasks_trace
sec_test.go:150: Unconfined process found: ksoftirqd/0
sec_test.go:150: Unconfined process found: rcu_sched
sec_test.go:150: Unconfined process found: migration/0
sec_test.go:150: Unconfined process found: kworker/0:1-events
sec_test.go:150: Unconfined process found: cpuhp/0
sec_test.go:150: Unconfined process found: cpuhp/1
sec_test.go:150: Unconfined process found: migration/1
sec_test.go:150: Unconfined process found: ksoftirqd/1
sec_test.go:150: Unconfined process found: kworker/1:0H-events_highpri
sec_test.go:150: Unconfined process found: kdevtmpfs
sec_test.go:150: Unconfined process found: netns
sec_test.go:150: Unconfined process found: kauditd
sec_test.go:150: Unconfined process found: khungtaskd
sec_test.go:150: Unconfined process found: oom_reaper
sec_test.go:150: Unconfined process found: writeback
sec_test.go:150: Unconfined process found: kcompactd0
sec_test.go:150: Unconfined process found: ksmd
sec_test.go:150: Unconfined process found: khugepaged
sec_test.go:150: Unconfined process found: cryptd
sec_test.go:150: Unconfined process found: kintegrityd
sec_test.go:150: Unconfined process found: kblockd
sec_test.go:150: Unconfined process found: blkcg_punt_bio
sec_test.go:150: Unconfined process found: tpm_dev_wq
sec_test.go:150: Unconfined process found: ata_sff
sec_test.go:150: Unconfined process found: devfreq_wq
sec_test.go:150: Unconfined process found: watchdogd
sec_test.go:150: Unconfined process found: kworker/1:1H-kblockd
sec_test.go:150: Unconfined process found: kswapd0
sec_test.go:150: Unconfined process found: cifsiod
sec_test.go:150: Unconfined process found: smb3decryptd
sec_test.go:150: Unconfined process found: cifsfileinfoput
sec_test.go:150: Unconfined process found: cifsoplockd
sec_test.go:150: Unconfined process found: cifs-dfscache
sec_test.go:150: Unconfined process found: xfsalloc
sec_test.go:150: Unconfined process found: xfs_mru_cache
sec_test.go:150: Unconfined process found: kthrotld
sec_test.go:150: Unconfined process found: acpi_thermal_pm
sec_test.go:150: Unconfined process found: kworker/u4:1-ext4-rsv-conversion
sec_test.go:150: Unconfined process found: nvme-wq
sec_test.go:150: Unconfined process found: nvme-reset-wq
sec_test.go:150: Unconfined process found: nvme-delete-wq
sec_test.go:150: Unconfined process found: scsi_eh_0
sec_test.go:150: Unconfined process found: scsi_tmf_0
sec_test.go:150: Unconfined process found: scsi_eh_1
sec_test.go:150: Unconfined process found: scsi_tmf_1
sec_test.go:150: Unconfined process found: scsi_eh_2
sec_test.go:150: Unconfined process found: scsi_tmf_2
sec_test.go:150: Unconfined process found: scsi_eh_3
sec_test.go:150: Unconfined process found: scsi_tmf_3
sec_test
|
Execute Eden test workflow / Smoke tests (ext4, false)
Process completed with exit code 1.
|
Execute Eden test workflow / Smoke tests (ext4, true):
tests/workflow/testdata/sec_eden.txt#L1
[stdout]
configName: default
configFile: /home/runner/.eden/contexts/default.yml
time="2023-12-20T13:24:20Z" level=info msg="TestKernelModuleSigning started"
time="2023-12-20T13:24:20Z" level=debug msg="Will use config from /home/runner/.eden/contexts/default.yml"
time="2023-12-20T13:24:20Z" level=debug msg="Try to add config from /tmp/go-test-script871958289/script-sec_eden/eden-config.yml"
time="2023-12-20T13:24:20Z" level=info msg="TestKernelModuleSigning finished"
time="2023-12-20T13:24:20Z" level=info msg="TestUnconfinedProcesses started"
time="2023-12-20T13:24:20Z" level=info msg="TestUnconfinedProcesses finished"
--- FAIL: TestUnconfinedProcesses (0.15s)
testContext.go:380: done waiting for State
sec_test.go:150: Unconfined process found: init
sec_test.go:150: Unconfined process found: kthreadd
sec_test.go:150: Unconfined process found: rcu_gp
sec_test.go:150: Unconfined process found: rcu_par_gp
sec_test.go:150: Unconfined process found: kworker/0:0-tpm_dev_wq
sec_test.go:150: Unconfined process found: kworker/0:0H-events_highpri
sec_test.go:150: Unconfined process found: mm_percpu_wq
sec_test.go:150: Unconfined process found: rcu_tasks_rude_
sec_test.go:150: Unconfined process found: rcu_tasks_trace
sec_test.go:150: Unconfined process found: ksoftirqd/0
sec_test.go:150: Unconfined process found: rcu_sched
sec_test.go:150: Unconfined process found: migration/0
sec_test.go:150: Unconfined process found: kworker/0:1-events
sec_test.go:150: Unconfined process found: cpuhp/0
sec_test.go:150: Unconfined process found: cpuhp/1
sec_test.go:150: Unconfined process found: migration/1
sec_test.go:150: Unconfined process found: ksoftirqd/1
sec_test.go:150: Unconfined process found: kworker/1:0-rcu_gp
sec_test.go:150: Unconfined process found: kworker/1:0H-events_highpri
sec_test.go:150: Unconfined process found: kdevtmpfs
sec_test.go:150: Unconfined process found: netns
sec_test.go:150: Unconfined process found: kauditd
sec_test.go:150: Unconfined process found: kworker/1:1-cgroup_pidlist_destroy
sec_test.go:150: Unconfined process found: khungtaskd
sec_test.go:150: Unconfined process found: oom_reaper
sec_test.go:150: Unconfined process found: writeback
sec_test.go:150: Unconfined process found: kcompactd0
sec_test.go:150: Unconfined process found: ksmd
sec_test.go:150: Unconfined process found: khugepaged
sec_test.go:150: Unconfined process found: cryptd
sec_test.go:150: Unconfined process found: kintegrityd
sec_test.go:150: Unconfined process found: kblockd
sec_test.go:150: Unconfined process found: blkcg_punt_bio
sec_test.go:150: Unconfined process found: tpm_dev_wq
sec_test.go:150: Unconfined process found: ata_sff
sec_test.go:150: Unconfined process found: devfreq_wq
sec_test.go:150: Unconfined process found: watchdogd
sec_test.go:150: Unconfined process found: kworker/0:1H-kblockd
sec_test.go:150: Unconfined process found: kswapd0
sec_test.go:150: Unconfined process found: cifsiod
sec_test.go:150: Unconfined process found: smb3decryptd
sec_test.go:150: Unconfined process found: cifsfileinfoput
sec_test.go:150: Unconfined process found: cifsoplockd
sec_test.go:150: Unconfined process found: cifs-dfscache
sec_test.go:150: Unconfined process found: xfsalloc
sec_test.go:150: Unconfined process found: xfs_mru_cache
sec_test.go:150: Unconfined process found: kthrotld
sec_test.go:150: Unconfined process found: acpi_thermal_pm
sec_test.go:150: Unconfined process found: nvme-wq
sec_test.go:150: Unconfined process found: nvme-reset-wq
sec_test.go:150: Unconfined process found: nvme-delete-wq
sec_test.go:150: Unconfined process found: scsi_eh_0
sec_test.go:150: Unconfined process found: scsi_tmf_0
sec_test.go:150: Unconfined process found: scsi_eh_1
sec_test.go:150: Unconfined process found: scsi_tmf_1
sec_test.go:150: Unconfined process found: scsi_eh_2
sec_test.go:150: Unconfined process found: s
|
Execute Eden test workflow / Smoke tests (ext4, true)
Process completed with exit code 1.
|
Execute Eden test workflow / Smoke tests (zfs, true):
tests/workflow/testdata/sec_eden.txt#L1
[stdout]
configName: default
configFile: /home/runner/.eden/contexts/default.yml
time="2023-12-20T13:25:09Z" level=info msg="TestKernelModuleSigning started"
time="2023-12-20T13:25:09Z" level=debug msg="Will use config from /home/runner/.eden/contexts/default.yml"
time="2023-12-20T13:25:09Z" level=debug msg="Try to add config from /tmp/go-test-script687235471/script-sec_eden/eden-config.yml"
time="2023-12-20T13:25:09Z" level=info msg="TestKernelModuleSigning finished"
time="2023-12-20T13:25:09Z" level=info msg="TestUnconfinedProcesses started"
time="2023-12-20T13:25:09Z" level=info msg="TestUnconfinedProcesses finished"
--- FAIL: TestUnconfinedProcesses (0.12s)
testContext.go:380: done waiting for State
sec_test.go:150: Unconfined process found: init
sec_test.go:150: Unconfined process found: kthreadd
sec_test.go:150: Unconfined process found: rcu_gp
sec_test.go:150: Unconfined process found: rcu_par_gp
sec_test.go:150: Unconfined process found: kworker/0:0-events
sec_test.go:150: Unconfined process found: kworker/0:0H-events_highpri
sec_test.go:150: Unconfined process found: mm_percpu_wq
sec_test.go:150: Unconfined process found: rcu_tasks_rude_
sec_test.go:150: Unconfined process found: rcu_tasks_trace
sec_test.go:150: Unconfined process found: ksoftirqd/0
sec_test.go:150: Unconfined process found: rcu_sched
sec_test.go:150: Unconfined process found: migration/0
sec_test.go:150: Unconfined process found: kworker/0:1-tpm_dev_wq
sec_test.go:150: Unconfined process found: cpuhp/0
sec_test.go:150: Unconfined process found: cpuhp/1
sec_test.go:150: Unconfined process found: migration/1
sec_test.go:150: Unconfined process found: ksoftirqd/1
sec_test.go:150: Unconfined process found: kworker/1:0H-events_highpri
sec_test.go:150: Unconfined process found: kdevtmpfs
sec_test.go:150: Unconfined process found: netns
sec_test.go:150: Unconfined process found: kauditd
sec_test.go:150: Unconfined process found: kworker/1:1-cgroup_pidlist_destroy
sec_test.go:150: Unconfined process found: khungtaskd
sec_test.go:150: Unconfined process found: oom_reaper
sec_test.go:150: Unconfined process found: writeback
sec_test.go:150: Unconfined process found: kcompactd0
sec_test.go:150: Unconfined process found: ksmd
sec_test.go:150: Unconfined process found: khugepaged
sec_test.go:150: Unconfined process found: cryptd
sec_test.go:150: Unconfined process found: kintegrityd
sec_test.go:150: Unconfined process found: kblockd
sec_test.go:150: Unconfined process found: blkcg_punt_bio
sec_test.go:150: Unconfined process found: tpm_dev_wq
sec_test.go:150: Unconfined process found: ata_sff
sec_test.go:150: Unconfined process found: devfreq_wq
sec_test.go:150: Unconfined process found: watchdogd
sec_test.go:150: Unconfined process found: kworker/0:1H-kblockd
sec_test.go:150: Unconfined process found: kswapd0
sec_test.go:150: Unconfined process found: cifsiod
sec_test.go:150: Unconfined process found: smb3decryptd
sec_test.go:150: Unconfined process found: cifsfileinfoput
sec_test.go:150: Unconfined process found: cifsoplockd
sec_test.go:150: Unconfined process found: cifs-dfscache
sec_test.go:150: Unconfined process found: xfsalloc
sec_test.go:150: Unconfined process found: xfs_mru_cache
sec_test.go:150: Unconfined process found: kthrotld
sec_test.go:150: Unconfined process found: acpi_thermal_pm
sec_test.go:150: Unconfined process found: nvme-wq
sec_test.go:150: Unconfined process found: nvme-reset-wq
sec_test.go:150: Unconfined process found: nvme-delete-wq
sec_test.go:150: Unconfined process found: scsi_eh_0
sec_test.go:150: Unconfined process found: scsi_tmf_0
sec_test.go:150: Unconfined process found: scsi_eh_1
sec_test.go:150: Unconfined process found: scsi_tmf_1
sec_test.go:150: Unconfined process found: scsi_eh_2
sec_test.go:150: Unconfined process found: scsi_tmf_2
sec_test.go:150: Unconfined process found: scsi_eh_3
|
Execute Eden test workflow / Smoke tests (zfs, true)
Process completed with exit code 1.
|
Execute Eden test workflow / Smoke tests (zfs, false):
tests/eclient/testdata/shutdown_test.txt#L74
[stdout]
Reboot Test
=== RUN TestReboot
reboot_test.go:162: time: 2023-12-20T13:13:49.973248922Z out: Wait for state of 70a5b537-e7c4-4487-b34c-54ad6f0a737c
testContext.go:380: done waiting for State
reboot_test.go:166: time: 2023-12-20T13:13:49.973278046Z out: timewait: 20m0s
reboot_test.go:167: time: 2023-12-20T13:13:49.97328535Z out: reboot: true
reboot_test.go:168: time: 2023-12-20T13:13:49.973289307Z out: count: 1
reboot_test.go:172: time: 2023-12-20T13:13:49.973294577Z out: LastRebootTime: 2023-12-20 13:07:16.49929203 +0000 UTC
reboot_test.go:174: time: 2023-12-20T13:13:49.97330164Z out: LastRebootReason: NORMAL: First boot of device - at 2023-12-20T13:07:16.49929203Z
config changed, to see config run 'eden controller edge-node get-config'
testContext.go:302: WaitForProc terminated by timeout 20m0s
testContext.go:285: WaitForProcWithErrorCallback terminated by timeout 20m0s
reboot_test.go:186: time: 2023-12-20T13:33:50.988454607Z out: Number of reboots: 0
--- FAIL: TestReboot (1201.02s)
FAIL
FAIL: ../eclient/testdata/shutdown_test.txt:74: command failure
|
Execute Eden test workflow / Smoke tests (zfs, false)
Process completed with exit code 1.
|
Execute Eden test workflow / Smoke tests (zfs, false)
Process completed with exit code 1.
|
Execute Eden test workflow / Storage test suite (zfs):
tests/volume/testdata/volumes_test.txt#L40
[stdout]
Log/Info/Metric Test
=== RUN TestInfo
lim_test.go:273: time: 2023-12-20T14:06:07.725298286Z out: Wait for info of 592c7725-76ea-4ece-b40d-e9d0694aa750 number=1 timewait=3m0s
testContext.go:302: WaitForProc terminated by timeout 3m0s
testContext.go:285: WaitForProcWithErrorCallback terminated by timeout 3m0s
--- FAIL: TestInfo (180.00s)
FAIL
FAIL: ../volume/testdata/volumes_test.txt:40: command failure
|
Execute Eden test workflow / Storage test suite (zfs)
Process completed with exit code 1.
|
Execute Eden test workflow / EVE upgrade test suite (ext4):
tests/workflow/testdata/eden_onboard.txt#L13
[stdout]
time="2023-12-20T14:01:10Z" level=info msg="Adam waiting for EVE registration (0) of (20)"
time="2023-12-20T14:01:30Z" level=info msg="Adam waiting for EVE registration (1) of (20)"
time="2023-12-20T14:01:50Z" level=info msg="Adam waiting for EVE registration (2) of (20)"
time="2023-12-20T14:02:10Z" level=info msg="Adam waiting for EVE registration (3) of (20)"
time="2023-12-20T14:02:30Z" level=info msg="Adam waiting for EVE registration (4) of (20)"
time="2023-12-20T14:02:51Z" level=info msg="Adam waiting for EVE registration (5) of (20)"
time="2023-12-20T14:03:11Z" level=info msg="Adam waiting for EVE registration (6) of (20)"
time="2023-12-20T14:03:31Z" level=info msg="Adam waiting for EVE registration (7) of (20)"
time="2023-12-20T14:03:51Z" level=info msg="Adam waiting for EVE registration (8) of (20)"
time="2023-12-20T14:04:11Z" level=info msg="Adam waiting for EVE registration (9) of (20)"
time="2023-12-20T14:04:31Z" level=info msg="Adam waiting for EVE registration (10) of (20)"
time="2023-12-20T14:04:51Z" level=info msg="Adam waiting for EVE registration (11) of (20)"
time="2023-12-20T14:05:11Z" level=info msg="Adam waiting for EVE registration (12) of (20)"
time="2023-12-20T14:05:31Z" level=info msg="Adam waiting for EVE registration (13) of (20)"
time="2023-12-20T14:05:51Z" level=info msg="Adam waiting for EVE registration (14) of (20)"
time="2023-12-20T14:06:11Z" level=info msg="Adam waiting for EVE registration (15) of (20)"
time="2023-12-20T14:06:31Z" level=info msg="Adam waiting for EVE registration (16) of (20)"
time="2023-12-20T14:06:51Z" level=info msg="Adam waiting for EVE registration (17) of (20)"
time="2023-12-20T14:07:11Z" level=info msg="Adam waiting for EVE registration (18) of (20)"
time="2023-12-20T14:07:31Z" level=info msg="Adam waiting for EVE registration (19) of (20)"
time="2023-12-20T14:07:51Z" level=fatal msg="Eve onboard failed: error onboarding onboarding timeout. You may try to run 'eden eve onboard' command again in several minutes. If not successful see logs of adam/eve"
[exit status 1]
FAIL: testdata/eden_onboard.txt:13: command failure
|
Execute Eden test workflow / EVE upgrade test suite (ext4)
Process completed with exit code 1.
|
Execute Eden test workflow / EVE upgrade test suite (ext4)
Process completed with exit code 1.
|
Execute Eden test workflow / EVE upgrade test suite (ext4)
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
eden-report-eve-upgrade.tests.txt-tpm-true-ext4
Expired
|
2.16 KB |
|
eden-report-eve-upgrade.tests.txt-tpm-true-zfs
Expired
|
7.27 MB |
|
eden-report-lpc-loc.tests.txt-tpm-true-ext4
Expired
|
9.04 MB |
|
eden-report-networking.tests.txt-tpm-true-ext4
Expired
|
16.6 MB |
|
eden-report-smoke.tests.txt-tpm-false-ext4
Expired
|
5 MB |
|
eden-report-smoke.tests.txt-tpm-false-zfs
Expired
|
2.82 MB |
|
eden-report-smoke.tests.txt-tpm-true-ext4
Expired
|
5.71 MB |
|
eden-report-smoke.tests.txt-tpm-true-zfs
Expired
|
5.75 MB |
|
eden-report-storage.tests.txt-tpm-true-ext4
Expired
|
5.3 MB |
|
eden-report-storage.tests.txt-tpm-true-zfs
Expired
|
2.25 MB |
|
eden-report-user-apps.tests.txt-tpm-true-ext4
Expired
|
6.14 MB |
|