Fix Creating user directory using tilde always reports "changed" #83113
Build #20240508.7 had test failures
Details
- Failed: 4 (0.23%)
- Passed: 1,339 (77.13%)
- Other: 393 (22.64%)
- Total: 1,736
Annotations
Check failure on line 1808 in Build log
azure-pipelines / CI
Build log #L1808
Bash exited with code '1'.
Check failure on line 1796 in Build log
azure-pipelines / CI
Build log #L1796
Bash exited with code '1'.
azure-pipelines / CI
[testhost] testhost: user : validate that user home dir is created that=['user_create_home_fallback is changed', 'user_create_home_fallback_dir.stat.exists', 'user_create_home_fallback_dir.stat.isdir', "user_create_home_fallback_dir.stat.pw_name == 'ansibulluser'", 'user_create_home_fallback_dir.stat.mode == user_login_defs_umask.stdout']
Assertion failed
Raw output
{
"assertion": "user_create_home_fallback is changed",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}
azure-pipelines / CI
[testhost] testhost: user : Assert that the user with a tilde in the shell path is created that=['user_creation_result is not changed', 'user_create_result is changed']
Assertion failed
Raw output
{
"assertion": "user_create_result is changed",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}
azure-pipelines / CI
[testhost] testhost: user : validate that user home dir is created that=['user_create_home_fallback is changed', 'user_create_home_fallback_dir.stat.exists', 'user_create_home_fallback_dir.stat.isdir', "user_create_home_fallback_dir.stat.pw_name == 'ansibulluser'", 'user_create_home_fallback_dir.stat.mode == user_login_defs_umask.stdout']
Assertion failed
Raw output
{
"assertion": "user_create_home_fallback is changed",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}
azure-pipelines / CI
[testhost] testhost: user : Assert that the user with a tilde in the shell path is created that=['user_creation_result is not changed', 'user_create_result is changed']
Assertion failed
Raw output
{
"assertion": "user_create_result is changed",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}