coder / internal

Non-community issues related to coder/coder
2 stars 0 forks source link

flake: `TestRemoveOrganizationMembers/OK` #70

Closed ethanndickson closed 3 weeks ago

ethanndickson commented 2 months ago

https://github.com/coder/coder/actions/runs/10700546282/job/29664531837?pr=14548#step:5:589

 coderdenttest.go:299: 
            Error Trace:    /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/coderdenttest.go:299
                                        /home/runner/work/coder/coder/enterprise/cli/organizationmembers_test.go:37
            Error:          Received unexpected error:
                            POST http://localhost:34249/api/v2/organizations: unexpected status code 403: Multiple Organizations is a Premium feature. Contact sales!
            Test:           TestRemoveOrganizationMembers/OK
ethanndickson commented 2 months ago

Same error for TestWorkspaceProxyWorkspaceApps/WorkspaceAppsProxyPath/ProxiesHTTPS:

   proxytest.go:168: 
            Error Trace:    /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/proxytest.go:168
                                        /home/runner/work/coder/coder/enterprise/wsproxy/wsproxy_test.go:974
                                        /home/runner/work/coder/coder/coderd/workspaceapps/apptest/setup.go:183
                                        /home/runner/work/coder/coder/coderd/workspaceapps/apptest/apptest.go:46
                                        /home/runner/work/coder/coder/coderd/workspaceapps/apptest/apptest.go:296
            Error:          Received unexpected error:
                            register proxy:
                                github.com/coder/coder/v2/enterprise/wsproxy.New
                                    /home/runner/work/coder/coder/enterprise/wsproxy/wsproxy.go:233
                              - start loop:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*Client).RegisterWorkspaceProxyLoop
                                    /home/runner/work/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:486
                              - initial registration:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*RegisterWorkspaceProxyLoop).Start
                                    /home/runner/work/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:327
                              - register workspace proxy:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*RegisterWorkspaceProxyLoop).register
                                    /home/runner/work/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:305
                              - POST http://localhost:44497/api/v2/workspaceproxies/me/register: unexpected status code 403: Workspace Proxy is an Enterprise feature. Contact sales!
            Test:           TestWorkspaceProxyWorkspaceApps/WorkspaceAppsProxyPath/ProxiesHTTPS

https://github.com/coder/coder/actions/runs/10732578895/job/29764505808#step:5:496

ethanndickson commented 2 months ago

TestWorkspaceProxyWorkspaceApps_BlockDirect/PortSharing/NoShare

    proxytest.go:168: 
            Error Trace:    C:/a/coder/coder/enterprise/coderd/coderdenttest/proxytest.go:168
                                        C:/a/coder/coder/enterprise/wsproxy/wsproxy_test.go:1045
                                        C:/a/coder/coder/coderd/workspaceapps/apptest/setup.go:183
                                        C:/a/coder/coder/coderd/workspaceapps/apptest/apptest.go:46
                                        C:/a/coder/coder/coderd/workspaceapps/apptest/apptest.go:1089
            Error:          Received unexpected error:
                            register proxy:
                                github.com/coder/coder/v2/enterprise/wsproxy.New
                                    C:/a/coder/coder/enterprise/wsproxy/wsproxy.go:233
                              - start loop:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*Client).RegisterWorkspaceProxyLoop
                                    C:/a/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:486
                              - initial registration:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*RegisterWorkspaceProxyLoop).Start
                                    C:/a/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:327
                              - register workspace proxy:
                                github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*RegisterWorkspaceProxyLoop).register
                                    C:/a/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:305
                              - POST http://localhost:54029/api/v2/workspaceproxies/me/register: unexpected status code 403: Workspace Proxy is an Enterprise feature. Contact sales!
            Test:           TestWorkspaceProxyWorkspaceApps_BlockDirect/PortSharing/NoShare

https://github.com/coder/coder/actions/runs/10792015992/job/29930751956?pr=14634#step:5:765

spikecurtis commented 3 weeks ago

I think this is fixed by: https://github.com/coder/coder/pull/14974