Project

General

Profile

Actions

action #167971

closed

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #152847: [epic] version control awareness within openQA for test distributions

test detail pages for unfinished jobs on git-cloned test distributions point to invalid source URL

Added by okurz about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-10-08
Due date:
% Done:

0%

Estimated time:

Description

Observation

While the test openqa-Tumbleweed-dev-x86_64-Build:TW.31901-openqa_install+publish@64bit-2G https://openqa.opensuse.org/tests/4543834# was running I clicked on a link pointing to the source code of a test module, e.g. https://openqa.opensuse.org/tests/4543834/modules/boot/steps/1/src, redirected to an invalid URL https://github.com/os-autoinst/os-autoinst-distri-openQA/blob///tests/install/boot.pm#, mind the triple ///. After the test finished the link was to https://github.com/os-autoinst/os-autoinst-distri-openQA/blob/1d419302b4d76093aa572581bd436f9a44227795//tests/install/boot.pm# which is correct and works fine though it still contains a double //.

Acceptance criteria

  • AC1: Given a git-cloned test distribution like os-autoinst-distri-openQA When a test is running Then clicking on a module source code link directs to a valid display of the source code currently in use
  • AC2: Given a git-cloned test distribution like os-autoinst-distri-openQA When a test is finished Then same result as in AC1
  • AC3: Given a legacy cloned test distribution like osado When a test is running Then same result as in AC1 but using the openQA internal source code view using the webUI-local file

Suggestions

  • This could be a recent regression related to changes how we treat jobs with CASEDIR in settings. Look into the history of changes for potentially related changes
  • Ensure this is covered with tests for tests in the "running" state
Actions #1

Updated by tinita about 1 month ago · Edited

  • Status changed from New to Feedback
  • Assignee set to tinita

https://github.com/os-autoinst/openQA/pull/5989 Fix source view for running tests

Actions #3

Updated by okurz about 1 month ago

  • Status changed from Feedback to Resolved

Both PRs merged, deployed and effective

Actions

Also available in: Atom PDF