* [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data
@ 2020-02-10 10:56 Petri Latvala
2020-02-10 13:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Petri Latvala @ 2020-02-10 10:56 UTC (permalink / raw)
To: igt-dev; +Cc: Tomi Sarvela, Petri Latvala
If metadata.txt or other vital data files are missing from a
results-directory, igt_resume silently exited. Print an error message
to the user so it's somewhat clear why we didn't resume the
execution.
Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/69
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
runner/resume.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/runner/resume.c b/runner/resume.c
index d5a20e80..08129ffb 100644
--- a/runner/resume.c
+++ b/runner/resume.c
@@ -32,10 +32,12 @@ int main(int argc, char **argv)
}
if (!initialize_execute_state_from_resume(dirfd, &state, &settings, &job_list)) {
+ fprintf(stderr, "Failure reading data from %s\n", argv[1]);
return 1;
}
if (!execute(&state, &settings, &job_list)) {
+ fprintf(stderr, "Executing tests failed, stopping.\n");
exitcode = 1;
}
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for runner: Print an error message if resume fails to load data
2020-02-10 10:56 [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data Petri Latvala
@ 2020-02-10 13:18 ` Patchwork
2020-02-10 13:23 ` Petri Latvala
2020-02-10 14:10 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2020-02-10 15:27 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler
2 siblings, 1 reply; 6+ messages in thread
From: Patchwork @ 2020-02-10 13:18 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
== Series Details ==
Series: runner: Print an error message if resume fails to load data
URL : https://patchwork.freedesktop.org/series/73235/
State : warning
== Summary ==
Did not get list of undocumented tests for this run, something is wrong!
Other than that, pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/106751 for the overview.
test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1590973):
[test_root] Directory that contains the IGT tests. The environment
variable IGT_TEST_ROOT will be used if set, overriding
this option if given.
Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdir2acmhN/test-list.txt
-------
Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
section_end:1581339717:build_script
^[[0Ksection_start:1581339717:after_script
^[[0Ksection_end:1581339718:after_script
^[[0Ksection_start:1581339718:upload_artifacts_on_failure
^[[0K^[[32;1mUploading artifacts...^[[0;m
build: found 1345 matching files ^[[0;m
Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1590973 responseStatus^[[0;m=201 Created token^[[0;m=VmTfMsPk
section_end:1581339724:upload_artifacts_on_failure
^[[0K^[[31;1mERROR: Job failed: exit code 1
^[[0;m
test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1591013):
[test_root] Directory that contains the IGT tests. The environment
variable IGT_TEST_ROOT will be used if set, overriding
this option if given.
Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdirQjbzLm/test-list.txt
-------
Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
section_end:1581340094:build_script
^[[0Ksection_start:1581340094:after_script
^[[0Ksection_end:1581340095:after_script
^[[0Ksection_start:1581340095:upload_artifacts_on_failure
^[[0K^[[32;1mUploading artifacts...^[[0;m
build: found 1345 matching files ^[[0;m
Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1591013 responseStatus^[[0;m=201 Created token^[[0;m=-hTZxs9n
section_end:1581340101:upload_artifacts_on_failure
^[[0K^[[31;1mERROR: Job failed: exit code 1
^[[0;m
test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1591053):
[test_root] Directory that contains the IGT tests. The environment
variable IGT_TEST_ROOT will be used if set, overriding
this option if given.
Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdirEYIohy/test-list.txt
-------
Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
section_end:1581340463:build_script
^[[0Ksection_start:1581340463:after_script
^[[0Ksection_end:1581340464:after_script
^[[0Ksection_start:1581340464:upload_artifacts_on_failure
^[[0K^[[32;1mUploading artifacts...^[[0;m
build: found 1345 matching files ^[[0;m
Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1591053 responseStatus^[[0;m=201 Created token^[[0;m=S7cHsjfj
section_end:1581340470:upload_artifacts_on_failure
^[[0K^[[31;1mERROR: Job failed: exit code 1
^[[0;m
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/106751
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] ✗ GitLab.Pipeline: warning for runner: Print an error message if resume fails to load data
2020-02-10 13:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
@ 2020-02-10 13:23 ` Petri Latvala
2020-02-10 13:34 ` Arkadiusz Hiler
0 siblings, 1 reply; 6+ messages in thread
From: Petri Latvala @ 2020-02-10 13:23 UTC (permalink / raw)
To: Arkadiusz Hiler; +Cc: igt-dev
We seem to have a lot of these happen lately. Arek?
On Mon, Feb 10, 2020 at 01:18:03PM +0000, Patchwork wrote:
> == Series Details ==
>
> Series: runner: Print an error message if resume fails to load data
> URL : https://patchwork.freedesktop.org/series/73235/
> State : warning
>
> == Summary ==
>
> Did not get list of undocumented tests for this run, something is wrong!
>
> Other than that, pipeline status: FAILED.
>
> see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/106751 for the overview.
>
> test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1590973):
> [test_root] Directory that contains the IGT tests. The environment
> variable IGT_TEST_ROOT will be used if set, overriding
> this option if given.
> Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdir2acmhN/test-list.txt
> -------
>
> Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
> FAILED: meson-test
> /usr/bin/meson test --no-rebuild --print-errorlogs
> ninja: build stopped: subcommand failed.
> section_end:1581339717:build_script
> ^[[0Ksection_start:1581339717:after_script
> ^[[0Ksection_end:1581339718:after_script
> ^[[0Ksection_start:1581339718:upload_artifacts_on_failure
> ^[[0K^[[32;1mUploading artifacts...^[[0;m
> build: found 1345 matching files ^[[0;m
> Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1590973 responseStatus^[[0;m=201 Created token^[[0;m=VmTfMsPk
> section_end:1581339724:upload_artifacts_on_failure
> ^[[0K^[[31;1mERROR: Job failed: exit code 1
> ^[[0;m
>
> test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1591013):
> [test_root] Directory that contains the IGT tests. The environment
> variable IGT_TEST_ROOT will be used if set, overriding
> this option if given.
> Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdirQjbzLm/test-list.txt
> -------
>
> Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
> FAILED: meson-test
> /usr/bin/meson test --no-rebuild --print-errorlogs
> ninja: build stopped: subcommand failed.
> section_end:1581340094:build_script
> ^[[0Ksection_start:1581340094:after_script
> ^[[0Ksection_end:1581340095:after_script
> ^[[0Ksection_start:1581340095:upload_artifacts_on_failure
> ^[[0K^[[32;1mUploading artifacts...^[[0;m
> build: found 1345 matching files ^[[0;m
> Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1591013 responseStatus^[[0;m=201 Created token^[[0;m=-hTZxs9n
> section_end:1581340101:upload_artifacts_on_failure
> ^[[0K^[[31;1mERROR: Job failed: exit code 1
> ^[[0;m
>
> test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1591053):
> [test_root] Directory that contains the IGT tests. The environment
> variable IGT_TEST_ROOT will be used if set, overriding
> this option if given.
> Cannot open /builds/gfx-ci/igt-ci-tags/build/tmpdirEYIohy/test-list.txt
> -------
>
> Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
> FAILED: meson-test
> /usr/bin/meson test --no-rebuild --print-errorlogs
> ninja: build stopped: subcommand failed.
> section_end:1581340463:build_script
> ^[[0Ksection_start:1581340463:after_script
> ^[[0Ksection_end:1581340464:after_script
> ^[[0Ksection_start:1581340464:upload_artifacts_on_failure
> ^[[0K^[[32;1mUploading artifacts...^[[0;m
> build: found 1345 matching files ^[[0;m
> Uploading artifacts to coordinator... ok ^[[0;m id^[[0;m=1591053 responseStatus^[[0;m=201 Created token^[[0;m=S7cHsjfj
> section_end:1581340470:upload_artifacts_on_failure
> ^[[0K^[[31;1mERROR: Job failed: exit code 1
> ^[[0;m
>
> == Logs ==
>
> For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/106751
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] ✗ GitLab.Pipeline: warning for runner: Print an error message if resume fails to load data
2020-02-10 13:23 ` Petri Latvala
@ 2020-02-10 13:34 ` Arkadiusz Hiler
0 siblings, 0 replies; 6+ messages in thread
From: Arkadiusz Hiler @ 2020-02-10 13:34 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
On Mon, Feb 10, 2020 at 03:23:58PM +0200, Petri Latvala wrote:
> We seem to have a lot of these happen lately. Arek?
Seems like something is wrong with fdo-packet-2 runner recently. I have
been reporting those issues.
https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/197#note_406230
--
Arek
Cheers,
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for runner: Print an error message if resume fails to load data
2020-02-10 10:56 [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data Petri Latvala
2020-02-10 13:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
@ 2020-02-10 14:10 ` Patchwork
2020-02-10 15:27 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler
2 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2020-02-10 14:10 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
== Series Details ==
Series: runner: Print an error message if resume fails to load data
URL : https://patchwork.freedesktop.org/series/73235/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7899 -> IGTPW_4119
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/index.html
Known issues
------------
Here are the changes found in IGTPW_4119 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_close_race@basic-threads:
- fi-hsw-peppy: [PASS][1] -> [INCOMPLETE][2] ([i915#694] / [i915#816])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-hsw-peppy/igt@gem_close_race@basic-threads.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-hsw-peppy/igt@gem_close_race@basic-threads.html
- fi-byt-n2820: [PASS][3] -> [INCOMPLETE][4] ([i915#45])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-byt-n2820/igt@gem_close_race@basic-threads.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-byt-n2820/igt@gem_close_race@basic-threads.html
* igt@gem_exec_suspend@basic-s3:
- fi-skl-6700k2: [PASS][5] -> [INCOMPLETE][6] ([i915#69])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-skl-6700k2/igt@gem_exec_suspend@basic-s3.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-skl-6700k2/igt@gem_exec_suspend@basic-s3.html
* igt@i915_selftest@live_blt:
- fi-hsw-4770: [PASS][7] -> [DMESG-FAIL][8] ([i915#563])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-hsw-4770/igt@i915_selftest@live_blt.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-hsw-4770/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_execlists:
- fi-icl-y: [PASS][9] -> [DMESG-FAIL][10] ([fdo#108569])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-icl-y/igt@i915_selftest@live_execlists.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-icl-y/igt@i915_selftest@live_execlists.html
* igt@i915_selftest@live_gem_contexts:
- fi-cfl-guc: [PASS][11] -> [INCOMPLETE][12] ([fdo#106070] / [i915#424])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- fi-byt-j1900: [TIMEOUT][13] ([fdo#112271] / [i915#1084] / [i915#816]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-byt-j1900/igt@gem_close_race@basic-threads.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-byt-j1900/igt@gem_close_race@basic-threads.html
* igt@i915_selftest@live_blt:
- fi-bsw-nick: [INCOMPLETE][15] ([i915#392]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-bsw-nick/igt@i915_selftest@live_blt.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-bsw-nick/igt@i915_selftest@live_blt.html
- fi-ivb-3770: [DMESG-FAIL][17] ([i915#725]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-ivb-3770/igt@i915_selftest@live_blt.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-ivb-3770/igt@i915_selftest@live_blt.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][19] ([fdo#111407]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
#### Warnings ####
* igt@gem_exec_parallel@contexts:
- fi-byt-j1900: [FAIL][21] ([i915#694]) -> [TIMEOUT][22] ([fdo#112271] / [i915#1084])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7899/fi-byt-j1900/igt@gem_exec_parallel@contexts.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/fi-byt-j1900/igt@gem_exec_parallel@contexts.html
[fdo#106070]: https://bugs.freedesktop.org/show_bug.cgi?id=106070
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#392]: https://gitlab.freedesktop.org/drm/intel/issues/392
[i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#563]: https://gitlab.freedesktop.org/drm/intel/issues/563
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816
Participating hosts (45 -> 47)
------------------------------
Additional (8): fi-tgl-dsi fi-bsw-n3050 fi-bwr-2160 fi-gdg-551 fi-bsw-kefka fi-kbl-7560u fi-skl-6600u fi-snb-2600
Missing (6): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-whl-u fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5432 -> IGTPW_4119
CI-20190529: 20190529
CI_DRM_7899: cf2d5e78e3f8cfe15f613b6181df7a6ab6238453 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4119: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/index.html
IGT_5432: 6677811be6e9be9000b3217e8862353b3945a4f3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4119/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data
2020-02-10 10:56 [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data Petri Latvala
2020-02-10 13:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
2020-02-10 14:10 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
@ 2020-02-10 15:27 ` Arkadiusz Hiler
2 siblings, 0 replies; 6+ messages in thread
From: Arkadiusz Hiler @ 2020-02-10 15:27 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, Tomi Sarvela
On Mon, Feb 10, 2020 at 12:56:53PM +0200, Petri Latvala wrote:
> If metadata.txt or other vital data files are missing from a
> results-directory, igt_resume silently exited. Print an error message
> to the user so it's somewhat clear why we didn't resume the
> execution.
>
> Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/69
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-10 15:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 10:56 [igt-dev] [PATCH i-g-t] runner: Print an error message if resume fails to load data Petri Latvala
2020-02-10 13:18 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
2020-02-10 13:23 ` Petri Latvala
2020-02-10 13:34 ` Arkadiusz Hiler
2020-02-10 14:10 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2020-02-10 15:27 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox