Project

General

Profile

Actions

action #178648

open

Support for running tests from user home directory with domain authentication

Added by nickf 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2025-03-11
Due date:
% Done:

0%

Estimated time:

Description

Description:

I have a server configured with domain authentication, and I want to use it to run OpenQA tests under different users who do not have access to the /var/lib/openqa/ directory. However, I encountered an issue when attempting to run tests from /home// .

When running tests from /home//, the following problems occur:

  • In the web interface, attempting to view the contents of the test (test.pm) in a "Page not found" error.
  • The "Candidate needles and tags" field does not display the needles used in the test.
  • When a new needle is created, it is saved in /var/lib/openqa/tests/alt/needles/
  • No symlink is created in /var/lib/openqa/pool/<worker_number>/ pointing to the test files.

Steps to Reproduce:

  1. Change permissions on the user's home directory to allow access:
chmod o+x /home/user
  1. Download os-autoinst with tests and needles to /home/user/.
  2. Create a symlink to os-autoinst:
ln -s /home/user/os-autoinst /home/user/alt
  1. Run the tests using the following command:
    openqa-cli api -X POST jobs DISTRI=alt VERSION=p11 FLAVOR=workstation-iso ARCH=x86_64 BUILD=_BETA_TEST ISO=<isoname> TESTING_DIRECTION=distr MACHINE=64bit TEST=install_default_ext_profile CASEDIR=/home/user/alt NEEDLES_DIR=/home/user/alt/needles

I'm wondering if you've encountered similar issues before or have any ideas on how this could be implemented. Thanks!

Actions

Also available in: Atom PDF