Skip to content

os/user tests are failing under CircleCI 2 (they weren't under CircleCI 1). #863

Open
@dmitshur

Description

@dmitshur

There must be some difference in the CircleCI 2.0 environment (compared to 1.0) that's causing os/user tests to fail.

The test was taken out during the migration from CircleCI 1.0 to 2.0, and this is a tracking issue to investigate.

Failing output:

=== RUN   TestFindGroupName
--- PASS: TestFindGroupName (0.01s)
=== RUN   TestFindGroupId
--- PASS: TestFindGroupId (0.00s)
=== RUN   TestInvalidUserId
--- PASS: TestInvalidUserId (0.00s)
=== RUN   TestLookupUserId
--- PASS: TestLookupUserId (0.01s)
=== RUN   TestLookupUserPopulatesAllFields
--- PASS: TestLookupUserPopulatesAllFields (0.01s)
=== RUN   TestLookupUser
--- PASS: TestLookupUser (0.01s)
=== RUN   TestCurrent
--- FAIL: TestCurrent (0.01s)
    test.153935192:40: Current: user: Current not implemented on linux/js (got (*user.User)(nil))
=== RUN   TestLookup
--- FAIL: TestLookup (0.00s)
    test.153935192:40: Current: user: Current not implemented on linux/js
=== RUN   TestLookupId
--- FAIL: TestLookupId (0.00s)
    test.153935192:40: Current: user: Current not implemented on linux/js
=== RUN   TestLookupGroup
--- SKIP: TestLookupGroup (0.00s)
    test.153935192:40: user: group not implemented; skipping test
=== RUN   TestGroupIds
--- SKIP: TestGroupIds (0.00s)
    test.153935192:40: user: group not implemented; skipping test
FAIL
FAIL	os/user	0.350s

Source: https://circleci.com/gh/gopherjs/gopherjs/1643.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions