Skip to content

Test ui-smoke tries to sudo and fails on OK #4143

@BsAtHome

Description

@BsAtHome

@grandixximo When running tests locally on Fedora 43 I was stomped to find that I was met with a sudo prompt. That is not a functional situation because I had to send a keyboard interrupt to continue. Tests must run without intervention and cannot do sudo when not explicitly instructed or allowed to.

Output:

...
Running test: /...lcnc.git/tests/ui-smoke/axis
[sudo] password for <me>: ^C
Running test: /...lcnc.git/tests/ui-smoke/gmoccapy-quit
[sudo] password for <me>: ^C
Running test: /...lcnc.git/tests/ui-smoke/gmoccapy
[sudo] password for <me>: ^C
Running test: /...lcnc.git/tests/ui-smoke/qtdragon-quit
[sudo] password for <me>: ^C
*** /...lcnc.git/tests/ui-smoke/qtdragon-quit: XFAIL: test run exited with 1
Runtest: 286 tests run, 285 successful, 1 failed + 0 expected, 3 skipped, 0 shmem errors
Failed: 
/.../tests/ui-smoke/qtdragon-quit

The failed test (qtdragon-quit) has this line in the result file output:

=== ui-smoke.out ===
UI_SMOKE_OK

I guess that means everything is fine, but the test checks for UI_SMOKE_QUIT_OK, which is missing. So I guess something is still wrong. However, gmoccapy-quit also fails to have the tag UI_SMOKE_QUIT_OK in the result file and seems to pass?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions