Fix failing molecule test scenario #27

Open
opened 2024-08-18 21:36:26 +00:00 by emil · 1 comment
Owner

The test fails with

TASK [theliberatededge.test_linux_containers.linux_container : change root user password in container] ***
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "incus exec ApRtneLz-container -- \\\n    bash -c \\\n    'echo \"root:''\" | chpasswd'", "delta": "0:00:00.080440", "end": "2024-08-18 23:20:39.839488", "msg": "non-zero return code", "rc": 1, "start": "2024-08-18 23:20:39.759048", "stderr": "No password has been supplied.\nNo password has been supplied.\nNo password has been supplied.\nchpasswd: (user root) pam_chauthtok() failed, error:\nAuthentication token manipulation error\nchpasswd: (line 1, user root) password not changed", "stderr_lines": ["No password has been supplied.", "No password has been supplied.", "No password has been supplied.", "chpasswd: (user root) pam_chauthtok() failed, error:", "Authentication token manipulation error", "chpasswd: (line 1, user root) password not changed"], "stdout": "", "stdout_lines": []}
The test fails with ``` TASK [theliberatededge.test_linux_containers.linux_container : change root user password in container] *** fatal: [localhost]: FAILED! => {"changed": false, "cmd": "incus exec ApRtneLz-container -- \\\n bash -c \\\n 'echo \"root:''\" | chpasswd'", "delta": "0:00:00.080440", "end": "2024-08-18 23:20:39.839488", "msg": "non-zero return code", "rc": 1, "start": "2024-08-18 23:20:39.759048", "stderr": "No password has been supplied.\nNo password has been supplied.\nNo password has been supplied.\nchpasswd: (user root) pam_chauthtok() failed, error:\nAuthentication token manipulation error\nchpasswd: (line 1, user root) password not changed", "stderr_lines": ["No password has been supplied.", "No password has been supplied.", "No password has been supplied.", "chpasswd: (user root) pam_chauthtok() failed, error:", "Authentication token manipulation error", "chpasswd: (line 1, user root) password not changed"], "stdout": "", "stdout_lines": []} ```
emil added this to the v1.0.0 project 2024-08-18 21:36:26 +00:00
emil added the
bug
label 2024-08-18 21:36:57 +00:00
Author
Owner

Fixed with this PR.

Fixed with [this PR](https://git.theliberatededge.org/the-liberated-edge/test_linux_containers/pulls/28).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: the-liberated-edge/test_linux_containers#27
No description provided.