Skip to content

os: multiple TestRoot testcase failures in AIX platform #80382

Description

@ayappanec
--- FAIL: TestRootConsistencyOpen (0.45s)
    --- FAIL: TestRootConsistencyOpen/file_slash (0.01s)
        root_test.go:1320: with root:    res=
        root_test.go:1321:               err=openat target/: not a directory
        root_test.go:1322: without root: res=target
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
    --- FAIL: TestRootConsistencyOpen/symlink_to_file_ends_in_slash (0.04s)
        root_test.go:1320: with root:    res=
        root_test.go:1321:               err=openat link: not a directory
        root_test.go:1322: without root: res=file
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyCreate (0.31s)
    --- FAIL: TestRootConsistencyCreate/file_slash (0.02s)
        root_test.go:1320: with root:    res=
        root_test.go:1321:               err=openat target/: not a directory
        root_test.go:1322: without root: res=
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
    --- FAIL: TestRootConsistencyCreate/symlink_to_file_ends_in_slash (0.01s)
        root_test.go:1320: with root:    res=
        root_test.go:1321:               err=openat link: not a directory
        root_test.go:1322: without root: res=
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyChmod (0.23s)
    --- FAIL: TestRootConsistencyChmod/file_slash (0.01s)
        root_test.go:1320: with root:    res=chmod 0o555
        root_test.go:1321:               err=chmodat target/: not a directory
        root_test.go:1322: without root: res=-r-xr-xr-x -rwxrwxrwx
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
    --- FAIL: TestRootConsistencyChmod/symlink_to_file_ends_in_slash (0.01s)
        root_test.go:1320: with root:    res=chmod 0o555
        root_test.go:1321:               err=chmodat link: not a directory
        root_test.go:1322: without root: res=Lrwxrwxrwx Lrwxrwxrwx
        root_test.go:1323:               err=<nil>
        root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyRemove (0.71s)
.........
.........

This is seen after the CL https://go-review.googlesource.com/c/go/+/797880

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-AIX

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions