Project

General

Profile

Actions

action #178180

closed

Test t/14-grutasks.t fails for me in master branch but apparently not in circleCI

Added by okurz 2 months ago. Updated 29 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2025-03-03
Due date:
% Done:

0%

Estimated time:

Description

Observation

From prove -l t/14-grutasks.t I get

12:23:12] ./t/14-grutasks.t ......................... 24/?
    #   Failed test 'needle temp dir determined as expected'
    #   at ./t/14-grutasks.t line 416.
    #          got: './t/data/openqa/webui/cache/needle-refs'
    #     expected: 't/data/openqa/webui/cache/needle-refs'
    # Looks like you failed 1 test of 3.

#   Failed test 'limit_temp_needle_refs task cleans up temp needle refs exceeding retention'
#   at ./t/14-grutasks.t line 444.
[12:23:12] ./t/14-grutasks.t ......................... 33/?
        #   Failed test '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test2.iso symlink created'
        #   at ./t/14-grutasks.t line 749.

        #   Failed test '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test2.iso points to expected destination'
        #   at ./t/14-grutasks.t line 750.
        #          got: '/home/okurz/local/os-autoinst/openQA/t/data/openqa/share/factory/iso/test1.iso'
        #     expected: '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test1.iso'

        #   Failed test '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test3.iso symlink created'
        #   at ./t/14-grutasks.t line 749.

        #   Failed test '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test3.iso points to expected destination'
        #   at ./t/14-grutasks.t line 750.
        #          got: '/home/okurz/local/os-autoinst/openQA/t/data/openqa/share/factory/iso/test1.iso'
        #     expected: '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test1.iso'
        # Looks like you failed 4 tests of 6.

    #   Failed test 'successful download with multiple destinations and no existing files'
    #   at ./t/14-grutasks.t line 752.

        #   Failed test 'symlink restored'
        #   at ./t/14-grutasks.t line 757.
        #          got: '/home/okurz/local/os-autoinst/openQA/t/data/openqa/share/factory/iso/test1.iso'
        #     expected: '/tmp/14-grutasks.t-fLx1/t/data/openqa/share/factory/iso/test1.iso'
        # Looks like you failed 1 test of 2.

    #   Failed test 'download skipped if only one destination missing'
    #   at ./t/14-grutasks.t line 758.
    # Looks like you failed 2 tests of 29.

#   Failed test 'download assets with correct permissions'
#   at ./t/14-grutasks.t line 766.
[2025-03-03 12:23:19.73987] [2845] [debug] [pid:2845] _carry_over_candidate(99983): _failure_reason=b:failed
# Looks like you failed 2 tests of 40.

which is on commit 41634a22e

Acceptance Criteria

AC1: t/14-grutasks.t uses a /tmp directory for t/data/openqa/webui/cache/needle-refs


Related issues 2 (0 open2 closed)

Copied from openQA Project (public) - action #178177: Test ./t/21-needles.t fails for me in master branch but apparently not in circleCIResolvedtinita2025-03-03

Actions
Copied to openQA Project (public) - action #178207: t: Many leftover t/poolXXXX directories in openQA size:SResolvedgpuliti2025-03-03

Actions
Actions

Also available in: Atom PDF