Actions
action #178177
openTest ./t/21-needles.t fails for me in master branch but apparently not in circleCI
Start date:
2025-03-03
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
From prove -l t/21-needles.t
I get
[12:17:02] ./t/21-needles.t .......................... 3/? t/data/openqa/webui/cache/needle-refs/fedora/0123456789abcdef0123456789abcdef01234567/needles/needle.json is not in a subdir of /tmp/k2BzPHTljL/21-needles/openqa/share/tests or /tmp/k2BzPHTljL/21-needles/openqa/tests at /home/okurz/local/os-autoinst/openQA/lib/OpenQA/WebAPI/Controller/File.pm line 35.
# Failed test '200 OK'
# at ./t/21-needles.t line 242.
# got: '403'
# expected: '200'
# Failed test 'content is similar'
# at ./t/21-needles.t line 242.
# 'Forbidden'
# doesn't match '(?^u:This is obviously a png file)'
# Looks like you failed 2 tests of 3.
# Failed test 'needledir set by jsonfile_in_temp_dir'
# at ./t/21-needles.t line 244.
error: gpg failed to sign the data:
gpg: skipped "foo <foo@bar>": No secret key
[GNUPG:] INV_SGNR 9 foo <foo@bar>
[GNUPG:] FAILURE sign 17
gpg: signing failed: No secret key
fatal: failed to write commit object
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
# Failed test 'get needle json'
# at ./t/21-needles.t line 264.
# got: undef
# expected: 't/data/openqa/webui/cache/needle-refs/tmp/HEAD/needles/foo.json'
# Looks like you failed 1 test of 1.
# Failed test '_locate_needle_for_ref'
# at ./t/21-needles.t line 267.
Invalid path at ./t/21-needles.t line 265.
# Failed test 'no (unexpected) warnings (via END block)'
# at /usr/lib/perl5/vendor_perl/5.26.1/Test/Builder.pm line 193.
# Got the following unexpected warnings:
# 1: t/data/openqa/webui/cache/needle-refs/fedora/0123456789abcdef0123456789abcdef01234567/needles/needle.json is not in a subdir of /tmp/k2BzPHTljL/21-needles/openqa/share/tests or /tmp/k2BzPHTljL/21-needles/openqa/tests at /home/okurz/local/os-autoinst/openQA/lib/OpenQA/WebAPI/Controller/File.pm line 35.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 9.
[12:17:02] ./t/21-needles.t .......................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/9 subtests
which is on commit 41634a22e
Updated by okurz about 10 hours ago
- Copied from action #178174: Test ./t/16-utils-runcmd.t fails for me in master branch but apparently not in circleCI added
Updated by okurz about 10 hours ago
- Copied to action #178180: Test t/14-grutasks.t fails for me in master branch but apparently not in circleCI added
Updated by tinita about 7 hours ago
- Status changed from New to Feedback
- Assignee set to tinita
https://github.com/os-autoinst/openQA/pull/6241 t: Prevent git in tests use tester's ~/.gitconfig
Updated by okurz about 2 hours ago
- Target version changed from Tools - Next to Ready
Actions