Add first golang-only test #2260
eden.yml
on: pull_request
Execute Eden test workflow
/
Determine best available runner
0s
Execute Eden test workflow
/
Networking test suite
1h 2m
Execute Eden test workflow
/
LPS LOC test suite
46m 36s
Execute Eden test workflow
/
User apps test suite
39m 9s
Execute Eden test workflow
/
Virtualization test suite
26m 54s
Matrix: Execute Eden test workflow / EVE upgrade test suite
Matrix: Execute Eden test workflow / Smoke tests
Matrix: Execute Eden test workflow / Storage test suite
Annotations
9 errors and 13 warnings
Execute Eden test workflow / Storage test suite (zfs):
tests/volume/testdata/volumes_test.txt#L60
[stdout]
Reboot Test
=== RUN TestReboot
reboot_test.go:162: time: 2024-11-01T13:22:25.411945763Z out: Wait for state of d0a38c1b-e121-496a-8dd7-0e355112e26a
testContext.go:369: done waiting for State
reboot_test.go:166: time: 2024-11-01T13:22:25.412954249Z out: timewait: 2562047h47m16.854775807s
reboot_test.go:167: time: 2024-11-01T13:22:25.412973726Z out: reboot: false
reboot_test.go:168: time: 2024-11-01T13:22:25.412979045Z out: count: 1
reboot_test.go:172: time: 2024-11-01T13:22:25.412985729Z out: LastRebootTime: 2024-11-01 13:21:15.602787475 +0000 UTC
reboot_test.go:174: time: 2024-11-01T13:22:25.413020263Z out: LastRebootReason: NORMAL: First boot of device - at 2024-11-01T13:21:15.602787475Z
rebooted with reason Reboot reason - system reset, reboot or kernel panic due to watchdog or kernel bug (no kdump) - at 2024-11-01T13:31:29.18232663Z at 2024-11-01 13:31:29.18232663 +0000 UTC/n testProc.go:84: time: 2024-11-01T13:32:24.184191558Z out: testcontext.ProcInfoFunc done with return: abnormal reboot: Reboot reason - system reset, reboot or kernel panic due to watchdog or kernel bug (no kdump) - at 2024-11-01T13:31:29.18232663Z
testContext.go:260: done for device d0a38c1b-e121-496a-8dd7-0e355112e26a
reboot_test.go:186: time: 2024-11-01T13:32:24.184274073Z out: Number of reboots: 0
--- PASS: TestReboot (598.77s)
PASS
[stderr]
time="2024-11-01T13:32:24Z" level=info msg="time: 2024-11-01T13:32:24.184191558Z out: testcontext.ProcInfoFunc done with return: abnormal reboot: Reboot reason - system reset, reboot or kernel panic due to watchdog or kernel bug (no kdump) - at 2024-11-01T13:31:29.18232663Z"
FAIL: ../volume/testdata/volumes_test.txt:60: unexpected command success
|
Execute Eden test workflow / Storage test suite (zfs):
tests/volume/testdata/volumes_test.txt#L60
[stdout]
Docker app's state test
=== RUN TestAppStatus
apps: '[eclient-mount]' state: 'RUNNING' secs: 900
time: 2024-11-01T13:27:05.228237215Z out: appName eclient-mount state changed to DELIVERED: [description:"Remaining disk space 339726833 volume needs 1127219200\n\n\n" timestamp:{seconds:1730467616 nanos:350412997} severity:SEVERITY_ERROR entities:{entity:ENTITY_VOLUME entity_id:"8d0a892d-cd9b-4864-a41a-8ed46fca9201"} retry_condition:"Will retry when more space will be available"]
time: 2024-11-01T13:27:07.062381426Z out: appName eclient-mount state changed to CREATING_VOLUME
time: 2024-11-01T13:27:09.063156372Z out: appName eclient-mount state changed to INSTALLED
time: 2024-11-01T13:32:20.199891868Z out: appName eclient-mount state changed to INITIAL
[context canceled]
FAIL: ../volume/testdata/volumes_test.txt:60: test interrupted while running command
|
Execute Eden test workflow / Storage test suite (zfs)
Process completed with exit code 1.
|
Execute Eden test workflow / Virtualization test suite:
tests/workflow/testdata/eden_vcom.txt#L1
[stdout]
time: 2024-11-01T13:42:54.750218485Z out: VCOM Test started
configName: default
configFile: /home/runner/.eden/contexts/default.yml
time="2024-11-01T13:42:54Z" level=debug msg="Will use config from /home/runner/.eden/contexts/default.yml"
time="2024-11-01T13:42:54Z" level=debug msg="Try to add config from /tmp/go-test-script3230044210/script-eden_vcom/eden-config.yml"
--- FAIL: TestVcomLinkTpmRequestEK (0.60s)
vcom_test.go:41: time: 2024-11-01T13:42:54.779633806Z out: TestvComLinkTpmRequestEK started
vcom_test.go:41: time: 2024-11-01T13:42:54.779649996Z out: Checking if vComLink is running on EVE...
vcom_test.go:41: time: 2024-11-01T13:42:55.381876078Z out: vComLink agent is running
vcom_test.go:41: time: 2024-11-01T13:42:55.381900974Z out: Checking if vComLink is reachable from a VM, deploying ubuntu-22.04-server-cloudimg-amd64...
vcom_test.go:41: time: 2024-11-01T13:42:55.38192541Z out: TestvComLinkTpmRequestEK finished
[stderr]
Warning: Permanently added '[127.0.0.1]:2222' (ED25519) to the list of known hosts.
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xdc0a17]
goroutine 32 [running]:
testing.tRunner.func1.2({0xecde40, 0x19b54b0})
/opt/hostedtoolcache/go/1.22.3/x64/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
/opt/hostedtoolcache/go/1.22.3/x64/src/testing/testing.go:1634 +0x377
panic({0xecde40?, 0x19b54b0?})
/opt/hostedtoolcache/go/1.22.3/x64/src/runtime/panic.go:770 +0x132
command-line-arguments.TestVcomLinkTpmRequestEK.WithSSH.func2(0xc00060baa8?, {0xc0003dd2f0?, 0xc800000?})
/home/runner/actions-runner/_work/eden/eden/eden/pkg/evetestkit/utils.go:451 +0x57
github.com/lf-edge/eden/pkg/evetestkit.(*EveNode).EveDeployApp(_, {_, _}, _, {{0xc0003dd2f0, 0x15}, {0x10a8ea7, 0x4e}, {0x106b5df, 0x6}, ...}, ...)
/home/runner/actions-runner/_work/eden/eden/eden/pkg/evetestkit/utils.go:501 +0xc4
command-line-arguments.TestVcomLinkTpmRequestEK(0xc0007411e0)
/home/runner/actions-runner/_work/eden/eden/eden/tests/vcom/vcom_test.go:125 +0x51a
testing.tRunner(0xc0007411e0, 0x10d26b8)
/opt/hostedtoolcache/go/1.22.3/x64/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
/opt/hostedtoolcache/go/1.22.3/x64/src/testing/testing.go:1742 +0x390
[exit status 2]
FAIL: testdata/eden_vcom.txt:1: command failure
|
Execute Eden test workflow / Virtualization test suite
Process completed with exit code 1.
|
Execute Eden test workflow / EVE upgrade test suite (zfs):
tests/update_eve_image/testdata/update_eve_image_http.txt#L52
[stdout]
=== RUN TestEdenScripts
=== RUN TestEdenScripts/revert_eve_image_update
=== PAUSE TestEdenScripts/revert_eve_image_update
=== CONT TestEdenScripts/revert_eve_image_update
> eden controller edge-node update --config timer.test.baseimage.update=30
edenProg: /home/runner/actions-runner/_work/eden/eden/eden/dist/bin/eden timewait: 0s
> message 'EVE image download'
> eden -t 10m utils download eve-rootfs --eve-tag=13.3.0 --eve-hv=kvm --downloader-dist=/home/runner/actions-runner/_work/eden/eden/eden/dist/default-eve -v debug
edenProg: /home/runner/actions-runner/_work/eden/eden/eden/dist/bin/eden timewait: 10m0s
> stdout '/home/runner/actions-runner/_work/eden/eden/eden/dist/default-eve/rootfs-13.3.0-kvm-amd64.squashfs'
> message 'EVE update request'
> eden -t 10m controller edge-node eveimage-update file:///home/runner/actions-runner/_work/eden/eden/eden/dist/default-eve/rootfs-13.3.0-kvm-amd64.squashfs
edenProg: /home/runner/actions-runner/_work/eden/eden/eden/dist/bin/eden timewait: 10m0s
> ! stderr .
> message 'Waiting for EVE starting testing...'
> test eden.lim.test -test.v -timewait 30m -test.run TestInfo -out InfoContent.dinfo.SwList[0].ShortVersion 'InfoContent.dinfo.SwList[0].PartitionState:inprogress'
testProg: /home/runner/actions-runner/_work/eden/eden/eden/dist/bin/eden.lim.test timewait: 0s
::error file=tests/update_eve_image/testdata/revert_eve_image_update.txt,line=35::[stdout]
Log/Info/Metric Test
=== RUN TestInfo
lim_test.go:273: time: 2024-11-01T13:31:55.399362422Z out: Wait for info of e2aa541e-313f-4f14-bdcf-b5d5889ddc8a number=1 timewait=30m0s
testContext.go:291: WaitForProc terminated by timeout 30m0s
testContext.go:274: WaitForProcWithErrorCallback terminated by timeout 30m0s
--- FAIL: TestInfo (1800.00s)
FAIL
[exit status 1]
FAIL: /home/runner/actions-runner/_work/eden/eden/eden/dist/tests/update_eve_image/testdata/revert_eve_image_update.txt:35: command failure
testscript.go:418:
WORK=$WORK
PATH=/home/runner/go/bin:/opt/hostedtoolcache/go/1.22.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
DOCKER_HOST=
TMPDIR=$WORK/tmp
devnull=/dev/null
/=/
:=:
EDEN_CONFIG=default
HOME=/no-home
exe=
# Obtain eve.tag from config
# Obtain eve.hv from config
# Obtain eve.arch from config
# Combine variables into $short_version
# Use eden.lim.test for access Infos with timewait 30m
# Decrease update testing time (0.019s)
> eden controller edge-node update --config timer.test.baseimage.update=30
# Download EVE rootfs into eve-dist (1.141s)
> message 'EVE image download'
message: EVE image download
> eden -t 10m utils download eve-rootfs --eve-tag=13.3.0 --eve-hv=kvm --downloader-dist=/home/runner/actions-runner/_work/eden/eden/eden/dist/default-eve -v debug
[stdout]
configName: default
configFile: /home/runner/.eden/contexts/default.yml
time="2024-11-01T13:31:52Z" level=debug msg="Try ImagePull with (lfedge/eve:13.3.0-kvm-amd64)"
time="2024-11-01T13:31:52Z" level=debug msg="Try to get version of rootfs"
time="2024-11-01T13:31:52Z" level=debug msg="Try to call 'docker run lfedge/eve:13.3.0-kvm-amd64 -f raw version' with volumes map[]"
time="2024-11-01T13:31:52Z" level=debug msg="image version: 13.3.0-kvm-amd64"
time="2024-11-01T13:31:52Z" level=debug msg="provided version: 13.3.0-kvm-amd64"
time="2024-11-01T13:31:52Z" level=debug msg="Try to call 'docker run lfedge/eve:13.3.0-kvm-amd64 -f raw rootfs' with volumes map[/out:/home/runner/actions-runner/_work/eden/eden/eden/dist/default-eve]"
time="2024-11-01T13:31:53Z" level=debug msg="245+1 records in\r\n245+1 records out\r\n257822720 bytes (258 MB, 246 MiB)
|
Execute Eden test workflow / EVE upgrade test suite (zfs):
tests/update_eve_image/testdata/revert_eve_image_update.txt#L35
[stdout]
Log/Info/Metric Test
=== RUN TestInfo
lim_test.go:273: time: 2024-11-01T13:31:55.399362422Z out: Wait for info of e2aa541e-313f-4f14-bdcf-b5d5889ddc8a number=1 timewait=30m0s
testContext.go:291: WaitForProc terminated by timeout 30m0s
testContext.go:274: WaitForProcWithErrorCallback terminated by timeout 30m0s
--- FAIL: TestInfo (1800.00s)
FAIL
[exit status 1]
FAIL: /home/runner/actions-runner/_work/eden/eden/eden/dist/tests/update_eve_image/testdata/revert_eve_image_update.txt:35: command failure
|
Execute Eden test workflow / EVE upgrade test suite (zfs)
Process completed with exit code 1.
|
Execute Eden test workflow / EVE upgrade test suite (zfs)
Process completed with exit code 1.
|
Execute Eden test workflow / Storage test suite (zfs)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Storage test suite (ext4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Virtualization test suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Smoke tests (ext4, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Smoke tests (ext4, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / User apps test suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / EVE upgrade test suite (ext4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Smoke tests (zfs, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Smoke tests (zfs, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / LPS LOC test suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / Networking test suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Execute Eden test workflow / EVE upgrade test suite (zfs)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "eden-report-eve-upgrade.tests.txt-tpm-true-ext4", "eden-report-eve-upgrade.tests.txt-tpm-true-zfs", "eden-report-lps-loc.tests.txt-tpm-true-ext4", "eden-report-networking.tests.txt-tpm-true-ext4", "eden-report-smoke.tests.txt-tpm-false-ext4", "eden-report-smoke.tests.txt-tpm-false-zfs", "eden-report-smoke.tests.txt-tpm-true-ext4", "eden-report-smoke.tests.txt-tpm-true-zfs", "eden-report-storage.tests.txt-tpm-true-ext4", "eden-report-storage.tests.txt-tpm-true-zfs", "eden-report-user-apps.tests.txt-tpm-true-ext4", "eden-report-virtualization.tests.txt-tpm-true-ext4".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
eden-report-eve-upgrade.tests.txt-tpm-true-ext4
|
12.3 MB |
|
eden-report-eve-upgrade.tests.txt-tpm-true-zfs
|
4.45 MB |
|
eden-report-lps-loc.tests.txt-tpm-true-ext4
|
16.7 MB |
|
eden-report-networking.tests.txt-tpm-true-ext4
|
26.6 MB |
|
eden-report-smoke.tests.txt-tpm-false-ext4
|
15.9 MB |
|
eden-report-smoke.tests.txt-tpm-false-zfs
|
16.6 MB |
|
eden-report-smoke.tests.txt-tpm-true-ext4
|
15.6 MB |
|
eden-report-smoke.tests.txt-tpm-true-zfs
|
16.7 MB |
|
eden-report-storage.tests.txt-tpm-true-ext4
|
15.5 MB |
|
eden-report-storage.tests.txt-tpm-true-zfs
|
5.93 MB |
|
eden-report-user-apps.tests.txt-tpm-true-ext4
|
16.1 MB |
|
eden-report-virtualization.tests.txt-tpm-true-ext4
|
17.5 MB |
|