From 22e781ecedcfc9eded2a42253b010eba61b02791 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Fri, 18 Aug 2023 13:55:43 -0500 Subject: [PATCH] chore: add /v2 to import module path (#9072) * chore: add /v2 to import module path go mod requires semantic versioning with versions greater than 1.x This was a mechanical update by running: ``` go install github.com/marwan-at-work/mod/cmd/mod@latest mod upgrade ``` Migrate generated files to import /v2 * Fix gen --- .swaggo | 4 +- Makefile | 2 +- agent/agent.go | 16 +- agent/agent_test.go | 22 +- agent/agentssh/agentssh.go | 8 +- agent/agentssh/agentssh_internal_test.go | 4 +- agent/agentssh/agentssh_test.go | 6 +- agent/agentssh/x11_test.go | 6 +- agent/agenttest/client.go | 8 +- agent/api.go | 4 +- agent/apphealth.go | 4 +- agent/apphealth_test.go | 10 +- agent/metrics.go | 2 +- agent/ports_supported.go | 2 +- agent/ports_unsupported.go | 2 +- agent/reaper/reaper_test.go | 4 +- agent/reconnectingpty/buffered.go | 2 +- agent/reconnectingpty/reconnectingpty.go | 4 +- agent/reconnectingpty/screen.go | 2 +- agent/usershell/usershell_test.go | 2 +- buildinfo/buildinfo_test.go | 2 +- cli/agent.go | 12 +- cli/agent_test.go | 14 +- cli/clibase/cmd.go | 2 +- cli/clibase/cmd_test.go | 2 +- cli/clibase/env_test.go | 2 +- cli/clibase/option_test.go | 2 +- cli/clibase/yaml_test.go | 2 +- cli/clitest/clitest.go | 12 +- cli/clitest/clitest_test.go | 6 +- cli/clitest/golden.go | 12 +- cli/clitest/handlers.go | 2 +- cli/cliui/agent.go | 2 +- cli/cliui/agent_test.go | 12 +- cli/cliui/gitauth.go | 2 +- cli/cliui/gitauth_test.go | 10 +- cli/cliui/output.go | 2 +- cli/cliui/output_test.go | 4 +- cli/cliui/parameter.go | 4 +- cli/cliui/prompt.go | 2 +- cli/cliui/prompt_test.go | 10 +- cli/cliui/provisionerjob.go | 2 +- cli/cliui/provisionerjob_test.go | 10 +- cli/cliui/resources.go | 4 +- cli/cliui/resources_test.go | 8 +- cli/cliui/select.go | 4 +- cli/cliui/select_test.go | 8 +- cli/cliui/table_test.go | 2 +- cli/config/file_test.go | 2 +- cli/configssh.go | 8 +- cli/configssh_test.go | 18 +- cli/create.go | 10 +- cli/create_test.go | 18 +- cli/delete.go | 6 +- cli/delete_test.go | 14 +- cli/dotfiles.go | 4 +- cli/dotfiles_test.go | 6 +- cli/exp.go | 2 +- cli/exp_scaletest.go | 26 +- cli/exp_scaletest_test.go | 8 +- cli/gitaskpass.go | 8 +- cli/gitaskpass_test.go | 12 +- cli/gitssh.go | 4 +- cli/gitssh_test.go | 12 +- cli/help.go | 4 +- cli/list.go | 10 +- cli/list_test.go | 10 +- cli/login.go | 8 +- cli/login_test.go | 8 +- cli/logout.go | 6 +- cli/logout_test.go | 8 +- cli/netcheck.go | 6 +- cli/netcheck_test.go | 6 +- cli/parameter.go | 4 +- cli/parameterresolver.go | 6 +- cli/ping.go | 6 +- cli/ping_test.go | 10 +- cli/portforward.go | 8 +- cli/portforward_test.go | 12 +- cli/publickey.go | 6 +- cli/publickey_test.go | 4 +- cli/remoteforward.go | 2 +- cli/rename.go | 6 +- cli/rename_test.go | 8 +- cli/resetpassword.go | 10 +- cli/resetpassword_test.go | 10 +- cli/restart.go | 6 +- cli/restart_test.go | 14 +- cli/root.go | 18 +- cli/root_test.go | 18 +- cli/schedule.go | 12 +- cli/schedule_test.go | 10 +- cli/server.go | 74 +- cli/server_createadminuser.go | 16 +- cli/server_createadminuser_test.go | 14 +- cli/server_slim.go | 6 +- cli/server_test.go | 20 +- cli/show.go | 6 +- cli/show_test.go | 8 +- cli/speedtest.go | 6 +- cli/speedtest_test.go | 16 +- cli/ssh.go | 12 +- cli/ssh_internal_test.go | 2 +- cli/ssh_test.go | 24 +- cli/start.go | 6 +- cli/start_test.go | 16 +- cli/stat.go | 6 +- cli/stat_test.go | 6 +- cli/state.go | 6 +- cli/state_test.go | 8 +- cli/stop.go | 6 +- cli/templatecreate.go | 12 +- cli/templatecreate_test.go | 14 +- cli/templatedelete.go | 6 +- cli/templatedelete_test.go | 10 +- cli/templateedit.go | 6 +- cli/templateedit_test.go | 10 +- cli/templateinit.go | 10 +- cli/templateinit_test.go | 4 +- cli/templatelist.go | 6 +- cli/templatelist_test.go | 10 +- cli/templateplan.go | 2 +- cli/templatepull.go | 6 +- cli/templatepull_test.go | 10 +- cli/templatepush.go | 10 +- cli/templatepush_test.go | 16 +- cli/templates.go | 6 +- cli/templatevariables.go | 2 +- cli/templateversions.go | 6 +- cli/templateversions_test.go | 6 +- cli/tokens.go | 6 +- cli/tokens_test.go | 8 +- cli/update.go | 4 +- cli/update_test.go | 16 +- cli/usercreate.go | 8 +- cli/usercreate_test.go | 6 +- cli/userlist.go | 6 +- cli/userlist_test.go | 8 +- cli/users.go | 4 +- cli/userstatus.go | 6 +- cli/userstatus_test.go | 6 +- cli/util.go | 4 +- cli/version.go | 6 +- cli/version_test.go | 4 +- cli/vscodessh.go | 4 +- cli/vscodessh_test.go | 14 +- cmd/cliui/main.go | 8 +- cmd/coder/main.go | 2 +- coderd/activitybump.go | 2 +- coderd/activitybump_test.go | 20 +- coderd/apikey.go | 16 +- coderd/apikey/apikey.go | 6 +- coderd/apikey/apikey_test.go | 8 +- coderd/apikey_test.go | 14 +- coderd/apiroot.go | 4 +- coderd/audit.go | 16 +- coderd/audit/audit.go | 2 +- coderd/audit/diff.go | 2 +- coderd/audit/request.go | 6 +- coderd/audit_test.go | 8 +- coderd/authorize.go | 8 +- coderd/authorize_test.go | 8 +- coderd/autobuild/lifecycle_executor.go | 12 +- coderd/autobuild/lifecycle_executor_test.go | 16 +- coderd/autobuild/notify/notifier_test.go | 2 +- coderd/awsidentity/awsidentity_test.go | 2 +- coderd/azureidentity/azureidentity_test.go | 2 +- coderd/batchstats/batcher.go | 6 +- coderd/batchstats/batcher_internal_test.go | 12 +- coderd/client_test.go | 4 +- coderd/coderd.go | 58 +- coderd/coderd_test.go | 8 +- coderd/coderdtest/authorize.go | 12 +- coderd/coderdtest/authorize_test.go | 4 +- coderd/coderdtest/coderdtest.go | 62 +- coderd/coderdtest/coderdtest_test.go | 2 +- coderd/coderdtest/swagger_test.go | 2 +- coderd/csp.go | 4 +- coderd/database/db2sdk/db2sdk.go | 10 +- coderd/database/db2sdk/db2sdk_test.go | 8 +- coderd/database/db_test.go | 6 +- coderd/database/dbauthz/dbauthz.go | 6 +- coderd/database/dbauthz/dbauthz_test.go | 14 +- coderd/database/dbauthz/setup_test.go | 16 +- coderd/database/dbfake/dbfake.go | 14 +- coderd/database/dbfake/dbfake_test.go | 6 +- coderd/database/dbgen/dbgen.go | 8 +- coderd/database/dbgen/dbgen_test.go | 6 +- coderd/database/dbmetrics/dbmetrics.go | 4 +- coderd/database/dbmock/dbmock.go | 6 +- coderd/database/dbmock/doc.go | 2 +- coderd/database/dbpurge/dbpurge.go | 4 +- coderd/database/dbpurge/dbpurge_test.go | 4 +- coderd/database/dbtestutil/db.go | 8 +- coderd/database/gen/dump/main.go | 4 +- coderd/database/migrations/migrate_test.go | 6 +- coderd/database/modelmethods.go | 2 +- coderd/database/modelqueries.go | 4 +- coderd/database/models_test.go | 2 +- coderd/database/postgres/postgres.go | 4 +- coderd/database/postgres/postgres_test.go | 2 +- .../database/pubsub/pubsub_internal_test.go | 2 +- coderd/database/pubsub/pubsub_memory_test.go | 2 +- coderd/database/pubsub/pubsub_test.go | 6 +- coderd/database/querier_test.go | 8 +- coderd/database/tx_test.go | 4 +- coderd/database/types.go | 2 +- coderd/debug.go | 8 +- coderd/debug_test.go | 6 +- coderd/deployment.go | 8 +- coderd/deployment_test.go | 4 +- coderd/deprecated.go | 2 +- coderd/devtunnel/servers.go | 4 +- coderd/devtunnel/tunnel.go | 4 +- coderd/devtunnel/tunnel_test.go | 4 +- coderd/dormancy/dormantusersjob.go | 2 +- coderd/dormancy/dormantusersjob_test.go | 8 +- coderd/experiments.go | 2 +- coderd/experiments_test.go | 8 +- coderd/files.go | 8 +- coderd/files_test.go | 6 +- coderd/gitauth.go | 10 +- coderd/gitauth/askpass_test.go | 2 +- coderd/gitauth/config.go | 6 +- coderd/gitauth/config_test.go | 12 +- coderd/gitauth/oauth.go | 4 +- coderd/gitauth/vscode_test.go | 2 +- coderd/gitauth_test.go | 18 +- coderd/gitsshkey.go | 14 +- coderd/gitsshkey/gitsshkey_test.go | 4 +- coderd/gitsshkey_test.go | 14 +- coderd/healthcheck/accessurl.go | 2 +- coderd/healthcheck/accessurl_test.go | 4 +- coderd/healthcheck/database.go | 2 +- coderd/healthcheck/database_test.go | 6 +- coderd/healthcheck/derp.go | 2 +- coderd/healthcheck/derp_test.go | 6 +- coderd/healthcheck/healthcheck.go | 6 +- coderd/healthcheck/healthcheck_test.go | 2 +- coderd/healthcheck/websocket_test.go | 4 +- coderd/httpapi/cookie.go | 2 +- coderd/httpapi/cookie_test.go | 2 +- coderd/httpapi/httpapi.go | 8 +- coderd/httpapi/httpapi_test.go | 4 +- coderd/httpapi/json_test.go | 2 +- coderd/httpapi/name_test.go | 2 +- coderd/httpapi/queryparams.go | 4 +- coderd/httpapi/queryparams_test.go | 4 +- coderd/httpapi/url_test.go | 2 +- coderd/httpmw/actor.go | 4 +- coderd/httpmw/actor_test.go | 10 +- coderd/httpmw/apikey.go | 10 +- coderd/httpmw/apikey_test.go | 16 +- coderd/httpmw/authorize_test.go | 10 +- coderd/httpmw/authz.go | 2 +- coderd/httpmw/authz_test.go | 6 +- coderd/httpmw/clitelemetry.go | 4 +- coderd/httpmw/cors.go | 2 +- coderd/httpmw/cors_test.go | 4 +- coderd/httpmw/csp_test.go | 2 +- coderd/httpmw/csrf.go | 2 +- coderd/httpmw/gitauthparam.go | 4 +- coderd/httpmw/gitauthparam_test.go | 4 +- coderd/httpmw/groupparam.go | 6 +- coderd/httpmw/groupparam_test.go | 8 +- coderd/httpmw/hsts_test.go | 2 +- coderd/httpmw/httpmw.go | 4 +- coderd/httpmw/httpmw_internal_test.go | 2 +- coderd/httpmw/logger.go | 4 +- coderd/httpmw/oauth2.go | 6 +- coderd/httpmw/oauth2_test.go | 4 +- coderd/httpmw/organizationparam.go | 6 +- coderd/httpmw/organizationparam_test.go | 10 +- .../patternmatcher/routepatterns_test.go | 2 +- coderd/httpmw/prometheus.go | 4 +- coderd/httpmw/prometheus_test.go | 4 +- coderd/httpmw/ratelimit.go | 10 +- coderd/httpmw/ratelimit_test.go | 12 +- coderd/httpmw/realip.go | 2 +- coderd/httpmw/realip_test.go | 2 +- coderd/httpmw/recover.go | 4 +- coderd/httpmw/recover_test.go | 4 +- coderd/httpmw/requestid_test.go | 2 +- coderd/httpmw/templateparam.go | 6 +- coderd/httpmw/templateparam_test.go | 10 +- coderd/httpmw/templateversionparam.go | 6 +- coderd/httpmw/templateversionparam_test.go | 10 +- coderd/httpmw/userparam.go | 8 +- coderd/httpmw/userparam_test.go | 10 +- coderd/httpmw/workspaceagent.go | 10 +- coderd/httpmw/workspaceagent_test.go | 10 +- coderd/httpmw/workspaceagentparam.go | 6 +- coderd/httpmw/workspaceagentparam_test.go | 10 +- coderd/httpmw/workspacebuildparam.go | 6 +- coderd/httpmw/workspacebuildparam_test.go | 10 +- coderd/httpmw/workspaceparam.go | 6 +- coderd/httpmw/workspaceparam_test.go | 12 +- coderd/httpmw/workspaceproxy.go | 8 +- coderd/httpmw/workspaceproxy_test.go | 14 +- coderd/httpmw/workspaceresourceparam.go | 6 +- coderd/httpmw/workspaceresourceparam_test.go | 8 +- coderd/insights.go | 12 +- coderd/insights_test.go | 16 +- coderd/members.go | 12 +- coderd/metricscache/metricscache.go | 6 +- coderd/metricscache/metricscache_test.go | 12 +- coderd/oauthpki/oidcpki.go | 2 +- coderd/oauthpki/okidcpki_test.go | 4 +- coderd/organizations.go | 10 +- coderd/organizations_test.go | 6 +- coderd/pagination.go | 4 +- coderd/pagination_internal_test.go | 2 +- coderd/parameter/plaintext_test.go | 2 +- coderd/prometheusmetrics/aggregator.go | 2 +- coderd/prometheusmetrics/aggregator_test.go | 8 +- coderd/prometheusmetrics/collector_test.go | 2 +- coderd/prometheusmetrics/prometheusmetrics.go | 8 +- .../prometheusmetrics_test.go | 28 +- .../provisionerdserver/provisionerdserver.go | 30 +- .../provisionerdserver_internal_test.go | 8 +- .../provisionerdserver_test.go | 30 +- coderd/provisionerjobs.go | 14 +- coderd/provisionerjobs_internal_test.go | 12 +- coderd/provisionerjobs_test.go | 8 +- coderd/rbac/authz.go | 8 +- coderd/rbac/authz_internal_test.go | 4 +- coderd/rbac/authz_test.go | 4 +- coderd/rbac/error_test.go | 2 +- coderd/rbac/object_test.go | 4 +- coderd/rbac/regosql/acl_group_var.go | 2 +- coderd/rbac/regosql/compile.go | 2 +- coderd/rbac/regosql/compile_test.go | 4 +- coderd/rbac/regosql/configs.go | 2 +- coderd/rbac/regosql/sqltypes/equality_test.go | 2 +- coderd/rbac/regosql/sqltypes/member_test.go | 2 +- coderd/rbac/roles_test.go | 2 +- coderd/rbac/subject_test.go | 2 +- coderd/roles.go | 8 +- coderd/roles_test.go | 8 +- coderd/schedule/autostop.go | 4 +- coderd/schedule/autostop_test.go | 10 +- coderd/schedule/cron_test.go | 2 +- coderd/schedule/mock.go | 2 +- coderd/schedule/template.go | 4 +- coderd/schedule/user.go | 2 +- coderd/searchquery/search.go | 8 +- coderd/searchquery/search_test.go | 10 +- coderd/tailnet.go | 10 +- coderd/tailnet_test.go | 18 +- coderd/telemetry/telemetry.go | 4 +- coderd/telemetry/telemetry_test.go | 12 +- coderd/templates.go | 22 +- coderd/templates_test.go | 20 +- coderd/templateversions.go | 24 +- coderd/templateversions_test.go | 22 +- coderd/tracing/httpmw.go | 2 +- coderd/tracing/httpmw_test.go | 4 +- coderd/tracing/slog_test.go | 2 +- coderd/tracing/status_writer.go | 2 +- coderd/tracing/status_writer_test.go | 2 +- coderd/tracing/util_test.go | 2 +- coderd/unhanger/detector.go | 10 +- coderd/unhanger/detector_test.go | 12 +- coderd/updatecheck.go | 6 +- coderd/updatecheck/updatecheck.go | 4 +- coderd/updatecheck/updatecheck_test.go | 6 +- coderd/updatecheck_test.go | 10 +- coderd/userauth.go | 22 +- coderd/userauth_test.go | 18 +- coderd/userpassword/hashing_bench_test.go | 2 +- coderd/userpassword/userpassword_test.go | 2 +- coderd/users.go | 26 +- coderd/users_test.go | 18 +- coderd/util/ptr/ptr_test.go | 2 +- coderd/util/slice/slice_test.go | 2 +- coderd/util/strings/strings_test.go | 2 +- coderd/util/tz/tz_test.go | 2 +- coderd/util/xio/limitwriter_test.go | 2 +- coderd/workspaceagents.go | 22 +- coderd/workspaceagents_test.go | 18 +- coderd/workspaceapps.go | 16 +- coderd/workspaceapps/apptest/apptest.go | 10 +- coderd/workspaceapps/apptest/setup.go | 16 +- coderd/workspaceapps/db.go | 12 +- coderd/workspaceapps/db_test.go | 18 +- coderd/workspaceapps/errors.go | 2 +- coderd/workspaceapps/provider.go | 4 +- coderd/workspaceapps/proxy.go | 16 +- coderd/workspaceapps/request.go | 4 +- coderd/workspaceapps/request_test.go | 2 +- coderd/workspaceapps/stats.go | 4 +- coderd/workspaceapps/stats_test.go | 6 +- coderd/workspaceapps/token.go | 4 +- coderd/workspaceapps/token_test.go | 8 +- coderd/workspaceapps_test.go | 20 +- coderd/workspacebuilds.go | 16 +- coderd/workspacebuilds_test.go | 16 +- coderd/workspaceproxies.go | 8 +- coderd/workspaceproxies_test.go | 8 +- coderd/workspaceresourceauth.go | 16 +- coderd/workspaceresourceauth_test.go | 12 +- coderd/workspaces.go | 26 +- coderd/workspaces_test.go | 34 +- coderd/wsbuilder/wsbuilder.go | 14 +- coderd/wsbuilder/wsbuilder_test.go | 10 +- coderd/wsconncache/wsconncache.go | 4 +- coderd/wsconncache/wsconncache_test.go | 14 +- codersdk/agentsdk/agentsdk.go | 2 +- codersdk/agentsdk/logs.go | 2 +- codersdk/agentsdk/logs_test.go | 6 +- codersdk/client.go | 2 +- codersdk/client_internal_test.go | 2 +- codersdk/deployment.go | 4 +- codersdk/deployment_test.go | 4 +- codersdk/provisionerdaemons.go | 4 +- codersdk/richparameters_test.go | 4 +- codersdk/serversentevents.go | 2 +- codersdk/time_test.go | 2 +- codersdk/workspaceagentconn.go | 4 +- codersdk/workspaceagents.go | 4 +- codersdk/workspaceagents_test.go | 6 +- codersdk/workspaces.go | 2 +- cryptorand/errors_test.go | 2 +- cryptorand/numbers_test.go | 2 +- cryptorand/slices_test.go | 2 +- cryptorand/strings_test.go | 2 +- docs/admin/audit-logs.md | 6 +- docs/admin/automation.md | 2 +- docs/admin/users.md | 2 +- docs/contributing/feature-stages.md | 2 +- docs/workspaces.md | 2 +- enterprise/audit/audit.go | 4 +- enterprise/audit/audit_test.go | 6 +- enterprise/audit/audittest/rand.go | 2 +- enterprise/audit/backends/postgres.go | 4 +- enterprise/audit/backends/postgres_test.go | 8 +- enterprise/audit/backends/slog.go | 4 +- enterprise/audit/backends/slog_test.go | 4 +- enterprise/audit/diff.go | 6 +- enterprise/audit/diff_internal_test.go | 6 +- enterprise/audit/filter.go | 2 +- enterprise/audit/table.go | 4 +- enterprise/audit/table_internal_test.go | 8 +- enterprise/cli/features.go | 6 +- enterprise/cli/features_test.go | 8 +- enterprise/cli/groupcreate.go | 8 +- enterprise/cli/groupcreate_test.go | 12 +- enterprise/cli/groupdelete.go | 8 +- enterprise/cli/groupdelete_test.go | 14 +- enterprise/cli/groupedit.go | 8 +- enterprise/cli/groupedit_test.go | 16 +- enterprise/cli/grouplist.go | 8 +- enterprise/cli/grouplist_test.go | 14 +- enterprise/cli/groups.go | 2 +- enterprise/cli/licenses.go | 6 +- enterprise/cli/licenses_test.go | 14 +- enterprise/cli/provisionerdaemons.go | 20 +- enterprise/cli/provisionerdaemons_test.go | 12 +- enterprise/cli/proxyserver.go | 16 +- enterprise/cli/proxyserver_slim.go | 4 +- enterprise/cli/root.go | 4 +- enterprise/cli/root_internal_test.go | 6 +- enterprise/cli/root_test.go | 8 +- enterprise/cli/server.go | 16 +- enterprise/cli/server_slim.go | 4 +- enterprise/cli/workspaceproxy.go | 6 +- enterprise/cli/workspaceproxy_test.go | 14 +- enterprise/cmd/coder/main.go | 2 +- enterprise/coderd/appearance.go | 6 +- enterprise/coderd/appearance_test.go | 18 +- enterprise/coderd/authorize_test.go | 12 +- enterprise/coderd/coderd.go | 32 +- enterprise/coderd/coderd_test.go | 22 +- .../coderd/coderdenttest/coderdenttest.go | 12 +- .../coderdenttest/coderdenttest_test.go | 2 +- enterprise/coderd/coderdenttest/proxytest.go | 8 +- .../coderd/coderdenttest/swagger_test.go | 4 +- enterprise/coderd/groups.go | 14 +- enterprise/coderd/groups_test.go | 16 +- enterprise/coderd/insights_test.go | 10 +- enterprise/coderd/license/license.go | 6 +- enterprise/coderd/license/license_test.go | 10 +- enterprise/coderd/licenses.go | 14 +- enterprise/coderd/licenses_test.go | 8 +- enterprise/coderd/provisionerdaemons.go | 16 +- enterprise/coderd/provisionerdaemons_test.go | 18 +- enterprise/coderd/proxyhealth/proxyhealth.go | 8 +- .../coderd/proxyhealth/proxyhealth_test.go | 14 +- enterprise/coderd/replicas.go | 8 +- enterprise/coderd/replicas_test.go | 12 +- enterprise/coderd/schedule/template.go | 12 +- enterprise/coderd/schedule/template_test.go | 12 +- enterprise/coderd/schedule/user.go | 6 +- enterprise/coderd/scim.go | 10 +- enterprise/coderd/scim_test.go | 12 +- enterprise/coderd/templates.go | 14 +- enterprise/coderd/templates_test.go | 20 +- enterprise/coderd/userauth.go | 8 +- enterprise/coderd/userauth_test.go | 20 +- enterprise/coderd/users.go | 10 +- enterprise/coderd/users_test.go | 12 +- enterprise/coderd/workspaceagents.go | 4 +- enterprise/coderd/workspaceagents_test.go | 18 +- enterprise/coderd/workspaceproxy.go | 30 +- enterprise/coderd/workspaceproxy_test.go | 26 +- enterprise/coderd/workspaceproxycoordinate.go | 10 +- .../coderd/workspaceproxycoordinator_test.go | 16 +- enterprise/coderd/workspacequota.go | 12 +- enterprise/coderd/workspacequota_test.go | 16 +- enterprise/coderd/workspaces_test.go | 22 +- enterprise/derpmesh/derpmesh.go | 2 +- enterprise/derpmesh/derpmesh_test.go | 6 +- enterprise/replicasync/replicasync.go | 8 +- enterprise/replicasync/replicasync_test.go | 12 +- enterprise/tailnet/coordinator.go | 6 +- enterprise/tailnet/coordinator_test.go | 10 +- enterprise/tailnet/pgcoord.go | 12 +- enterprise/tailnet/pgcoord_internal_test.go | 4 +- enterprise/tailnet/pgcoord_test.go | 14 +- enterprise/tailnet/workspaceproxy.go | 4 +- enterprise/trialer/trialer.go | 4 +- enterprise/trialer/trialer_test.go | 6 +- enterprise/wsproxy/appstatsreporter.go | 4 +- enterprise/wsproxy/tokenprovider.go | 4 +- enterprise/wsproxy/wsproxy.go | 24 +- enterprise/wsproxy/wsproxy_test.go | 26 +- enterprise/wsproxy/wsproxysdk/wsproxysdk.go | 10 +- .../wsproxy/wsproxysdk/wsproxysdk_test.go | 16 +- examples/examples.go | 2 +- examples/examples_test.go | 2 +- go.mod | 2 +- helm/coder/tests/chart_test.go | 2 +- helm/provisioner/tests/chart_test.go | 2 +- provisioner/appslug_test.go | 2 +- provisioner/echo/serve.go | 4 +- provisioner/echo/serve_test.go | 6 +- provisioner/terraform/diagnostic_test.go | 2 +- provisioner/terraform/executor.go | 4 +- .../terraform/executor_internal_test.go | 2 +- provisioner/terraform/install_test.go | 2 +- provisioner/terraform/parse.go | 4 +- provisioner/terraform/parse_test.go | 2 +- provisioner/terraform/provision.go | 6 +- provisioner/terraform/provision_test.go | 6 +- provisioner/terraform/resources.go | 10 +- provisioner/terraform/resources_test.go | 6 +- provisioner/terraform/serve.go | 4 +- provisionerd/proto/provisionerd.pb.go | 12 +- provisionerd/proto/provisionerd.proto | 2 +- provisionerd/provisionerd.go | 12 +- provisionerd/provisionerd_test.go | 12 +- provisionerd/runner/quota.go | 2 +- provisionerd/runner/runner.go | 8 +- provisionersdk/agent_test.go | 2 +- provisionersdk/archive.go | 2 +- provisionersdk/archive_test.go | 2 +- provisionersdk/proto/provisioner.pb.go | 6 +- provisionersdk/proto/provisioner.proto | 2 +- provisionersdk/serve.go | 4 +- provisionersdk/serve_test.go | 4 +- provisionersdk/transport.go | 2 +- pty/ptytest/ptytest.go | 6 +- pty/ptytest/ptytest_test.go | 6 +- pty/start_other_test.go | 4 +- pty/start_test.go | 4 +- pty/start_windows_test.go | 4 +- scaletest/agentconn/config.go | 2 +- scaletest/agentconn/config_test.go | 4 +- scaletest/agentconn/run.go | 8 +- scaletest/agentconn/run_test.go | 18 +- scaletest/createworkspaces/config.go | 8 +- scaletest/createworkspaces/config_test.go | 12 +- scaletest/createworkspaces/run.go | 16 +- scaletest/createworkspaces/run_test.go | 28 +- scaletest/dashboard/cache.go | 2 +- scaletest/dashboard/rolltable.go | 2 +- scaletest/dashboard/run.go | 4 +- scaletest/dashboard/run_test.go | 6 +- scaletest/harness/harness.go | 2 +- scaletest/harness/harness_test.go | 2 +- scaletest/harness/results.go | 2 +- scaletest/harness/results_test.go | 4 +- scaletest/harness/run_test.go | 2 +- scaletest/harness/strategies_test.go | 2 +- scaletest/placebo/config.go | 2 +- scaletest/placebo/config_test.go | 4 +- scaletest/placebo/run.go | 2 +- scaletest/placebo/run_test.go | 4 +- scaletest/reconnectingpty/config.go | 4 +- scaletest/reconnectingpty/config_test.go | 6 +- scaletest/reconnectingpty/run.go | 8 +- scaletest/reconnectingpty/run_test.go | 18 +- scaletest/workspacebuild/config.go | 2 +- scaletest/workspacebuild/config_test.go | 4 +- scaletest/workspacebuild/run.go | 10 +- scaletest/workspacebuild/run_test.go | 16 +- scaletest/workspacetraffic/conn.go | 2 +- scaletest/workspacetraffic/run.go | 10 +- scaletest/workspacetraffic/run_test.go | 16 +- scripts/apitypings/main.go | 16 +- scripts/auditdocgen/main.go | 2 +- scripts/build_go.sh | 4 +- scripts/check_enterprise_imports.sh | 2 +- scripts/ci-report/main.go | 2 +- ...-report_gotests-timeout.json.sample.golden | 14 +- .../ci-report_gotests.json.sample.golden | 152 +- .../testdata/gotests-timeout.json.sample | 764 +-- .../ci-report/testdata/gotests.json.sample | 5844 ++++++++--------- scripts/clidocgen/gen.go | 4 +- scripts/clidocgen/main.go | 4 +- scripts/dbgen/main.go | 2 +- scripts/migrate-ci/main.go | 4 +- scripts/rbacgen/main.go | 2 +- scripts/rules.go | 12 +- site/site.go | 14 +- site/site_test.go | 16 +- site/src/api/typesGenerated.ts | 50 +- tailnet/conn.go | 4 +- tailnet/conn_test.go | 6 +- tailnet/coordinator.go | 2 +- tailnet/coordinator_test.go | 4 +- tailnet/derpmap_test.go | 2 +- tailnet/tailnettest/multiagentmock.go | 2 +- tailnet/tailnettest/tailnettest.go | 2 +- tailnet/tailnettest/tailnettest_test.go | 2 +- testutil/eventually_test.go | 2 +- 626 files changed, 5834 insertions(+), 5834 deletions(-) diff --git a/.swaggo b/.swaggo index e4b76f3ed8..bf8a6bad03 100644 --- a/.swaggo +++ b/.swaggo @@ -1,8 +1,8 @@ // Replace all NullTime with string -replace github.com/coder/coder/codersdk.NullTime string +replace github.com/coder/coder/v2/codersdk.NullTime string // Prevent swaggo from rendering enums for time.Duration replace time.Duration int64 // Do not expose "echo" provider -replace github.com/coder/coder/codersdk.ProvisionerType string +replace github.com/coder/coder/v2/codersdk.ProvisionerType string // Do not render netip.Addr replace netip.Addr string diff --git a/Makefile b/Makefile index 0a112b24a8..c249fbd8c7 100644 --- a/Makefile +++ b/Makefile @@ -538,7 +538,7 @@ provisionerd/proto/provisionerd.pb.go: provisionerd/proto/provisionerd.proto site/src/api/typesGenerated.ts: scripts/apitypings/main.go $(shell find ./codersdk $(FIND_EXCLUSIONS) -type f -name '*.go') go run scripts/apitypings/main.go > site/src/api/typesGenerated.ts cd site - pnpm run format:types + pnpm run format:types ./src/api/typesGenerated.ts site/e2e/provisionerGenerated.ts: cd site diff --git a/agent/agent.go b/agent/agent.go index 13a7c26b4a..7622820385 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -34,14 +34,14 @@ import ( "tailscale.com/types/netlogtype" "cdr.dev/slog" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/agent/reconnectingpty" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/agent/reconnectingpty" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/tailnet" "github.com/coder/retry" ) diff --git a/agent/agent_test.go b/agent/agent_test.go index 1621b0075b..126e0f4fa4 100644 --- a/agent/agent_test.go +++ b/agent/agent_test.go @@ -42,17 +42,17 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/agent/agenttest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/agent/agenttest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/agent/agentssh/agentssh.go b/agent/agentssh/agentssh.go index 729cadd423..46dabacd7f 100644 --- a/agent/agentssh/agentssh.go +++ b/agent/agentssh/agentssh.go @@ -28,10 +28,10 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/agent/usershell" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty" + "github.com/coder/coder/v2/agent/usershell" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty" ) const ( diff --git a/agent/agentssh/agentssh_internal_test.go b/agent/agentssh/agentssh_internal_test.go index ba4295bdbc..aa4cfe0236 100644 --- a/agent/agentssh/agentssh_internal_test.go +++ b/agent/agentssh/agentssh_internal_test.go @@ -15,8 +15,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/pty" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/testutil" "cdr.dev/slog/sloggers/slogtest" ) diff --git a/agent/agentssh/agentssh_test.go b/agent/agentssh/agentssh_test.go index 2467f1f221..146da9b4c3 100644 --- a/agent/agentssh/agentssh_test.go +++ b/agent/agentssh/agentssh_test.go @@ -20,9 +20,9 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestMain(m *testing.M) { diff --git a/agent/agentssh/x11_test.go b/agent/agentssh/x11_test.go index 1fce885bab..e5f3f62ddc 100644 --- a/agent/agentssh/x11_test.go +++ b/agent/agentssh/x11_test.go @@ -19,9 +19,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/testutil" ) func TestServer_X11(t *testing.T) { diff --git a/agent/agenttest/client.go b/agent/agenttest/client.go index cc9d365b53..f8c69bf408 100644 --- a/agent/agenttest/client.go +++ b/agent/agenttest/client.go @@ -13,10 +13,10 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func NewClient(t testing.TB, diff --git a/agent/api.go b/agent/api.go index 600ead326a..0886b35bc0 100644 --- a/agent/api.go +++ b/agent/api.go @@ -7,8 +7,8 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) func (a *agent) apiHandler() http.Handler { diff --git a/agent/apphealth.go b/agent/apphealth.go index 3d93b6c85a..c32a9a6339 100644 --- a/agent/apphealth.go +++ b/agent/apphealth.go @@ -10,8 +10,8 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" "github.com/coder/retry" ) diff --git a/agent/apphealth_test.go b/agent/apphealth_test.go index 20c0d15276..748a88356e 100644 --- a/agent/apphealth_test.go +++ b/agent/apphealth_test.go @@ -13,11 +13,11 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/testutil" ) func TestAppHealth_Healthy(t *testing.T) { diff --git a/agent/metrics.go b/agent/metrics.go index dc5fb6c018..ddbe6f49be 100644 --- a/agent/metrics.go +++ b/agent/metrics.go @@ -11,7 +11,7 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) type agentMetrics struct { diff --git a/agent/ports_supported.go b/agent/ports_supported.go index 7f9d30f3e9..81d177ee63 100644 --- a/agent/ports_supported.go +++ b/agent/ports_supported.go @@ -8,7 +8,7 @@ import ( "github.com/cakturk/go-netstat/netstat" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) func (lp *listeningPortsHandler) getListeningPorts() ([]codersdk.WorkspaceAgentListeningPort, error) { diff --git a/agent/ports_unsupported.go b/agent/ports_unsupported.go index 0ab26ac299..0af99d1dc7 100644 --- a/agent/ports_unsupported.go +++ b/agent/ports_unsupported.go @@ -2,7 +2,7 @@ package agent -import "github.com/coder/coder/codersdk" +import "github.com/coder/coder/v2/codersdk" func (lp *listeningPortsHandler) getListeningPorts() ([]codersdk.WorkspaceAgentListeningPort, error) { // Can't scan for ports on non-linux or non-windows_amd64 systems at the diff --git a/agent/reaper/reaper_test.go b/agent/reaper/reaper_test.go index 0509edb382..84246fba06 100644 --- a/agent/reaper/reaper_test.go +++ b/agent/reaper/reaper_test.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-reap" "github.com/stretchr/testify/require" - "github.com/coder/coder/agent/reaper" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent/reaper" + "github.com/coder/coder/v2/testutil" ) // TestReap checks that's the reaper is successfully reaping diff --git a/agent/reconnectingpty/buffered.go b/agent/reconnectingpty/buffered.go index 47d7459547..d53b22ffe2 100644 --- a/agent/reconnectingpty/buffered.go +++ b/agent/reconnectingpty/buffered.go @@ -14,7 +14,7 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/pty" + "github.com/coder/coder/v2/pty" ) // bufferedReconnectingPTY provides a reconnectable PTY by using a ring buffer to store diff --git a/agent/reconnectingpty/reconnectingpty.go b/agent/reconnectingpty/reconnectingpty.go index 60f347c81e..30b1f44801 100644 --- a/agent/reconnectingpty/reconnectingpty.go +++ b/agent/reconnectingpty/reconnectingpty.go @@ -15,8 +15,8 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty" ) // attachTimeout is the initial timeout for attaching and will probably be far diff --git a/agent/reconnectingpty/screen.go b/agent/reconnectingpty/screen.go index 94854a8b8b..a2db7bb9c0 100644 --- a/agent/reconnectingpty/screen.go +++ b/agent/reconnectingpty/screen.go @@ -20,7 +20,7 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/pty" + "github.com/coder/coder/v2/pty" ) // screenReconnectingPTY provides a reconnectable PTY via `screen`. diff --git a/agent/usershell/usershell_test.go b/agent/usershell/usershell_test.go index 676ee462ff..ee49afcb14 100644 --- a/agent/usershell/usershell_test.go +++ b/agent/usershell/usershell_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/agent/usershell" + "github.com/coder/coder/v2/agent/usershell" ) //nolint:paralleltest,tparallel // This test sets an environment variable. diff --git a/buildinfo/buildinfo_test.go b/buildinfo/buildinfo_test.go index 12cc8c99a3..2b4b6a3270 100644 --- a/buildinfo/buildinfo_test.go +++ b/buildinfo/buildinfo_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/mod/semver" - "github.com/coder/coder/buildinfo" + "github.com/coder/coder/v2/buildinfo" ) func TestBuildInfo(t *testing.T) { diff --git a/cli/agent.go b/cli/agent.go index a217c9b0ac..8b77c057ef 100644 --- a/cli/agent.go +++ b/cli/agent.go @@ -28,12 +28,12 @@ import ( "cdr.dev/slog/sloggers/sloghuman" "cdr.dev/slog/sloggers/slogjson" "cdr.dev/slog/sloggers/slogstackdriver" - "github.com/coder/coder/agent" - "github.com/coder/coder/agent/reaper" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/agent/reaper" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) func (r *RootCmd) workspaceAgent() *clibase.Cmd { diff --git a/cli/agent_test.go b/cli/agent_test.go index 34f04b7070..d33bb55d00 100644 --- a/cli/agent_test.go +++ b/cli/agent_test.go @@ -13,13 +13,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" ) func TestWorkspaceAgent(t *testing.T) { diff --git a/cli/clibase/cmd.go b/cli/clibase/cmd.go index 3e4328dbc0..c3729d2d58 100644 --- a/cli/clibase/cmd.go +++ b/cli/clibase/cmd.go @@ -15,7 +15,7 @@ import ( "golang.org/x/xerrors" "gopkg.in/yaml.v3" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/util/slice" ) // Cmd describes an executable command. diff --git a/cli/clibase/cmd_test.go b/cli/clibase/cmd_test.go index fedbcd0cf2..f0c21dd0b0 100644 --- a/cli/clibase/cmd_test.go +++ b/cli/clibase/cmd_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) // ioBufs is the standard input, output, and error for a command. diff --git a/cli/clibase/env_test.go b/cli/clibase/env_test.go index d8830e64f5..19dcc4e76d 100644 --- a/cli/clibase/env_test.go +++ b/cli/clibase/env_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) func TestFilterNamePrefix(t *testing.T) { diff --git a/cli/clibase/option_test.go b/cli/clibase/option_test.go index 9affda9066..f1b881d944 100644 --- a/cli/clibase/option_test.go +++ b/cli/clibase/option_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) func TestOptionSet_ParseFlags(t *testing.T) { diff --git a/cli/clibase/yaml_test.go b/cli/clibase/yaml_test.go index d14bfc7c75..77a8880019 100644 --- a/cli/clibase/yaml_test.go +++ b/cli/clibase/yaml_test.go @@ -8,7 +8,7 @@ import ( "golang.org/x/exp/slices" "gopkg.in/yaml.v3" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) func TestOptionSet_YAML(t *testing.T) { diff --git a/cli/clitest/clitest.go b/cli/clitest/clitest.go index 00ec131004..b1c8cd665d 100644 --- a/cli/clitest/clitest.go +++ b/cli/clitest/clitest.go @@ -19,12 +19,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) // New creates a CLI instance with a configuration pointed to a diff --git a/cli/clitest/clitest_test.go b/cli/clitest/clitest_test.go index 283f7b48ca..db31513d18 100644 --- a/cli/clitest/clitest_test.go +++ b/cli/clitest/clitest_test.go @@ -5,9 +5,9 @@ import ( "go.uber.org/goleak" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestMain(m *testing.M) { diff --git a/cli/clitest/golden.go b/cli/clitest/golden.go index ba445efcea..8abaaeb3d1 100644 --- a/cli/clitest/golden.go +++ b/cli/clitest/golden.go @@ -15,12 +15,12 @@ import ( "github.com/muesli/termenv" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) // UpdateGoldenFiles indicates golden files should be updated. diff --git a/cli/clitest/handlers.go b/cli/clitest/handlers.go index 5151bc6c0e..2af0c4a5be 100644 --- a/cli/clitest/handlers.go +++ b/cli/clitest/handlers.go @@ -3,7 +3,7 @@ package clitest import ( "testing" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) // HandlersOK asserts that all commands have a handler. diff --git a/cli/cliui/agent.go b/cli/cliui/agent.go index faad31f411..c6cc9f413f 100644 --- a/cli/cliui/agent.go +++ b/cli/cliui/agent.go @@ -8,7 +8,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) var errAgentShuttingDown = xerrors.New("agent is shutting down") diff --git a/cli/cliui/agent_test.go b/cli/cliui/agent_test.go index c910bf11c3..c5b5f9f4a3 100644 --- a/cli/cliui/agent_test.go +++ b/cli/cliui/agent_test.go @@ -14,12 +14,12 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestAgent(t *testing.T) { diff --git a/cli/cliui/gitauth.go b/cli/cliui/gitauth.go index 7b4bd6f30e..2e9453c1aa 100644 --- a/cli/cliui/gitauth.go +++ b/cli/cliui/gitauth.go @@ -8,7 +8,7 @@ import ( "github.com/briandowns/spinner" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) type GitAuthOptions struct { diff --git a/cli/cliui/gitauth_test.go b/cli/cliui/gitauth_test.go index dfe142f99b..22da1b46ca 100644 --- a/cli/cliui/gitauth_test.go +++ b/cli/cliui/gitauth_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestGitAuth(t *testing.T) { diff --git a/cli/cliui/output.go b/cli/cliui/output.go index d4cada78f1..63a4d4ee5d 100644 --- a/cli/cliui/output.go +++ b/cli/cliui/output.go @@ -9,7 +9,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) type OutputFormat interface { diff --git a/cli/cliui/output_test.go b/cli/cliui/output_test.go index 22ef241fba..e74213803f 100644 --- a/cli/cliui/output_test.go +++ b/cli/cliui/output_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) type format struct { diff --git a/cli/cliui/parameter.go b/cli/cliui/parameter.go index f0f4fd99e4..a4c8d8e817 100644 --- a/cli/cliui/parameter.go +++ b/cli/cliui/parameter.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) func RichParameter(inv *clibase.Invocation, templateVersionParameter codersdk.TemplateVersionParameter) (string, error) { diff --git a/cli/cliui/prompt.go b/cli/cliui/prompt.go index f927b60749..ef859814f6 100644 --- a/cli/cliui/prompt.go +++ b/cli/cliui/prompt.go @@ -13,7 +13,7 @@ import ( "github.com/mattn/go-isatty" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) // PromptOptions supply a set of options to the prompt. diff --git a/cli/cliui/prompt_test.go b/cli/cliui/prompt_test.go index 49f6dee46e..69fc3a539f 100644 --- a/cli/cliui/prompt_test.go +++ b/cli/cliui/prompt_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/pty" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestPrompt(t *testing.T) { diff --git a/cli/cliui/provisionerjob.go b/cli/cliui/provisionerjob.go index 16d2f366e5..b09ac6bc73 100644 --- a/cli/cliui/provisionerjob.go +++ b/cli/cliui/provisionerjob.go @@ -14,7 +14,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) func WorkspaceBuild(ctx context.Context, writer io.Writer, client *codersdk.Client, build uuid.UUID) error { diff --git a/cli/cliui/provisionerjob_test.go b/cli/cliui/provisionerjob_test.go index 2aa25b6046..0cf71d8444 100644 --- a/cli/cliui/provisionerjob_test.go +++ b/cli/cliui/provisionerjob_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" ) // This cannot be ran in parallel because it uses a signal. diff --git a/cli/cliui/resources.go b/cli/cliui/resources.go index 586d37eb5c..b1646e22a7 100644 --- a/cli/cliui/resources.go +++ b/cli/cliui/resources.go @@ -9,9 +9,9 @@ import ( "github.com/jedib0t/go-pretty/v6/table" "golang.org/x/mod/semver" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) type WorkspaceResourcesOptions struct { diff --git a/cli/cliui/resources_test.go b/cli/cliui/resources_test.go index c9d87c258a..6fc0d7a266 100644 --- a/cli/cliui/resources_test.go +++ b/cli/cliui/resources_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestWorkspaceResources(t *testing.T) { diff --git a/cli/cliui/select.go b/cli/cliui/select.go index 52a255367e..fafd1c9fcd 100644 --- a/cli/cliui/select.go +++ b/cli/cliui/select.go @@ -10,8 +10,8 @@ import ( "github.com/AlecAivazis/survey/v2/terminal" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) func init() { diff --git a/cli/cliui/select_test.go b/cli/cliui/select_test.go index f7467098cb..9465d82b45 100644 --- a/cli/cliui/select_test.go +++ b/cli/cliui/select_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestSelect(t *testing.T) { diff --git a/cli/cliui/table_test.go b/cli/cliui/table_test.go index aca6f7bc82..32159abb9f 100644 --- a/cli/cliui/table_test.go +++ b/cli/cliui/table_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/cliui" ) type stringWrapper struct { diff --git a/cli/config/file_test.go b/cli/config/file_test.go index b3ca15322e..3177bbfaca 100644 --- a/cli/config/file_test.go +++ b/cli/config/file_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/config" + "github.com/coder/coder/v2/cli/config" ) func TestFile(t *testing.T) { diff --git a/cli/configssh.go b/cli/configssh.go index 897742fd5a..d153814013 100644 --- a/cli/configssh.go +++ b/cli/configssh.go @@ -22,10 +22,10 @@ import ( "golang.org/x/sync/errgroup" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/cli/configssh_test.go b/cli/configssh_test.go index 34da7dd03f..a592efa424 100644 --- a/cli/configssh_test.go +++ b/cli/configssh_test.go @@ -21,15 +21,15 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func sshConfigFileName(t *testing.T) (sshConfig string) { diff --git a/cli/create.go b/cli/create.go index 9ed55af0b8..971fbc27aa 100644 --- a/cli/create.go +++ b/cli/create.go @@ -10,11 +10,11 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) create() *clibase.Cmd { diff --git a/cli/create_test.go b/cli/create_test.go index a86113eea8..f3436c0268 100644 --- a/cli/create_test.go +++ b/cli/create_test.go @@ -12,15 +12,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestCreate(t *testing.T) { diff --git a/cli/delete.go b/cli/delete.go index 3a440c6840..760c0c4e77 100644 --- a/cli/delete.go +++ b/cli/delete.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) // nolint diff --git a/cli/delete_test.go b/cli/delete_test.go index 3530a60097..58da1aa9a4 100644 --- a/cli/delete_test.go +++ b/cli/delete_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestDelete(t *testing.T) { diff --git a/cli/dotfiles.go b/cli/dotfiles.go index 60be52a0fc..635a3add33 100644 --- a/cli/dotfiles.go +++ b/cli/dotfiles.go @@ -13,8 +13,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) func (r *RootCmd) dotfiles() *clibase.Cmd { diff --git a/cli/dotfiles_test.go b/cli/dotfiles_test.go index e979fec3e7..d5511c986a 100644 --- a/cli/dotfiles_test.go +++ b/cli/dotfiles_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/cryptorand" ) func TestDotfiles(t *testing.T) { diff --git a/cli/exp.go b/cli/exp.go index 2513a8fda4..815d334256 100644 --- a/cli/exp.go +++ b/cli/exp.go @@ -1,6 +1,6 @@ package cli -import "github.com/coder/coder/cli/clibase" +import "github.com/coder/coder/v2/cli/clibase" func (r *RootCmd) expCmd() *clibase.Cmd { cmd := &clibase.Cmd{ diff --git a/cli/exp_scaletest.go b/cli/exp_scaletest.go index e947aa1260..5f0dc34bf6 100644 --- a/cli/exp_scaletest.go +++ b/cli/exp_scaletest.go @@ -22,19 +22,19 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/scaletest/createworkspaces" - "github.com/coder/coder/scaletest/dashboard" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/scaletest/workspacebuild" - "github.com/coder/coder/scaletest/workspacetraffic" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/scaletest/createworkspaces" + "github.com/coder/coder/v2/scaletest/dashboard" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/scaletest/workspacebuild" + "github.com/coder/coder/v2/scaletest/workspacetraffic" ) const scaletestTracerName = "coder_scaletest" diff --git a/cli/exp_scaletest_test.go b/cli/exp_scaletest_test.go index a7e50fd884..db58d41e69 100644 --- a/cli/exp_scaletest_test.go +++ b/cli/exp_scaletest_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestScaleTestCreateWorkspaces(t *testing.T) { diff --git a/cli/gitaskpass.go b/cli/gitaskpass.go index 3d2654507c..fb41613d26 100644 --- a/cli/gitaskpass.go +++ b/cli/gitaskpass.go @@ -9,10 +9,10 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/codersdk" "github.com/coder/retry" ) diff --git a/cli/gitaskpass_test.go b/cli/gitaskpass_test.go index 809bc10350..5ec7f4c6bb 100644 --- a/cli/gitaskpass_test.go +++ b/cli/gitaskpass_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestGitAskpass(t *testing.T) { diff --git a/cli/gitssh.go b/cli/gitssh.go index 6c4046c03c..de5482a8ae 100644 --- a/cli/gitssh.go +++ b/cli/gitssh.go @@ -14,8 +14,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) func (r *RootCmd) gitssh() *clibase.Cmd { diff --git a/cli/gitssh_test.go b/cli/gitssh_test.go index 39daab430c..9c38ef945b 100644 --- a/cli/gitssh_test.go +++ b/cli/gitssh_test.go @@ -20,12 +20,12 @@ import ( "github.com/stretchr/testify/require" gossh "golang.org/x/crypto/ssh" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func prepareTestGitSSH(ctx context.Context, t *testing.T) (*codersdk.Client, string, gossh.PublicKey) { diff --git a/cli/help.go b/cli/help.go index fa813febc5..3741dbfc28 100644 --- a/cli/help.go +++ b/cli/help.go @@ -17,8 +17,8 @@ import ( "golang.org/x/crypto/ssh/terminal" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) //go:embed help.tpl diff --git a/cli/list.go b/cli/list.go index 4b50ba16a7..a38497b315 100644 --- a/cli/list.go +++ b/cli/list.go @@ -7,11 +7,11 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" ) // workspaceListRow is the type provided to the OutputFormatter. This is a bit diff --git a/cli/list_test.go b/cli/list_test.go index 39567cd6d9..6f5fb883c0 100644 --- a/cli/list_test.go +++ b/cli/list_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestList(t *testing.T) { diff --git a/cli/login.go b/cli/login.go index 2fa7eb231c..3fe871ad84 100644 --- a/cli/login.go +++ b/cli/login.go @@ -16,10 +16,10 @@ import ( "github.com/pkg/browser" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/userpassword" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/userpassword" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/cli/login_test.go b/cli/login_test.go index 1bab4721ea..0837c1e89b 100644 --- a/cli/login_test.go +++ b/cli/login_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestLogin(t *testing.T) { diff --git a/cli/logout.go b/cli/logout.go index 6a4e8872bd..4e4008e4ff 100644 --- a/cli/logout.go +++ b/cli/logout.go @@ -7,9 +7,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) logout() *clibase.Cmd { diff --git a/cli/logout_test.go b/cli/logout_test.go index 849016a68c..b7c1a571a6 100644 --- a/cli/logout_test.go +++ b/cli/logout_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestLogout(t *testing.T) { diff --git a/cli/netcheck.go b/cli/netcheck.go index b670e9c12b..32ce77758f 100644 --- a/cli/netcheck.go +++ b/cli/netcheck.go @@ -8,9 +8,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) netcheck() *clibase.Cmd { diff --git a/cli/netcheck_test.go b/cli/netcheck_test.go index be0b50e1a5..75fda30ff8 100644 --- a/cli/netcheck_test.go +++ b/cli/netcheck_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/pty/ptytest" ) func TestNetcheck(t *testing.T) { diff --git a/cli/parameter.go b/cli/parameter.go index efc415692e..bca83ee1a6 100644 --- a/cli/parameter.go +++ b/cli/parameter.go @@ -9,8 +9,8 @@ import ( "golang.org/x/xerrors" "gopkg.in/yaml.v3" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) // workspaceParameterFlags are used by commands processing rich parameters and/or build options. diff --git a/cli/parameterresolver.go b/cli/parameterresolver.go index 733f7e3da9..f4ed240993 100644 --- a/cli/parameterresolver.go +++ b/cli/parameterresolver.go @@ -5,9 +5,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) type WorkspaceCLIAction int diff --git a/cli/ping.go b/cli/ping.go index f69958666a..a3075a85ad 100644 --- a/cli/ping.go +++ b/cli/ping.go @@ -10,9 +10,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) ping() *clibase.Cmd { diff --git a/cli/ping_test.go b/cli/ping_test.go index 959c11c8ed..d054cbf380 100644 --- a/cli/ping_test.go +++ b/cli/ping_test.go @@ -8,11 +8,11 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestPing(t *testing.T) { diff --git a/cli/portforward.go b/cli/portforward.go index 3df1a6f6c9..034b14f894 100644 --- a/cli/portforward.go +++ b/cli/portforward.go @@ -18,10 +18,10 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) portForward() *clibase.Cmd { diff --git a/cli/portforward_test.go b/cli/portforward_test.go index 5ae1997285..ce48076852 100644 --- a/cli/portforward_test.go +++ b/cli/portforward_test.go @@ -13,12 +13,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestPortForward_None(t *testing.T) { diff --git a/cli/publickey.go b/cli/publickey.go index cbe67fca23..c41c5e2fd4 100644 --- a/cli/publickey.go +++ b/cli/publickey.go @@ -5,9 +5,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) publickey() *clibase.Cmd { diff --git a/cli/publickey_test.go b/cli/publickey_test.go index a5664ec2bd..8d04a9b66a 100644 --- a/cli/publickey_test.go +++ b/cli/publickey_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" ) func TestPublicKey(t *testing.T) { diff --git a/cli/remoteforward.go b/cli/remoteforward.go index 9e53669a7e..95daa46663 100644 --- a/cli/remoteforward.go +++ b/cli/remoteforward.go @@ -11,7 +11,7 @@ import ( gossh "golang.org/x/crypto/ssh" "golang.org/x/xerrors" - "github.com/coder/coder/agent/agentssh" + "github.com/coder/coder/v2/agent/agentssh" ) // cookieAddr is a special net.Addr accepted by sshRemoteForward() which includes a diff --git a/cli/rename.go b/cli/rename.go index d9e2af5316..94d9fc5517 100644 --- a/cli/rename.go +++ b/cli/rename.go @@ -5,9 +5,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) rename() *clibase.Cmd { diff --git a/cli/rename_test.go b/cli/rename_test.go index 6cd92ff9e1..42dd4bd897 100644 --- a/cli/rename_test.go +++ b/cli/rename_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestRename(t *testing.T) { diff --git a/cli/resetpassword.go b/cli/resetpassword.go index 02a9899336..7df9481417 100644 --- a/cli/resetpassword.go +++ b/cli/resetpassword.go @@ -6,11 +6,11 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/coderd/userpassword" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/coderd/userpassword" ) func (*RootCmd) resetPassword() *clibase.Cmd { diff --git a/cli/resetpassword_test.go b/cli/resetpassword_test.go index 40cfc1042d..3ae1c4acb8 100644 --- a/cli/resetpassword_test.go +++ b/cli/resetpassword_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) // nolint:paralleltest diff --git a/cli/restart.go b/cli/restart.go index f03b1ab0c4..2f5ca1fff7 100644 --- a/cli/restart.go +++ b/cli/restart.go @@ -6,9 +6,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) restart() *clibase.Cmd { diff --git a/cli/restart_test.go b/cli/restart_test.go index db3dbf04fd..b68a3f843b 100644 --- a/cli/restart_test.go +++ b/cli/restart_test.go @@ -8,13 +8,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestRestart(t *testing.T) { diff --git a/cli/root.go b/cli/root.go index 3197a3e3fc..2b4db5eb8b 100644 --- a/cli/root.go +++ b/cli/root.go @@ -31,15 +31,15 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) var ( diff --git a/cli/root_test.go b/cli/root_test.go index fb19aae688..898a3fb999 100644 --- a/cli/root_test.go +++ b/cli/root_test.go @@ -10,19 +10,19 @@ import ( "sync/atomic" "testing" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clitest" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clitest" ) //nolint:tparallel,paralleltest diff --git a/cli/schedule.go b/cli/schedule.go index 8fff0121ae..629d6160fa 100644 --- a/cli/schedule.go +++ b/cli/schedule.go @@ -8,12 +8,12 @@ import ( "github.com/jedib0t/go-pretty/v6/table" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/coderd/util/tz" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/tz" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/cli/schedule_test.go b/cli/schedule_test.go index d1e6fe2da5..65e2b23ec5 100644 --- a/cli/schedule_test.go +++ b/cli/schedule_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" ) func TestScheduleShow(t *testing.T) { diff --git a/cli/server.go b/cli/server.go index 41f4aa6c17..586c16616b 100644 --- a/cli/server.go +++ b/cli/server.go @@ -57,43 +57,43 @@ import ( "cdr.dev/slog/sloggers/sloghuman" "cdr.dev/slog/sloggers/slogjson" "cdr.dev/slog/sloggers/slogstackdriver" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/autobuild" - "github.com/coder/coder/coderd/batchstats" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbmetrics" - "github.com/coder/coder/coderd/database/dbpurge" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/devtunnel" - "github.com/coder/coder/coderd/dormancy" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/oauthpki" - "github.com/coder/coder/coderd/prometheusmetrics" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/unhanger" - "github.com/coder/coder/coderd/updatecheck" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisioner/terraform" - "github.com/coder/coder/provisionerd" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - sdkproto "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/autobuild" + "github.com/coder/coder/v2/coderd/batchstats" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbmetrics" + "github.com/coder/coder/v2/coderd/database/dbpurge" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/devtunnel" + "github.com/coder/coder/v2/coderd/dormancy" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/oauthpki" + "github.com/coder/coder/v2/coderd/prometheusmetrics" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/unhanger" + "github.com/coder/coder/v2/coderd/updatecheck" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisioner/terraform" + "github.com/coder/coder/v2/provisionerd" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/tailnet" "github.com/coder/retry" "github.com/coder/wgtunnel/tunnelsdk" ) diff --git a/cli/server_createadminuser.go b/cli/server_createadminuser.go index 4eb1634331..8f146f8f95 100644 --- a/cli/server_createadminuser.go +++ b/cli/server_createadminuser.go @@ -12,14 +12,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/userpassword" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/userpassword" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) newCreateAdminUserCommand() *clibase.Cmd { diff --git a/cli/server_createadminuser_test.go b/cli/server_createadminuser_test.go index 4daca225d7..8859a3df80 100644 --- a/cli/server_createadminuser_test.go +++ b/cli/server_createadminuser_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/userpassword" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/userpassword" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) //nolint:paralleltest, tparallel diff --git a/cli/server_slim.go b/cli/server_slim.go index 4703f20b76..f5f17794f3 100644 --- a/cli/server_slim.go +++ b/cli/server_slim.go @@ -8,9 +8,9 @@ import ( "io" "os" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd" ) func (r *RootCmd) Server(_ func(context.Context, *coderd.Options) (*coderd.API, io.Closer, error)) *clibase.Cmd { diff --git a/cli/server_test.go b/cli/server_test.go index ad971398c8..5609ac7647 100644 --- a/cli/server_test.go +++ b/cli/server_test.go @@ -34,16 +34,16 @@ import ( "go.uber.org/goleak" "gopkg.in/yaml.v3" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestReadGitAuthProvidersFromEnv(t *testing.T) { diff --git a/cli/show.go b/cli/show.go index 3dff78fcae..477c6e0ffb 100644 --- a/cli/show.go +++ b/cli/show.go @@ -3,9 +3,9 @@ package cli import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) show() *clibase.Cmd { diff --git a/cli/show_test.go b/cli/show_test.go index 6f5faaa3fd..c77e5dc017 100644 --- a/cli/show_test.go +++ b/cli/show_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/pty/ptytest" ) func TestShow(t *testing.T) { diff --git a/cli/speedtest.go b/cli/speedtest.go index e38581404e..ca6c5e50a6 100644 --- a/cli/speedtest.go +++ b/cli/speedtest.go @@ -11,9 +11,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) speedtest() *clibase.Cmd { diff --git a/cli/speedtest_test.go b/cli/speedtest_test.go index b05e368934..5fc9aedbe2 100644 --- a/cli/speedtest_test.go +++ b/cli/speedtest_test.go @@ -9,14 +9,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestSpeedtest(t *testing.T) { diff --git a/cli/ssh.go b/cli/ssh.go index 2db1f4b4e2..9cc86e1d37 100644 --- a/cli/ssh.go +++ b/cli/ssh.go @@ -26,12 +26,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/autobuild/notify" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/autobuild/notify" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" "github.com/coder/retry" ) diff --git a/cli/ssh_internal_test.go b/cli/ssh_internal_test.go index d9624f393d..07a6a3c580 100644 --- a/cli/ssh_internal_test.go +++ b/cli/ssh_internal_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/cli/ssh_test.go b/cli/ssh_test.go index e933839e9b..5e670d44d0 100644 --- a/cli/ssh_test.go +++ b/cli/ssh_test.go @@ -29,18 +29,18 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func setupWorkspaceForAgent(t *testing.T, mutate func([]*proto.Agent) []*proto.Agent) (*codersdk.Client, codersdk.Workspace, string) { diff --git a/cli/start.go b/cli/start.go index 212ee1abbc..cde5152e14 100644 --- a/cli/start.go +++ b/cli/start.go @@ -6,9 +6,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) start() *clibase.Cmd { diff --git a/cli/start_test.go b/cli/start_test.go index 570a684a70..e92d70cd71 100644 --- a/cli/start_test.go +++ b/cli/start_test.go @@ -8,14 +8,14 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/net/context" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) const ( diff --git a/cli/stat.go b/cli/stat.go index 6a49ffb843..a2a79fdd39 100644 --- a/cli/stat.go +++ b/cli/stat.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/afero" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/clistat" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/clistat" + "github.com/coder/coder/v2/cli/cliui" ) func initStatterMW(tgt **clistat.Statter, fs afero.Fs) clibase.MiddlewareFunc { diff --git a/cli/stat_test.go b/cli/stat_test.go index 001177f9d9..74d7d109f9 100644 --- a/cli/stat_test.go +++ b/cli/stat_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clistat" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clistat" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/testutil" ) // This just tests that the stat command is recognized and does not output diff --git a/cli/state.go b/cli/state.go index dd18e56d90..8175cdaa68 100644 --- a/cli/state.go +++ b/cli/state.go @@ -6,9 +6,9 @@ import ( "os" "strconv" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) state() *clibase.Cmd { diff --git a/cli/state_test.go b/cli/state_test.go index 2a208fd64d..6273135d39 100644 --- a/cli/state_test.go +++ b/cli/state_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestStatePull(t *testing.T) { diff --git a/cli/stop.go b/cli/stop.go index 1dbf446ed2..41265a859f 100644 --- a/cli/stop.go +++ b/cli/stop.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) stop() *clibase.Cmd { diff --git a/cli/templatecreate.go b/cli/templatecreate.go index 77a869bdc0..9a54bf814e 100644 --- a/cli/templatecreate.go +++ b/cli/templatecreate.go @@ -14,12 +14,12 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionerd" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionerd" ) func (r *RootCmd) templateCreate() *clibase.Cmd { diff --git a/cli/templatecreate_test.go b/cli/templatecreate_test.go index 06e180f7dc..1c3d6d6c95 100644 --- a/cli/templatecreate_test.go +++ b/cli/templatecreate_test.go @@ -10,13 +10,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) var provisionCompleteWithAgent = []*proto.Provision_Response{ diff --git a/cli/templatedelete.go b/cli/templatedelete.go index d954dbf44c..9380279d6a 100644 --- a/cli/templatedelete.go +++ b/cli/templatedelete.go @@ -7,9 +7,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templateDelete() *clibase.Cmd { diff --git a/cli/templatedelete_test.go b/cli/templatedelete_test.go index 1f7c032b11..963ece08ab 100644 --- a/cli/templatedelete_test.go +++ b/cli/templatedelete_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestTemplateDelete(t *testing.T) { diff --git a/cli/templateedit.go b/cli/templateedit.go index 6c8173c452..7ce8fb00da 100644 --- a/cli/templateedit.go +++ b/cli/templateedit.go @@ -8,9 +8,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templateEdit() *clibase.Cmd { diff --git a/cli/templateedit_test.go b/cli/templateedit_test.go index 87944cd5a0..775a25f91c 100644 --- a/cli/templateedit_test.go +++ b/cli/templateedit_test.go @@ -18,11 +18,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestTemplateEdit(t *testing.T) { diff --git a/cli/templateinit.go b/cli/templateinit.go index b42e555fde..47addbf05e 100644 --- a/cli/templateinit.go +++ b/cli/templateinit.go @@ -12,11 +12,11 @@ import ( "golang.org/x/exp/maps" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/examples" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/examples" + "github.com/coder/coder/v2/provisionersdk" ) func (*RootCmd) templateInit() *clibase.Cmd { diff --git a/cli/templateinit_test.go b/cli/templateinit_test.go index ba99f76e95..f8172df25f 100644 --- a/cli/templateinit_test.go +++ b/cli/templateinit_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestTemplateInit(t *testing.T) { diff --git a/cli/templatelist.go b/cli/templatelist.go index ba17bf218e..6d95521dad 100644 --- a/cli/templatelist.go +++ b/cli/templatelist.go @@ -5,9 +5,9 @@ import ( "github.com/fatih/color" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templateList() *clibase.Cmd { diff --git a/cli/templatelist_test.go b/cli/templatelist_test.go index 8e29c8f49e..d639b7b1eb 100644 --- a/cli/templatelist_test.go +++ b/cli/templatelist_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestTemplateList(t *testing.T) { diff --git a/cli/templateplan.go b/cli/templateplan.go index bc99d2f4e3..76710a046d 100644 --- a/cli/templateplan.go +++ b/cli/templateplan.go @@ -1,7 +1,7 @@ package cli import ( - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) func (*RootCmd) templatePlan() *clibase.Cmd { diff --git a/cli/templatepull.go b/cli/templatepull.go index 5994807325..8f234447a6 100644 --- a/cli/templatepull.go +++ b/cli/templatepull.go @@ -9,9 +9,9 @@ import ( "github.com/codeclysm/extract/v3" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templatePull() *clibase.Cmd { diff --git a/cli/templatepull_test.go b/cli/templatepull_test.go index 1fdfe80d6e..f6d8ececc9 100644 --- a/cli/templatepull_test.go +++ b/cli/templatepull_test.go @@ -13,11 +13,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" ) // dirSum calculates a checksum of the files in a directory. diff --git a/cli/templatepush.go b/cli/templatepush.go index 5234287414..7e676780f7 100644 --- a/cli/templatepush.go +++ b/cli/templatepush.go @@ -11,11 +11,11 @@ import ( "github.com/briandowns/spinner" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionersdk" ) // templateUploadFlags is shared by `templates create` and `templates push`. diff --git a/cli/templatepush_test.go b/cli/templatepush_test.go index 88a1ce2505..4f2e00a359 100644 --- a/cli/templatepush_test.go +++ b/cli/templatepush_test.go @@ -13,14 +13,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestTemplatePush(t *testing.T) { diff --git a/cli/templates.go b/cli/templates.go index ad347a138b..7f5f16a455 100644 --- a/cli/templates.go +++ b/cli/templates.go @@ -5,9 +5,9 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templates() *clibase.Cmd { diff --git a/cli/templatevariables.go b/cli/templatevariables.go index 888b8a04e3..801e65cb8d 100644 --- a/cli/templatevariables.go +++ b/cli/templatevariables.go @@ -7,7 +7,7 @@ import ( "golang.org/x/xerrors" "gopkg.in/yaml.v3" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) func loadVariableValuesFromFile(variablesFile string) ([]codersdk.VariableValue, error) { diff --git a/cli/templateversions.go b/cli/templateversions.go index ed7688d3f3..622854c4af 100644 --- a/cli/templateversions.go +++ b/cli/templateversions.go @@ -8,9 +8,9 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) templateVersions() *clibase.Cmd { diff --git a/cli/templateversions_test.go b/cli/templateversions_test.go index f3be61322c..c7c4da5495 100644 --- a/cli/templateversions_test.go +++ b/cli/templateversions_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestTemplateVersions(t *testing.T) { diff --git a/cli/tokens.go b/cli/tokens.go index 1f34287c4e..579a15fc5f 100644 --- a/cli/tokens.go +++ b/cli/tokens.go @@ -8,9 +8,9 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) tokens() *clibase.Cmd { diff --git a/cli/tokens_test.go b/cli/tokens_test.go index f31dd847e0..fdb062b959 100644 --- a/cli/tokens_test.go +++ b/cli/tokens_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestTokens(t *testing.T) { diff --git a/cli/update.go b/cli/update.go index 02ef238b36..cdff4b4a8d 100644 --- a/cli/update.go +++ b/cli/update.go @@ -5,8 +5,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) update() *clibase.Cmd { diff --git a/cli/update_test.go b/cli/update_test.go index e830aabbde..e799557fcc 100644 --- a/cli/update_test.go +++ b/cli/update_test.go @@ -9,14 +9,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestUpdate(t *testing.T) { diff --git a/cli/usercreate.go b/cli/usercreate.go index 80118d7fce..768e87d826 100644 --- a/cli/usercreate.go +++ b/cli/usercreate.go @@ -7,10 +7,10 @@ import ( "github.com/go-playground/validator/v10" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) func (r *RootCmd) userCreate() *clibase.Cmd { diff --git a/cli/usercreate_test.go b/cli/usercreate_test.go index 01e2137a9e..5726cc84d2 100644 --- a/cli/usercreate_test.go +++ b/cli/usercreate_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestUserCreate(t *testing.T) { diff --git a/cli/userlist.go b/cli/userlist.go index 0f05578a9f..ce50a12849 100644 --- a/cli/userlist.go +++ b/cli/userlist.go @@ -8,9 +8,9 @@ import ( "github.com/jedib0t/go-pretty/v6/table" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) userList() *clibase.Cmd { diff --git a/cli/userlist_test.go b/cli/userlist_test.go index 71c58f3814..d6c80d0b7c 100644 --- a/cli/userlist_test.go +++ b/cli/userlist_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/pty/ptytest" ) func TestUserList(t *testing.T) { diff --git a/cli/users.go b/cli/users.go index 76615d05d7..92d79635cf 100644 --- a/cli/users.go +++ b/cli/users.go @@ -1,8 +1,8 @@ package cli import ( - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) users() *clibase.Cmd { diff --git a/cli/userstatus.go b/cli/userstatus.go index 6a2ada1a7c..ac3bbaa092 100644 --- a/cli/userstatus.go +++ b/cli/userstatus.go @@ -6,9 +6,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) // createUserStatusCommand sets a user status. diff --git a/cli/userstatus_test.go b/cli/userstatus_test.go index 348559e10d..b288a483e0 100644 --- a/cli/userstatus_test.go +++ b/cli/userstatus_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" ) func TestUserStatus(t *testing.T) { diff --git a/cli/util.go b/cli/util.go index 777335d0a7..e0fe340e45 100644 --- a/cli/util.go +++ b/cli/util.go @@ -8,8 +8,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/tz" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/tz" ) var ( diff --git a/cli/version.go b/cli/version.go index fb33749f00..84e45fb74f 100644 --- a/cli/version.go +++ b/cli/version.go @@ -5,9 +5,9 @@ import ( "strings" "time" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) // versionInfo wraps the stuff we get from buildinfo so that it's diff --git a/cli/version_test.go b/cli/version_test.go index 4267e46f9a..20068d29bf 100644 --- a/cli/version_test.go +++ b/cli/version_test.go @@ -10,8 +10,8 @@ import ( "github.com/muesli/termenv" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/testutil" ) // We need to override the global color profile to test escape codes. diff --git a/cli/vscodessh.go b/cli/vscodessh.go index 7a576581fa..7e856df969 100644 --- a/cli/vscodessh.go +++ b/cli/vscodessh.go @@ -20,8 +20,8 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) // vscodeSSH is used by the Coder VS Code extension to establish diff --git a/cli/vscodessh_test.go b/cli/vscodessh_test.go index a134903005..2c1afd6135 100644 --- a/cli/vscodessh_test.go +++ b/cli/vscodessh_test.go @@ -11,13 +11,13 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) // TestVSCodeSSH ensures the agent connects properly with SSH diff --git a/cmd/cliui/main.go b/cmd/cliui/main.go index 60e8f6536f..a3badedee9 100644 --- a/cmd/cliui/main.go +++ b/cmd/cliui/main.go @@ -15,10 +15,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) func main() { diff --git a/cmd/coder/main.go b/cmd/coder/main.go index 7ca0f63d0e..5d1cea2f80 100644 --- a/cmd/coder/main.go +++ b/cmd/coder/main.go @@ -3,7 +3,7 @@ package main import ( _ "time/tzdata" - "github.com/coder/coder/cli" + "github.com/coder/coder/v2/cli" ) func main() { diff --git a/coderd/activitybump.go b/coderd/activitybump.go index 972d59a31f..6abc73ebdc 100644 --- a/coderd/activitybump.go +++ b/coderd/activitybump.go @@ -10,7 +10,7 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) // activityBumpWorkspace automatically bumps the workspace's auto-off timer diff --git a/coderd/activitybump_test.go b/coderd/activitybump_test.go index b9c757e989..15965f5ab1 100644 --- a/coderd/activitybump_test.go +++ b/coderd/activitybump_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestWorkspaceActivityBump(t *testing.T) { diff --git a/coderd/apikey.go b/coderd/apikey.go index c3934d076c..ba01781977 100644 --- a/coderd/apikey.go +++ b/coderd/apikey.go @@ -12,14 +12,14 @@ import ( "github.com/moby/moby/pkg/namesgenerator" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/apikey" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/apikey" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/codersdk" ) // Creates a new token API key that effectively doesn't expire. diff --git a/coderd/apikey/apikey.go b/coderd/apikey/apikey.go index 8abba96421..c21c28dd16 100644 --- a/coderd/apikey/apikey.go +++ b/coderd/apikey/apikey.go @@ -10,9 +10,9 @@ import ( "github.com/sqlc-dev/pqtype" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) type CreateParams struct { diff --git a/coderd/apikey/apikey_test.go b/coderd/apikey/apikey_test.go index 89fc3a6fad..eccb0cb81a 100644 --- a/coderd/apikey/apikey_test.go +++ b/coderd/apikey/apikey_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/apikey" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/apikey" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) func TestGenerate(t *testing.T) { diff --git a/coderd/apikey_test.go b/coderd/apikey_test.go index 412f7bebae..c77d396d3e 100644 --- a/coderd/apikey_test.go +++ b/coderd/apikey_test.go @@ -10,13 +10,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestTokenCRUD(t *testing.T) { diff --git a/coderd/apiroot.go b/coderd/apiroot.go index 6974ca5133..a0dee428e3 100644 --- a/coderd/apiroot.go +++ b/coderd/apiroot.go @@ -3,8 +3,8 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // @Summary API root handler diff --git a/coderd/audit.go b/coderd/audit.go index 18eb155743..e898e343b1 100644 --- a/coderd/audit.go +++ b/coderd/audit.go @@ -15,14 +15,14 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/searchquery" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/searchquery" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get audit logs diff --git a/coderd/audit/audit.go b/coderd/audit/audit.go index d3e83d19e8..4d256541d0 100644 --- a/coderd/audit/audit.go +++ b/coderd/audit/audit.go @@ -4,7 +4,7 @@ import ( "context" "sync" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) type Auditor interface { diff --git a/coderd/audit/diff.go b/coderd/audit/diff.go index 858334493c..8cf0a1d0dd 100644 --- a/coderd/audit/diff.go +++ b/coderd/audit/diff.go @@ -1,7 +1,7 @@ package audit import ( - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) // Auditable is mostly a marker interface. It contains a definitive list of all diff --git a/coderd/audit/request.go b/coderd/audit/request.go index aec89ef3d3..434ff401f3 100644 --- a/coderd/audit/request.go +++ b/coderd/audit/request.go @@ -13,9 +13,9 @@ import ( "github.com/sqlc-dev/pqtype" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/tracing" ) type RequestParams struct { diff --git a/coderd/audit_test.go b/coderd/audit_test.go index cc8698775b..8d7ada74b3 100644 --- a/coderd/audit_test.go +++ b/coderd/audit_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) func TestAuditLogs(t *testing.T) { diff --git a/coderd/authorize.go b/coderd/authorize.go index 229c7e4624..e8d4274ab8 100644 --- a/coderd/authorize.go +++ b/coderd/authorize.go @@ -8,10 +8,10 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // AuthorizeFilter takes a list of objects and returns the filtered list of diff --git a/coderd/authorize_test.go b/coderd/authorize_test.go index 55214d1047..54462690be 100644 --- a/coderd/authorize_test.go +++ b/coderd/authorize_test.go @@ -7,10 +7,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestCheckPermissions(t *testing.T) { diff --git a/coderd/autobuild/lifecycle_executor.go b/coderd/autobuild/lifecycle_executor.go index b36a265b7e..3ce0aad5a4 100644 --- a/coderd/autobuild/lifecycle_executor.go +++ b/coderd/autobuild/lifecycle_executor.go @@ -12,12 +12,12 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/wsbuilder" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/wsbuilder" + "github.com/coder/coder/v2/codersdk" ) // Executor automatically starts or stops workspaces. diff --git a/coderd/autobuild/lifecycle_executor_test.go b/coderd/autobuild/lifecycle_executor_test.go index 7803c9fcd4..b1b854167e 100644 --- a/coderd/autobuild/lifecycle_executor_test.go +++ b/coderd/autobuild/lifecycle_executor_test.go @@ -13,14 +13,14 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/autobuild" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/autobuild" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestExecutorAutostartOK(t *testing.T) { diff --git a/coderd/autobuild/notify/notifier_test.go b/coderd/autobuild/notify/notifier_test.go index fb547defd5..09e8158aba 100644 --- a/coderd/autobuild/notify/notifier_test.go +++ b/coderd/autobuild/notify/notifier_test.go @@ -9,7 +9,7 @@ import ( "go.uber.org/atomic" "go.uber.org/goleak" - "github.com/coder/coder/coderd/autobuild/notify" + "github.com/coder/coder/v2/coderd/autobuild/notify" ) func TestNotifier(t *testing.T) { diff --git a/coderd/awsidentity/awsidentity_test.go b/coderd/awsidentity/awsidentity_test.go index 755079fc87..50aeec98ae 100644 --- a/coderd/awsidentity/awsidentity_test.go +++ b/coderd/awsidentity/awsidentity_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/awsidentity" + "github.com/coder/coder/v2/coderd/awsidentity" ) const ( diff --git a/coderd/azureidentity/azureidentity_test.go b/coderd/azureidentity/azureidentity_test.go index 08dda41976..1ae35d0385 100644 --- a/coderd/azureidentity/azureidentity_test.go +++ b/coderd/azureidentity/azureidentity_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/azureidentity" + "github.com/coder/coder/v2/coderd/azureidentity" ) func TestValidate(t *testing.T) { diff --git a/coderd/batchstats/batcher.go b/coderd/batchstats/batcher.go index c5b7cf20d5..e53a24cb4c 100644 --- a/coderd/batchstats/batcher.go +++ b/coderd/batchstats/batcher.go @@ -13,9 +13,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/codersdk/agentsdk" ) const ( diff --git a/coderd/batchstats/batcher_internal_test.go b/coderd/batchstats/batcher_internal_test.go index 8288442400..b5d18e8132 100644 --- a/coderd/batchstats/batcher_internal_test.go +++ b/coderd/batchstats/batcher_internal_test.go @@ -10,12 +10,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/cryptorand" ) func TestBatchStats(t *testing.T) { diff --git a/coderd/client_test.go b/coderd/client_test.go index 0ba31c8d32..79002e767f 100644 --- a/coderd/client_test.go +++ b/coderd/client_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) // Issue: https://github.com/coder/coder/issues/5249 diff --git a/coderd/coderd.go b/coderd/coderd.go index 6ffe623699..e63c295423 100644 --- a/coderd/coderd.go +++ b/coderd/coderd.go @@ -37,37 +37,37 @@ import ( "tailscale.com/util/singleflight" // Used for swagger docs. - _ "github.com/coder/coder/coderd/apidoc" + _ "github.com/coder/coder/v2/coderd/apidoc" "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/awsidentity" - "github.com/coder/coder/coderd/batchstats" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/metricscache" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/updatecheck" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/coderd/wsconncache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/site" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/awsidentity" + "github.com/coder/coder/v2/coderd/batchstats" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/metricscache" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/updatecheck" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/coderd/wsconncache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/site" + "github.com/coder/coder/v2/tailnet" ) // We must only ever instantiate one httpSwagger.Handler because of a data race diff --git a/coderd/coderd_test.go b/coderd/coderd_test.go index 0cd69915d1..ba8f5311d6 100644 --- a/coderd/coderd_test.go +++ b/coderd/coderd_test.go @@ -17,10 +17,10 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/coderd/coderdtest/authorize.go b/coderd/coderdtest/authorize.go index 889e8f1ee4..ce9faf1ace 100644 --- a/coderd/coderdtest/authorize.go +++ b/coderd/coderdtest/authorize.go @@ -15,12 +15,12 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) // RBACAsserter is a helper for asserting that the correct RBAC checks are diff --git a/coderd/coderdtest/authorize_test.go b/coderd/coderdtest/authorize_test.go index 67bcf482de..13a04200a9 100644 --- a/coderd/coderdtest/authorize_test.go +++ b/coderd/coderdtest/authorize_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" ) func TestAuthzRecorder(t *testing.T) { diff --git a/coderd/coderdtest/coderdtest.go b/coderd/coderdtest/coderdtest.go index a53fc75353..bc2cb5e592 100644 --- a/coderd/coderdtest/coderdtest.go +++ b/coderd/coderdtest/coderdtest.go @@ -53,37 +53,37 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/autobuild" - "github.com/coder/coder/coderd/awsidentity" - "github.com/coder/coder/coderd/batchstats" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/unhanger" - "github.com/coder/coder/coderd/updatecheck" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionerd" - provisionerdproto "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - sdkproto "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/autobuild" + "github.com/coder/coder/v2/coderd/awsidentity" + "github.com/coder/coder/v2/coderd/batchstats" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/unhanger" + "github.com/coder/coder/v2/coderd/updatecheck" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionerd" + provisionerdproto "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) // AppSecurityKey is a 96-byte key used to sign JWTs and encrypt JWEs for diff --git a/coderd/coderdtest/coderdtest_test.go b/coderd/coderdtest/coderdtest_test.go index c0187fc94d..780b58a569 100644 --- a/coderd/coderdtest/coderdtest_test.go +++ b/coderd/coderdtest/coderdtest_test.go @@ -5,7 +5,7 @@ import ( "go.uber.org/goleak" - "github.com/coder/coder/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/coderdtest" ) func TestMain(m *testing.M) { diff --git a/coderd/coderdtest/swagger_test.go b/coderd/coderdtest/swagger_test.go index 07fb19ad64..7b50a27964 100644 --- a/coderd/coderdtest/swagger_test.go +++ b/coderd/coderdtest/swagger_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/coderdtest" ) func TestEndpointsDocumented(t *testing.T) { diff --git a/coderd/csp.go b/coderd/csp.go index ba87adfc63..84e22daf9a 100644 --- a/coderd/csp.go +++ b/coderd/csp.go @@ -4,8 +4,8 @@ import ( "encoding/json" "net/http" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" "cdr.dev/slog" ) diff --git a/coderd/database/db2sdk/db2sdk.go b/coderd/database/db2sdk/db2sdk.go index 893cfdadea..101965e212 100644 --- a/coderd/database/db2sdk/db2sdk.go +++ b/coderd/database/db2sdk/db2sdk.go @@ -7,11 +7,11 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/parameter" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/parameter" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) func WorkspaceBuildParameters(params []database.WorkspaceBuildParameter) []codersdk.WorkspaceBuildParameter { diff --git a/coderd/database/db2sdk/db2sdk_test.go b/coderd/database/db2sdk/db2sdk_test.go index 39020e64e9..6cbbff7aa5 100644 --- a/coderd/database/db2sdk/db2sdk_test.go +++ b/coderd/database/db2sdk/db2sdk_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestProvisionerJobStatus(t *testing.T) { diff --git a/coderd/database/db_test.go b/coderd/database/db_test.go index c922da979f..66ce7eb821 100644 --- a/coderd/database/db_test.go +++ b/coderd/database/db_test.go @@ -11,9 +11,9 @@ import ( "github.com/lib/pq" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/coderd/database/postgres" ) func TestSerializedRetry(t *testing.T) { diff --git a/coderd/database/dbauthz/dbauthz.go b/coderd/database/dbauthz/dbauthz.go index 38766121c4..efaa07e958 100644 --- a/coderd/database/dbauthz/dbauthz.go +++ b/coderd/database/dbauthz/dbauthz.go @@ -15,9 +15,9 @@ import ( "github.com/open-policy-agent/opa/topdown" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" ) var _ database.Store = (*querier)(nil) diff --git a/coderd/database/dbauthz/dbauthz_test.go b/coderd/database/dbauthz/dbauthz_test.go index d6ad41f514..801e299a35 100644 --- a/coderd/database/dbauthz/dbauthz_test.go +++ b/coderd/database/dbauthz/dbauthz_test.go @@ -13,13 +13,13 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" ) func TestAsNoActor(t *testing.T) { diff --git a/coderd/database/dbauthz/setup_test.go b/coderd/database/dbauthz/setup_test.go index d333c87362..9efcf5ef94 100644 --- a/coderd/database/dbauthz/setup_test.go +++ b/coderd/database/dbauthz/setup_test.go @@ -16,14 +16,14 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/coderd/util/slice" ) var skipMethods = map[string]string{ diff --git a/coderd/database/dbfake/dbfake.go b/coderd/database/dbfake/dbfake.go index 8186564961..8fc30e1b17 100644 --- a/coderd/database/dbfake/dbfake.go +++ b/coderd/database/dbfake/dbfake.go @@ -19,13 +19,13 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" ) var validProxyByHostnameRegex = regexp.MustCompile(`^[a-zA-Z0-9._-]+$`) diff --git a/coderd/database/dbfake/dbfake_test.go b/coderd/database/dbfake/dbfake_test.go index 445ba6be8e..84d3ad39e1 100644 --- a/coderd/database/dbfake/dbfake_test.go +++ b/coderd/database/dbfake/dbfake_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" ) // test that transactions don't deadlock, and that we don't see intermediate state. diff --git a/coderd/database/dbgen/dbgen.go b/coderd/database/dbgen/dbgen.go index 3e38f5c456..369c3974a7 100644 --- a/coderd/database/dbgen/dbgen.go +++ b/coderd/database/dbgen/dbgen.go @@ -16,10 +16,10 @@ import ( "github.com/sqlc-dev/pqtype" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/cryptorand" ) // All methods take in a 'seed' object. Any provided fields in the seed will be diff --git a/coderd/database/dbgen/dbgen_test.go b/coderd/database/dbgen/dbgen_test.go index 5509455f7a..de403d23f4 100644 --- a/coderd/database/dbgen/dbgen_test.go +++ b/coderd/database/dbgen/dbgen_test.go @@ -7,9 +7,9 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" ) func TestGenerator(t *testing.T) { diff --git a/coderd/database/dbmetrics/dbmetrics.go b/coderd/database/dbmetrics/dbmetrics.go index f2c98f6594..9c9601232f 100644 --- a/coderd/database/dbmetrics/dbmetrics.go +++ b/coderd/database/dbmetrics/dbmetrics.go @@ -12,8 +12,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "golang.org/x/exp/slices" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/rbac" ) var ( diff --git a/coderd/database/dbmock/dbmock.go b/coderd/database/dbmock/dbmock.go index 45db2e6bd4..23a7e8b593 100644 --- a/coderd/database/dbmock/dbmock.go +++ b/coderd/database/dbmock/dbmock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/coder/coder/coderd/database (interfaces: Store) +// Source: github.com/coder/coder/v2/coderd/database (interfaces: Store) // Package dbmock is a generated GoMock package. package dbmock @@ -10,8 +10,8 @@ import ( reflect "reflect" time "time" - database "github.com/coder/coder/coderd/database" - rbac "github.com/coder/coder/coderd/rbac" + database "github.com/coder/coder/v2/coderd/database" + rbac "github.com/coder/coder/v2/coderd/rbac" gomock "github.com/golang/mock/gomock" uuid "github.com/google/uuid" ) diff --git a/coderd/database/dbmock/doc.go b/coderd/database/dbmock/doc.go index 2199de635b..9d06ed8a0d 100644 --- a/coderd/database/dbmock/doc.go +++ b/coderd/database/dbmock/doc.go @@ -1,4 +1,4 @@ // package dbmock contains a mocked implementation of the database.Store interface for use in tests package dbmock -//go:generate mockgen -destination ./dbmock.go -package dbmock github.com/coder/coder/coderd/database Store +//go:generate mockgen -destination ./dbmock.go -package dbmock github.com/coder/coder/v2/coderd/database Store diff --git a/coderd/database/dbpurge/dbpurge.go b/coderd/database/dbpurge/dbpurge.go index de7c2db67e..b1062eee31 100644 --- a/coderd/database/dbpurge/dbpurge.go +++ b/coderd/database/dbpurge/dbpurge.go @@ -9,8 +9,8 @@ import ( "golang.org/x/sync/errgroup" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" ) const ( diff --git a/coderd/database/dbpurge/dbpurge_test.go b/coderd/database/dbpurge/dbpurge_test.go index bc51f15b45..f83d1b81a1 100644 --- a/coderd/database/dbpurge/dbpurge_test.go +++ b/coderd/database/dbpurge/dbpurge_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbpurge" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbpurge" ) func TestMain(m *testing.M) { diff --git a/coderd/database/dbtestutil/db.go b/coderd/database/dbtestutil/db.go index ad8cecf143..00eae9dd11 100644 --- a/coderd/database/dbtestutil/db.go +++ b/coderd/database/dbtestutil/db.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/database/pubsub" ) // WillUsePostgres returns true if a call to NewDB() will return a real, postgres-backed Store and Pubsub. diff --git a/coderd/database/gen/dump/main.go b/coderd/database/gen/dump/main.go index 2c70c4294c..daa26923f9 100644 --- a/coderd/database/gen/dump/main.go +++ b/coderd/database/gen/dump/main.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/coderd/database/postgres" ) const minimumPostgreSQLVersion = 13 diff --git a/coderd/database/migrations/migrate_test.go b/coderd/database/migrations/migrate_test.go index 5726b65609..a138e58bac 100644 --- a/coderd/database/migrations/migrate_test.go +++ b/coderd/database/migrations/migrate_test.go @@ -22,9 +22,9 @@ import ( "golang.org/x/exp/slices" "golang.org/x/sync/errgroup" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/coderd/database/modelmethods.go b/coderd/database/modelmethods.go index 760d63fae8..364b812ac3 100644 --- a/coderd/database/modelmethods.go +++ b/coderd/database/modelmethods.go @@ -7,7 +7,7 @@ import ( "golang.org/x/exp/maps" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac" ) type WorkspaceStatus string diff --git a/coderd/database/modelqueries.go b/coderd/database/modelqueries.go index c75f38fc3b..725ce690c1 100644 --- a/coderd/database/modelqueries.go +++ b/coderd/database/modelqueries.go @@ -9,8 +9,8 @@ import ( "github.com/lib/pq" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/rbac/regosql" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac/regosql" ) const ( diff --git a/coderd/database/models_test.go b/coderd/database/models_test.go index 1ebb40ae2f..78eaab40ff 100644 --- a/coderd/database/models_test.go +++ b/coderd/database/models_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) // TestViewSubsetTemplate ensures TemplateTable is a subset of Template diff --git a/coderd/database/postgres/postgres.go b/coderd/database/postgres/postgres.go index 85710d8bb0..8a7d0209ba 100644 --- a/coderd/database/postgres/postgres.go +++ b/coderd/database/postgres/postgres.go @@ -12,8 +12,8 @@ import ( "github.com/ory/dockertest/v3/docker" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/cryptorand" ) // Open creates a new PostgreSQL database instance. With DB_FROM environment variable set, it clones a database diff --git a/coderd/database/postgres/postgres_test.go b/coderd/database/postgres/postgres_test.go index 88d9800a57..4a217d072f 100644 --- a/coderd/database/postgres/postgres_test.go +++ b/coderd/database/postgres/postgres_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/goleak" - "github.com/coder/coder/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/database/postgres" ) func TestMain(m *testing.M) { diff --git a/coderd/database/pubsub/pubsub_internal_test.go b/coderd/database/pubsub/pubsub_internal_test.go index adfa70286d..47dd324fc0 100644 --- a/coderd/database/pubsub/pubsub_internal_test.go +++ b/coderd/database/pubsub/pubsub_internal_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/testutil" ) func Test_msgQueue_ListenerWithError(t *testing.T) { diff --git a/coderd/database/pubsub/pubsub_memory_test.go b/coderd/database/pubsub/pubsub_memory_test.go index 80553c8fa7..0f392ade74 100644 --- a/coderd/database/pubsub/pubsub_memory_test.go +++ b/coderd/database/pubsub/pubsub_memory_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/database/pubsub" ) func TestPubsubMemory(t *testing.T) { diff --git a/coderd/database/pubsub/pubsub_test.go b/coderd/database/pubsub/pubsub_test.go index d1f80fa5a1..1d414d9edc 100644 --- a/coderd/database/pubsub/pubsub_test.go +++ b/coderd/database/pubsub/pubsub_test.go @@ -15,9 +15,9 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database/postgres" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/postgres" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/testutil" ) // nolint:tparallel,paralleltest diff --git a/coderd/database/querier_test.go b/coderd/database/querier_test.go index 07a81111d6..2a6328cb96 100644 --- a/coderd/database/querier_test.go +++ b/coderd/database/querier_test.go @@ -13,10 +13,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/testutil" ) func TestGetDeploymentWorkspaceAgentStats(t *testing.T) { diff --git a/coderd/database/tx_test.go b/coderd/database/tx_test.go index cd89a64cb8..ff7569ef56 100644 --- a/coderd/database/tx_test.go +++ b/coderd/database/tx_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbmock" ) func TestReadModifyUpdate_OK(t *testing.T) { diff --git a/coderd/database/types.go b/coderd/database/types.go index 629138de2c..c3a58329ac 100644 --- a/coderd/database/types.go +++ b/coderd/database/types.go @@ -8,7 +8,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac" ) // AuditOAuthConvertState is never stored in the database. It is stored in a cookie diff --git a/coderd/debug.go b/coderd/debug.go index 045cb0076c..eb48fd66b0 100644 --- a/coderd/debug.go +++ b/coderd/debug.go @@ -5,10 +5,10 @@ import ( "net/http" "time" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) // @Summary Debug Info Wireguard Coordinator diff --git a/coderd/debug_test.go b/coderd/debug_test.go index 2cff8f176c..242d271b29 100644 --- a/coderd/debug_test.go +++ b/coderd/debug_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/testutil" ) func TestDebugHealth(t *testing.T) { diff --git a/coderd/deployment.go b/coderd/deployment.go index 5f12f39cc3..255f9c7ac2 100644 --- a/coderd/deployment.go +++ b/coderd/deployment.go @@ -4,10 +4,10 @@ import ( "net/http" "net/url" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get deployment config diff --git a/coderd/deployment_test.go b/coderd/deployment_test.go index d525166993..617947e6eb 100644 --- a/coderd/deployment_test.go +++ b/coderd/deployment_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/testutil" ) func TestDeploymentValues(t *testing.T) { diff --git a/coderd/deprecated.go b/coderd/deprecated.go index 59e23b8d48..f656451a83 100644 --- a/coderd/deprecated.go +++ b/coderd/deprecated.go @@ -3,7 +3,7 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) // @Summary Removed: Get parameters by template version diff --git a/coderd/devtunnel/servers.go b/coderd/devtunnel/servers.go index e2b92d4982..db909d2e1d 100644 --- a/coderd/devtunnel/servers.go +++ b/coderd/devtunnel/servers.go @@ -10,8 +10,8 @@ import ( "golang.org/x/sync/errgroup" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/cryptorand" ) type Region struct { diff --git a/coderd/devtunnel/tunnel.go b/coderd/devtunnel/tunnel.go index 11bbc7dad6..d61976cef4 100644 --- a/coderd/devtunnel/tunnel.go +++ b/coderd/devtunnel/tunnel.go @@ -15,8 +15,8 @@ import ( "golang.zx2c4.com/wireguard/device" "cdr.dev/slog" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/cryptorand" "github.com/coder/wgtunnel/tunnelsdk" ) diff --git a/coderd/devtunnel/tunnel_test.go b/coderd/devtunnel/tunnel_test.go index a389001523..1dc804c8ee 100644 --- a/coderd/devtunnel/tunnel_test.go +++ b/coderd/devtunnel/tunnel_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/devtunnel" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/devtunnel" + "github.com/coder/coder/v2/testutil" "github.com/coder/wgtunnel/tunneld" "github.com/coder/wgtunnel/tunnelsdk" ) diff --git a/coderd/dormancy/dormantusersjob.go b/coderd/dormancy/dormantusersjob.go index be1e0cf0fe..8f69ad6260 100644 --- a/coderd/dormancy/dormantusersjob.go +++ b/coderd/dormancy/dormantusersjob.go @@ -9,7 +9,7 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) const ( diff --git a/coderd/dormancy/dormantusersjob_test.go b/coderd/dormancy/dormantusersjob_test.go index 73224da872..f937589faa 100644 --- a/coderd/dormancy/dormantusersjob_test.go +++ b/coderd/dormancy/dormantusersjob_test.go @@ -11,10 +11,10 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/dormancy" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/dormancy" + "github.com/coder/coder/v2/testutil" ) func TestCheckInactiveUsers(t *testing.T) { diff --git a/coderd/experiments.go b/coderd/experiments.go index 651ae3155c..1a8bb5ce18 100644 --- a/coderd/experiments.go +++ b/coderd/experiments.go @@ -3,7 +3,7 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) // @Summary Get experiments diff --git a/coderd/experiments_test.go b/coderd/experiments_test.go index 5526d8324d..0f498e7e7c 100644 --- a/coderd/experiments_test.go +++ b/coderd/experiments_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func Test_Experiments(t *testing.T) { diff --git a/coderd/files.go b/coderd/files.go index 486ef26b90..842761236c 100644 --- a/coderd/files.go +++ b/coderd/files.go @@ -12,10 +12,10 @@ import ( "github.com/go-chi/chi/v5" "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/coderd/files_test.go b/coderd/files_test.go index 0841785c8c..1a3f407a6e 100644 --- a/coderd/files_test.go +++ b/coderd/files_test.go @@ -9,9 +9,9 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestPostFiles(t *testing.T) { diff --git a/coderd/gitauth.go b/coderd/gitauth.go index 537f0b8794..5bab419662 100644 --- a/coderd/gitauth.go +++ b/coderd/gitauth.go @@ -8,11 +8,11 @@ import ( "golang.org/x/sync/errgroup" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get git auth by ID diff --git a/coderd/gitauth/askpass_test.go b/coderd/gitauth/askpass_test.go index ce7cc75989..72fd6319a2 100644 --- a/coderd/gitauth/askpass_test.go +++ b/coderd/gitauth/askpass_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/gitauth" + "github.com/coder/coder/v2/coderd/gitauth" ) func TestCheckCommand(t *testing.T) { diff --git a/coderd/gitauth/config.go b/coderd/gitauth/config.go index 1387acee7e..31b0f052fc 100644 --- a/coderd/gitauth/config.go +++ b/coderd/gitauth/config.go @@ -15,9 +15,9 @@ import ( "github.com/google/go-github/v43/github" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" "github.com/coder/retry" ) diff --git a/coderd/gitauth/config_test.go b/coderd/gitauth/config_test.go index f58531fdf7..bcd650e82a 100644 --- a/coderd/gitauth/config_test.go +++ b/coderd/gitauth/config_test.go @@ -12,12 +12,12 @@ import ( "golang.org/x/oauth2" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestRefreshToken(t *testing.T) { diff --git a/coderd/gitauth/oauth.go b/coderd/gitauth/oauth.go index daba6a8faf..63e938fb75 100644 --- a/coderd/gitauth/oauth.go +++ b/coderd/gitauth/oauth.go @@ -12,8 +12,8 @@ import ( "golang.org/x/oauth2/github" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) // endpoint contains default SaaS URLs for each Git provider. diff --git a/coderd/gitauth/vscode_test.go b/coderd/gitauth/vscode_test.go index f61fb97ea6..f940f151aa 100644 --- a/coderd/gitauth/vscode_test.go +++ b/coderd/gitauth/vscode_test.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/afero" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/gitauth" + "github.com/coder/coder/v2/coderd/gitauth" ) func TestOverrideVSCodeConfigs(t *testing.T) { diff --git a/coderd/gitauth_test.go b/coderd/gitauth_test.go index 578f7bea14..6aa4d4735b 100644 --- a/coderd/gitauth_test.go +++ b/coderd/gitauth_test.go @@ -16,15 +16,15 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/oauth2" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestGitAuthByID(t *testing.T) { diff --git a/coderd/gitsshkey.go b/coderd/gitsshkey.go index 096844caa0..d4d3ed5f14 100644 --- a/coderd/gitsshkey.go +++ b/coderd/gitsshkey.go @@ -3,13 +3,13 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) // @Summary Regenerate user SSH key diff --git a/coderd/gitsshkey/gitsshkey_test.go b/coderd/gitsshkey/gitsshkey_test.go index e5dc9b9c6f..88ddbfc598 100644 --- a/coderd/gitsshkey/gitsshkey_test.go +++ b/coderd/gitsshkey/gitsshkey_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/crypto/ssh" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/cryptorand" ) func TestGitSSHKeys(t *testing.T) { diff --git a/coderd/gitsshkey_test.go b/coderd/gitsshkey_test.go index 42b227869c..a406ed6a1d 100644 --- a/coderd/gitsshkey_test.go +++ b/coderd/gitsshkey_test.go @@ -8,13 +8,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestGitSSHKey(t *testing.T) { diff --git a/coderd/healthcheck/accessurl.go b/coderd/healthcheck/accessurl.go index b91889b284..6f86944b7c 100644 --- a/coderd/healthcheck/accessurl.go +++ b/coderd/healthcheck/accessurl.go @@ -9,7 +9,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/ptr" ) // @typescript-generate AccessURLReport diff --git a/coderd/healthcheck/accessurl_test.go b/coderd/healthcheck/accessurl_test.go index 6097d6cb50..3464030b61 100644 --- a/coderd/healthcheck/accessurl_test.go +++ b/coderd/healthcheck/accessurl_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/healthcheck" ) func TestAccessURL(t *testing.T) { diff --git a/coderd/healthcheck/database.go b/coderd/healthcheck/database.go index c92ef3c447..70005dc5b3 100644 --- a/coderd/healthcheck/database.go +++ b/coderd/healthcheck/database.go @@ -7,7 +7,7 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) // @typescript-generate DatabaseReport diff --git a/coderd/healthcheck/database_test.go b/coderd/healthcheck/database_test.go index 615728a8b5..f6c2782aac 100644 --- a/coderd/healthcheck/database_test.go +++ b/coderd/healthcheck/database_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/testutil" ) func TestDatabase(t *testing.T) { diff --git a/coderd/healthcheck/derp.go b/coderd/healthcheck/derp.go index fd718b5503..d3b627f29a 100644 --- a/coderd/healthcheck/derp.go +++ b/coderd/healthcheck/derp.go @@ -21,7 +21,7 @@ import ( "tailscale.com/types/key" tslogger "tailscale.com/types/logger" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/ptr" ) // @typescript-generate DERPReport diff --git a/coderd/healthcheck/derp_test.go b/coderd/healthcheck/derp_test.go index d27cdc182e..f291170531 100644 --- a/coderd/healthcheck/derp_test.go +++ b/coderd/healthcheck/derp_test.go @@ -17,9 +17,9 @@ import ( "tailscale.com/tailcfg" "tailscale.com/types/key" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) //nolint:tparallel diff --git a/coderd/healthcheck/healthcheck.go b/coderd/healthcheck/healthcheck.go index 29a4398b83..0a29165db9 100644 --- a/coderd/healthcheck/healthcheck.go +++ b/coderd/healthcheck/healthcheck.go @@ -10,9 +10,9 @@ import ( "tailscale.com/tailcfg" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" ) const ( diff --git a/coderd/healthcheck/healthcheck_test.go b/coderd/healthcheck/healthcheck_test.go index 26be9021ea..40f5efd586 100644 --- a/coderd/healthcheck/healthcheck_test.go +++ b/coderd/healthcheck/healthcheck_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/healthcheck" ) type testChecker struct { diff --git a/coderd/healthcheck/websocket_test.go b/coderd/healthcheck/websocket_test.go index cb56081197..44df237a49 100644 --- a/coderd/healthcheck/websocket_test.go +++ b/coderd/healthcheck/websocket_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/testutil" ) func TestWebsocket(t *testing.T) { diff --git a/coderd/httpapi/cookie.go b/coderd/httpapi/cookie.go index 289ee2188c..4879478cb7 100644 --- a/coderd/httpapi/cookie.go +++ b/coderd/httpapi/cookie.go @@ -4,7 +4,7 @@ import ( "net/textproto" "strings" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) // StripCoderCookies removes the session token from the cookie header provided. diff --git a/coderd/httpapi/cookie_test.go b/coderd/httpapi/cookie_test.go index 48c66abc43..4d44cd8f7d 100644 --- a/coderd/httpapi/cookie_test.go +++ b/coderd/httpapi/cookie_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) func TestStripCoderCookies(t *testing.T) { diff --git a/coderd/httpapi/httpapi.go b/coderd/httpapi/httpapi.go index b7559d5fee..0691edd8e9 100644 --- a/coderd/httpapi/httpapi.go +++ b/coderd/httpapi/httpapi.go @@ -16,10 +16,10 @@ import ( "github.com/go-playground/validator/v10" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" ) var Validate *validator.Validate diff --git a/coderd/httpapi/httpapi_test.go b/coderd/httpapi/httpapi_test.go index ea6d5a92ea..635ed2bdc1 100644 --- a/coderd/httpapi/httpapi_test.go +++ b/coderd/httpapi/httpapi_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) func TestInternalServerError(t *testing.T) { diff --git a/coderd/httpapi/json_test.go b/coderd/httpapi/json_test.go index 62e5c546a0..a0a93e884d 100644 --- a/coderd/httpapi/json_test.go +++ b/coderd/httpapi/json_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) func TestDuration(t *testing.T) { diff --git a/coderd/httpapi/name_test.go b/coderd/httpapi/name_test.go index b78a15867c..e28115eecb 100644 --- a/coderd/httpapi/name_test.go +++ b/coderd/httpapi/name_test.go @@ -6,7 +6,7 @@ import ( "github.com/moby/moby/pkg/namesgenerator" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) func TestUsernameValid(t *testing.T) { diff --git a/coderd/httpapi/queryparams.go b/coderd/httpapi/queryparams.go index b3ae12c7de..1ff9abc796 100644 --- a/coderd/httpapi/queryparams.go +++ b/coderd/httpapi/queryparams.go @@ -10,8 +10,8 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) // QueryParamParser is a helper for parsing all query params and gathering all diff --git a/coderd/httpapi/queryparams_test.go b/coderd/httpapi/queryparams_test.go index ecf7b3a99c..da0dac4ad0 100644 --- a/coderd/httpapi/queryparams_test.go +++ b/coderd/httpapi/queryparams_test.go @@ -10,8 +10,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" ) type queryParamTestCase[T any] struct { diff --git a/coderd/httpapi/url_test.go b/coderd/httpapi/url_test.go index 3beee451f7..8c1dfd8995 100644 --- a/coderd/httpapi/url_test.go +++ b/coderd/httpapi/url_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) func TestApplicationURLString(t *testing.T) { diff --git a/coderd/httpmw/actor.go b/coderd/httpmw/actor.go index 7df5294b17..af3142aed2 100644 --- a/coderd/httpmw/actor.go +++ b/coderd/httpmw/actor.go @@ -3,8 +3,8 @@ package httpmw import ( "net/http" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // RequireAPIKeyOrWorkspaceProxyAuth is middleware that should be inserted after diff --git a/coderd/httpmw/actor_test.go b/coderd/httpmw/actor_test.go index 5d30f5c072..deb529b0fd 100644 --- a/coderd/httpmw/actor_test.go +++ b/coderd/httpmw/actor_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestRequireAPIKeyOrWorkspaceProxyAuth(t *testing.T) { diff --git a/coderd/httpmw/apikey.go b/coderd/httpmw/apikey.go index b359999f35..406d888382 100644 --- a/coderd/httpmw/apikey.go +++ b/coderd/httpmw/apikey.go @@ -18,11 +18,11 @@ import ( "golang.org/x/oauth2" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) type apiKeyContextKey struct{} diff --git a/coderd/httpmw/apikey_test.go b/coderd/httpmw/apikey_test.go index b0c7cab9aa..d7426e4087 100644 --- a/coderd/httpmw/apikey_test.go +++ b/coderd/httpmw/apikey_test.go @@ -18,14 +18,14 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/oauth2" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/testutil" ) func randomAPIKeyParts() (id string, secret string) { diff --git a/coderd/httpmw/authorize_test.go b/coderd/httpmw/authorize_test.go index b2491d3de4..6557b307c8 100644 --- a/coderd/httpmw/authorize_test.go +++ b/coderd/httpmw/authorize_test.go @@ -15,11 +15,11 @@ import ( "github.com/sqlc-dev/pqtype" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) func TestExtractUserRoles(t *testing.T) { diff --git a/coderd/httpmw/authz.go b/coderd/httpmw/authz.go index 6fc5c396a1..4c94ce362b 100644 --- a/coderd/httpmw/authz.go +++ b/coderd/httpmw/authz.go @@ -5,7 +5,7 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbauthz" ) // AsAuthzSystem is a chained handler that temporarily sets the dbauthz context diff --git a/coderd/httpmw/authz_test.go b/coderd/httpmw/authz_test.go index 29474aa264..b469a8f23a 100644 --- a/coderd/httpmw/authz_test.go +++ b/coderd/httpmw/authz_test.go @@ -8,9 +8,9 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/assert" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestAsAuthzSystem(t *testing.T) { diff --git a/coderd/httpmw/clitelemetry.go b/coderd/httpmw/clitelemetry.go index 2262862beb..7d6b67bb00 100644 --- a/coderd/httpmw/clitelemetry.go +++ b/coderd/httpmw/clitelemetry.go @@ -11,8 +11,8 @@ import ( "tailscale.com/tstime/rate" "cdr.dev/slog" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/codersdk" ) func ReportCLITelemetry(log slog.Logger, rep telemetry.Reporter) func(http.Handler) http.Handler { diff --git a/coderd/httpmw/cors.go b/coderd/httpmw/cors.go index 7206881d24..b00810fbf9 100644 --- a/coderd/httpmw/cors.go +++ b/coderd/httpmw/cors.go @@ -7,7 +7,7 @@ import ( "github.com/go-chi/cors" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) const ( diff --git a/coderd/httpmw/cors_test.go b/coderd/httpmw/cors_test.go index 7668771b1e..ae63073b23 100644 --- a/coderd/httpmw/cors_test.go +++ b/coderd/httpmw/cors_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestWorkspaceAppCors(t *testing.T) { diff --git a/coderd/httpmw/csp_test.go b/coderd/httpmw/csp_test.go index bb352537b1..2dca209faa 100644 --- a/coderd/httpmw/csp_test.go +++ b/coderd/httpmw/csp_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestCSPConnect(t *testing.T) { diff --git a/coderd/httpmw/csrf.go b/coderd/httpmw/csrf.go index ce25c60094..2a1f383a74 100644 --- a/coderd/httpmw/csrf.go +++ b/coderd/httpmw/csrf.go @@ -7,7 +7,7 @@ import ( "github.com/justinas/nosurf" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) // CSRF is a middleware that verifies that a CSRF token is present in the request diff --git a/coderd/httpmw/gitauthparam.go b/coderd/httpmw/gitauthparam.go index 2ce592d54f..240732275b 100644 --- a/coderd/httpmw/gitauthparam.go +++ b/coderd/httpmw/gitauthparam.go @@ -6,8 +6,8 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpapi" ) type gitAuthParamContextKey struct{} diff --git a/coderd/httpmw/gitauthparam_test.go b/coderd/httpmw/gitauthparam_test.go index 01ea35470f..665e438a23 100644 --- a/coderd/httpmw/gitauthparam_test.go +++ b/coderd/httpmw/gitauthparam_test.go @@ -9,8 +9,8 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpmw" ) //nolint:bodyclose diff --git a/coderd/httpmw/groupparam.go b/coderd/httpmw/groupparam.go index 5b6d3bfe2d..9cf2a11302 100644 --- a/coderd/httpmw/groupparam.go +++ b/coderd/httpmw/groupparam.go @@ -6,9 +6,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type groupParamContextKey struct{} diff --git a/coderd/httpmw/groupparam_test.go b/coderd/httpmw/groupparam_test.go index b7f59528e7..a0c50ee085 100644 --- a/coderd/httpmw/groupparam_test.go +++ b/coderd/httpmw/groupparam_test.go @@ -10,10 +10,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestGroupParam(t *testing.T) { diff --git a/coderd/httpmw/hsts_test.go b/coderd/httpmw/hsts_test.go index 16dcee78cb..3bc3463e69 100644 --- a/coderd/httpmw/hsts_test.go +++ b/coderd/httpmw/hsts_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestHSTS(t *testing.T) { diff --git a/coderd/httpmw/httpmw.go b/coderd/httpmw/httpmw.go index f6a0dac8b0..552469bf04 100644 --- a/coderd/httpmw/httpmw.go +++ b/coderd/httpmw/httpmw.go @@ -7,8 +7,8 @@ import ( "github.com/go-chi/chi/v5" "github.com/google/uuid" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // ParseUUIDParam consumes a url parameter and parses it as a UUID. diff --git a/coderd/httpmw/httpmw_internal_test.go b/coderd/httpmw/httpmw_internal_test.go index 87aa3a6960..5a6578cf37 100644 --- a/coderd/httpmw/httpmw_internal_test.go +++ b/coderd/httpmw/httpmw_internal_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/coderd/httpmw/logger.go b/coderd/httpmw/logger.go index e9ee400c5c..ef0a7560bf 100644 --- a/coderd/httpmw/logger.go +++ b/coderd/httpmw/logger.go @@ -7,8 +7,8 @@ import ( "time" "cdr.dev/slog" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/tracing" ) func Logger(log slog.Logger) func(next http.Handler) http.Handler { diff --git a/coderd/httpmw/oauth2.go b/coderd/httpmw/oauth2.go index ceb5c25250..e51a17a5a8 100644 --- a/coderd/httpmw/oauth2.go +++ b/coderd/httpmw/oauth2.go @@ -8,9 +8,9 @@ import ( "golang.org/x/oauth2" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) type oauth2StateKey struct{} diff --git a/coderd/httpmw/oauth2_test.go b/coderd/httpmw/oauth2_test.go index 3ed3f7f354..b0bc3f75e4 100644 --- a/coderd/httpmw/oauth2_test.go +++ b/coderd/httpmw/oauth2_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/oauth2" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) type testOAuth2Provider struct { diff --git a/coderd/httpmw/organizationparam.go b/coderd/httpmw/organizationparam.go index 55ceec5738..85e94ef4a0 100644 --- a/coderd/httpmw/organizationparam.go +++ b/coderd/httpmw/organizationparam.go @@ -4,9 +4,9 @@ import ( "context" "net/http" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type ( diff --git a/coderd/httpmw/organizationparam_test.go b/coderd/httpmw/organizationparam_test.go index b566b06758..176cb44ed3 100644 --- a/coderd/httpmw/organizationparam_test.go +++ b/coderd/httpmw/organizationparam_test.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestOrganizationParam(t *testing.T) { diff --git a/coderd/httpmw/patternmatcher/routepatterns_test.go b/coderd/httpmw/patternmatcher/routepatterns_test.go index 972e22727a..dc7f779136 100644 --- a/coderd/httpmw/patternmatcher/routepatterns_test.go +++ b/coderd/httpmw/patternmatcher/routepatterns_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw/patternmatcher" + "github.com/coder/coder/v2/coderd/httpmw/patternmatcher" ) func Test_RoutePatterns(t *testing.T) { diff --git a/coderd/httpmw/prometheus.go b/coderd/httpmw/prometheus.go index 5012b0023c..b96be84e87 100644 --- a/coderd/httpmw/prometheus.go +++ b/coderd/httpmw/prometheus.go @@ -7,8 +7,8 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/tracing" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" diff --git a/coderd/httpmw/prometheus_test.go b/coderd/httpmw/prometheus_test.go index dce55c26bc..a51eea5d00 100644 --- a/coderd/httpmw/prometheus_test.go +++ b/coderd/httpmw/prometheus_test.go @@ -10,8 +10,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/tracing" ) func TestPrometheus(t *testing.T) { diff --git a/coderd/httpmw/ratelimit.go b/coderd/httpmw/ratelimit.go index ff4e888232..bd1d1d6423 100644 --- a/coderd/httpmw/ratelimit.go +++ b/coderd/httpmw/ratelimit.go @@ -9,11 +9,11 @@ import ( "github.com/go-chi/httprate" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) // RateLimit returns a handler that limits requests per-minute based diff --git a/coderd/httpmw/ratelimit_test.go b/coderd/httpmw/ratelimit_test.go index a201634edb..edb368829c 100644 --- a/coderd/httpmw/ratelimit_test.go +++ b/coderd/httpmw/ratelimit_test.go @@ -12,12 +12,12 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) func randRemoteAddr() string { diff --git a/coderd/httpmw/realip.go b/coderd/httpmw/realip.go index e7cc679ba9..6f0f318b83 100644 --- a/coderd/httpmw/realip.go +++ b/coderd/httpmw/realip.go @@ -8,7 +8,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) const ( diff --git a/coderd/httpmw/realip_test.go b/coderd/httpmw/realip_test.go index 85036a3c63..3070070bd9 100644 --- a/coderd/httpmw/realip_test.go +++ b/coderd/httpmw/realip_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpmw" ) // TestExtractAddress checks the ExtractAddress function. diff --git a/coderd/httpmw/recover.go b/coderd/httpmw/recover.go index 3d19918f8d..a8d6020561 100644 --- a/coderd/httpmw/recover.go +++ b/coderd/httpmw/recover.go @@ -6,8 +6,8 @@ import ( "runtime/debug" "cdr.dev/slog" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/tracing" ) func Recover(log slog.Logger) func(h http.Handler) http.Handler { diff --git a/coderd/httpmw/recover_test.go b/coderd/httpmw/recover_test.go index 8e27461669..35306e0b50 100644 --- a/coderd/httpmw/recover_test.go +++ b/coderd/httpmw/recover_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/tracing" ) func TestRecover(t *testing.T) { diff --git a/coderd/httpmw/requestid_test.go b/coderd/httpmw/requestid_test.go index c632dbbde8..7dc21a8f23 100644 --- a/coderd/httpmw/requestid_test.go +++ b/coderd/httpmw/requestid_test.go @@ -8,7 +8,7 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestRequestID(t *testing.T) { diff --git a/coderd/httpmw/templateparam.go b/coderd/httpmw/templateparam.go index eadb072d50..8fe6f2a452 100644 --- a/coderd/httpmw/templateparam.go +++ b/coderd/httpmw/templateparam.go @@ -6,9 +6,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type templateParamContextKey struct{} diff --git a/coderd/httpmw/templateparam_test.go b/coderd/httpmw/templateparam_test.go index c630d5570b..d860878190 100644 --- a/coderd/httpmw/templateparam_test.go +++ b/coderd/httpmw/templateparam_test.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestTemplateParam(t *testing.T) { diff --git a/coderd/httpmw/templateversionparam.go b/coderd/httpmw/templateversionparam.go index 9f8f1c5856..702357b3d1 100644 --- a/coderd/httpmw/templateversionparam.go +++ b/coderd/httpmw/templateversionparam.go @@ -8,9 +8,9 @@ import ( "github.com/go-chi/chi/v5" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type templateVersionParamContextKey struct{} diff --git a/coderd/httpmw/templateversionparam_test.go b/coderd/httpmw/templateversionparam_test.go index febaa8f50b..1cf4da6e83 100644 --- a/coderd/httpmw/templateversionparam_test.go +++ b/coderd/httpmw/templateversionparam_test.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestTemplateVersionParam(t *testing.T) { diff --git a/coderd/httpmw/userparam.go b/coderd/httpmw/userparam.go index b895d17aaf..de3446d69c 100644 --- a/coderd/httpmw/userparam.go +++ b/coderd/httpmw/userparam.go @@ -8,10 +8,10 @@ import ( "github.com/go-chi/chi/v5" "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type userParamContextKey struct{} diff --git a/coderd/httpmw/userparam_test.go b/coderd/httpmw/userparam_test.go index 4ce4e317f9..bd1b5b2b27 100644 --- a/coderd/httpmw/userparam_test.go +++ b/coderd/httpmw/userparam_test.go @@ -9,11 +9,11 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestUserParam(t *testing.T) { diff --git a/coderd/httpmw/workspaceagent.go b/coderd/httpmw/workspaceagent.go index f039c6bbf7..f05598af52 100644 --- a/coderd/httpmw/workspaceagent.go +++ b/coderd/httpmw/workspaceagent.go @@ -9,11 +9,11 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) type workspaceAgentContextKey struct{} diff --git a/coderd/httpmw/workspaceagent_test.go b/coderd/httpmw/workspaceagent_test.go index 5b50aa14b4..eb8e06fe99 100644 --- a/coderd/httpmw/workspaceagent_test.go +++ b/coderd/httpmw/workspaceagent_test.go @@ -9,11 +9,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestWorkspaceAgent(t *testing.T) { diff --git a/coderd/httpmw/workspaceagentparam.go b/coderd/httpmw/workspaceagentparam.go index 7e31c9e15b..67f6db0a5d 100644 --- a/coderd/httpmw/workspaceagentparam.go +++ b/coderd/httpmw/workspaceagentparam.go @@ -8,9 +8,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type workspaceAgentParamContextKey struct{} diff --git a/coderd/httpmw/workspaceagentparam_test.go b/coderd/httpmw/workspaceagentparam_test.go index f6a4c3fe1e..233b5d0d8b 100644 --- a/coderd/httpmw/workspaceagentparam_test.go +++ b/coderd/httpmw/workspaceagentparam_test.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestWorkspaceAgentParam(t *testing.T) { diff --git a/coderd/httpmw/workspacebuildparam.go b/coderd/httpmw/workspacebuildparam.go index 518029465e..895f73ac0a 100644 --- a/coderd/httpmw/workspacebuildparam.go +++ b/coderd/httpmw/workspacebuildparam.go @@ -6,9 +6,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type workspaceBuildParamContextKey struct{} diff --git a/coderd/httpmw/workspacebuildparam_test.go b/coderd/httpmw/workspacebuildparam_test.go index ac495537a1..bade2b19d8 100644 --- a/coderd/httpmw/workspacebuildparam_test.go +++ b/coderd/httpmw/workspacebuildparam_test.go @@ -10,11 +10,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func TestWorkspaceBuildParam(t *testing.T) { diff --git a/coderd/httpmw/workspaceparam.go b/coderd/httpmw/workspaceparam.go index b0f264abe3..21e8dcfd62 100644 --- a/coderd/httpmw/workspaceparam.go +++ b/coderd/httpmw/workspaceparam.go @@ -9,9 +9,9 @@ import ( "github.com/go-chi/chi/v5" "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type workspaceParamContextKey struct{} diff --git a/coderd/httpmw/workspaceparam_test.go b/coderd/httpmw/workspaceparam_test.go index 1c7504b793..36a2d0e600 100644 --- a/coderd/httpmw/workspaceparam_test.go +++ b/coderd/httpmw/workspaceparam_test.go @@ -15,12 +15,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) func TestWorkspaceParam(t *testing.T) { diff --git a/coderd/httpmw/workspaceproxy.go b/coderd/httpmw/workspaceproxy.go index 5df5e64a0c..d3a93962aa 100644 --- a/coderd/httpmw/workspaceproxy.go +++ b/coderd/httpmw/workspaceproxy.go @@ -12,10 +12,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/coderd/httpmw/workspaceproxy_test.go b/coderd/httpmw/workspaceproxy_test.go index 818acf85c4..27b85643ce 100644 --- a/coderd/httpmw/workspaceproxy_test.go +++ b/coderd/httpmw/workspaceproxy_test.go @@ -11,13 +11,13 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" ) func TestExtractWorkspaceProxy(t *testing.T) { diff --git a/coderd/httpmw/workspaceresourceparam.go b/coderd/httpmw/workspaceresourceparam.go index 41d19a4ea0..f2a9661b5c 100644 --- a/coderd/httpmw/workspaceresourceparam.go +++ b/coderd/httpmw/workspaceresourceparam.go @@ -8,9 +8,9 @@ import ( "github.com/go-chi/chi/v5" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) type workspaceResourceParamContextKey struct{} diff --git a/coderd/httpmw/workspaceresourceparam_test.go b/coderd/httpmw/workspaceresourceparam_test.go index bee32b0d30..61c4d77fbf 100644 --- a/coderd/httpmw/workspaceresourceparam_test.go +++ b/coderd/httpmw/workspaceresourceparam_test.go @@ -10,10 +10,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" ) func TestWorkspaceResourceParam(t *testing.T) { diff --git a/coderd/insights.go b/coderd/insights.go index b452b96327..3126f67328 100644 --- a/coderd/insights.go +++ b/coderd/insights.go @@ -10,12 +10,12 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" ) // Duplicated in codersdk. diff --git a/coderd/insights_test.go b/coderd/insights_test.go index 91bca4b364..5af73c7e4e 100644 --- a/coderd/insights_test.go +++ b/coderd/insights_test.go @@ -15,14 +15,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestDeploymentInsights(t *testing.T) { diff --git a/coderd/members.go b/coderd/members.go index 67ab19cf45..91083cbb89 100644 --- a/coderd/members.go +++ b/coderd/members.go @@ -8,13 +8,13 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/rbac" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) // @Summary Assign role to organization member diff --git a/coderd/metricscache/metricscache.go b/coderd/metricscache/metricscache.go index c99c72702a..f5aaeb89f7 100644 --- a/coderd/metricscache/metricscache.go +++ b/coderd/metricscache/metricscache.go @@ -15,9 +15,9 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/codersdk" "github.com/coder/retry" ) diff --git a/coderd/metricscache/metricscache_test.go b/coderd/metricscache/metricscache_test.go index 52c0df8a3e..fc22cc1139 100644 --- a/coderd/metricscache/metricscache_test.go +++ b/coderd/metricscache/metricscache_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/metricscache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/metricscache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func dateH(year, month, day, hour int) time.Time { diff --git a/coderd/oauthpki/oidcpki.go b/coderd/oauthpki/oidcpki.go index 6e0b00193d..3f3ceaf221 100644 --- a/coderd/oauthpki/oidcpki.go +++ b/coderd/oauthpki/oidcpki.go @@ -21,7 +21,7 @@ import ( "golang.org/x/oauth2/jws" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpmw" + "github.com/coder/coder/v2/coderd/httpmw" ) // Config uses jwt assertions over client_secret for oauth2 authentication of diff --git a/coderd/oauthpki/okidcpki_test.go b/coderd/oauthpki/okidcpki_test.go index 52f1223bca..27593607f2 100644 --- a/coderd/oauthpki/okidcpki_test.go +++ b/coderd/oauthpki/okidcpki_test.go @@ -18,8 +18,8 @@ import ( "golang.org/x/oauth2" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/oauthpki" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/oauthpki" + "github.com/coder/coder/v2/testutil" ) const ( diff --git a/coderd/organizations.go b/coderd/organizations.go index 17e7f458eb..3353324482 100644 --- a/coderd/organizations.go +++ b/coderd/organizations.go @@ -9,11 +9,11 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get organization by ID diff --git a/coderd/organizations_test.go b/coderd/organizations_test.go index 87d69fc508..c8cde696e2 100644 --- a/coderd/organizations_test.go +++ b/coderd/organizations_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestOrganizationsByUser(t *testing.T) { diff --git a/coderd/pagination.go b/coderd/pagination.go index 8bc4228b3b..b50358e1f5 100644 --- a/coderd/pagination.go +++ b/coderd/pagination.go @@ -5,8 +5,8 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // parsePagination extracts pagination query params from the http request. diff --git a/coderd/pagination_internal_test.go b/coderd/pagination_internal_test.go index d1e6bd107c..94077b1083 100644 --- a/coderd/pagination_internal_test.go +++ b/coderd/pagination_internal_test.go @@ -10,7 +10,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) func TestPagination(t *testing.T) { diff --git a/coderd/parameter/plaintext_test.go b/coderd/parameter/plaintext_test.go index bb11f376d3..78945d9984 100644 --- a/coderd/parameter/plaintext_test.go +++ b/coderd/parameter/plaintext_test.go @@ -3,7 +3,7 @@ package parameter_test import ( "testing" - "github.com/coder/coder/coderd/parameter" + "github.com/coder/coder/v2/coderd/parameter" "github.com/stretchr/testify/require" ) diff --git a/coderd/prometheusmetrics/aggregator.go b/coderd/prometheusmetrics/aggregator.go index 7704f5cfae..b1091b2451 100644 --- a/coderd/prometheusmetrics/aggregator.go +++ b/coderd/prometheusmetrics/aggregator.go @@ -10,7 +10,7 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) const ( diff --git a/coderd/prometheusmetrics/aggregator_test.go b/coderd/prometheusmetrics/aggregator_test.go index a5e5b0f11e..45f0de1485 100644 --- a/coderd/prometheusmetrics/aggregator_test.go +++ b/coderd/prometheusmetrics/aggregator_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/prometheusmetrics" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/prometheusmetrics" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/testutil" ) const ( diff --git a/coderd/prometheusmetrics/collector_test.go b/coderd/prometheusmetrics/collector_test.go index df50182e61..651be04477 100644 --- a/coderd/prometheusmetrics/collector_test.go +++ b/coderd/prometheusmetrics/collector_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/prometheusmetrics" + "github.com/coder/coder/v2/coderd/prometheusmetrics" ) func TestCollector_Add(t *testing.T) { diff --git a/coderd/prometheusmetrics/prometheusmetrics.go b/coderd/prometheusmetrics/prometheusmetrics.go index c1f749622a..3db7985c48 100644 --- a/coderd/prometheusmetrics/prometheusmetrics.go +++ b/coderd/prometheusmetrics/prometheusmetrics.go @@ -15,10 +15,10 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/tailnet" ) const ( diff --git a/coderd/prometheusmetrics/prometheusmetrics_test.go b/coderd/prometheusmetrics/prometheusmetrics_test.go index ad39ec840c..c6d65418cb 100644 --- a/coderd/prometheusmetrics/prometheusmetrics_test.go +++ b/coderd/prometheusmetrics/prometheusmetrics_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/coder/coder/coderd/batchstats" - "github.com/coder/coder/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/batchstats" + "github.com/coder/coder/v2/coderd/database/dbtestutil" "github.com/google/uuid" "github.com/prometheus/client_golang/prometheus" @@ -23,18 +23,18 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/prometheusmetrics" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/prometheusmetrics" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestActiveUsers(t *testing.T) { diff --git a/coderd/provisionerdserver/provisionerdserver.go b/coderd/provisionerdserver/provisionerdserver.go index ad0d5b6b4c..efb942f8a3 100644 --- a/coderd/provisionerdserver/provisionerdserver.go +++ b/coderd/provisionerdserver/provisionerdserver.go @@ -26,21 +26,21 @@ import ( protobuf "google.golang.org/protobuf/proto" "cdr.dev/slog" - "github.com/coder/coder/coderd/apikey" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - sdkproto "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/apikey" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" ) var ( diff --git a/coderd/provisionerdserver/provisionerdserver_internal_test.go b/coderd/provisionerdserver/provisionerdserver_internal_test.go index 9652f8e7c7..bd232d3d16 100644 --- a/coderd/provisionerdserver/provisionerdserver_internal_test.go +++ b/coderd/provisionerdserver/provisionerdserver_internal_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/oauth2" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/testutil" ) func TestObtainOIDCAccessToken(t *testing.T) { diff --git a/coderd/provisionerdserver/provisionerdserver_test.go b/coderd/provisionerdserver/provisionerdserver_test.go index ee0faca6d2..f539337224 100644 --- a/coderd/provisionerdserver/provisionerdserver_test.go +++ b/coderd/provisionerdserver/provisionerdserver_test.go @@ -17,21 +17,21 @@ import ( "golang.org/x/oauth2" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - sdkproto "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func mockAuditor() *atomic.Pointer[audit.Auditor] { diff --git a/coderd/provisionerjobs.go b/coderd/provisionerjobs.go index 1be1a56518..087fd0e367 100644 --- a/coderd/provisionerjobs.go +++ b/coderd/provisionerjobs.go @@ -16,13 +16,13 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionersdk" ) // Returns provisioner logs based on query parameters. diff --git a/coderd/provisionerjobs_internal_test.go b/coderd/provisionerjobs_internal_test.go index fd05eb3e62..31ae0fb608 100644 --- a/coderd/provisionerjobs_internal_test.go +++ b/coderd/provisionerjobs_internal_test.go @@ -18,12 +18,12 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/testutil" ) func TestConvertProvisionerJob_Unit(t *testing.T) { diff --git a/coderd/provisionerjobs_test.go b/coderd/provisionerjobs_test.go index 505031d50c..0bfd00e46a 100644 --- a/coderd/provisionerjobs_test.go +++ b/coderd/provisionerjobs_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestProvisionerJobLogs(t *testing.T) { diff --git a/coderd/rbac/authz.go b/coderd/rbac/authz.go index 51b7130252..42625b07c3 100644 --- a/coderd/rbac/authz.go +++ b/coderd/rbac/authz.go @@ -18,10 +18,10 @@ import ( "go.opentelemetry.io/otel/trace" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/util/slice" ) // Action represents the allowed actions to be done on an object. diff --git a/coderd/rbac/authz_internal_test.go b/coderd/rbac/authz_internal_test.go index 6211aafd44..e264e31c73 100644 --- a/coderd/rbac/authz_internal_test.go +++ b/coderd/rbac/authz_internal_test.go @@ -13,8 +13,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/testutil" ) type fakeObject struct { diff --git a/coderd/rbac/authz_test.go b/coderd/rbac/authz_test.go index e13df4176a..05f402abe4 100644 --- a/coderd/rbac/authz_test.go +++ b/coderd/rbac/authz_test.go @@ -9,8 +9,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" ) type benchmarkCase struct { diff --git a/coderd/rbac/error_test.go b/coderd/rbac/error_test.go index 23bbc7b3bc..cd9d319dab 100644 --- a/coderd/rbac/error_test.go +++ b/coderd/rbac/error_test.go @@ -3,7 +3,7 @@ package rbac_test import ( "testing" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac" "github.com/stretchr/testify/require" "golang.org/x/xerrors" diff --git a/coderd/rbac/object_test.go b/coderd/rbac/object_test.go index cbd043c753..505f12b8cc 100644 --- a/coderd/rbac/object_test.go +++ b/coderd/rbac/object_test.go @@ -3,8 +3,8 @@ package rbac_test import ( "testing" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" ) func TestObjectEqual(t *testing.T) { diff --git a/coderd/rbac/regosql/acl_group_var.go b/coderd/rbac/regosql/acl_group_var.go index d695683a72..328dfbcd48 100644 --- a/coderd/rbac/regosql/acl_group_var.go +++ b/coderd/rbac/regosql/acl_group_var.go @@ -7,7 +7,7 @@ import ( "github.com/open-policy-agent/opa/ast" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" ) var ( diff --git a/coderd/rbac/regosql/compile.go b/coderd/rbac/regosql/compile.go index 398cbbf54c..69ef2a018f 100644 --- a/coderd/rbac/regosql/compile.go +++ b/coderd/rbac/regosql/compile.go @@ -8,7 +8,7 @@ import ( "github.com/open-policy-agent/opa/rego" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" ) // ConvertConfig is required to generate SQL from the rego queries. diff --git a/coderd/rbac/regosql/compile_test.go b/coderd/rbac/regosql/compile_test.go index 5673b8621c..be0385bf83 100644 --- a/coderd/rbac/regosql/compile_test.go +++ b/coderd/rbac/regosql/compile_test.go @@ -7,8 +7,8 @@ import ( "github.com/open-policy-agent/opa/rego" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/rbac/regosql" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/rbac/regosql" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" ) // TestRegoQueriesNoVariables handles cases without variables. These should be diff --git a/coderd/rbac/regosql/configs.go b/coderd/rbac/regosql/configs.go index b683a11af3..68d3b6264c 100644 --- a/coderd/rbac/regosql/configs.go +++ b/coderd/rbac/regosql/configs.go @@ -1,6 +1,6 @@ package regosql -import "github.com/coder/coder/coderd/rbac/regosql/sqltypes" +import "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" func resourceIDMatcher() sqltypes.VariableMatcher { return sqltypes.StringVarMatcher("id :: text", []string{"input", "object", "id"}) diff --git a/coderd/rbac/regosql/sqltypes/equality_test.go b/coderd/rbac/regosql/sqltypes/equality_test.go index 8764508ad8..17a3d7f45e 100644 --- a/coderd/rbac/regosql/sqltypes/equality_test.go +++ b/coderd/rbac/regosql/sqltypes/equality_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" ) func TestEquality(t *testing.T) { diff --git a/coderd/rbac/regosql/sqltypes/member_test.go b/coderd/rbac/regosql/sqltypes/member_test.go index 91259e286e..0fedcc176c 100644 --- a/coderd/rbac/regosql/sqltypes/member_test.go +++ b/coderd/rbac/regosql/sqltypes/member_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/rbac/regosql/sqltypes" + "github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes" ) func TestMembership(t *testing.T) { diff --git a/coderd/rbac/roles_test.go b/coderd/rbac/roles_test.go index 4ecb53e183..ad03529d81 100644 --- a/coderd/rbac/roles_test.go +++ b/coderd/rbac/roles_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac" ) type authSubject struct { diff --git a/coderd/rbac/subject_test.go b/coderd/rbac/subject_test.go index 294200aff8..330ad74037 100644 --- a/coderd/rbac/subject_test.go +++ b/coderd/rbac/subject_test.go @@ -3,7 +3,7 @@ package rbac_test import ( "testing" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/rbac" ) func TestSubjectEqual(t *testing.T) { diff --git a/coderd/roles.go b/coderd/roles.go index 177a5301ea..bbee06d692 100644 --- a/coderd/roles.go +++ b/coderd/roles.go @@ -3,11 +3,11 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" ) // assignableSiteRoles returns all site wide roles that can be assigned. diff --git a/coderd/roles_test.go b/coderd/roles_test.go index 2b9eb35f34..275edc25bf 100644 --- a/coderd/roles_test.go +++ b/coderd/roles_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestListRoles(t *testing.T) { diff --git a/coderd/schedule/autostop.go b/coderd/schedule/autostop.go index 64016677e1..6fe3d5848d 100644 --- a/coderd/schedule/autostop.go +++ b/coderd/schedule/autostop.go @@ -8,8 +8,8 @@ import ( "go.opentelemetry.io/otel/trace" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/tracing" ) const ( diff --git a/coderd/schedule/autostop_test.go b/coderd/schedule/autostop_test.go index 6be5c5eaf8..8a93c81969 100644 --- a/coderd/schedule/autostop_test.go +++ b/coderd/schedule/autostop_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/testutil" ) func TestCalculateAutoStop(t *testing.T) { diff --git a/coderd/schedule/cron_test.go b/coderd/schedule/cron_test.go index d09feb5578..b8ab1600ef 100644 --- a/coderd/schedule/cron_test.go +++ b/coderd/schedule/cron_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/schedule" + "github.com/coder/coder/v2/coderd/schedule" ) func Test_Weekly(t *testing.T) { diff --git a/coderd/schedule/mock.go b/coderd/schedule/mock.go index 4a22197b57..1fe33bb549 100644 --- a/coderd/schedule/mock.go +++ b/coderd/schedule/mock.go @@ -5,7 +5,7 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) type MockTemplateScheduleStore struct { diff --git a/coderd/schedule/template.go b/coderd/schedule/template.go index 29809fab85..7c6a906c6b 100644 --- a/coderd/schedule/template.go +++ b/coderd/schedule/template.go @@ -7,8 +7,8 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/tracing" ) const MaxTemplateRestartRequirementWeeks = 16 diff --git a/coderd/schedule/user.go b/coderd/schedule/user.go index 967a430fcc..18df0b40e7 100644 --- a/coderd/schedule/user.go +++ b/coderd/schedule/user.go @@ -5,7 +5,7 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) type UserQuietHoursScheduleOptions struct { diff --git a/coderd/searchquery/search.go b/coderd/searchquery/search.go index 3518f07449..821518c832 100644 --- a/coderd/searchquery/search.go +++ b/coderd/searchquery/search.go @@ -10,10 +10,10 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" ) func AuditLogs(query string) (database.GetAuditLogsOffsetParams, []codersdk.ValidationError) { diff --git a/coderd/searchquery/search_test.go b/coderd/searchquery/search_test.go index f30cc44d94..929a17b169 100644 --- a/coderd/searchquery/search_test.go +++ b/coderd/searchquery/search_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/searchquery" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/searchquery" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" ) func TestSearchWorkspace(t *testing.T) { diff --git a/coderd/tailnet.go b/coderd/tailnet.go index 60c47ca7fe..da9ccdff0e 100644 --- a/coderd/tailnet.go +++ b/coderd/tailnet.go @@ -20,11 +20,11 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/wsconncache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/site" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/wsconncache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/site" + "github.com/coder/coder/v2/tailnet" "github.com/coder/retry" ) diff --git a/coderd/tailnet_test.go b/coderd/tailnet_test.go index 97d2cb9cf5..fcc21a1c97 100644 --- a/coderd/tailnet_test.go +++ b/coderd/tailnet_test.go @@ -18,15 +18,15 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/agent/agenttest" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/wsconncache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/agent/agenttest" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/wsconncache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestServerTailnet_AgentConn_OK(t *testing.T) { diff --git a/coderd/telemetry/telemetry.go b/coderd/telemetry/telemetry.go index 615be6949d..f190599aa3 100644 --- a/coderd/telemetry/telemetry.go +++ b/coderd/telemetry/telemetry.go @@ -22,8 +22,8 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" ) const ( diff --git a/coderd/telemetry/telemetry_test.go b/coderd/telemetry/telemetry_test.go index c4839670d6..670df9ab43 100644 --- a/coderd/telemetry/telemetry_test.go +++ b/coderd/telemetry/telemetry_test.go @@ -16,12 +16,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/coderd/templates.go b/coderd/templates.go index 95fa9032d2..75c18402d7 100644 --- a/coderd/templates.go +++ b/coderd/templates.go @@ -12,17 +12,17 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/examples" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/examples" ) // Returns a single template. diff --git a/coderd/templates_test.go b/coderd/templates_test.go index 2b7c41c9ad..92a6771090 100644 --- a/coderd/templates_test.go +++ b/coderd/templates_test.go @@ -12,16 +12,16 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestTemplate(t *testing.T) { diff --git a/coderd/templateversions.go b/coderd/templateversions.go index 80ad85a3ec..551a807418 100644 --- a/coderd/templateversions.go +++ b/coderd/templateversions.go @@ -18,18 +18,18 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/parameter" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/examples" - sdkproto "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/parameter" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/examples" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" ) // @Summary Get template version by ID diff --git a/coderd/templateversions_test.go b/coderd/templateversions_test.go index 5826d31b06..f81b29ee82 100644 --- a/coderd/templateversions_test.go +++ b/coderd/templateversions_test.go @@ -13,17 +13,17 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/examples" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/examples" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestTemplateVersion(t *testing.T) { diff --git a/coderd/tracing/httpmw.go b/coderd/tracing/httpmw.go index 308fbd88a4..653a743862 100644 --- a/coderd/tracing/httpmw.go +++ b/coderd/tracing/httpmw.go @@ -13,7 +13,7 @@ import ( "go.opentelemetry.io/otel/semconv/v1.14.0/netconv" "go.opentelemetry.io/otel/trace" - "github.com/coder/coder/coderd/httpmw/patternmatcher" + "github.com/coder/coder/v2/coderd/httpmw/patternmatcher" ) // Middleware adds tracing to http routes. diff --git a/coderd/tracing/httpmw_test.go b/coderd/tracing/httpmw_test.go index 052544fdc7..e866acd513 100644 --- a/coderd/tracing/httpmw_test.go +++ b/coderd/tracing/httpmw_test.go @@ -13,8 +13,8 @@ import ( "github.com/go-chi/chi/v5" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/testutil" ) type fakeTracer struct { diff --git a/coderd/tracing/slog_test.go b/coderd/tracing/slog_test.go index 2db0013d20..5dae380e07 100644 --- a/coderd/tracing/slog_test.go +++ b/coderd/tracing/slog_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) type stringer string diff --git a/coderd/tracing/status_writer.go b/coderd/tracing/status_writer.go index 9409c3adf5..e9337c20e0 100644 --- a/coderd/tracing/status_writer.go +++ b/coderd/tracing/status_writer.go @@ -12,7 +12,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/buildinfo" + "github.com/coder/coder/v2/buildinfo" ) var ( diff --git a/coderd/tracing/status_writer_test.go b/coderd/tracing/status_writer_test.go index 4cc3e5507d..ba19cd29a9 100644 --- a/coderd/tracing/status_writer_test.go +++ b/coderd/tracing/status_writer_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) func TestStatusWriter(t *testing.T) { diff --git a/coderd/tracing/util_test.go b/coderd/tracing/util_test.go index 1835d5325c..708218328f 100644 --- a/coderd/tracing/util_test.go +++ b/coderd/tracing/util_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) // t.Parallel affects the result of these tests. diff --git a/coderd/unhanger/detector.go b/coderd/unhanger/detector.go index a2dcb56689..975b0a5f53 100644 --- a/coderd/unhanger/detector.go +++ b/coderd/unhanger/detector.go @@ -13,11 +13,11 @@ import ( "github.com/google/uuid" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/provisionersdk" ) const ( diff --git a/coderd/unhanger/detector_test.go b/coderd/unhanger/detector_test.go index 41d2dd26f2..45e52cafdc 100644 --- a/coderd/unhanger/detector_test.go +++ b/coderd/unhanger/detector_test.go @@ -14,12 +14,12 @@ import ( "go.uber.org/goleak" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/unhanger" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/unhanger" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/coderd/updatecheck.go b/coderd/updatecheck.go index 882a5e6f4b..4e4b07683e 100644 --- a/coderd/updatecheck.go +++ b/coderd/updatecheck.go @@ -8,9 +8,9 @@ import ( "golang.org/x/mod/semver" "golang.org/x/xerrors" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // @Summary Update check diff --git a/coderd/updatecheck/updatecheck.go b/coderd/updatecheck/updatecheck.go index 5f180dd196..de14071a90 100644 --- a/coderd/updatecheck/updatecheck.go +++ b/coderd/updatecheck/updatecheck.go @@ -19,8 +19,8 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" ) const ( diff --git a/coderd/updatecheck/updatecheck_test.go b/coderd/updatecheck/updatecheck_test.go index d414d8c72a..103064eb7e 100644 --- a/coderd/updatecheck/updatecheck_test.go +++ b/coderd/updatecheck/updatecheck_test.go @@ -14,9 +14,9 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/updatecheck" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/updatecheck" + "github.com/coder/coder/v2/testutil" ) func TestChecker_Notify(t *testing.T) { diff --git a/coderd/updatecheck_test.go b/coderd/updatecheck_test.go index 24dd8eba59..c81dc0821a 100644 --- a/coderd/updatecheck_test.go +++ b/coderd/updatecheck_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/updatecheck" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/updatecheck" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestUpdateCheck_NewVersion(t *testing.T) { diff --git a/coderd/userauth.go b/coderd/userauth.go index 1ea28efede..80c40b7e4c 100644 --- a/coderd/userauth.go +++ b/coderd/userauth.go @@ -23,17 +23,17 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/apikey" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/userpassword" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/site" + "github.com/coder/coder/v2/coderd/apikey" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/userpassword" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/site" ) const ( diff --git a/coderd/userauth_test.go b/coderd/userauth_test.go index 8910bce286..10bf7ecf67 100644 --- a/coderd/userauth_test.go +++ b/coderd/userauth_test.go @@ -21,15 +21,15 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) // This test specifically tests logging in with OIDC when an expired diff --git a/coderd/userpassword/hashing_bench_test.go b/coderd/userpassword/hashing_bench_test.go index 109a1724cb..7b1d8cb7e9 100644 --- a/coderd/userpassword/hashing_bench_test.go +++ b/coderd/userpassword/hashing_bench_test.go @@ -7,7 +7,7 @@ import ( "golang.org/x/crypto/bcrypt" "golang.org/x/crypto/pbkdf2" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cryptorand" ) var ( diff --git a/coderd/userpassword/userpassword_test.go b/coderd/userpassword/userpassword_test.go index 6976a94e1c..1617748d5a 100644 --- a/coderd/userpassword/userpassword_test.go +++ b/coderd/userpassword/userpassword_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/userpassword" + "github.com/coder/coder/v2/coderd/userpassword" ) func TestUserPassword(t *testing.T) { diff --git a/coderd/users.go b/coderd/users.go index 0da749d135..ef9c9cd567 100644 --- a/coderd/users.go +++ b/coderd/users.go @@ -12,19 +12,19 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/gitsshkey" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/searchquery" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/userpassword" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/gitsshkey" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/searchquery" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/userpassword" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" ) // Returns whether the initial user has been created or not. diff --git a/coderd/users_test.go b/coderd/users_test.go index c2564e2ff8..c36b4fad98 100644 --- a/coderd/users_test.go +++ b/coderd/users_test.go @@ -15,15 +15,15 @@ import ( "golang.org/x/exp/slices" "golang.org/x/sync/errgroup" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestFirstUser(t *testing.T) { diff --git a/coderd/util/ptr/ptr_test.go b/coderd/util/ptr/ptr_test.go index 2dee346c8f..355b32fc5c 100644 --- a/coderd/util/ptr/ptr_test.go +++ b/coderd/util/ptr/ptr_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/ptr" ) func Test_Ref_Deref(t *testing.T) { diff --git a/coderd/util/slice/slice_test.go b/coderd/util/slice/slice_test.go index 73f38e9a3f..cf686f3de4 100644 --- a/coderd/util/slice/slice_test.go +++ b/coderd/util/slice/slice_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/util/slice" ) func TestSameElements(t *testing.T) { diff --git a/coderd/util/strings/strings_test.go b/coderd/util/strings/strings_test.go index a5db8ebbf8..a107a7754f 100644 --- a/coderd/util/strings/strings_test.go +++ b/coderd/util/strings/strings_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/util/strings" + "github.com/coder/coder/v2/coderd/util/strings" ) func TestJoinWithConjunction(t *testing.T) { diff --git a/coderd/util/tz/tz_test.go b/coderd/util/tz/tz_test.go index f700468370..a0e7971bd7 100644 --- a/coderd/util/tz/tz_test.go +++ b/coderd/util/tz/tz_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/util/tz" + "github.com/coder/coder/v2/coderd/util/tz" ) //nolint:paralleltest // Environment variables diff --git a/coderd/util/xio/limitwriter_test.go b/coderd/util/xio/limitwriter_test.go index 52d6075fbb..f14c873e96 100644 --- a/coderd/util/xio/limitwriter_test.go +++ b/coderd/util/xio/limitwriter_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/util/xio" + "github.com/coder/coder/v2/coderd/util/xio" ) func TestLimitWriter(t *testing.T) { diff --git a/coderd/workspaceagents.go b/coderd/workspaceagents.go index 875410b2ed..55d858b28f 100644 --- a/coderd/workspaceagents.go +++ b/coderd/workspaceagents.go @@ -32,17 +32,17 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/gitauth" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/gitauth" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/tailnet" ) // @Summary Get workspace agent by ID diff --git a/coderd/workspaceagents_test.go b/coderd/workspaceagents_test.go index b85dd9d355..84498a3dd7 100644 --- a/coderd/workspaceagents_test.go +++ b/coderd/workspaceagents_test.go @@ -20,15 +20,15 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestWorkspaceAgent(t *testing.T) { diff --git a/coderd/workspaceapps.go b/coderd/workspaceapps.go index df33889467..56567fb633 100644 --- a/coderd/workspaceapps.go +++ b/coderd/workspaceapps.go @@ -11,14 +11,14 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/apikey" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/apikey" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get applications host diff --git a/coderd/workspaceapps/apptest/apptest.go b/coderd/workspaceapps/apptest/apptest.go index 6d192735b4..7e15f188e7 100644 --- a/coderd/workspaceapps/apptest/apptest.go +++ b/coderd/workspaceapps/apptest/apptest.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) // Run runs the entire workspace app test suite against deployments minted diff --git a/coderd/workspaceapps/apptest/setup.go b/coderd/workspaceapps/apptest/setup.go index dc3b0e0e1c..9d9a804901 100644 --- a/coderd/workspaceapps/apptest/setup.go +++ b/coderd/workspaceapps/apptest/setup.go @@ -19,14 +19,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) const ( diff --git a/coderd/workspaceapps/db.go b/coderd/workspaceapps/db.go index 34851fb155..5f15b52d0e 100644 --- a/coderd/workspaceapps/db.go +++ b/coderd/workspaceapps/db.go @@ -13,12 +13,12 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // DBTokenProvider provides authentication and authorization for workspace apps diff --git a/coderd/workspaceapps/db_test.go b/coderd/workspaceapps/db_test.go index bab2d8ae3b..1783fcec17 100644 --- a/coderd/workspaceapps/db_test.go +++ b/coderd/workspaceapps/db_test.go @@ -18,15 +18,15 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func Test_ResolveRequest(t *testing.T) { diff --git a/coderd/workspaceapps/errors.go b/coderd/workspaceapps/errors.go index b9724c6f79..0dd8cc270d 100644 --- a/coderd/workspaceapps/errors.go +++ b/coderd/workspaceapps/errors.go @@ -5,7 +5,7 @@ import ( "net/url" "cdr.dev/slog" - "github.com/coder/coder/site" + "github.com/coder/coder/v2/site" ) // WriteWorkspaceApp404 writes a HTML 404 error page for a workspace app. If diff --git a/coderd/workspaceapps/provider.go b/coderd/workspaceapps/provider.go index 62b6da02a6..25c18effd5 100644 --- a/coderd/workspaceapps/provider.go +++ b/coderd/workspaceapps/provider.go @@ -7,8 +7,8 @@ import ( "time" "cdr.dev/slog" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/coderd/workspaceapps/proxy.go b/coderd/workspaceapps/proxy.go index da2f5e6a09..5e9babcb85 100644 --- a/coderd/workspaceapps/proxy.go +++ b/coderd/workspaceapps/proxy.go @@ -18,14 +18,14 @@ import ( "nhooyr.io/websocket" "cdr.dev/slog" - "github.com/coder/coder/agent/agentssh" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/site" + "github.com/coder/coder/v2/agent/agentssh" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/site" ) const ( diff --git a/coderd/workspaceapps/request.go b/coderd/workspaceapps/request.go index e9d0ff9ffc..fbfa010aed 100644 --- a/coderd/workspaceapps/request.go +++ b/coderd/workspaceapps/request.go @@ -12,8 +12,8 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) type AccessMethod string diff --git a/coderd/workspaceapps/request_test.go b/coderd/workspaceapps/request_test.go index e6fb0279d3..03ecccd4d7 100644 --- a/coderd/workspaceapps/request_test.go +++ b/coderd/workspaceapps/request_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/workspaceapps" + "github.com/coder/coder/v2/coderd/workspaceapps" ) func Test_RequestValidate(t *testing.T) { diff --git a/coderd/workspaceapps/stats.go b/coderd/workspaceapps/stats.go index 72a8154d5e..c9b1111712 100644 --- a/coderd/workspaceapps/stats.go +++ b/coderd/workspaceapps/stats.go @@ -10,8 +10,8 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" ) const ( diff --git a/coderd/workspaceapps/stats_test.go b/coderd/workspaceapps/stats_test.go index 2ad0c5556c..bf8444c04f 100644 --- a/coderd/workspaceapps/stats_test.go +++ b/coderd/workspaceapps/stats_test.go @@ -13,9 +13,9 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/testutil" ) type fakeReporter struct { diff --git a/coderd/workspaceapps/token.go b/coderd/workspaceapps/token.go index 3811602a23..96181340fc 100644 --- a/coderd/workspaceapps/token.go +++ b/coderd/workspaceapps/token.go @@ -11,8 +11,8 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/coderd/workspaceapps/token_test.go b/coderd/workspaceapps/token_test.go index 8b20180cab..e674fedb9c 100644 --- a/coderd/workspaceapps/token_test.go +++ b/coderd/workspaceapps/token_test.go @@ -9,10 +9,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/cryptorand" ) func Test_TokenMatchesRequest(t *testing.T) { diff --git a/coderd/workspaceapps_test.go b/coderd/workspaceapps_test.go index 1312a9d1e3..2018e1d8dd 100644 --- a/coderd/workspaceapps_test.go +++ b/coderd/workspaceapps_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/coderd/workspaceapps/apptest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/coderd/workspaceapps/apptest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestGetAppHost(t *testing.T) { diff --git a/coderd/workspacebuilds.go b/coderd/workspacebuilds.go index c9156506b3..1914bfa2ee 100644 --- a/coderd/workspacebuilds.go +++ b/coderd/workspacebuilds.go @@ -16,14 +16,14 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/wsbuilder" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/wsbuilder" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get workspace build diff --git a/coderd/workspacebuilds_test.go b/coderd/workspacebuilds_test.go index b838e39e3b..cd62f6a750 100644 --- a/coderd/workspacebuilds_test.go +++ b/coderd/workspacebuilds_test.go @@ -14,14 +14,14 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestWorkspaceBuild(t *testing.T) { diff --git a/coderd/workspaceproxies.go b/coderd/workspaceproxies.go index f861233507..fca0968195 100644 --- a/coderd/workspaceproxies.go +++ b/coderd/workspaceproxies.go @@ -8,10 +8,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) // PrimaryRegion exposes the user facing values of a workspace proxy to diff --git a/coderd/workspaceproxies_test.go b/coderd/workspaceproxies_test.go index d11ab8fbdd..60718f8a22 100644 --- a/coderd/workspaceproxies_test.go +++ b/coderd/workspaceproxies_test.go @@ -6,10 +6,10 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/testutil" ) func TestRegions(t *testing.T) { diff --git a/coderd/workspaceresourceauth.go b/coderd/workspaceresourceauth.go index b43434c1d6..3642822b18 100644 --- a/coderd/workspaceresourceauth.go +++ b/coderd/workspaceresourceauth.go @@ -5,14 +5,14 @@ import ( "fmt" "net/http" - "github.com/coder/coder/coderd/awsidentity" - "github.com/coder/coder/coderd/azureidentity" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/coderd/awsidentity" + "github.com/coder/coder/v2/coderd/azureidentity" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" "github.com/mitchellh/mapstructure" ) diff --git a/coderd/workspaceresourceauth_test.go b/coderd/workspaceresourceauth_test.go index d6c088de58..feadc62dde 100644 --- a/coderd/workspaceresourceauth_test.go +++ b/coderd/workspaceresourceauth_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestPostWorkspaceAuthAzureInstanceIdentity(t *testing.T) { diff --git a/coderd/workspaces.go b/coderd/workspaces.go index b71e630be6..0f493e5995 100644 --- a/coderd/workspaces.go +++ b/coderd/workspaces.go @@ -15,19 +15,19 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/searchquery" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/coderd/wsbuilder" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/searchquery" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/wsbuilder" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" ) var ( diff --git a/coderd/workspaces_test.go b/coderd/workspaces_test.go index 5fecd02dbe..140265f580 100644 --- a/coderd/workspaces_test.go +++ b/coderd/workspaces_test.go @@ -19,23 +19,23 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/parameter" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/parameter" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestWorkspace(t *testing.T) { diff --git a/coderd/wsbuilder/wsbuilder.go b/coderd/wsbuilder/wsbuilder.go index 06b4d8c167..3b6bcf1ae8 100644 --- a/coderd/wsbuilder/wsbuilder.go +++ b/coderd/wsbuilder/wsbuilder.go @@ -14,13 +14,13 @@ import ( "github.com/sqlc-dev/pqtype" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" ) // Builder encapsulates the business logic of inserting a new workspace build into the database. diff --git a/coderd/wsbuilder/wsbuilder_test.go b/coderd/wsbuilder/wsbuilder_test.go index afb7c5af75..a8b6ef21f0 100644 --- a/coderd/wsbuilder/wsbuilder_test.go +++ b/coderd/wsbuilder/wsbuilder_test.go @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/wsbuilder" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/wsbuilder" + "github.com/coder/coder/v2/codersdk" ) var ( diff --git a/coderd/wsconncache/wsconncache.go b/coderd/wsconncache/wsconncache.go index 4ff7f30e04..b9d362eac3 100644 --- a/coderd/wsconncache/wsconncache.go +++ b/coderd/wsconncache/wsconncache.go @@ -16,8 +16,8 @@ import ( "golang.org/x/sync/singleflight" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/site" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/site" ) type AgentProvider struct { diff --git a/coderd/wsconncache/wsconncache_test.go b/coderd/wsconncache/wsconncache_test.go index d0769cf057..f06f836bd3 100644 --- a/coderd/wsconncache/wsconncache_test.go +++ b/coderd/wsconncache/wsconncache_test.go @@ -23,13 +23,13 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/wsconncache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/wsconncache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/codersdk/agentsdk/agentsdk.go b/codersdk/agentsdk/agentsdk.go index d5e038bdf6..b81aacc96b 100644 --- a/codersdk/agentsdk/agentsdk.go +++ b/codersdk/agentsdk/agentsdk.go @@ -19,7 +19,7 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" "github.com/coder/retry" ) diff --git a/codersdk/agentsdk/logs.go b/codersdk/agentsdk/logs.go index 2eb7d4856f..52f30f9fe3 100644 --- a/codersdk/agentsdk/logs.go +++ b/codersdk/agentsdk/logs.go @@ -11,7 +11,7 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" "github.com/coder/retry" ) diff --git a/codersdk/agentsdk/logs_test.go b/codersdk/agentsdk/logs_test.go index 1cca86242e..7c1d7b0bf8 100644 --- a/codersdk/agentsdk/logs_test.go +++ b/codersdk/agentsdk/logs_test.go @@ -13,9 +13,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/testutil" ) func TestStartupLogsWriter_Write(t *testing.T) { diff --git a/codersdk/client.go b/codersdk/client.go index 98a109aa72..9c34245bcb 100644 --- a/codersdk/client.go +++ b/codersdk/client.go @@ -20,7 +20,7 @@ import ( "go.opentelemetry.io/otel/semconv/v1.14.0/httpconv" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" "cdr.dev/slog" ) diff --git a/codersdk/client_internal_test.go b/codersdk/client_internal_test.go index 60e61c9309..ae86ce81ef 100644 --- a/codersdk/client_internal_test.go +++ b/codersdk/client_internal_test.go @@ -27,7 +27,7 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/testutil" ) const jsonCT = "application/json" diff --git a/codersdk/deployment.go b/codersdk/deployment.go index fca5d89278..0b8c7f9090 100644 --- a/codersdk/deployment.go +++ b/codersdk/deployment.go @@ -16,8 +16,8 @@ import ( "github.com/coreos/go-oidc/v3/oidc" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" ) // Entitlement represents whether a feature is licensed. diff --git a/codersdk/deployment_test.go b/codersdk/deployment_test.go index eb4e267364..408aa4fd21 100644 --- a/codersdk/deployment_test.go +++ b/codersdk/deployment_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/codersdk" ) type exclusion struct { diff --git a/codersdk/provisionerdaemons.go b/codersdk/provisionerdaemons.go index 674523055e..30e0896707 100644 --- a/codersdk/provisionerdaemons.go +++ b/codersdk/provisionerdaemons.go @@ -16,8 +16,8 @@ import ( "golang.org/x/xerrors" "nhooyr.io/websocket" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" ) type LogSource string diff --git a/codersdk/richparameters_test.go b/codersdk/richparameters_test.go index df70c9c10e..a7ab416b98 100644 --- a/codersdk/richparameters_test.go +++ b/codersdk/richparameters_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" ) func TestParameterResolver_ValidateResolve_New(t *testing.T) { diff --git a/codersdk/serversentevents.go b/codersdk/serversentevents.go index 56457a0c92..8c026524c7 100644 --- a/codersdk/serversentevents.go +++ b/codersdk/serversentevents.go @@ -9,7 +9,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) type ServerSentEvent struct { diff --git a/codersdk/time_test.go b/codersdk/time_test.go index c9f5ca0583..a2d3b20622 100644 --- a/codersdk/time_test.go +++ b/codersdk/time_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) func TestNullTime_MarshalJSON(t *testing.T) { diff --git a/codersdk/workspaceagentconn.go b/codersdk/workspaceagentconn.go index 6b9b6f0d33..e38b4f2a47 100644 --- a/codersdk/workspaceagentconn.go +++ b/codersdk/workspaceagentconn.go @@ -21,8 +21,8 @@ import ( "tailscale.com/ipn/ipnstate" "tailscale.com/net/speedtest" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/tailnet" ) // WorkspaceAgentIP is a static IPv6 address with the Tailscale prefix that is used to route diff --git a/codersdk/workspaceagents.go b/codersdk/workspaceagents.go index 71153a0e89..7eb20a3d5d 100644 --- a/codersdk/workspaceagents.go +++ b/codersdk/workspaceagents.go @@ -20,8 +20,8 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/tailnet" "github.com/coder/retry" ) diff --git a/codersdk/workspaceagents_test.go b/codersdk/workspaceagents_test.go index 6373160c29..766203268c 100644 --- a/codersdk/workspaceagents_test.go +++ b/codersdk/workspaceagents_test.go @@ -15,9 +15,9 @@ import ( "tailscale.com/tailcfg" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/testutil" ) func TestWorkspaceAgentMetadata(t *testing.T) { diff --git a/codersdk/workspaces.go b/codersdk/workspaces.go index 2ef9840ac4..0f43143bfe 100644 --- a/codersdk/workspaces.go +++ b/codersdk/workspaces.go @@ -11,7 +11,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) // Workspace is a deployment of a template. It references a specific diff --git a/cryptorand/errors_test.go b/cryptorand/errors_test.go index 36ce2faf6b..6abc214387 100644 --- a/cryptorand/errors_test.go +++ b/cryptorand/errors_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cryptorand" ) // TestRandError checks that the code handles errors when reading from diff --git a/cryptorand/numbers_test.go b/cryptorand/numbers_test.go index 0ffedf78b9..aec9c89a74 100644 --- a/cryptorand/numbers_test.go +++ b/cryptorand/numbers_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cryptorand" ) func TestInt63(t *testing.T) { diff --git a/cryptorand/slices_test.go b/cryptorand/slices_test.go index f4c7be248c..1838bcf611 100644 --- a/cryptorand/slices_test.go +++ b/cryptorand/slices_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cryptorand" ) func TestRandomElement(t *testing.T) { diff --git a/cryptorand/strings_test.go b/cryptorand/strings_test.go index 3f6025e0f9..60be57ce0f 100644 --- a/cryptorand/strings_test.go +++ b/cryptorand/strings_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/cryptorand" ) func TestString(t *testing.T) { diff --git a/docs/admin/audit-logs.md b/docs/admin/audit-logs.md index 230e99be53..143ff59344 100644 --- a/docs/admin/audit-logs.md +++ b/docs/admin/audit-logs.md @@ -34,15 +34,15 @@ In the Coder UI you can filter your audit logs using the pre-defined filter or b The supported filters are: -- `resource_type` - The type of the resource. It can be a workspace, template, user, etc. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#ResourceType) all the resource types that are supported. +- `resource_type` - The type of the resource. It can be a workspace, template, user, etc. You can [find here](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#ResourceType) all the resource types that are supported. - `resource_id` - The ID of the resource. - `resource_target` - The name of the resource. Can be used instead of `resource_id`. -- `action`- The action applied to a resource. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#AuditAction) all the actions that are supported. +- `action`- The action applied to a resource. You can [find here](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#AuditAction) all the actions that are supported. - `username` - The username of the user who triggered the action. You can also use `me` as a convenient alias for the logged-in user. - `email` - The email of the user who triggered the action. - `date_from` - The inclusive start date with format `YYYY-MM-DD`. - `date_to` - The inclusive end date with format `YYYY-MM-DD`. -- `build_reason` - To be used with `resource_type:workspace_build`, the [initiator](https://pkg.go.dev/github.com/coder/coder/codersdk#BuildReason) behind the build start or stop. +- `build_reason` - To be used with `resource_type:workspace_build`, the [initiator](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#BuildReason) behind the build start or stop. ## Capturing/Exporting Audit Logs diff --git a/docs/admin/automation.md b/docs/admin/automation.md index c564903d55..18751755b4 100644 --- a/docs/admin/automation.md +++ b/docs/admin/automation.md @@ -4,7 +4,7 @@ All actions possible through the Coder dashboard can also be automated as it uti - [CLI](../cli.md) - [REST API](../api/) -- [Coder SDK](https://pkg.go.dev/github.com/coder/coder/codersdk) +- [Coder SDK](https://pkg.go.dev/github.com/coder/coder/v2/codersdk) ## Quickstart diff --git a/docs/admin/users.md b/docs/admin/users.md index fef44a0877..9293a28190 100644 --- a/docs/admin/users.md +++ b/docs/admin/users.md @@ -163,5 +163,5 @@ In the Coder UI, you can filter your users using pre-defined filters or by utili The following filters are supported: - `status` - Indicates the status of the user. It can be either `active`, `dormant` or `suspended`. -- `role` - Represents the role of the user. You can refer to the [TemplateRole documentation](https://pkg.go.dev/github.com/coder/coder/codersdk#TemplateRole) for a list of supported user roles. +- `role` - Represents the role of the user. You can refer to the [TemplateRole documentation](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#TemplateRole) for a list of supported user roles. - `last_seen_before` and `last_seen_after` - The last time a used has used the platform (e.g. logging in, any API requests, connecting to workspaces). Uses the RFC3339Nano format. diff --git a/docs/contributing/feature-stages.md b/docs/contributing/feature-stages.md index 6ccb4e6edc..156abf73db 100644 --- a/docs/contributing/feature-stages.md +++ b/docs/contributing/feature-stages.md @@ -22,4 +22,4 @@ coder server --experiments=feature1,feature2 # Alternatively, use the `CODER_EXPERIMENTS` environment variable. ``` -For a list of all experiments, refer to the [codersdk reference](https://pkg.go.dev/github.com/coder/coder/codersdk#Experiment). +For a list of all experiments, refer to the [codersdk reference](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#Experiment). diff --git a/docs/workspaces.md b/docs/workspaces.md index 757f0b02d7..8a25231461 100644 --- a/docs/workspaces.md +++ b/docs/workspaces.md @@ -108,7 +108,7 @@ The following filters are supported: - `owner` - Represents the `username` of the owner. You can also use `me` as a convenient alias for the logged-in user. - `template` - Specifies the name of the template. -- `status` - Indicates the status of the workspace. For a list of supported statuses, please refer to the [WorkspaceStatus documentation](https://pkg.go.dev/github.com/coder/coder/codersdk#WorkspaceStatus). +- `status` - Indicates the status of the workspace. For a list of supported statuses, please refer to the [WorkspaceStatus documentation](https://pkg.go.dev/github.com/coder/coder/v2/codersdk#WorkspaceStatus). --- diff --git a/enterprise/audit/audit.go b/enterprise/audit/audit.go index 7b345f22f8..5c745b8deb 100644 --- a/enterprise/audit/audit.go +++ b/enterprise/audit/audit.go @@ -5,8 +5,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" ) // Backends can store or send audit logs to arbitrary locations. diff --git a/enterprise/audit/audit_test.go b/enterprise/audit/audit_test.go index 06c2514323..421a637aa1 100644 --- a/enterprise/audit/audit_test.go +++ b/enterprise/audit/audit_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/enterprise/audit" - "github.com/coder/coder/enterprise/audit/audittest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/enterprise/audit" + "github.com/coder/coder/v2/enterprise/audit/audittest" ) func TestAuditor(t *testing.T) { diff --git a/enterprise/audit/audittest/rand.go b/enterprise/audit/audittest/rand.go index c1560825f0..271ac98ed0 100644 --- a/enterprise/audit/audittest/rand.go +++ b/enterprise/audit/audittest/rand.go @@ -9,7 +9,7 @@ import ( "github.com/google/uuid" "github.com/sqlc-dev/pqtype" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) func RandomLog() database.AuditLog { diff --git a/enterprise/audit/backends/postgres.go b/enterprise/audit/backends/postgres.go index a0cadd2899..7d792dfdd0 100644 --- a/enterprise/audit/backends/postgres.go +++ b/enterprise/audit/backends/postgres.go @@ -5,8 +5,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/enterprise/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/enterprise/audit" ) type postgresBackend struct { diff --git a/enterprise/audit/backends/postgres_test.go b/enterprise/audit/backends/postgres_test.go index a11001e55d..c1360c6430 100644 --- a/enterprise/audit/backends/postgres_test.go +++ b/enterprise/audit/backends/postgres_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/enterprise/audit/audittest" - "github.com/coder/coder/enterprise/audit/backends" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/enterprise/audit/audittest" + "github.com/coder/coder/v2/enterprise/audit/backends" ) func TestPostgresBackend(t *testing.T) { diff --git a/enterprise/audit/backends/slog.go b/enterprise/audit/backends/slog.go index 2fea8fcbc5..298310448e 100644 --- a/enterprise/audit/backends/slog.go +++ b/enterprise/audit/backends/slog.go @@ -6,8 +6,8 @@ import ( "github.com/fatih/structs" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/enterprise/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/enterprise/audit" ) type slogBackend struct { diff --git a/enterprise/audit/backends/slog_test.go b/enterprise/audit/backends/slog_test.go index c963746bf2..03ea27ac52 100644 --- a/enterprise/audit/backends/slog_test.go +++ b/enterprise/audit/backends/slog_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog" - "github.com/coder/coder/enterprise/audit/audittest" - "github.com/coder/coder/enterprise/audit/backends" + "github.com/coder/coder/v2/enterprise/audit/audittest" + "github.com/coder/coder/v2/enterprise/audit/backends" ) func TestSlogBackend(t *testing.T) { diff --git a/enterprise/audit/diff.go b/enterprise/audit/diff.go index ca5c454e51..59780d2918 100644 --- a/enterprise/audit/diff.go +++ b/enterprise/audit/diff.go @@ -8,9 +8,9 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" ) func structName(t reflect.Type) string { diff --git a/enterprise/audit/diff_internal_test.go b/enterprise/audit/diff_internal_test.go index d53a9ad1f3..f98d16138c 100644 --- a/enterprise/audit/diff_internal_test.go +++ b/enterprise/audit/diff_internal_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" ) func Test_diffValues(t *testing.T) { diff --git a/enterprise/audit/filter.go b/enterprise/audit/filter.go index 868d5bb7d7..113bfc101b 100644 --- a/enterprise/audit/filter.go +++ b/enterprise/audit/filter.go @@ -3,7 +3,7 @@ package audit import ( "context" - "github.com/coder/coder/coderd/database" + "github.com/coder/coder/v2/coderd/database" ) // FilterDecision is a bitwise flag describing the actions a given filter allows diff --git a/enterprise/audit/table.go b/enterprise/audit/table.go index 17c91ff8ad..2e732a1d53 100644 --- a/enterprise/audit/table.go +++ b/enterprise/audit/table.go @@ -6,8 +6,8 @@ import ( "reflect" "runtime" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" ) // This mapping creates a relationship between an Auditable Resource diff --git a/enterprise/audit/table_internal_test.go b/enterprise/audit/table_internal_test.go index 77e75257d3..4882828574 100644 --- a/enterprise/audit/table_internal_test.go +++ b/enterprise/audit/table_internal_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/tools/go/packages" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/slice" ) // TestAuditableResources ensures that all auditable resources are included in @@ -48,7 +48,7 @@ func TestAuditableResources(t *testing.T) { expectedList := make([]string, 0) // Now we check we have all the resources in the AuditableResources for i := 0; i < unionType.Len(); i++ { - // All types come across like 'github.com/coder/coder/coderd/database.' + // All types come across like 'github.com/coder/coder/v2/coderd/database.' typeName := unionType.Term(i).Type().String() _, ok := AuditableResources[typeName] assert.True(t, ok, "missing resource %q from AuditableResources", typeName) diff --git a/enterprise/cli/features.go b/enterprise/cli/features.go index e02feb7781..57435dbbf2 100644 --- a/enterprise/cli/features.go +++ b/enterprise/cli/features.go @@ -10,9 +10,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) features() *clibase.Cmd { diff --git a/enterprise/cli/features_test.go b/enterprise/cli/features_test.go index 042a67a2da..406e626d36 100644 --- a/enterprise/cli/features_test.go +++ b/enterprise/cli/features_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/pty/ptytest" ) func TestFeaturesList(t *testing.T) { diff --git a/enterprise/cli/groupcreate.go b/enterprise/cli/groupcreate.go index d80c1d441e..5f40b79bb4 100644 --- a/enterprise/cli/groupcreate.go +++ b/enterprise/cli/groupcreate.go @@ -5,10 +5,10 @@ import ( "golang.org/x/xerrors" - agpl "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + agpl "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) groupCreate() *clibase.Cmd { diff --git a/enterprise/cli/groupcreate_test.go b/enterprise/cli/groupcreate_test.go index 484cb42c46..4e9bdfdfb5 100644 --- a/enterprise/cli/groupcreate_test.go +++ b/enterprise/cli/groupcreate_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" ) func TestCreateGroup(t *testing.T) { diff --git a/enterprise/cli/groupdelete.go b/enterprise/cli/groupdelete.go index 268d8064df..adada073e3 100644 --- a/enterprise/cli/groupdelete.go +++ b/enterprise/cli/groupdelete.go @@ -5,10 +5,10 @@ import ( "golang.org/x/xerrors" - agpl "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + agpl "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) groupDelete() *clibase.Cmd { diff --git a/enterprise/cli/groupdelete_test.go b/enterprise/cli/groupdelete_test.go index 91ee5a3371..c3ff2593e0 100644 --- a/enterprise/cli/groupdelete_test.go +++ b/enterprise/cli/groupdelete_test.go @@ -6,13 +6,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestGroupDelete(t *testing.T) { diff --git a/enterprise/cli/groupedit.go b/enterprise/cli/groupedit.go index 9ef6a31006..a1c8db9ab8 100644 --- a/enterprise/cli/groupedit.go +++ b/enterprise/cli/groupedit.go @@ -7,10 +7,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - agpl "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + agpl "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) groupEdit() *clibase.Cmd { diff --git a/enterprise/cli/groupedit_test.go b/enterprise/cli/groupedit_test.go index d917048857..a6bf396338 100644 --- a/enterprise/cli/groupedit_test.go +++ b/enterprise/cli/groupedit_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestGroupEdit(t *testing.T) { diff --git a/enterprise/cli/grouplist.go b/enterprise/cli/grouplist.go index 51c36c4ba8..78bcb28ca1 100644 --- a/enterprise/cli/grouplist.go +++ b/enterprise/cli/grouplist.go @@ -7,10 +7,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - agpl "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + agpl "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) groupList() *clibase.Cmd { diff --git a/enterprise/cli/grouplist_test.go b/enterprise/cli/grouplist_test.go index 022f615a3d..2787893fae 100644 --- a/enterprise/cli/grouplist_test.go +++ b/enterprise/cli/grouplist_test.go @@ -5,13 +5,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestGroupList(t *testing.T) { diff --git a/enterprise/cli/groups.go b/enterprise/cli/groups.go index adf7c8c527..ff537697ea 100644 --- a/enterprise/cli/groups.go +++ b/enterprise/cli/groups.go @@ -1,7 +1,7 @@ package cli import ( - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli/clibase" ) func (r *RootCmd) groups() *clibase.Cmd { diff --git a/enterprise/cli/licenses.go b/enterprise/cli/licenses.go index e4bf3e0731..45e3d3e6ec 100644 --- a/enterprise/cli/licenses.go +++ b/enterprise/cli/licenses.go @@ -13,9 +13,9 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) var jwtRegexp = regexp.MustCompile(`^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$`) diff --git a/enterprise/cli/licenses_test.go b/enterprise/cli/licenses_test.go index 9272a103fa..df21ba6b66 100644 --- a/enterprise/cli/licenses_test.go +++ b/enterprise/cli/licenses_test.go @@ -16,13 +16,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) const ( diff --git a/enterprise/cli/provisionerdaemons.go b/enterprise/cli/provisionerdaemons.go index f75172e966..82d853503a 100644 --- a/enterprise/cli/provisionerdaemons.go +++ b/enterprise/cli/provisionerdaemons.go @@ -11,16 +11,16 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - agpl "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner/terraform" - "github.com/coder/coder/provisionerd" - provisionerdproto "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + agpl "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner/terraform" + "github.com/coder/coder/v2/provisionerd" + provisionerdproto "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) func (r *RootCmd) provisionerDaemons() *clibase.Cmd { diff --git a/enterprise/cli/provisionerdaemons_test.go b/enterprise/cli/provisionerdaemons_test.go index 69b23d8707..038ba97ec7 100644 --- a/enterprise/cli/provisionerdaemons_test.go +++ b/enterprise/cli/provisionerdaemons_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestProvisionerDaemon_PSK(t *testing.T) { diff --git a/enterprise/cli/proxyserver.go b/enterprise/cli/proxyserver.go index f40d12d6d4..e7f4e86507 100644 --- a/enterprise/cli/proxyserver.go +++ b/enterprise/cli/proxyserver.go @@ -22,14 +22,14 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/wsproxy" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/wsproxy" ) type closers []func() diff --git a/enterprise/cli/proxyserver_slim.go b/enterprise/cli/proxyserver_slim.go index 48dd85710d..85570a98d4 100644 --- a/enterprise/cli/proxyserver_slim.go +++ b/enterprise/cli/proxyserver_slim.go @@ -7,8 +7,8 @@ import ( "io" "os" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" ) func (r *RootCmd) proxyServer() *clibase.Cmd { diff --git a/enterprise/cli/root.go b/enterprise/cli/root.go index a89a8008fc..9f7bfb9039 100644 --- a/enterprise/cli/root.go +++ b/enterprise/cli/root.go @@ -1,8 +1,8 @@ package cli import ( - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" ) type RootCmd struct { diff --git a/enterprise/cli/root_internal_test.go b/enterprise/cli/root_internal_test.go index 3b3c86bc8d..e2af6bcdd4 100644 --- a/enterprise/cli/root_internal_test.go +++ b/enterprise/cli/root_internal_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/clitest" + "github.com/coder/coder/v2/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/clitest" ) //nolint:tparallel,paralleltest diff --git a/enterprise/cli/root_test.go b/enterprise/cli/root_test.go index bf44ad08ff..e957c8e09d 100644 --- a/enterprise/cli/root_test.go +++ b/enterprise/cli/root_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/cli/config" - "github.com/coder/coder/enterprise/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/cli/config" + "github.com/coder/coder/v2/enterprise/cli" ) func newCLI(t *testing.T, args ...string) (*clibase.Invocation, config.Root) { diff --git a/enterprise/cli/server.go b/enterprise/cli/server.go index 70a06ff054..197eab61e1 100644 --- a/enterprise/cli/server.go +++ b/enterprise/cli/server.go @@ -13,15 +13,15 @@ import ( "tailscale.com/derp" "tailscale.com/types/key" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/enterprise/audit" - "github.com/coder/coder/enterprise/audit/backends" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/trialer" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/enterprise/audit" + "github.com/coder/coder/v2/enterprise/audit/backends" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/trialer" + "github.com/coder/coder/v2/tailnet" - agplcoderd "github.com/coder/coder/coderd" + agplcoderd "github.com/coder/coder/v2/coderd" ) func (r *RootCmd) server() *clibase.Cmd { diff --git a/enterprise/cli/server_slim.go b/enterprise/cli/server_slim.go index 301151fd38..a0e9800ed7 100644 --- a/enterprise/cli/server_slim.go +++ b/enterprise/cli/server_slim.go @@ -8,8 +8,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - agplcoderd "github.com/coder/coder/coderd" + "github.com/coder/coder/v2/cli/clibase" + agplcoderd "github.com/coder/coder/v2/coderd" ) func (r *RootCmd) server() *clibase.Cmd { diff --git a/enterprise/cli/workspaceproxy.go b/enterprise/cli/workspaceproxy.go index 6c0f7aa06e..a0f2004d7a 100644 --- a/enterprise/cli/workspaceproxy.go +++ b/enterprise/cli/workspaceproxy.go @@ -8,9 +8,9 @@ import ( "github.com/fatih/color" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/cli/cliui" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/cli/cliui" + "github.com/coder/coder/v2/codersdk" ) func (r *RootCmd) workspaceProxy() *clibase.Cmd { diff --git a/enterprise/cli/workspaceproxy_test.go b/enterprise/cli/workspaceproxy_test.go index e7396ab121..fd9d241172 100644 --- a/enterprise/cli/workspaceproxy_test.go +++ b/enterprise/cli/workspaceproxy_test.go @@ -8,13 +8,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clitest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clitest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func Test_ProxyCRUD(t *testing.T) { diff --git a/enterprise/cmd/coder/main.go b/enterprise/cmd/coder/main.go index b44275e369..0aa1400c5c 100644 --- a/enterprise/cmd/coder/main.go +++ b/enterprise/cmd/coder/main.go @@ -3,7 +3,7 @@ package main import ( _ "time/tzdata" - entcli "github.com/coder/coder/enterprise/cli" + entcli "github.com/coder/coder/v2/enterprise/cli" ) func main() { diff --git a/enterprise/coderd/appearance.go b/enterprise/coderd/appearance.go index c4dc8b34e1..74d4bcb769 100644 --- a/enterprise/coderd/appearance.go +++ b/enterprise/coderd/appearance.go @@ -12,9 +12,9 @@ import ( "golang.org/x/sync/errgroup" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) var DefaultSupportLinks = []codersdk.LinkConfig{ diff --git a/enterprise/coderd/appearance_test.go b/enterprise/coderd/appearance_test.go index 6f564eaa3a..2cf7259044 100644 --- a/enterprise/coderd/appearance_test.go +++ b/enterprise/coderd/appearance_test.go @@ -9,15 +9,15 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestServiceBanners(t *testing.T) { diff --git a/enterprise/coderd/authorize_test.go b/enterprise/coderd/authorize_test.go index 68452bc52b..0daf08cbc8 100644 --- a/enterprise/coderd/authorize_test.go +++ b/enterprise/coderd/authorize_test.go @@ -7,12 +7,12 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestCheckACLPermissions(t *testing.T) { diff --git a/enterprise/coderd/coderd.go b/enterprise/coderd/coderd.go index ea587d7393..fc74ae281f 100644 --- a/enterprise/coderd/coderd.go +++ b/enterprise/coderd/coderd.go @@ -22,22 +22,22 @@ import ( "github.com/prometheus/client_golang/prometheus" "cdr.dev/slog" - "github.com/coder/coder/coderd" - agplaudit "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - agplschedule "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/enterprise/coderd/proxyhealth" - "github.com/coder/coder/enterprise/coderd/schedule" - "github.com/coder/coder/enterprise/derpmesh" - "github.com/coder/coder/enterprise/replicasync" - "github.com/coder/coder/enterprise/tailnet" - "github.com/coder/coder/provisionerd/proto" - agpltailnet "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd" + agplaudit "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + agplschedule "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/enterprise/coderd/proxyhealth" + "github.com/coder/coder/v2/enterprise/coderd/schedule" + "github.com/coder/coder/v2/enterprise/derpmesh" + "github.com/coder/coder/v2/enterprise/replicasync" + "github.com/coder/coder/v2/enterprise/tailnet" + "github.com/coder/coder/v2/provisionerd/proto" + agpltailnet "github.com/coder/coder/v2/tailnet" ) // New constructs an Enterprise coderd API instance. diff --git a/enterprise/coderd/coderd_test.go b/enterprise/coderd/coderd_test.go index 2271c79064..123a22938f 100644 --- a/enterprise/coderd/coderd_test.go +++ b/enterprise/coderd/coderd_test.go @@ -8,22 +8,22 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.uber.org/goleak" - agplaudit "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/audit" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + agplaudit "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/audit" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/enterprise/coderd/coderdenttest/coderdenttest.go b/enterprise/coderd/coderdenttest/coderdenttest.go index 64cb15c740..81e43c4fd5 100644 --- a/enterprise/coderd/coderdenttest/coderdenttest.go +++ b/enterprise/coderd/coderdenttest/coderdenttest.go @@ -10,17 +10,17 @@ import ( "testing" "time" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/pubsub" "github.com/golang-jwt/jwt/v4" "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/coderd/license" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/coderd/license" ) const ( diff --git a/enterprise/coderd/coderdenttest/coderdenttest_test.go b/enterprise/coderd/coderdenttest/coderdenttest_test.go index c3db8b31ea..ef828ac699 100644 --- a/enterprise/coderd/coderdenttest/coderdenttest_test.go +++ b/enterprise/coderd/coderdenttest/coderdenttest_test.go @@ -3,7 +3,7 @@ package coderdenttest_test import ( "testing" - "github.com/coder/coder/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" ) func TestNew(t *testing.T) { diff --git a/enterprise/coderd/coderdenttest/proxytest.go b/enterprise/coderd/coderdenttest/proxytest.go index a9031e90a5..8a28b077c1 100644 --- a/enterprise/coderd/coderdenttest/proxytest.go +++ b/enterprise/coderd/coderdenttest/proxytest.go @@ -19,10 +19,10 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/wsproxy" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/wsproxy" ) type ProxyOptions struct { diff --git a/enterprise/coderd/coderdenttest/swagger_test.go b/enterprise/coderd/coderdenttest/swagger_test.go index 7de2678d55..c8b9517486 100644 --- a/enterprise/coderd/coderdenttest/swagger_test.go +++ b/enterprise/coderd/coderdenttest/swagger_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" ) func TestEnterpriseEndpointsDocumented(t *testing.T) { diff --git a/enterprise/coderd/groups.go b/enterprise/coderd/groups.go index f927aa3361..c209fd5a80 100644 --- a/enterprise/coderd/groups.go +++ b/enterprise/coderd/groups.go @@ -8,13 +8,13 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // @Summary Create group for organization diff --git a/enterprise/coderd/groups_test.go b/enterprise/coderd/groups_test.go index 3794829746..2f16aa7884 100644 --- a/enterprise/coderd/groups_test.go +++ b/enterprise/coderd/groups_test.go @@ -7,14 +7,14 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestCreateGroup(t *testing.T) { diff --git a/enterprise/coderd/insights_test.go b/enterprise/coderd/insights_test.go index be74c8dad2..0af7b7ad94 100644 --- a/enterprise/coderd/insights_test.go +++ b/enterprise/coderd/insights_test.go @@ -9,11 +9,11 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestTemplateInsightsWithTemplateAdminACL(t *testing.T) { diff --git a/enterprise/coderd/license/license.go b/enterprise/coderd/license/license.go index a41dba4be3..14caea39e0 100644 --- a/enterprise/coderd/license/license.go +++ b/enterprise/coderd/license/license.go @@ -12,9 +12,9 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/codersdk" ) // Entitlements processes licenses to return whether features are enabled or not. diff --git a/enterprise/coderd/license/license_test.go b/enterprise/coderd/license/license_test.go index 546333b87a..cb76296fdc 100644 --- a/enterprise/coderd/license/license_test.go +++ b/enterprise/coderd/license/license_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" ) func TestEntitlements(t *testing.T) { diff --git a/enterprise/coderd/licenses.go b/enterprise/coderd/licenses.go index 24085ee9a7..6b64348ba4 100644 --- a/enterprise/coderd/licenses.go +++ b/enterprise/coderd/licenses.go @@ -19,13 +19,13 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/license" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/license" ) const ( diff --git a/enterprise/coderd/licenses_test.go b/enterprise/coderd/licenses_test.go index 59b2e7f306..be340e44d3 100644 --- a/enterprise/coderd/licenses_test.go +++ b/enterprise/coderd/licenses_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestPostLicense(t *testing.T) { diff --git a/enterprise/coderd/provisionerdaemons.go b/enterprise/coderd/provisionerdaemons.go index 1b3010d833..b82c2a6c75 100644 --- a/enterprise/coderd/provisionerdaemons.go +++ b/enterprise/coderd/provisionerdaemons.go @@ -22,14 +22,14 @@ import ( "storj.io/drpc/drpcserver" "cdr.dev/slog" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionerd/proto" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionerd/proto" ) func (api *API) provisionerDaemonsEnabledMW(next http.Handler) http.Handler { diff --git a/enterprise/coderd/provisionerdaemons_test.go b/enterprise/coderd/provisionerdaemons_test.go index 1586a92773..d9b688fab8 100644 --- a/enterprise/coderd/provisionerdaemons_test.go +++ b/enterprise/coderd/provisionerdaemons_test.go @@ -9,15 +9,15 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/provisionerdserver" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/provisionerdserver" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestProvisionerDaemonServe(t *testing.T) { diff --git a/enterprise/coderd/proxyhealth/proxyhealth.go b/enterprise/coderd/proxyhealth/proxyhealth.go index d95a44d5a0..4b9e3f1398 100644 --- a/enterprise/coderd/proxyhealth/proxyhealth.go +++ b/enterprise/coderd/proxyhealth/proxyhealth.go @@ -17,10 +17,10 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/prometheusmetrics" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/prometheusmetrics" + "github.com/coder/coder/v2/codersdk" ) type Status string diff --git a/enterprise/coderd/proxyhealth/proxyhealth_test.go b/enterprise/coderd/proxyhealth/proxyhealth_test.go index 10d8d69dba..96502fa1f5 100644 --- a/enterprise/coderd/proxyhealth/proxyhealth_test.go +++ b/enterprise/coderd/proxyhealth/proxyhealth_test.go @@ -11,13 +11,13 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/proxyhealth" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/proxyhealth" + "github.com/coder/coder/v2/testutil" ) func insertProxy(t *testing.T, db database.Store, url string) database.WorkspaceProxy { diff --git a/enterprise/coderd/replicas.go b/enterprise/coderd/replicas.go index 77e0c45aef..536048aaac 100644 --- a/enterprise/coderd/replicas.go +++ b/enterprise/coderd/replicas.go @@ -3,10 +3,10 @@ package coderd import ( "net/http" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // replicas returns the number of replicas that are active in Coder. diff --git a/enterprise/coderd/replicas_test.go b/enterprise/coderd/replicas_test.go index 7133919c67..1081ec81e3 100644 --- a/enterprise/coderd/replicas_test.go +++ b/enterprise/coderd/replicas_test.go @@ -10,12 +10,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestReplicas(t *testing.T) { diff --git a/enterprise/coderd/schedule/template.go b/enterprise/coderd/schedule/template.go index c0169fcfc6..19309454aa 100644 --- a/enterprise/coderd/schedule/template.go +++ b/enterprise/coderd/schedule/template.go @@ -10,12 +10,12 @@ import ( "go.opentelemetry.io/otel/trace" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - agpl "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + agpl "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" ) // EnterpriseTemplateScheduleStore provides an agpl.TemplateScheduleStore that diff --git a/enterprise/coderd/schedule/template_test.go b/enterprise/coderd/schedule/template_test.go index bc97014e0e..aff7e2364f 100644 --- a/enterprise/coderd/schedule/template_test.go +++ b/enterprise/coderd/schedule/template_test.go @@ -12,12 +12,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/database/dbtestutil" - agplschedule "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/enterprise/coderd/schedule" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + agplschedule "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/enterprise/coderd/schedule" + "github.com/coder/coder/v2/testutil" ) func TestTemplateUpdateBuildDeadlines(t *testing.T) { diff --git a/enterprise/coderd/schedule/user.go b/enterprise/coderd/schedule/user.go index 002965c8e7..bb054305a6 100644 --- a/enterprise/coderd/schedule/user.go +++ b/enterprise/coderd/schedule/user.go @@ -7,9 +7,9 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - agpl "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/database" + agpl "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/tracing" ) // enterpriseUserQuietHoursScheduleStore provides an diff --git a/enterprise/coderd/scim.go b/enterprise/coderd/scim.go index 801ca61349..b906010cc0 100644 --- a/enterprise/coderd/scim.go +++ b/enterprise/coderd/scim.go @@ -14,11 +14,11 @@ import ( "github.com/imulab/go-scim/pkg/v2/spec" "golang.org/x/xerrors" - agpl "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + agpl "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) func (api *API) scimEnabledMW(next http.Handler) http.Handler { diff --git a/enterprise/coderd/scim_test.go b/enterprise/coderd/scim_test.go index a74dc9bf34..3d12c3402a 100644 --- a/enterprise/coderd/scim_test.go +++ b/enterprise/coderd/scim_test.go @@ -11,12 +11,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/enterprise/coderd" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/enterprise/coderd" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) //nolint:revive diff --git a/enterprise/coderd/templates.go b/enterprise/coderd/templates.go index 5ba96712aa..4e7e0c669d 100644 --- a/enterprise/coderd/templates.go +++ b/enterprise/coderd/templates.go @@ -9,13 +9,13 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" ) // @Summary Get template available acl users/groups diff --git a/enterprise/coderd/templates_test.go b/enterprise/coderd/templates_test.go index 254d444eb1..4ac4a0e35d 100644 --- a/enterprise/coderd/templates_test.go +++ b/enterprise/coderd/templates_test.go @@ -10,16 +10,16 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestTemplates(t *testing.T) { diff --git a/enterprise/coderd/userauth.go b/enterprise/coderd/userauth.go index 9883326335..f504a6c032 100644 --- a/enterprise/coderd/userauth.go +++ b/enterprise/coderd/userauth.go @@ -7,10 +7,10 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/codersdk" ) // nolint: revive diff --git a/enterprise/coderd/userauth_test.go b/enterprise/coderd/userauth_test.go index 0b773871b9..d6f6db3cbe 100644 --- a/enterprise/coderd/userauth_test.go +++ b/enterprise/coderd/userauth_test.go @@ -13,16 +13,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) // nolint:bodyclose diff --git a/enterprise/coderd/users.go b/enterprise/coderd/users.go index 3f1e61fddb..4b576c3856 100644 --- a/enterprise/coderd/users.go +++ b/enterprise/coderd/users.go @@ -4,11 +4,11 @@ import ( "net/http" "time" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) func (api *API) restartRequirementEnabledMW(next http.Handler) http.Handler { diff --git a/enterprise/coderd/users_test.go b/enterprise/coderd/users_test.go index b908dfd960..bd8080a6b0 100644 --- a/enterprise/coderd/users_test.go +++ b/enterprise/coderd/users_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/testutil" ) func TestUserQuietHours(t *testing.T) { diff --git a/enterprise/coderd/workspaceagents.go b/enterprise/coderd/workspaceagents.go index 05590342ae..d14aa9580b 100644 --- a/enterprise/coderd/workspaceagents.go +++ b/enterprise/coderd/workspaceagents.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) func (api *API) shouldBlockNonBrowserConnections(rw http.ResponseWriter) bool { diff --git a/enterprise/coderd/workspaceagents_test.go b/enterprise/coderd/workspaceagents_test.go index 0395d71c3c..52e59858f5 100644 --- a/enterprise/coderd/workspaceagents_test.go +++ b/enterprise/coderd/workspaceagents_test.go @@ -11,15 +11,15 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) // App names for each app sharing level. diff --git a/enterprise/coderd/workspaceproxy.go b/enterprise/coderd/workspaceproxy.go index 87a4f88988..a5c14b93d7 100644 --- a/enterprise/coderd/workspaceproxy.go +++ b/enterprise/coderd/workspaceproxy.go @@ -15,21 +15,21 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - agpl "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/audit" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/telemetry" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/enterprise/coderd/proxyhealth" - "github.com/coder/coder/enterprise/replicasync" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/buildinfo" + agpl "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/audit" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/telemetry" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/enterprise/coderd/proxyhealth" + "github.com/coder/coder/v2/enterprise/replicasync" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" ) // forceWorkspaceProxyHealthUpdate forces an update of the proxy health. diff --git a/enterprise/coderd/workspaceproxy_test.go b/enterprise/coderd/workspaceproxy_test.go index 781ef3974e..745a1af2c1 100644 --- a/enterprise/coderd/workspaceproxy_test.go +++ b/enterprise/coderd/workspaceproxy_test.go @@ -16,19 +16,19 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestRegions(t *testing.T) { diff --git a/enterprise/coderd/workspaceproxycoordinate.go b/enterprise/coderd/workspaceproxycoordinate.go index 919098a3d8..03e3f132e7 100644 --- a/enterprise/coderd/workspaceproxycoordinate.go +++ b/enterprise/coderd/workspaceproxycoordinate.go @@ -6,11 +6,11 @@ import ( "github.com/google/uuid" "nhooyr.io/websocket" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/tailnet" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/tailnet" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" ) // @Summary Agent is legacy diff --git a/enterprise/coderd/workspaceproxycoordinator_test.go b/enterprise/coderd/workspaceproxycoordinator_test.go index 6a2df0d6cd..de72c288b2 100644 --- a/enterprise/coderd/workspaceproxycoordinator_test.go +++ b/enterprise/coderd/workspaceproxycoordinator_test.go @@ -13,14 +13,14 @@ import ( "tailscale.com/types/key" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" - agpl "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" + agpl "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) // workspaceProxyCoordinate and agentIsLegacy are both tested by wsproxy tests. diff --git a/enterprise/coderd/workspacequota.go b/enterprise/coderd/workspacequota.go index 28198ca9a3..bb25771f67 100644 --- a/enterprise/coderd/workspacequota.go +++ b/enterprise/coderd/workspacequota.go @@ -8,12 +8,12 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisionerd/proto" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisionerd/proto" ) type committer struct { diff --git a/enterprise/coderd/workspacequota_test.go b/enterprise/coderd/workspacequota_test.go index 112db37e75..a1e80da7c8 100644 --- a/enterprise/coderd/workspacequota_test.go +++ b/enterprise/coderd/workspacequota_test.go @@ -9,14 +9,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func verifyQuota(ctx context.Context, t *testing.T, client *codersdk.Client, consumed, total int) { diff --git a/enterprise/coderd/workspaces_test.go b/enterprise/coderd/workspaces_test.go index a5acba7618..c5a8aec6b8 100644 --- a/enterprise/coderd/workspaces_test.go +++ b/enterprise/coderd/workspaces_test.go @@ -12,17 +12,17 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/autobuild" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/database" - agplschedule "github.com/coder/coder/coderd/schedule" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/enterprise/coderd/schedule" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/autobuild" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/database" + agplschedule "github.com/coder/coder/v2/coderd/schedule" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/enterprise/coderd/schedule" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) // agplUserQuietHoursScheduleStore is passed to diff --git a/enterprise/derpmesh/derpmesh.go b/enterprise/derpmesh/derpmesh.go index c3f322e970..d5d7b17e09 100644 --- a/enterprise/derpmesh/derpmesh.go +++ b/enterprise/derpmesh/derpmesh.go @@ -12,7 +12,7 @@ import ( "tailscale.com/derp/derphttp" "tailscale.com/types/key" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/tailnet" "cdr.dev/slog" ) diff --git a/enterprise/derpmesh/derpmesh_test.go b/enterprise/derpmesh/derpmesh_test.go index a4a7373c9a..9f24ba7b1c 100644 --- a/enterprise/derpmesh/derpmesh_test.go +++ b/enterprise/derpmesh/derpmesh_test.go @@ -19,9 +19,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/enterprise/derpmesh" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/enterprise/derpmesh" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/enterprise/replicasync/replicasync.go b/enterprise/replicasync/replicasync.go index d0ca629d25..d756d991aa 100644 --- a/enterprise/replicasync/replicasync.go +++ b/enterprise/replicasync/replicasync.go @@ -17,10 +17,10 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" ) var PubsubEvent = "replica" diff --git a/enterprise/replicasync/replicasync_test.go b/enterprise/replicasync/replicasync_test.go index 1f33075fd4..7c4b26e385 100644 --- a/enterprise/replicasync/replicasync_test.go +++ b/enterprise/replicasync/replicasync_test.go @@ -15,12 +15,12 @@ import ( "go.uber.org/goleak" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/enterprise/replicasync" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/enterprise/replicasync" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/enterprise/tailnet/coordinator.go b/enterprise/tailnet/coordinator.go index fd0d05149c..d97bf2cce7 100644 --- a/enterprise/tailnet/coordinator.go +++ b/enterprise/tailnet/coordinator.go @@ -15,9 +15,9 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/codersdk" - agpl "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/codersdk" + agpl "github.com/coder/coder/v2/tailnet" ) // NewCoordinator creates a new high availability coordinator diff --git a/enterprise/tailnet/coordinator_test.go b/enterprise/tailnet/coordinator_test.go index a29bf2ad27..367b07c586 100644 --- a/enterprise/tailnet/coordinator_test.go +++ b/enterprise/tailnet/coordinator_test.go @@ -10,11 +10,11 @@ import ( "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/enterprise/tailnet" - agpl "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/enterprise/tailnet" + agpl "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func TestCoordinatorSingle(t *testing.T) { diff --git a/enterprise/tailnet/pgcoord.go b/enterprise/tailnet/pgcoord.go index c12494856c..5b91361ae2 100644 --- a/enterprise/tailnet/pgcoord.go +++ b/enterprise/tailnet/pgcoord.go @@ -18,12 +18,12 @@ import ( "nhooyr.io/websocket" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/coderd/rbac" - "github.com/coder/coder/coderd/util/slice" - agpl "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/coderd/rbac" + "github.com/coder/coder/v2/coderd/util/slice" + agpl "github.com/coder/coder/v2/tailnet" ) const ( diff --git a/enterprise/tailnet/pgcoord_internal_test.go b/enterprise/tailnet/pgcoord_internal_test.go index 86666f8105..95481e6af3 100644 --- a/enterprise/tailnet/pgcoord_internal_test.go +++ b/enterprise/tailnet/pgcoord_internal_test.go @@ -10,8 +10,8 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/testutil" ) // TestHeartbeat_Cleanup is internal so that we can overwrite the cleanup period and not wait an hour for the timed diff --git a/enterprise/tailnet/pgcoord_test.go b/enterprise/tailnet/pgcoord_test.go index ec598c6ba8..9112cd95a0 100644 --- a/enterprise/tailnet/pgcoord_test.go +++ b/enterprise/tailnet/pgcoord_test.go @@ -21,13 +21,13 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/dbmock" - "github.com/coder/coder/coderd/database/dbtestutil" - "github.com/coder/coder/coderd/database/pubsub" - "github.com/coder/coder/enterprise/tailnet" - agpl "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/dbmock" + "github.com/coder/coder/v2/coderd/database/dbtestutil" + "github.com/coder/coder/v2/coderd/database/pubsub" + "github.com/coder/coder/v2/enterprise/tailnet" + agpl "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/enterprise/tailnet/workspaceproxy.go b/enterprise/tailnet/workspaceproxy.go index 13e1f6663a..3011f100e6 100644 --- a/enterprise/tailnet/workspaceproxy.go +++ b/enterprise/tailnet/workspaceproxy.go @@ -9,8 +9,8 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" - agpl "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" + agpl "github.com/coder/coder/v2/tailnet" ) func ServeWorkspaceProxy(ctx context.Context, conn net.Conn, ma agpl.MultiAgentConn) error { diff --git a/enterprise/trialer/trialer.go b/enterprise/trialer/trialer.go index 69d395e5a3..16918797ac 100644 --- a/enterprise/trialer/trialer.go +++ b/enterprise/trialer/trialer.go @@ -13,8 +13,8 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/enterprise/coderd/license" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/enterprise/coderd/license" ) type request struct { diff --git a/enterprise/trialer/trialer_test.go b/enterprise/trialer/trialer_test.go index 1a6ce695b7..6a160e1ab5 100644 --- a/enterprise/trialer/trialer_test.go +++ b/enterprise/trialer/trialer_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/trialer" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/trialer" ) func TestTrialer(t *testing.T) { diff --git a/enterprise/wsproxy/appstatsreporter.go b/enterprise/wsproxy/appstatsreporter.go index ba3cb92df9..44ffe87e1a 100644 --- a/enterprise/wsproxy/appstatsreporter.go +++ b/enterprise/wsproxy/appstatsreporter.go @@ -3,8 +3,8 @@ package wsproxy import ( "context" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" ) var _ workspaceapps.StatsReporter = (*appStatsReporter)(nil) diff --git a/enterprise/wsproxy/tokenprovider.go b/enterprise/wsproxy/tokenprovider.go index 8efef6d979..38822a4e7a 100644 --- a/enterprise/wsproxy/tokenprovider.go +++ b/enterprise/wsproxy/tokenprovider.go @@ -7,8 +7,8 @@ import ( "cdr.dev/slog" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" ) var _ workspaceapps.SignedTokenProvider = (*TokenProvider)(nil) diff --git a/enterprise/wsproxy/wsproxy.go b/enterprise/wsproxy/wsproxy.go index 80414e40ce..1c561987bf 100644 --- a/enterprise/wsproxy/wsproxy.go +++ b/enterprise/wsproxy/wsproxy.go @@ -24,18 +24,18 @@ import ( "tailscale.com/types/key" "cdr.dev/slog" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/coderd/wsconncache" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/enterprise/derpmesh" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" - "github.com/coder/coder/site" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/coderd/wsconncache" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/enterprise/derpmesh" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" + "github.com/coder/coder/v2/site" + "github.com/coder/coder/v2/tailnet" ) type Options struct { diff --git a/enterprise/wsproxy/wsproxy_test.go b/enterprise/wsproxy/wsproxy_test.go index 64fe414fe5..57132f1a80 100644 --- a/enterprise/wsproxy/wsproxy_test.go +++ b/enterprise/wsproxy/wsproxy_test.go @@ -15,19 +15,19 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/coderd" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/healthcheck" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/workspaceapps/apptest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/enterprise/coderd/coderdenttest" - "github.com/coder/coder/enterprise/coderd/license" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/coderd" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/healthcheck" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/workspaceapps/apptest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/enterprise/coderd/coderdenttest" + "github.com/coder/coder/v2/enterprise/coderd/license" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/testutil" ) func TestDERPOnly(t *testing.T) { diff --git a/enterprise/wsproxy/wsproxysdk/wsproxysdk.go b/enterprise/wsproxy/wsproxysdk/wsproxysdk.go index d9b60d311e..bd2c800133 100644 --- a/enterprise/wsproxy/wsproxysdk/wsproxysdk.go +++ b/enterprise/wsproxy/wsproxysdk/wsproxysdk.go @@ -17,11 +17,11 @@ import ( "tailscale.com/util/singleflight" "cdr.dev/slog" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/tailnet" ) // Client is a HTTP client for a subset of Coder API routes that external diff --git a/enterprise/wsproxy/wsproxysdk/wsproxysdk_test.go b/enterprise/wsproxy/wsproxysdk/wsproxysdk_test.go index 207283a098..4be8d510fb 100644 --- a/enterprise/wsproxy/wsproxysdk/wsproxysdk_test.go +++ b/enterprise/wsproxy/wsproxysdk/wsproxysdk_test.go @@ -24,14 +24,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/coderd/workspaceapps" - "github.com/coder/coder/enterprise/tailnet" - "github.com/coder/coder/enterprise/wsproxy/wsproxysdk" - agpl "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/coderd/workspaceapps" + "github.com/coder/coder/v2/enterprise/tailnet" + "github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk" + agpl "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func Test_IssueSignedAppTokenHTML(t *testing.T) { diff --git a/examples/examples.go b/examples/examples.go index 5f8f37bb50..401fd2f76a 100644 --- a/examples/examples.go +++ b/examples/examples.go @@ -14,7 +14,7 @@ import ( "golang.org/x/sync/singleflight" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) var ( diff --git a/examples/examples_test.go b/examples/examples_test.go index e4a3c38a0e..76a32242a5 100644 --- a/examples/examples_test.go +++ b/examples/examples_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/examples" + "github.com/coder/coder/v2/examples" ) func TestTemplate(t *testing.T) { diff --git a/go.mod b/go.mod index 481649a867..8befdfb073 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/coder/coder +module github.com/coder/coder/v2 go 1.20 diff --git a/helm/coder/tests/chart_test.go b/helm/coder/tests/chart_test.go index 451e4407f9..8fe4dac615 100644 --- a/helm/coder/tests/chart_test.go +++ b/helm/coder/tests/chart_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/testutil" ) // These tests run `helm template` with the values file specified in each test diff --git a/helm/provisioner/tests/chart_test.go b/helm/provisioner/tests/chart_test.go index 95d516b3b0..6e683a3601 100644 --- a/helm/provisioner/tests/chart_test.go +++ b/helm/provisioner/tests/chart_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/testutil" ) // These tests run `helm template` with the values file specified in each test diff --git a/provisioner/appslug_test.go b/provisioner/appslug_test.go index 2fbd3f08ea..f13f220e9c 100644 --- a/provisioner/appslug_test.go +++ b/provisioner/appslug_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/provisioner" + "github.com/coder/coder/v2/provisioner" ) func TestValidAppSlugRegex(t *testing.T) { diff --git a/provisioner/echo/serve.go b/provisioner/echo/serve.go index 6df498a9af..50f6cc60b2 100644 --- a/provisioner/echo/serve.go +++ b/provisioner/echo/serve.go @@ -14,8 +14,8 @@ import ( "github.com/google/uuid" "github.com/spf13/afero" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) // ProvisionApplyWithAgent returns provision responses that will mock a fake diff --git a/provisioner/echo/serve_test.go b/provisioner/echo/serve_test.go index d240b08e7a..539fab0c57 100644 --- a/provisioner/echo/serve_test.go +++ b/provisioner/echo/serve_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestEcho(t *testing.T) { diff --git a/provisioner/terraform/diagnostic_test.go b/provisioner/terraform/diagnostic_test.go index 836ae85e49..54b5b6c5c3 100644 --- a/provisioner/terraform/diagnostic_test.go +++ b/provisioner/terraform/diagnostic_test.go @@ -8,7 +8,7 @@ import ( tfjson "github.com/hashicorp/terraform-json" "github.com/stretchr/testify/require" - "github.com/coder/coder/provisioner/terraform" + "github.com/coder/coder/v2/provisioner/terraform" ) type hasDiagnostic struct { diff --git a/provisioner/terraform/executor.go b/provisioner/terraform/executor.go index c595d39f80..73a6c899f6 100644 --- a/provisioner/terraform/executor.go +++ b/provisioner/terraform/executor.go @@ -20,8 +20,8 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/provisionersdk/proto" ) type executor struct { diff --git a/provisioner/terraform/executor_internal_test.go b/provisioner/terraform/executor_internal_test.go index 7c9d6d6f08..18f130f57b 100644 --- a/provisioner/terraform/executor_internal_test.go +++ b/provisioner/terraform/executor_internal_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisionersdk/proto" ) type mockLogger struct { diff --git a/provisioner/terraform/install_test.go b/provisioner/terraform/install_test.go index 67f7a5ddb1..700ae237b1 100644 --- a/provisioner/terraform/install_test.go +++ b/provisioner/terraform/install_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/provisioner/terraform" + "github.com/coder/coder/v2/provisioner/terraform" ) func TestInstall(t *testing.T) { diff --git a/provisioner/terraform/parse.go b/provisioner/terraform/parse.go index dc57cde28a..6c52dc1313 100644 --- a/provisioner/terraform/parse.go +++ b/provisioner/terraform/parse.go @@ -11,8 +11,8 @@ import ( "github.com/mitchellh/go-wordwrap" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/provisionersdk/proto" ) // Parse extracts Terraform variables from source-code. diff --git a/provisioner/terraform/parse_test.go b/provisioner/terraform/parse_test.go index e82bcba470..aa0e19984b 100644 --- a/provisioner/terraform/parse_test.go +++ b/provisioner/terraform/parse_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestParse(t *testing.T) { diff --git a/provisioner/terraform/provision.go b/provisioner/terraform/provision.go index 5d249a30b3..504984520d 100644 --- a/provisioner/terraform/provision.go +++ b/provisioner/terraform/provision.go @@ -10,9 +10,9 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" "github.com/coder/terraform-provider-coder/provider" ) diff --git a/provisioner/terraform/provision_test.go b/provisioner/terraform/provision_test.go index 28d88f568c..03fc70ed69 100644 --- a/provisioner/terraform/provision_test.go +++ b/provisioner/terraform/provision_test.go @@ -20,9 +20,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/provisioner/terraform" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisioner/terraform" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) type provisionerServeOptions struct { diff --git a/provisioner/terraform/resources.go b/provisioner/terraform/resources.go index c98e21fb21..96ef993ffc 100644 --- a/provisioner/terraform/resources.go +++ b/provisioner/terraform/resources.go @@ -11,11 +11,11 @@ import ( "github.com/coder/terraform-provider-coder/provider" - "github.com/coder/coder/coderd/util/slice" - stringutil "github.com/coder/coder/coderd/util/strings" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/provisioner" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/util/slice" + stringutil "github.com/coder/coder/v2/coderd/util/strings" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/provisioner" + "github.com/coder/coder/v2/provisionersdk/proto" ) type agentMetadata struct { diff --git a/provisioner/terraform/resources_test.go b/provisioner/terraform/resources_test.go index 5c85b829dd..f0057a22de 100644 --- a/provisioner/terraform/resources_test.go +++ b/provisioner/terraform/resources_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/require" protobuf "google.golang.org/protobuf/proto" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/provisioner/terraform" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/provisioner/terraform" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestConvertResources(t *testing.T) { diff --git a/provisioner/terraform/serve.go b/provisioner/terraform/serve.go index 23f880e6c0..7a25d27dca 100644 --- a/provisioner/terraform/serve.go +++ b/provisioner/terraform/serve.go @@ -12,8 +12,8 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/unhanger" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/coderd/unhanger" + "github.com/coder/coder/v2/provisionersdk" ) type ServeOptions struct { diff --git a/provisionerd/proto/provisionerd.pb.go b/provisionerd/proto/provisionerd.pb.go index 0a3d897150..7d949b9c9c 100644 --- a/provisionerd/proto/provisionerd.pb.go +++ b/provisionerd/proto/provisionerd.pb.go @@ -7,7 +7,7 @@ package proto import ( - proto "github.com/coder/coder/provisionersdk/proto" + proto "github.com/coder/coder/v2/provisionersdk/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -1571,11 +1571,11 @@ var file_provisionerd_proto_provisionerd_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x2b, - 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, - 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x2e, + 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, + 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/provisionerd/proto/provisionerd.proto b/provisionerd/proto/provisionerd.proto index 1c44ceef37..2a417f48a0 100644 --- a/provisionerd/proto/provisionerd.proto +++ b/provisionerd/proto/provisionerd.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/coder/coder/provisionerd/proto"; +option go_package = "github.com/coder/coder/v2/provisionerd/proto"; package provisionerd; diff --git a/provisionerd/provisionerd.go b/provisionerd/provisionerd.go index 79de066596..b66b834829 100644 --- a/provisionerd/provisionerd.go +++ b/provisionerd/provisionerd.go @@ -21,12 +21,12 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionerd/runner" - sdkproto "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionerd/runner" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" "github.com/coder/retry" ) diff --git a/provisionerd/provisionerd_test.go b/provisionerd/provisionerd_test.go index 32e70fb8e1..90b9923996 100644 --- a/provisionerd/provisionerd_test.go +++ b/provisionerd/provisionerd_test.go @@ -23,12 +23,12 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/provisionerd" - "github.com/coder/coder/provisionerd/proto" - "github.com/coder/coder/provisionerd/runner" - "github.com/coder/coder/provisionersdk" - sdkproto "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/provisionerd" + "github.com/coder/coder/v2/provisionerd/proto" + "github.com/coder/coder/v2/provisionerd/runner" + "github.com/coder/coder/v2/provisionersdk" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/provisionerd/runner/quota.go b/provisionerd/runner/quota.go index d773721713..26c7e0478e 100644 --- a/provisionerd/runner/quota.go +++ b/provisionerd/runner/quota.go @@ -1,6 +1,6 @@ package runner -import "github.com/coder/coder/provisionersdk/proto" +import "github.com/coder/coder/v2/provisionersdk/proto" func sumDailyCost(resources []*proto.Resource) int { var sum int diff --git a/provisionerd/runner/runner.go b/provisionerd/runner/runner.go index e074800b03..d6c3e6e47b 100644 --- a/provisionerd/runner/runner.go +++ b/provisionerd/runner/runner.go @@ -26,10 +26,10 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/provisionerd/proto" - sdkproto "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/provisionerd/proto" + sdkproto "github.com/coder/coder/v2/provisionersdk/proto" ) const ( diff --git a/provisionersdk/agent_test.go b/provisionersdk/agent_test.go index 305813719f..c10127b03d 100644 --- a/provisionersdk/agent_test.go +++ b/provisionersdk/agent_test.go @@ -20,7 +20,7 @@ import ( "github.com/go-chi/render" "github.com/stretchr/testify/require" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/provisionersdk" ) func TestAgentScript(t *testing.T) { diff --git a/provisionersdk/archive.go b/provisionersdk/archive.go index f54a0e7602..df6eabc3b0 100644 --- a/provisionersdk/archive.go +++ b/provisionersdk/archive.go @@ -9,7 +9,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/util/xio" + "github.com/coder/coder/v2/coderd/util/xio" ) const ( diff --git a/provisionersdk/archive_test.go b/provisionersdk/archive_test.go index 034d886bc7..abda7f6bb6 100644 --- a/provisionersdk/archive_test.go +++ b/provisionersdk/archive_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/provisionersdk" + "github.com/coder/coder/v2/provisionersdk" ) func TestTar(t *testing.T) { diff --git a/provisionersdk/proto/provisioner.pb.go b/provisionersdk/proto/provisioner.pb.go index 52f60cede1..c334ad13a5 100644 --- a/provisionersdk/proto/provisioner.pb.go +++ b/provisionersdk/proto/provisioner.pb.go @@ -2687,10 +2687,10 @@ var file_provisionersdk_proto_provisioner_proto_rawDesc = []byte{ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, - 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x64, 0x6b, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, + 0x64, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/provisionersdk/proto/provisioner.proto b/provisionersdk/proto/provisioner.proto index 2b581f9620..789735782f 100644 --- a/provisionersdk/proto/provisioner.proto +++ b/provisionersdk/proto/provisioner.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/coder/coder/provisionersdk/proto"; +option go_package = "github.com/coder/coder/v2/provisionersdk/proto"; package provisioner; diff --git a/provisionersdk/serve.go b/provisionersdk/serve.go index cb1647a54d..ea3364b605 100644 --- a/provisionersdk/serve.go +++ b/provisionersdk/serve.go @@ -13,8 +13,8 @@ import ( "storj.io/drpc/drpcmux" "storj.io/drpc/drpcserver" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/provisionersdk/proto" ) // ServeOptions are configurations to serve a provisioner. diff --git a/provisionersdk/serve_test.go b/provisionersdk/serve_test.go index 28c7f0dfe5..dedf891889 100644 --- a/provisionersdk/serve_test.go +++ b/provisionersdk/serve_test.go @@ -9,8 +9,8 @@ import ( "go.uber.org/goleak" "storj.io/drpc/drpcerr" - "github.com/coder/coder/provisionersdk" - "github.com/coder/coder/provisionersdk/proto" + "github.com/coder/coder/v2/provisionersdk" + "github.com/coder/coder/v2/provisionersdk/proto" ) func TestMain(m *testing.M) { diff --git a/provisionersdk/transport.go b/provisionersdk/transport.go index aa54efb0f3..19730d3bf0 100644 --- a/provisionersdk/transport.go +++ b/provisionersdk/transport.go @@ -10,7 +10,7 @@ import ( "storj.io/drpc" "storj.io/drpc/drpcconn" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) const ( diff --git a/pty/ptytest/ptytest.go b/pty/ptytest/ptytest.go index a319fbdc9c..544adc2429 100644 --- a/pty/ptytest/ptytest.go +++ b/pty/ptytest/ptytest.go @@ -18,9 +18,9 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/pty" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/testutil" ) func New(t *testing.T, opts ...pty.Option) *PTY { diff --git a/pty/ptytest/ptytest_test.go b/pty/ptytest/ptytest_test.go index 1935c7b516..5a2f11ba72 100644 --- a/pty/ptytest/ptytest_test.go +++ b/pty/ptytest/ptytest_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/pty/ptytest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/pty/ptytest" + "github.com/coder/coder/v2/testutil" ) func TestPtytest(t *testing.T) { diff --git a/pty/start_other_test.go b/pty/start_other_test.go index e7a2a3d69e..57fc9e4847 100644 --- a/pty/start_other_test.go +++ b/pty/start_other_test.go @@ -12,8 +12,8 @@ import ( "go.uber.org/goleak" "golang.org/x/xerrors" - "github.com/coder/coder/pty" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/pty/ptytest" ) func TestMain(m *testing.M) { diff --git a/pty/start_test.go b/pty/start_test.go index a3141e8268..4c077650e3 100644 --- a/pty/start_test.go +++ b/pty/start_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/pty" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/testutil" ) // Test_Start_copy tests that we can use io.Copy() on command output diff --git a/pty/start_windows_test.go b/pty/start_windows_test.go index b0f862ea15..280639cafe 100644 --- a/pty/start_windows_test.go +++ b/pty/start_windows_test.go @@ -8,8 +8,8 @@ import ( "os/exec" "testing" - "github.com/coder/coder/pty" - "github.com/coder/coder/pty/ptytest" + "github.com/coder/coder/v2/pty" + "github.com/coder/coder/v2/pty/ptytest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.uber.org/goleak" diff --git a/scaletest/agentconn/config.go b/scaletest/agentconn/config.go index 1d5de5cf7a..be40626248 100644 --- a/scaletest/agentconn/config.go +++ b/scaletest/agentconn/config.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) type ConnectionMode string diff --git a/scaletest/agentconn/config_test.go b/scaletest/agentconn/config_test.go index 29ccfbf973..5f5cdf7c53 100644 --- a/scaletest/agentconn/config_test.go +++ b/scaletest/agentconn/config_test.go @@ -7,8 +7,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/scaletest/agentconn" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/scaletest/agentconn" ) func Test_Config(t *testing.T) { diff --git a/scaletest/agentconn/run.go b/scaletest/agentconn/run.go index 6593e7c79b..cc942448ff 100644 --- a/scaletest/agentconn/run.go +++ b/scaletest/agentconn/run.go @@ -15,10 +15,10 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/loadtestutil" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/loadtestutil" ) const defaultRequestTimeout = 5 * time.Second diff --git a/scaletest/agentconn/run_test.go b/scaletest/agentconn/run_test.go index 537244af76..e9697ddede 100644 --- a/scaletest/agentconn/run_test.go +++ b/scaletest/agentconn/run_test.go @@ -14,15 +14,15 @@ import ( "github.com/stretchr/testify/require" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/testutil" ) func Test_Runner(t *testing.T) { diff --git a/scaletest/createworkspaces/config.go b/scaletest/createworkspaces/config.go index e1e92fb6e8..579d9b5288 100644 --- a/scaletest/createworkspaces/config.go +++ b/scaletest/createworkspaces/config.go @@ -4,10 +4,10 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/scaletest/workspacebuild" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/scaletest/workspacebuild" ) type UserConfig struct { diff --git a/scaletest/createworkspaces/config_test.go b/scaletest/createworkspaces/config_test.go index 298c5efab7..6a3d9e8104 100644 --- a/scaletest/createworkspaces/config_test.go +++ b/scaletest/createworkspaces/config_test.go @@ -7,12 +7,12 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/scaletest/createworkspaces" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/scaletest/workspacebuild" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/scaletest/createworkspaces" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/scaletest/workspacebuild" ) func Test_UserConfig(t *testing.T) { diff --git a/scaletest/createworkspaces/run.go b/scaletest/createworkspaces/run.go index dd54650410..d1c1713e3d 100644 --- a/scaletest/createworkspaces/run.go +++ b/scaletest/createworkspaces/run.go @@ -12,14 +12,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/loadtestutil" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/scaletest/workspacebuild" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/loadtestutil" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/scaletest/workspacebuild" ) type Runner struct { diff --git a/scaletest/createworkspaces/run_test.go b/scaletest/createworkspaces/run_test.go index ca71a6c041..b1d871cefd 100644 --- a/scaletest/createworkspaces/run_test.go +++ b/scaletest/createworkspaces/run_test.go @@ -13,19 +13,19 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/util/ptr" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/scaletest/agentconn" - "github.com/coder/coder/scaletest/createworkspaces" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/scaletest/workspacebuild" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/util/ptr" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/scaletest/agentconn" + "github.com/coder/coder/v2/scaletest/createworkspaces" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/scaletest/workspacebuild" + "github.com/coder/coder/v2/testutil" ) func Test_Runner(t *testing.T) { @@ -257,7 +257,7 @@ func Test_Runner(t *testing.T) { continue } - // And it should be either canceled or cancelling + // And it should be either canceled or canceling if build.Job.Status == codersdk.ProvisionerJobCanceled || build.Job.Status == codersdk.ProvisionerJobCanceling { return true } diff --git a/scaletest/dashboard/cache.go b/scaletest/dashboard/cache.go index 2ac31ff22a..3aa25cc465 100644 --- a/scaletest/dashboard/cache.go +++ b/scaletest/dashboard/cache.go @@ -5,7 +5,7 @@ import ( "math/rand" "sync" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) type cache struct { diff --git a/scaletest/dashboard/rolltable.go b/scaletest/dashboard/rolltable.go index e237cf6983..725c539131 100644 --- a/scaletest/dashboard/rolltable.go +++ b/scaletest/dashboard/rolltable.go @@ -5,7 +5,7 @@ import ( "github.com/google/uuid" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) // DefaultActions is a table of actions to perform. diff --git a/scaletest/dashboard/run.go b/scaletest/dashboard/run.go index 64c9041775..a6db21086d 100644 --- a/scaletest/dashboard/run.go +++ b/scaletest/dashboard/run.go @@ -10,8 +10,8 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/harness" ) type Runner struct { diff --git a/scaletest/dashboard/run_test.go b/scaletest/dashboard/run_test.go index d522ba1a6e..88c4aecb9b 100644 --- a/scaletest/dashboard/run_test.go +++ b/scaletest/dashboard/run_test.go @@ -12,9 +12,9 @@ import ( "golang.org/x/xerrors" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/scaletest/dashboard" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/scaletest/dashboard" + "github.com/coder/coder/v2/testutil" ) func Test_Run(t *testing.T) { diff --git a/scaletest/harness/harness.go b/scaletest/harness/harness.go index bd99f5cfb9..493e12dac5 100644 --- a/scaletest/harness/harness.go +++ b/scaletest/harness/harness.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/go-multierror" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/tracing" + "github.com/coder/coder/v2/coderd/tracing" ) // TestHarness runs a bunch of registered test runs using the given execution diff --git a/scaletest/harness/harness_test.go b/scaletest/harness/harness_test.go index 5b0a9ba556..11fb8d8bfe 100644 --- a/scaletest/harness/harness_test.go +++ b/scaletest/harness/harness_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/scaletest/harness" ) const testPanicMessage = "expected test panic" diff --git a/scaletest/harness/results.go b/scaletest/harness/results.go index 3bb1c02596..a8715e3465 100644 --- a/scaletest/harness/results.go +++ b/scaletest/harness/results.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) // Results is the full compiled results for a set of test runs. diff --git a/scaletest/harness/results_test.go b/scaletest/harness/results_test.go index e52d5f2838..d16bb694b7 100644 --- a/scaletest/harness/results_test.go +++ b/scaletest/harness/results_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/scaletest/harness" ) func Test_Results(t *testing.T) { diff --git a/scaletest/harness/run_test.go b/scaletest/harness/run_test.go index a8e0932b6e..e339849061 100644 --- a/scaletest/harness/run_test.go +++ b/scaletest/harness/run_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/scaletest/harness" ) // testFns implements Runnable and Cleanable. diff --git a/scaletest/harness/strategies_test.go b/scaletest/harness/strategies_test.go index 909a3a8f39..0858b5bf71 100644 --- a/scaletest/harness/strategies_test.go +++ b/scaletest/harness/strategies_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/xerrors" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/scaletest/harness" ) //nolint:paralleltest // this tests uses timings to determine if it's working diff --git a/scaletest/placebo/config.go b/scaletest/placebo/config.go index 501afb3961..7d142b1d6b 100644 --- a/scaletest/placebo/config.go +++ b/scaletest/placebo/config.go @@ -3,7 +3,7 @@ package placebo import ( "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpapi" ) type Config struct { diff --git a/scaletest/placebo/config_test.go b/scaletest/placebo/config_test.go index b814e25152..8e3a40000a 100644 --- a/scaletest/placebo/config_test.go +++ b/scaletest/placebo/config_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/scaletest/placebo" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/scaletest/placebo" ) func Test_Config(t *testing.T) { diff --git a/scaletest/placebo/run.go b/scaletest/placebo/run.go index 8692d8feb3..71cf4209fb 100644 --- a/scaletest/placebo/run.go +++ b/scaletest/placebo/run.go @@ -9,7 +9,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/scaletest/harness" + "github.com/coder/coder/v2/scaletest/harness" ) type Runner struct { diff --git a/scaletest/placebo/run_test.go b/scaletest/placebo/run_test.go index 3b6a0b382a..86aaf63484 100644 --- a/scaletest/placebo/run_test.go +++ b/scaletest/placebo/run_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/scaletest/placebo" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/scaletest/placebo" ) func Test_Runner(t *testing.T) { diff --git a/scaletest/reconnectingpty/config.go b/scaletest/reconnectingpty/config.go index 924a3e885e..c226bcc39c 100644 --- a/scaletest/reconnectingpty/config.go +++ b/scaletest/reconnectingpty/config.go @@ -6,8 +6,8 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" ) const ( diff --git a/scaletest/reconnectingpty/config_test.go b/scaletest/reconnectingpty/config_test.go index 0c5200bfd7..c6944e3268 100644 --- a/scaletest/reconnectingpty/config_test.go +++ b/scaletest/reconnectingpty/config_test.go @@ -7,9 +7,9 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/reconnectingpty" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/reconnectingpty" ) func Test_Config(t *testing.T) { diff --git a/scaletest/reconnectingpty/run.go b/scaletest/reconnectingpty/run.go index afded88eb0..d9b01c8a4d 100644 --- a/scaletest/reconnectingpty/run.go +++ b/scaletest/reconnectingpty/run.go @@ -13,10 +13,10 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/loadtestutil" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/loadtestutil" ) type Runner struct { diff --git a/scaletest/reconnectingpty/run_test.go b/scaletest/reconnectingpty/run_test.go index 382a371843..8b45f9e015 100644 --- a/scaletest/reconnectingpty/run_test.go +++ b/scaletest/reconnectingpty/run_test.go @@ -11,15 +11,15 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/scaletest/reconnectingpty" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/scaletest/reconnectingpty" + "github.com/coder/coder/v2/testutil" ) func Test_Runner(t *testing.T) { diff --git a/scaletest/workspacebuild/config.go b/scaletest/workspacebuild/config.go index e2c361d45b..9921101016 100644 --- a/scaletest/workspacebuild/config.go +++ b/scaletest/workspacebuild/config.go @@ -4,7 +4,7 @@ import ( "github.com/google/uuid" "golang.org/x/xerrors" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" ) type Config struct { diff --git a/scaletest/workspacebuild/config_test.go b/scaletest/workspacebuild/config_test.go index 4efbddfe1f..b9c427f104 100644 --- a/scaletest/workspacebuild/config_test.go +++ b/scaletest/workspacebuild/config_test.go @@ -6,8 +6,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/scaletest/workspacebuild" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/scaletest/workspacebuild" ) func Test_Config(t *testing.T) { diff --git a/scaletest/workspacebuild/run.go b/scaletest/workspacebuild/run.go index 997e58ff43..49b2ba6041 100644 --- a/scaletest/workspacebuild/run.go +++ b/scaletest/workspacebuild/run.go @@ -12,11 +12,11 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/loadtestutil" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/loadtestutil" ) type Runner struct { diff --git a/scaletest/workspacebuild/run_test.go b/scaletest/workspacebuild/run_test.go index 9a4fa9fdc4..2b50c95bda 100644 --- a/scaletest/workspacebuild/run_test.go +++ b/scaletest/workspacebuild/run_test.go @@ -13,14 +13,14 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/scaletest/workspacebuild" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/scaletest/workspacebuild" + "github.com/coder/coder/v2/testutil" ) func Test_Runner(t *testing.T) { diff --git a/scaletest/workspacetraffic/conn.go b/scaletest/workspacetraffic/conn.go index 4be38a02c6..2248ebc478 100644 --- a/scaletest/workspacetraffic/conn.go +++ b/scaletest/workspacetraffic/conn.go @@ -5,7 +5,7 @@ import ( "io" "sync" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/codersdk" "github.com/google/uuid" "github.com/hashicorp/go-multierror" diff --git a/scaletest/workspacetraffic/run.go b/scaletest/workspacetraffic/run.go index db263ac909..aea4345c47 100644 --- a/scaletest/workspacetraffic/run.go +++ b/scaletest/workspacetraffic/run.go @@ -13,11 +13,11 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/tracing" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/cryptorand" - "github.com/coder/coder/scaletest/harness" - "github.com/coder/coder/scaletest/loadtestutil" + "github.com/coder/coder/v2/coderd/tracing" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/cryptorand" + "github.com/coder/coder/v2/scaletest/harness" + "github.com/coder/coder/v2/scaletest/loadtestutil" ) type Runner struct { diff --git a/scaletest/workspacetraffic/run_test.go b/scaletest/workspacetraffic/run_test.go index acea009cea..4077a266aa 100644 --- a/scaletest/workspacetraffic/run_test.go +++ b/scaletest/workspacetraffic/run_test.go @@ -8,14 +8,14 @@ import ( "testing" "time" - "github.com/coder/coder/agent" - "github.com/coder/coder/coderd/coderdtest" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/codersdk/agentsdk" - "github.com/coder/coder/provisioner/echo" - "github.com/coder/coder/provisionersdk/proto" - "github.com/coder/coder/scaletest/workspacetraffic" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/agent" + "github.com/coder/coder/v2/coderd/coderdtest" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/codersdk/agentsdk" + "github.com/coder/coder/v2/provisioner/echo" + "github.com/coder/coder/v2/provisionersdk/proto" + "github.com/coder/coder/v2/scaletest/workspacetraffic" + "github.com/coder/coder/v2/testutil" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/scripts/apitypings/main.go b/scripts/apitypings/main.go index 3cf4b1fe79..af8d4fcdf2 100644 --- a/scripts/apitypings/main.go +++ b/scripts/apitypings/main.go @@ -22,7 +22,7 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/sloghuman" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/util/slice" ) var ( @@ -754,15 +754,15 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) { // These are external named types that we handle uniquely. switch n.String() { - case "github.com/coder/coder/cli/clibase.String": + case "github.com/coder/coder/v2/cli/clibase.String": return TypescriptType{ValueType: "string"}, nil - case "github.com/coder/coder/cli/clibase.Strings": + case "github.com/coder/coder/v2/cli/clibase.Strings": return TypescriptType{ValueType: "string[]"}, nil - case "github.com/coder/coder/cli/clibase.Int64": + case "github.com/coder/coder/v2/cli/clibase.Int64": return TypescriptType{ValueType: "number"}, nil - case "github.com/coder/coder/cli/clibase.Bool": + case "github.com/coder/coder/v2/cli/clibase.Bool": return TypescriptType{ValueType: "boolean"}, nil - case "github.com/coder/coder/cli/clibase.Duration": + case "github.com/coder/coder/v2/cli/clibase.Duration": return TypescriptType{ValueType: "number"}, nil case "net/url.URL": return TypescriptType{ValueType: "string"}, nil @@ -773,7 +773,7 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) { return TypescriptType{ValueType: "number"}, nil case "database/sql.NullTime": return TypescriptType{ValueType: "string", Optional: true}, nil - case "github.com/coder/coder/codersdk.NullTime": + case "github.com/coder/coder/v2/codersdk.NullTime": return TypescriptType{ValueType: "string", Optional: true}, nil case "github.com/google/uuid.NullUUID": return TypescriptType{ValueType: "string", Optional: true}, nil @@ -781,7 +781,7 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) { return TypescriptType{ValueType: "string"}, nil case "encoding/json.RawMessage": return TypescriptType{ValueType: "Record"}, nil - case "github.com/coder/coder/cli/clibase.URL": + case "github.com/coder/coder/v2/cli/clibase.URL": return TypescriptType{ValueType: "string"}, nil } diff --git a/scripts/auditdocgen/main.go b/scripts/auditdocgen/main.go index 7616580486..694fdfc532 100644 --- a/scripts/auditdocgen/main.go +++ b/scripts/auditdocgen/main.go @@ -11,7 +11,7 @@ import ( "golang.org/x/xerrors" - "github.com/coder/coder/enterprise/audit" + "github.com/coder/coder/v2/enterprise/audit" ) var ( diff --git a/scripts/build_go.sh b/scripts/build_go.sh index 9057387861..366abb08d9 100755 --- a/scripts/build_go.sh +++ b/scripts/build_go.sh @@ -96,7 +96,7 @@ fi ldflags=( -s -w - -X "'github.com/coder/coder/buildinfo.tag=$version'" + -X "'github.com/coder/coder/v2/buildinfo.tag=$version'" ) if [[ "$slim" == 0 ]]; then @@ -107,7 +107,7 @@ fi if [[ "$agpl" == 1 ]]; then # We don't use a tag to control AGPL because we don't want code to depend on # a flag to control AGPL vs. enterprise behavior. - ldflags+=(-X "'github.com/coder/coder/buildinfo.agpl=true'") + ldflags+=(-X "'github.com/coder/coder/v2/buildinfo.agpl=true'") fi build_args+=(-ldflags "${ldflags[*]}") diff --git a/scripts/check_enterprise_imports.sh b/scripts/check_enterprise_imports.sh index 321a48ab25..340453a62d 100755 --- a/scripts/check_enterprise_imports.sh +++ b/scripts/check_enterprise_imports.sh @@ -13,7 +13,7 @@ find . -regex ".*\.go" | grep -v "./enterprise" | grep -v ./scripts/auditdocgen/ --include="*.go" | grep -v ./scripts/clidocgen/ --include="*.go" | - xargs grep -n "github.com/coder/coder/enterprise" + xargs grep -n "github.com/coder/coder/v2/enterprise" # reverse the exit code because we want this script to fail if grep finds anything. status=$? set -e diff --git a/scripts/ci-report/main.go b/scripts/ci-report/main.go index e6a2cf736b..9637af813e 100644 --- a/scripts/ci-report/main.go +++ b/scripts/ci-report/main.go @@ -13,7 +13,7 @@ import ( "golang.org/x/exp/slices" "golang.org/x/xerrors" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/util/slice" ) func main() { diff --git a/scripts/ci-report/testdata/ci-report_gotests-timeout.json.sample.golden b/scripts/ci-report/testdata/ci-report_gotests-timeout.json.sample.golden index 5f7a8ce57e..e5df1c70df 100644 --- a/scripts/ci-report/testdata/ci-report_gotests-timeout.json.sample.golden +++ b/scripts/ci-report/testdata/ci-report_gotests-timeout.json.sample.golden @@ -1,38 +1,38 @@ { "packages": [ { - "name": "agent", + "name": "v2/agent", "time": 2.045, "fail": true, "num_failed": 1, "timeout": true, - "output": "panic: test timed out after 2s\nrunning tests:\n\tTestAgent_Session_TTY_Hushlogin (0s)\n\ngoroutine 411 [running]:\ntesting.(*M).startAlarm.func1()\n\t/usr/local/go/src/testing/testing.go:2241 +0x3b9\ncreated by time.goFunc\n\t/usr/local/go/src/time/sleep.go:176 +0x32\n\ngoroutine 1 [chan receive]:\ntesting.(*T).Run(0xc0004e1040, {0x16a5e92?, 0x535fa5?}, 0x17462c0)\n\t/usr/local/go/src/testing/testing.go:1630 +0x405\ntesting.runTests.func1(0x236db60?)\n\t/usr/local/go/src/testing/testing.go:2036 +0x45\ntesting.tRunner(0xc0004e1040, 0xc000589bb8)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ntesting.runTests(0xc000341a40?, {0x235c580, 0x21, 0x21}, {0x4182d0?, 0xc000589c78?, 0x236cb40?})\n\t/usr/local/go/src/testing/testing.go:2034 +0x489\ntesting.(*M).Run(0xc000341a40)\n\t/usr/local/go/src/testing/testing.go:1906 +0x63a\ngo.uber.org/goleak.VerifyTestMain({0x18f5540?, 0xc000341a40?}, {0x0, 0x0, 0x0})\n\t/home/mafredri/.local/go/pkg/mod/go.uber.org/goleak@v1.2.1/testmain.go:53 +0x6b\ngithub.com/coder/coder/agent_test.TestMain(...)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:53\nmain.main()\n\t_testmain.go:115 +0x1e5\n\ngoroutine 9 [chan receive]:\ntesting.(*T).Parallel(0xc0004e11e0)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/agent_test.TestAgent_SessionExec(0x0?)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:188 +0x33\ntesting.tRunner(0xc0004e11e0, 0x1746298)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 10 [chan receive]:\ntesting.(*T).Parallel(0xc0004e1520)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/agent_test.TestAgent_SessionTTYShell(0xc0004e1520)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:213 +0x36\ntesting.tRunner(0xc0004e1520, 0x17462a8)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 11 [chan receive]:\ntesting.(*T).Parallel(0xc0004e1860)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/agent_test.TestAgent_SessionTTYExitCode(0xc0004e1520?)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:244 +0x36\ntesting.tRunner(0xc0004e1860, 0x17462a0)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 408 [runnable]:\nmath/big.nat.montgomery({0xc004aa4500?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc000732820, ...}, ...)\n\t/usr/local/go/src/math/big/nat.go:216 +0x565\nmath/big.nat.expNNMontgomery({0xc004aa4280, 0xc0003c2e70?, 0x26}, {0xc004a9adc0?, 0x21?, 0x24?}, {0xc004a9ac80, 0x10, 0x24?}, {0xc000732820, ...})\n\t/usr/local/go/src/math/big/nat.go:1271 +0xb1c\nmath/big.nat.expNN({0xc004aa4280?, 0x14?, 0x22c2900?}, {0xc004a9adc0?, 0x10, 0x14}, {0xc004a9ac80?, 0x10, 0x14?}, {0xc000732820, ...}, ...)\n\t/usr/local/go/src/math/big/nat.go:996 +0x3b1\nmath/big.nat.probablyPrimeMillerRabin({0xc000732820?, 0x10, 0x14}, 0x15, 0x1)\n\t/usr/local/go/src/math/big/prime.go:106 +0x5b8\nmath/big.(*Int).ProbablyPrime(0xc0047208c0, 0x14)\n\t/usr/local/go/src/math/big/prime.go:78 +0x225\ncrypto/rand.Prime({0x18f04c0, 0xc00007e020}, 0x400)\n\t/usr/local/go/src/crypto/rand/util.go:55 +0x1e5\ncrypto/rsa.GenerateMultiPrimeKey({0x18f04c0, 0xc00007e020}, 0x2, 0x800)\n\t/usr/local/go/src/crypto/rsa/rsa.go:369 +0x745\ncrypto/rsa.GenerateKey(...)\n\t/usr/local/go/src/crypto/rsa/rsa.go:264\ngithub.com/coder/coder/agent.(*agent).init(0xc00485eea0, {0x1902c20?, 0xc00485d770})\n\t/home/mafredri/src/coder/coder/agent/agent.go:810 +0x6c\ngithub.com/coder/coder/agent.New({{0x190cbc0, 0xc0005b7710}, {0x166d829, 0x4}, {0x166d829, 0x4}, 0x17461d8, {0x1907c90, 0xc000278280}, 0x45d964b800, ...})\n\t/home/mafredri/src/coder/coder/agent/agent.go:134 +0x549\ngithub.com/coder/coder/agent_test.setupAgent(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0xc0005b8da0, 0x0, {0x0, ...}, ...}, ...)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:1568 +0x63e\ngithub.com/coder/coder/agent_test.setupSSHSession(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...})\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:1524 +0xc5\ngithub.com/coder/coder/agent_test.TestAgent_Session_TTY_Hushlogin(0xc00485eb60)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:330 +0x2fa\ntesting.tRunner(0xc00485eb60, 0x17462c0)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 409 [IO wait]:\ninternal/poll.runtime_pollWait(0x7f5230766628, 0x72)\n\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\ninternal/poll.(*pollDesc).wait(0xc00475bf80?, 0xc0005ec5e2?, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\ninternal/poll.(*pollDesc).waitRead(...)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\ninternal/poll.(*FD).Accept(0xc00475bf80)\n\t/usr/local/go/src/internal/poll/fd_unix.go:614 +0x2bd\nnet.(*netFD).accept(0xc00475bf80)\n\t/usr/local/go/src/net/fd_unix.go:172 +0x35\nnet.(*TCPListener).accept(0xc00486ecd8)\n\t/usr/local/go/src/net/tcpsock_posix.go:148 +0x25\nnet.(*TCPListener).Accept(0xc00486ecd8)\n\t/usr/local/go/src/net/tcpsock.go:297 +0x3d\ncrypto/tls.(*listener).Accept(0xc00486ef18)\n\t/usr/local/go/src/crypto/tls/tls.go:66 +0x2d\nnet/http.(*Server).Serve(0xc00029da40, {0x18fefa0, 0xc00486ef18})\n\t/usr/local/go/src/net/http/server.go:3059 +0x385\nnet/http/httptest.(*Server).goServe.func1()\n\t/usr/local/go/src/net/http/httptest/server.go:310 +0x6a\ncreated by net/http/httptest.(*Server).goServe\n\t/usr/local/go/src/net/http/httptest/server.go:308 +0x6a\n\ngoroutine 410 [IO wait]:\ninternal/poll.runtime_pollWait(0x7f5230765908, 0x72)\n\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\ninternal/poll.(*pollDesc).wait(0xc00043a300?, 0xc004880000?, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\ninternal/poll.(*pollDesc).waitRead(...)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\ninternal/poll.(*FD).ReadFromInet4(0xc00043a300, {0xc004880000, 0x10000, 0x10000}, 0x0?)\n\t/usr/local/go/src/internal/poll/fd_unix.go:250 +0x24f\nnet.(*netFD).readFromInet4(0xc00043a300, {0xc004880000?, 0x0?, 0x0?}, 0x0?)\n\t/usr/local/go/src/net/fd_posix.go:66 +0x29\nnet.(*UDPConn).readFrom(0x30?, {0xc004880000?, 0xc0005b7770?, 0x0?}, 0xc0005b7770)\n\t/usr/local/go/src/net/udpsock_posix.go:52 +0x1b8\nnet.(*UDPConn).readFromUDP(0xc000015a08, {0xc004880000?, 0x4102c7?, 0x10000?}, 0x13e45e0?)\n\t/usr/local/go/src/net/udpsock.go:149 +0x31\nnet.(*UDPConn).ReadFrom(0x59a?, {0xc004880000, 0x10000, 0x10000})\n\t/usr/local/go/src/net/udpsock.go:158 +0x50\ntailscale.com/net/stun/stuntest.runSTUN({0x1911ec0, 0xc00485eb60}, {0x1907f60, 0xc000015a08}, 0xc00481baa0, 0x17462c0?)\n\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:59 +0xc6\ncreated by tailscale.com/net/stun/stuntest.ServeWithPacketListener\n\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:47 +0x26a\n" + "output": "panic: test timed out after 2s\nrunning tests:\n\tTestAgent_Session_TTY_Hushlogin (0s)\n\ngoroutine 411 [running]:\ntesting.(*M).startAlarm.func1()\n\t/usr/local/go/src/testing/testing.go:2241 +0x3b9\ncreated by time.goFunc\n\t/usr/local/go/src/time/sleep.go:176 +0x32\n\ngoroutine 1 [chan receive]:\ntesting.(*T).Run(0xc0004e1040, {0x16a5e92?, 0x535fa5?}, 0x17462c0)\n\t/usr/local/go/src/testing/testing.go:1630 +0x405\ntesting.runTests.func1(0x236db60?)\n\t/usr/local/go/src/testing/testing.go:2036 +0x45\ntesting.tRunner(0xc0004e1040, 0xc000589bb8)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ntesting.runTests(0xc000341a40?, {0x235c580, 0x21, 0x21}, {0x4182d0?, 0xc000589c78?, 0x236cb40?})\n\t/usr/local/go/src/testing/testing.go:2034 +0x489\ntesting.(*M).Run(0xc000341a40)\n\t/usr/local/go/src/testing/testing.go:1906 +0x63a\ngo.uber.org/goleak.VerifyTestMain({0x18f5540?, 0xc000341a40?}, {0x0, 0x0, 0x0})\n\t/home/mafredri/.local/go/pkg/mod/go.uber.org/goleak@v1.2.1/testmain.go:53 +0x6b\ngithub.com/coder/coder/v2/agent_test.TestMain(...)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:53\nmain.main()\n\t_testmain.go:115 +0x1e5\n\ngoroutine 9 [chan receive]:\ntesting.(*T).Parallel(0xc0004e11e0)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/v2/agent_test.TestAgent_SessionExec(0x0?)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:188 +0x33\ntesting.tRunner(0xc0004e11e0, 0x1746298)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 10 [chan receive]:\ntesting.(*T).Parallel(0xc0004e1520)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/v2/agent_test.TestAgent_SessionTTYShell(0xc0004e1520)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:213 +0x36\ntesting.tRunner(0xc0004e1520, 0x17462a8)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 11 [chan receive]:\ntesting.(*T).Parallel(0xc0004e1860)\n\t/usr/local/go/src/testing/testing.go:1384 +0x225\ngithub.com/coder/coder/v2/agent_test.TestAgent_SessionTTYExitCode(0xc0004e1520?)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:244 +0x36\ntesting.tRunner(0xc0004e1860, 0x17462a0)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 408 [runnable]:\nmath/big.nat.montgomery({0xc004aa4500?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc000732820, ...}, ...)\n\t/usr/local/go/src/math/big/nat.go:216 +0x565\nmath/big.nat.expNNMontgomery({0xc004aa4280, 0xc0003c2e70?, 0x26}, {0xc004a9adc0?, 0x21?, 0x24?}, {0xc004a9ac80, 0x10, 0x24?}, {0xc000732820, ...})\n\t/usr/local/go/src/math/big/nat.go:1271 +0xb1c\nmath/big.nat.expNN({0xc004aa4280?, 0x14?, 0x22c2900?}, {0xc004a9adc0?, 0x10, 0x14}, {0xc004a9ac80?, 0x10, 0x14?}, {0xc000732820, ...}, ...)\n\t/usr/local/go/src/math/big/nat.go:996 +0x3b1\nmath/big.nat.probablyPrimeMillerRabin({0xc000732820?, 0x10, 0x14}, 0x15, 0x1)\n\t/usr/local/go/src/math/big/prime.go:106 +0x5b8\nmath/big.(*Int).ProbablyPrime(0xc0047208c0, 0x14)\n\t/usr/local/go/src/math/big/prime.go:78 +0x225\ncrypto/rand.Prime({0x18f04c0, 0xc00007e020}, 0x400)\n\t/usr/local/go/src/crypto/rand/util.go:55 +0x1e5\ncrypto/rsa.GenerateMultiPrimeKey({0x18f04c0, 0xc00007e020}, 0x2, 0x800)\n\t/usr/local/go/src/crypto/rsa/rsa.go:369 +0x745\ncrypto/rsa.GenerateKey(...)\n\t/usr/local/go/src/crypto/rsa/rsa.go:264\ngithub.com/coder/coder/v2/agent.(*agent).init(0xc00485eea0, {0x1902c20?, 0xc00485d770})\n\t/home/mafredri/src/coder/coder/agent/agent.go:810 +0x6c\ngithub.com/coder/coder/v2/agent.New({{0x190cbc0, 0xc0005b7710}, {0x166d829, 0x4}, {0x166d829, 0x4}, 0x17461d8, {0x1907c90, 0xc000278280}, 0x45d964b800, ...})\n\t/home/mafredri/src/coder/coder/agent/agent.go:134 +0x549\ngithub.com/coder/coder/v2/agent_test.setupAgent(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0xc0005b8da0, 0x0, {0x0, ...}, ...}, ...)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:1568 +0x63e\ngithub.com/coder/coder/v2/agent_test.setupSSHSession(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...})\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:1524 +0xc5\ngithub.com/coder/coder/v2/agent_test.TestAgent_Session_TTY_Hushlogin(0xc00485eb60)\n\t/home/mafredri/src/coder/coder/agent/agent_test.go:330 +0x2fa\ntesting.tRunner(0xc00485eb60, 0x17462c0)\n\t/usr/local/go/src/testing/testing.go:1576 +0x10b\ncreated by testing.(*T).Run\n\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n\ngoroutine 409 [IO wait]:\ninternal/poll.runtime_pollWait(0x7f5230766628, 0x72)\n\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\ninternal/poll.(*pollDesc).wait(0xc00475bf80?, 0xc0005ec5e2?, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\ninternal/poll.(*pollDesc).waitRead(...)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\ninternal/poll.(*FD).Accept(0xc00475bf80)\n\t/usr/local/go/src/internal/poll/fd_unix.go:614 +0x2bd\nnet.(*netFD).accept(0xc00475bf80)\n\t/usr/local/go/src/net/fd_unix.go:172 +0x35\nnet.(*TCPListener).accept(0xc00486ecd8)\n\t/usr/local/go/src/net/tcpsock_posix.go:148 +0x25\nnet.(*TCPListener).Accept(0xc00486ecd8)\n\t/usr/local/go/src/net/tcpsock.go:297 +0x3d\ncrypto/tls.(*listener).Accept(0xc00486ef18)\n\t/usr/local/go/src/crypto/tls/tls.go:66 +0x2d\nnet/http.(*Server).Serve(0xc00029da40, {0x18fefa0, 0xc00486ef18})\n\t/usr/local/go/src/net/http/server.go:3059 +0x385\nnet/http/httptest.(*Server).goServe.func1()\n\t/usr/local/go/src/net/http/httptest/server.go:310 +0x6a\ncreated by net/http/httptest.(*Server).goServe\n\t/usr/local/go/src/net/http/httptest/server.go:308 +0x6a\n\ngoroutine 410 [IO wait]:\ninternal/poll.runtime_pollWait(0x7f5230765908, 0x72)\n\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\ninternal/poll.(*pollDesc).wait(0xc00043a300?, 0xc004880000?, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\ninternal/poll.(*pollDesc).waitRead(...)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\ninternal/poll.(*FD).ReadFromInet4(0xc00043a300, {0xc004880000, 0x10000, 0x10000}, 0x0?)\n\t/usr/local/go/src/internal/poll/fd_unix.go:250 +0x24f\nnet.(*netFD).readFromInet4(0xc00043a300, {0xc004880000?, 0x0?, 0x0?}, 0x0?)\n\t/usr/local/go/src/net/fd_posix.go:66 +0x29\nnet.(*UDPConn).readFrom(0x30?, {0xc004880000?, 0xc0005b7770?, 0x0?}, 0xc0005b7770)\n\t/usr/local/go/src/net/udpsock_posix.go:52 +0x1b8\nnet.(*UDPConn).readFromUDP(0xc000015a08, {0xc004880000?, 0x4102c7?, 0x10000?}, 0x13e45e0?)\n\t/usr/local/go/src/net/udpsock.go:149 +0x31\nnet.(*UDPConn).ReadFrom(0x59a?, {0xc004880000, 0x10000, 0x10000})\n\t/usr/local/go/src/net/udpsock.go:158 +0x50\ntailscale.com/net/stun/stuntest.runSTUN({0x1911ec0, 0xc00485eb60}, {0x1907f60, 0xc000015a08}, 0xc00481baa0, 0x17462c0?)\n\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:59 +0xc6\ncreated by tailscale.com/net/stun/stuntest.ServeWithPacketListener\n\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:47 +0x26a\n" } ], "tests": [ { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionExec", "time": 0, "fail": true, "output": "=== RUN TestAgent_SessionExec\n=== PAUSE TestAgent_SessionExec\n" }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionTTYExitCode", "time": 0, "fail": true, "output": "=== RUN TestAgent_SessionTTYExitCode\n=== PAUSE TestAgent_SessionTTYExitCode\n" }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionTTYShell", "time": 0, "fail": true, "output": "=== RUN TestAgent_SessionTTYShell\n=== PAUSE TestAgent_SessionTTYShell\n" }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_Hushlogin", "time": 0, "fail": true, @@ -40,7 +40,7 @@ "output": "=== RUN TestAgent_Session_TTY_Hushlogin\n" }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_MOTD", "time": 1.84 } diff --git a/scripts/ci-report/testdata/ci-report_gotests.json.sample.golden b/scripts/ci-report/testdata/ci-report_gotests.json.sample.golden index e5c46507cc..d71b4be63d 100644 --- a/scripts/ci-report/testdata/ci-report_gotests.json.sample.golden +++ b/scripts/ci-report/testdata/ci-report_gotests.json.sample.golden @@ -1,372 +1,372 @@ { "packages": [ { - "name": "agent", + "name": "v2/agent", "time": 4.341, "fail": true, "num_failed": 1 }, { - "name": "cli", + "name": "v2/cli", "time": 26.514, "fail": true, "num_failed": 7 }, { - "name": "cli/cliui", + "name": "v2/cli/cliui", "time": 0.037 } ], "tests": [ { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionExec", "time": 0.86 }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionTTYExitCode", "time": 0.88 }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_SessionTTYShell", "time": 0.94 }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_FastCommandHasOutput", "time": 0.95, "fail": true, - "output": "=== RUN TestAgent_Session_TTY_FastCommandHasOutput\n=== PAUSE TestAgent_Session_TTY_FastCommandHasOutput\n=== CONT TestAgent_Session_TTY_FastCommandHasOutput\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:049e454260a62aa1\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 34688, \"DERPPort\": 43117, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:34ff526bdd502e84\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n t.go:81: 2023-03-29 13:37:27.358 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.363 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n t.go:81: 2023-03-29 13:37:27.368 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n t.go:81: 2023-03-29 13:37:27.373 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n t.go:81: 2023-03-29 13:37:27.386 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.441 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:62ms\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58992 (stun), 172.20.0.2:58992 (local)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.514434952 +0000 UTC m=+4.154042177 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:0}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.515008199 +0000 UTC m=+4.154615430 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.062405899}}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.516 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:65ms\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34848 (stun), 172.20.0.2:34848 (local)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525526859 +0000 UTC m=+4.165134074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:0}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525972278 +0000 UTC m=+4.165579492 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.065420657}}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n t.go:81: 2023-03-29 13:37:27.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:5ms\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:7ms\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.005291379}}}\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.00675754}}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.624 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.625 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5WitN] set to derp-1 (shared home)\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5EOvJ] set to derp-1 (shared home)\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 172.20.0.2:34848\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.627 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Created\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating endpoint\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Removing all allowedips\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Adding allowedip\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating persistent keepalive interval\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Starting\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Sending handshake initiation\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [5EOvJ] now active, reconfiguring WireGuard\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Created\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating endpoint\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Removing all allowedips\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Adding allowedip\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating persistent keepalive interval\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Starting\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Received handshake initiation\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Sending handshake response\n t.go:81: 2023-03-29 13:37:27.630 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.630405833 +0000 UTC m=+4.270013057 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c}] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Received handshake response\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5EOvJ] d:049e454260a62aa1 now using 172.20.0.2:58992\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.631481797 +0000 UTC m=+4.271089021 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.631305354 +0000 UTC NodeKey:nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f}] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.632 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 127.0.0.1:34848\n agent_test.go:400: \n \tError Trace:\t/home/mafredri/src/coder/coder/agent/agent_test.go:400\n \t \t\t\t\t/home/mafredri/src/coder/coder/agent/agent_test.go:401\n \tError: \t\"\" does not contain \"wazzup\"\n \tTest: \tTestAgent_Session_TTY_FastCommandHasOutput\n \tMessages: \tshould output greeting\n ptytest.go:83: 2023-03-29 13:37:27.648: cmd: closing tpty: close\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing pty\n ptytest.go:110: 2023-03-29 13:37:27.648: cmd: copy done: read /dev/ptmx: file already closed\n ptytest.go:111: 2023-03-29 13:37:27.648: cmd: closing out\n ptytest.go:113: 2023-03-29 13:37:27.648: cmd: closed out: read /dev/ptmx: file already closed\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed pty: \u003cnil\u003e\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logw\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logw: \u003cnil\u003e\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logr\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logr: \u003cnil\u003e\n ptytest.go:102: 2023-03-29 13:37:27.648: cmd: closed tpty\n t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Stopping\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n t.go:81: 2023-03-29 13:37:27.649 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d): sending disco ping to [5EOvJ] ...\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Stopping\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n stuntest.go:63: STUN server shutdown\n--- FAIL: TestAgent_Session_TTY_FastCommandHasOutput (0.95s)\n" + "output": "=== RUN TestAgent_Session_TTY_FastCommandHasOutput\n=== PAUSE TestAgent_Session_TTY_FastCommandHasOutput\n=== CONT TestAgent_Session_TTY_FastCommandHasOutput\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:049e454260a62aa1\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 34688, \"DERPPort\": 43117, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:34ff526bdd502e84\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n t.go:81: 2023-03-29 13:37:27.358 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.363 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n t.go:81: 2023-03-29 13:37:27.368 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n t.go:81: 2023-03-29 13:37:27.373 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n t.go:81: 2023-03-29 13:37:27.386 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.441 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:62ms\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58992 (stun), 172.20.0.2:58992 (local)\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.514434952 +0000 UTC m=+4.154042177 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:0}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.515008199 +0000 UTC m=+4.154615430 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.062405899}}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.516 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:65ms\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34848 (stun), 172.20.0.2:34848 (local)\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525526859 +0000 UTC m=+4.165134074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:0}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525972278 +0000 UTC m=+4.165579492 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.065420657}}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n t.go:81: 2023-03-29 13:37:27.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:5ms\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:7ms\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.005291379}}}\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.00675754}}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n t.go:81: 2023-03-29 13:37:27.624 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.625 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5WitN] set to derp-1 (shared home)\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5EOvJ] set to derp-1 (shared home)\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 172.20.0.2:34848\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n t.go:81: 2023-03-29 13:37:27.627 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Created\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating endpoint\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Removing all allowedips\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Adding allowedip\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating persistent keepalive interval\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Starting\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Sending handshake initiation\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [5EOvJ] now active, reconfiguring WireGuard\n t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Created\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating endpoint\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Removing all allowedips\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Adding allowedip\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating persistent keepalive interval\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Starting\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Received handshake initiation\n t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Sending handshake response\n t.go:81: 2023-03-29 13:37:27.630 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.630405833 +0000 UTC m=+4.270013057 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c}] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Received handshake response\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5EOvJ] d:049e454260a62aa1 now using 172.20.0.2:58992\n t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.631481797 +0000 UTC m=+4.271089021 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.631305354 +0000 UTC NodeKey:nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f}] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n t.go:81: 2023-03-29 13:37:27.632 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 127.0.0.1:34848\n agent_test.go:400: \n \tError Trace:\t/home/mafredri/src/coder/coder/agent/agent_test.go:400\n \t \t\t\t\t/home/mafredri/src/coder/coder/agent/agent_test.go:401\n \tError: \t\"\" does not contain \"wazzup\"\n \tTest: \tTestAgent_Session_TTY_FastCommandHasOutput\n \tMessages: \tshould output greeting\n ptytest.go:83: 2023-03-29 13:37:27.648: cmd: closing tpty: close\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing pty\n ptytest.go:110: 2023-03-29 13:37:27.648: cmd: copy done: read /dev/ptmx: file already closed\n ptytest.go:111: 2023-03-29 13:37:27.648: cmd: closing out\n ptytest.go:113: 2023-03-29 13:37:27.648: cmd: closed out: read /dev/ptmx: file already closed\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed pty: \u003cnil\u003e\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logw\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logw: \u003cnil\u003e\n ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logr\n ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logr: \u003cnil\u003e\n ptytest.go:102: 2023-03-29 13:37:27.648: cmd: closed tpty\n t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Stopping\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n t.go:81: 2023-03-29 13:37:27.649 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d): sending disco ping to [5EOvJ] ...\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Stopping\n t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n stuntest.go:63: STUN server shutdown\n--- FAIL: TestAgent_Session_TTY_FastCommandHasOutput (0.95s)\n" }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_HugeOutputIsNotLost", "time": 0, "skip": true }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_Hushlogin", "time": 1.69 }, { - "package": "agent", + "package": "v2/agent", "name": "TestAgent_Session_TTY_MOTD", "time": 1.62 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer", "time": 0.05, "fail": true, "output": "=== RUN TestServer\n--- FAIL: TestServer (0.05s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/BuiltinPostgres", "time": 5.17 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/BuiltinPostgresURL", "time": 0.11 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/BuiltinPostgresURLRaw", "time": 0.11 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/CanListenUnspecifiedv4", "time": 0.6 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/CanListenUnspecifiedv6", "time": 0.63 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/DeprecatedAddress", "time": 0.06 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/DeprecatedAddress/HTTP", "time": 1.01 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/DeprecatedAddress/TLS", "time": 0.5 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/GitHubOAuth", "time": 1.01 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/LocalAccessURL", "time": 0.71 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging/CreatesFile", "time": 0.69 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging/Human", "time": 0.7 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging/JSON", "time": 0.67 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging/Multiple", "time": 13.24 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Logging/Stackdriver", "time": 26.23 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/NoAddress", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/NoSchemeAccessURL", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/NoTLSAddress", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/NoWarningWithRemoteAccessURL", "time": 0.72 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Production", "time": 0, "fail": true, - "output": "=== RUN TestServer/Production\n server_test.go:109: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_test.go:109\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/cli_test.TestServer.func1\n \t \t \t/home/mafredri/src/coder/coder/cli/server_test.go:108\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServer/Production\n--- FAIL: TestServer/Production (0.00s)\n" + "output": "=== RUN TestServer/Production\n server_test.go:109: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_test.go:109\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/v2/cli_test.TestServer.func1\n \t \t \t/home/mafredri/src/coder/coder/cli/server_test.go:108\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServer/Production\n--- FAIL: TestServer/Production (0.00s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Prometheus", "time": 1 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/RateLimit", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/RateLimit/Changed", "time": 1.07 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/RateLimit/Default", "time": 0.85 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/RateLimit/Disabled", "time": 1.02 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/RemoteAccessURL", "time": 0.92 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Shutdown", "time": 0.05 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSAndHTTP", "time": 1.24 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSBadClientAuth", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSBadVersion", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSInvalid", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSInvalid/MismatchedCertAndKey", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSInvalid/MismatchedCount", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSInvalid/NoCert", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSInvalid/NoKey", "time": 0 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect", "time": 0.05 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect/NoHTTPListener", "time": 0.62 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect/NoRedirect", "time": 0.77 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect/NoRedirectWithWildcard", "time": 0.47 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect/NoTLSListener", "time": 0.59 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSRedirect/OK", "time": 1.06 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSValid", "time": 1.09 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TLSValidMultiple", "time": 1.23 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/Telemetry", "time": 1.09 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServer/TracerNoLeak", "time": 0.75 }, { - "package": "cli", + "package": "v2/cli", "name": "TestServerCreateAdminUser", "time": 0, "fail": true, "output": "=== RUN TestServerCreateAdminUser\n--- FAIL: TestServerCreateAdminUser (0.00s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServerCreateAdminUser/Env", "time": 0, "fail": true, - "output": "=== RUN TestServerCreateAdminUser/Env\n=== PAUSE TestServerCreateAdminUser/Env\n=== CONT TestServerCreateAdminUser/Env\n server_createadminuser_test.go:153: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:153\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func3\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:152\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Env\n--- FAIL: TestServerCreateAdminUser/Env (0.00s)\n" + "output": "=== RUN TestServerCreateAdminUser/Env\n=== PAUSE TestServerCreateAdminUser/Env\n=== CONT TestServerCreateAdminUser/Env\n server_createadminuser_test.go:153: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:153\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func3\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:152\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Env\n--- FAIL: TestServerCreateAdminUser/Env (0.00s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServerCreateAdminUser/OK", "time": 0, "fail": true, - "output": "=== RUN TestServerCreateAdminUser/OK\n=== PAUSE TestServerCreateAdminUser/OK\n=== CONT TestServerCreateAdminUser/OK\n server_createadminuser_test.go:87: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:87\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func2\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:86\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/OK\n--- FAIL: TestServerCreateAdminUser/OK (0.00s)\n" + "output": "=== RUN TestServerCreateAdminUser/OK\n=== PAUSE TestServerCreateAdminUser/OK\n=== CONT TestServerCreateAdminUser/OK\n server_createadminuser_test.go:87: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:87\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func2\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:86\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/OK\n--- FAIL: TestServerCreateAdminUser/OK (0.00s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServerCreateAdminUser/Stdin", "time": 0, "fail": true, - "output": "=== RUN TestServerCreateAdminUser/Stdin\n=== PAUSE TestServerCreateAdminUser/Stdin\n=== CONT TestServerCreateAdminUser/Stdin\n server_createadminuser_test.go:187: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:187\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func4\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:186\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Stdin\n--- FAIL: TestServerCreateAdminUser/Stdin (0.00s)\n" + "output": "=== RUN TestServerCreateAdminUser/Stdin\n=== PAUSE TestServerCreateAdminUser/Stdin\n=== CONT TestServerCreateAdminUser/Stdin\n server_createadminuser_test.go:187: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:187\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func4\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:186\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Stdin\n--- FAIL: TestServerCreateAdminUser/Stdin (0.00s)\n" }, { - "package": "cli", + "package": "v2/cli", "name": "TestServerCreateAdminUser/Validates", "time": 0, "fail": true, - "output": "=== RUN TestServerCreateAdminUser/Validates\n=== PAUSE TestServerCreateAdminUser/Validates\n=== CONT TestServerCreateAdminUser/Validates\n server_createadminuser_test.go:227: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:227\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func5\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:226\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Validates\n--- FAIL: TestServerCreateAdminUser/Validates (0.00s)\n" + "output": "=== RUN TestServerCreateAdminUser/Validates\n=== PAUSE TestServerCreateAdminUser/Validates\n=== CONT TestServerCreateAdminUser/Validates\n server_createadminuser_test.go:227: \n \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:227\n \tError: \tReceived unexpected error:\n \t \tcould not start resource:\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n \t \t \n \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func5\n \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:226\n \t \t testing.tRunner\n \t \t \t/usr/local/go/src/testing/testing.go:1576\n \t \t runtime.goexit\n \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n \tTest: \tTestServerCreateAdminUser/Validates\n--- FAIL: TestServerCreateAdminUser/Validates (0.00s)\n" }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestGitAuth", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/BadJSON", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/Confirm", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/JSON", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/MultilineJSON", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/Skip", "time": 0 }, { - "package": "cli/cliui", + "package": "v2/cli/cliui", "name": "TestPrompt/Success", "time": 0 } diff --git a/scripts/ci-report/testdata/gotests-timeout.json.sample b/scripts/ci-report/testdata/gotests-timeout.json.sample index 95e8096124..d13c9dc371 100644 --- a/scripts/ci-report/testdata/gotests-timeout.json.sample +++ b/scripts/ci-report/testdata/gotests-timeout.json.sample @@ -1,382 +1,382 @@ -{"Time":"2023-03-29T13:59:30.419140864Z","Action":"start","Package":"github.com/coder/coder/agent"} -{"Time":"2023-03-29T13:59:30.440137227Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec"} -{"Time":"2023-03-29T13:59:30.440225617Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"=== RUN TestAgent_SessionExec\n"} -{"Time":"2023-03-29T13:59:30.440252351Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"=== PAUSE TestAgent_SessionExec\n"} -{"Time":"2023-03-29T13:59:30.440264139Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec"} -{"Time":"2023-03-29T13:59:30.44029211Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell"} -{"Time":"2023-03-29T13:59:30.440307898Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"=== RUN TestAgent_SessionTTYShell\n"} -{"Time":"2023-03-29T13:59:30.440330948Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"=== PAUSE TestAgent_SessionTTYShell\n"} -{"Time":"2023-03-29T13:59:30.440340646Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell"} -{"Time":"2023-03-29T13:59:30.440351592Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode"} -{"Time":"2023-03-29T13:59:30.440360503Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== RUN TestAgent_SessionTTYExitCode\n"} -{"Time":"2023-03-29T13:59:30.440373253Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== PAUSE TestAgent_SessionTTYExitCode\n"} -{"Time":"2023-03-29T13:59:30.440389091Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode"} -{"Time":"2023-03-29T13:59:30.440406592Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD"} -{"Time":"2023-03-29T13:59:30.440417518Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"=== RUN TestAgent_Session_TTY_MOTD\n"} -{"Time":"2023-03-29T13:59:30.68885571Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:59:30.688902548Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:59:30.688936919Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:59:30.688952573Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:59:30.688978288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:59:30.689138933Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.689169612Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.689278237Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.689311927Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.689422904Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:59:30.689462324Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:59:30.689635363Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:1ad81e5115245108\n"} -{"Time":"2023-03-29T13:59:30.689668719Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:59:30.689762323Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:59:30.689824046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:59:30.689876569Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:59:30.689906309Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:59:30.689964141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.690006177Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:59:30.690054052Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.690100827Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:59:30.690166644Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:59:30.690333879Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:59:30.69067189Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.690716053Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:59:30.690874768Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:59:30.690920653Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:59:30.691236077Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 55526, \"DERPPort\": 33325, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_MOTD2921078/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:59:30.691266926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:59:30.691645376Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:59:30.691681569Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:59:30.691697309Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:59:30.691834882Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:59:30.691894444Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:59:30.691990111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.692037682Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.692117014Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.69217036Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:59:30.692223588Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:59:30.692269654Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:59:30.692436067Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:19af0f91ddbc2673\n"} -{"Time":"2023-03-29T13:59:30.692486153Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:59:30.692600638Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:59:30.692643998Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:59:30.692706838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:59:30.692750609Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:59:30.692799088Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.692845724Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:59:30.692892868Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.692943768Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:59:30.692994617Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:59:30.693130711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:59:30.693421144Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.693467015Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:59:30.693571784Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:59:30.693599238Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:59:30.693798141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.693596Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:59:30.699379222Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.699 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:59:30.702070777Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.701 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:59:30.702521256Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.702 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:59:30.705825444Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.690745Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:59:30.705969348Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:59:30.706047452Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:59:30.706117981Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:59:30.706167259Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:59:30.70672858Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:59:30.707193213Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.707 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:59:30.707713648Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.707 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:59:30.711327936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.693596Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:59:30.711351236Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.711484437Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\n"} -{"Time":"2023-03-29T13:59:30.711757724Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:59:30.711895059Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:59:30.712001206Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:59:30.712012787Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.712044402Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:59:30.712080254Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:59:30.712196969Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:59:30.712224408Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:59:30.712251498Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.713321731Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.690745Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:59:30.713345626Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.713438727Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:59:30.713542134Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:59:30.713653049Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:59:30.713794466Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:59:30.713831747Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:59:30.713873796Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:59:30.71391978Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:59:30.713976575Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:59:30.71401037Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:59:30.714059091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.714 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.762911536Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.762 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:2ms\n"} -{"Time":"2023-03-29T13:59:30.763010472Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.762 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:59:30.763604178Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.763 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:40423 (stun), 172.20.0.2:40423 (local)\n"} -{"Time":"2023-03-29T13:59:30.764002966Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.763 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.76358648 +0000 UTC m=+0.341643633 Peers:[] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.764243833Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:59:30.764368314Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:59:30.764813395Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51077 (stun), 172.20.0.2:51077 (local)\n"} -{"Time":"2023-03-29T13:59:30.765032404Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.764800711 +0000 UTC m=+0.342857833 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.766066288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.765 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:59:30.766178166Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:59:30.766459711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.766177132 +0000 UTC m=+0.344234254 Peers:[] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.766803271Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001851767}}}\n"} -{"Time":"2023-03-29T13:59:30.767031778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.763989Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.767745656Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.763989Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.767803589Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.7681905Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.769269486Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:59:30.769423531Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:59:30.76964587Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:59:30.76985461Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001439212}}}\n"} -{"Time":"2023-03-29T13:59:30.770057617Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.765018Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.770543054Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.765018Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.770576926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.770805865Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.771214469Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:59:30.771672983Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.77151Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001851767}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.77196162Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.77151Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001851767}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.772249568Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.772286673Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:59:30.772417712Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.772485685Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.772763889Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:59:30.772990304Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.772846286 +0000 UTC m=+0.350903351 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.77305219Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.772974Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001439212}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.773283722Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.772974Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001439212}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.773486653Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.773528203Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:59:30.773629095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.773696573Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.781245292Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.781 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:59:30.781769525Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.781 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:59:30.821304727Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.821 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:4ms\n"} -{"Time":"2023-03-29T13:59:30.823014931Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.822 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:59:30.842118323Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} -{"Time":"2023-03-29T13:59:30.842325421Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [tUb7c] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:59:30.842743216Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [s78jr] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:59:30.842835058Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [tUb7c] d:19af0f91ddbc2673 now using 172.20.0.2:51077\n"} -{"Time":"2023-03-29T13:59:30.842945452Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} -{"Time":"2023-03-29T13:59:30.843017307Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} -{"Time":"2023-03-29T13:59:30.843455848Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.843724102Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Created\n"} -{"Time":"2023-03-29T13:59:30.843761613Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:59:30.843824129Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:59:30.843866119Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:59:30.843967657Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:59:30.843978436Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Starting\n"} -{"Time":"2023-03-29T13:59:30.844024904Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:59:30.844361886Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [s78jr] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:59:30.84441357Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.844612597Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Created\n"} -{"Time":"2023-03-29T13:59:30.844652368Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:59:30.844692139Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:59:30.844742198Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:59:30.844790446Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:59:30.844839046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Starting\n"} -{"Time":"2023-03-29T13:59:30.845054904Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:59:30.845091562Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.845 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Sending handshake response\n"} -{"Time":"2023-03-29T13:59:30.845575288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.845 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.845411293 +0000 UTC m=+0.423468375 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359}] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.846073274Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Received handshake response\n"} -{"Time":"2023-03-29T13:59:30.846152172Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [s78jr] d:1ad81e5115245108 now using 172.20.0.2:40423\n"} -{"Time":"2023-03-29T13:59:30.846323335Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.846216257 +0000 UTC m=+0.424273332 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:59:30.846070709 +0000 UTC NodeKey:nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b}] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:59:30.846820565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [tUb7c] d:19af0f91ddbc2673 now using 127.0.0.1:51077\n"} -{"Time":"2023-03-29T13:59:30.872225511Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" agent_test.go:298: 2023-03-29 13:59:30.872: cmd: stdin: \"exit 0\\r\"\n"} -{"Time":"2023-03-29T13:59:30.872911108Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.872 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:59:30.873619058Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.873 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000537347}}}\n"} -{"Time":"2023-03-29T13:59:30.873901772Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.873 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.873622Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000537347}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.874560964Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.874 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:0s\n"} -{"Time":"2023-03-29T13:59:30.875202519Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.874 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.873622Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000537347}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} -{"Time":"2023-03-29T13:59:30.875651396Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.0001832}}}\n"} -{"Time":"2023-03-29T13:59:30.875737105Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.875642Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.0001832}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.876040926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.875642Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.0001832}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} -{"Time":"2023-03-29T13:59:30.876278217Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.8763513Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:59:30.87651371Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.876622881Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:59:30.876654135Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:59:30.876695566Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.876878296Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:59:30.876944605Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:59:30.877050858Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:59:30.877194231Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:59:30.877218701Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:59:30.877269173Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:59:30.877353148Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:121: 2023-03-29 13:59:30.877: cmd: \"exit 0\"\n"} -{"Time":"2023-03-29T13:59:30.877482007Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:59:30.877522599Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:59:31.212200169Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:31.212 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} -{"Time":"2023-03-29T13:59:31.711519305Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:31.711 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} -{"Time":"2023-03-29T13:59:32.2114982Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.211 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} -{"Time":"2023-03-29T13:59:32.277108499Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:83: 2023-03-29 13:59:32.277: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:59:32.277144197Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing pty\n"} -{"Time":"2023-03-29T13:59:32.277157734Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:110: 2023-03-29 13:59:32.277: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:59:32.277164721Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:111: 2023-03-29 13:59:32.277: cmd: closing out\n"} -{"Time":"2023-03-29T13:59:32.2771729Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:113: 2023-03-29 13:59:32.277: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:59:32.277306699Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:59:32.277350733Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing logw\n"} -{"Time":"2023-03-29T13:59:32.277374575Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:59:32.277394938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing logr\n"} -{"Time":"2023-03-29T13:59:32.277415507Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:59:32.277434743Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:102: 2023-03-29 13:59:32.277: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:59:32.277579778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:59:32.277611563Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} -{"Time":"2023-03-29T13:59:32.277638668Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:59:32.277693383Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:59:32.277732009Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:59:32.277947928Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:59:32.277973674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:59:32.278017899Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:59:32.278057207Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Stopping\n"} -{"Time":"2023-03-29T13:59:32.278134475Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:59:32.278241902Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:59:32.278284628Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:59:32.278337186Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:59:32.27868397Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} -{"Time":"2023-03-29T13:59:32.278698095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:59:32.278769886Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:59:32.278808018Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:59:32.278879735Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:59:32.278965521Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} -{"Time":"2023-03-29T13:59:32.279089367Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:59:32.279122263Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:59:32.279168949Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Stopping\n"} -{"Time":"2023-03-29T13:59:32.279275932Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:59:32.279696417Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:59:32.279872392Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"--- PASS: TestAgent_Session_TTY_MOTD (1.84s)\n"} -{"Time":"2023-03-29T13:59:32.279886475Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Elapsed":1.84} -{"Time":"2023-03-29T13:59:32.27989796Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin"} -{"Time":"2023-03-29T13:59:32.279902938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"=== RUN TestAgent_Session_TTY_Hushlogin\n"} -{"Time":"2023-03-29T13:59:32.457943185Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"panic: test timed out after 2s\n"} -{"Time":"2023-03-29T13:59:32.45796911Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"running tests:\n"} -{"Time":"2023-03-29T13:59:32.457977422Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\tTestAgent_Session_TTY_Hushlogin (0s)\n"} -{"Time":"2023-03-29T13:59:32.457982677Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.457987323Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 411 [running]:\n"} -{"Time":"2023-03-29T13:59:32.457991361Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*M).startAlarm.func1()\n"} -{"Time":"2023-03-29T13:59:32.457995716Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2241 +0x3b9\n"} -{"Time":"2023-03-29T13:59:32.4580029Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by time.goFunc\n"} -{"Time":"2023-03-29T13:59:32.458007365Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/time/sleep.go:176 +0x32\n"} -{"Time":"2023-03-29T13:59:32.45801203Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.45801607Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 1 [chan receive]:\n"} -{"Time":"2023-03-29T13:59:32.458020121Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Run(0xc0004e1040, {0x16a5e92?, 0x535fa5?}, 0x17462c0)\n"} -{"Time":"2023-03-29T13:59:32.458024235Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1630 +0x405\n"} -{"Time":"2023-03-29T13:59:32.458028654Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.runTests.func1(0x236db60?)\n"} -{"Time":"2023-03-29T13:59:32.45803313Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2036 +0x45\n"} -{"Time":"2023-03-29T13:59:32.458037122Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1040, 0xc000589bb8)\n"} -{"Time":"2023-03-29T13:59:32.458041079Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} -{"Time":"2023-03-29T13:59:32.45804729Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.runTests(0xc000341a40?, {0x235c580, 0x21, 0x21}, {0x4182d0?, 0xc000589c78?, 0x236cb40?})\n"} -{"Time":"2023-03-29T13:59:32.458051787Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2034 +0x489\n"} -{"Time":"2023-03-29T13:59:32.458055836Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*M).Run(0xc000341a40)\n"} -{"Time":"2023-03-29T13:59:32.458059703Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1906 +0x63a\n"} -{"Time":"2023-03-29T13:59:32.458066931Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"go.uber.org/goleak.VerifyTestMain({0x18f5540?, 0xc000341a40?}, {0x0, 0x0, 0x0})\n"} -{"Time":"2023-03-29T13:59:32.458071333Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/go.uber.org/goleak@v1.2.1/testmain.go:53 +0x6b\n"} -{"Time":"2023-03-29T13:59:32.458075235Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.TestMain(...)\n"} -{"Time":"2023-03-29T13:59:32.458081052Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:53\n"} -{"Time":"2023-03-29T13:59:32.45808506Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"main.main()\n"} -{"Time":"2023-03-29T13:59:32.458088903Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t_testmain.go:115 +0x1e5\n"} -{"Time":"2023-03-29T13:59:32.458094468Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.458102106Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 9 [chan receive]:\n"} -{"Time":"2023-03-29T13:59:32.45810621Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e11e0)\n"} -{"Time":"2023-03-29T13:59:32.45811231Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} -{"Time":"2023-03-29T13:59:32.458116485Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.TestAgent_SessionExec(0x0?)\n"} -{"Time":"2023-03-29T13:59:32.458120426Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:188 +0x33\n"} -{"Time":"2023-03-29T13:59:32.458126141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e11e0, 0x1746298)\n"} -{"Time":"2023-03-29T13:59:32.458130428Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} -{"Time":"2023-03-29T13:59:32.458135189Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} -{"Time":"2023-03-29T13:59:32.458144082Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} -{"Time":"2023-03-29T13:59:32.458150718Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.458156738Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 10 [chan receive]:\n"} -{"Time":"2023-03-29T13:59:32.458165162Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e1520)\n"} -{"Time":"2023-03-29T13:59:32.458171886Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} -{"Time":"2023-03-29T13:59:32.458178556Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.TestAgent_SessionTTYShell(0xc0004e1520)\n"} -{"Time":"2023-03-29T13:59:32.458182782Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:213 +0x36\n"} -{"Time":"2023-03-29T13:59:32.458188646Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1520, 0x17462a8)\n"} -{"Time":"2023-03-29T13:59:32.458192664Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} -{"Time":"2023-03-29T13:59:32.458196426Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} -{"Time":"2023-03-29T13:59:32.458200247Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} -{"Time":"2023-03-29T13:59:32.458204698Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.458208395Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 11 [chan receive]:\n"} -{"Time":"2023-03-29T13:59:32.458215562Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e1860)\n"} -{"Time":"2023-03-29T13:59:32.458219487Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} -{"Time":"2023-03-29T13:59:32.458223369Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.TestAgent_SessionTTYExitCode(0xc0004e1520?)\n"} -{"Time":"2023-03-29T13:59:32.458228633Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:244 +0x36\n"} -{"Time":"2023-03-29T13:59:32.458234377Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1860, 0x17462a0)\n"} -{"Time":"2023-03-29T13:59:32.458238258Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} -{"Time":"2023-03-29T13:59:32.458242179Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} -{"Time":"2023-03-29T13:59:32.458246008Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} -{"Time":"2023-03-29T13:59:32.458249635Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.45825516Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 408 [runnable]:\n"} -{"Time":"2023-03-29T13:59:32.458282465Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.montgomery({0xc004aa4500?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc000732820, ...}, ...)\n"} -{"Time":"2023-03-29T13:59:32.458291741Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:216 +0x565\n"} -{"Time":"2023-03-29T13:59:32.458330298Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.expNNMontgomery({0xc004aa4280, 0xc0003c2e70?, 0x26}, {0xc004a9adc0?, 0x21?, 0x24?}, {0xc004a9ac80, 0x10, 0x24?}, {0xc000732820, ...})\n"} -{"Time":"2023-03-29T13:59:32.458336764Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:1271 +0xb1c\n"} -{"Time":"2023-03-29T13:59:32.458384114Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.expNN({0xc004aa4280?, 0x14?, 0x22c2900?}, {0xc004a9adc0?, 0x10, 0x14}, {0xc004a9ac80?, 0x10, 0x14?}, {0xc000732820, ...}, ...)\n"} -{"Time":"2023-03-29T13:59:32.458393699Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:996 +0x3b1\n"} -{"Time":"2023-03-29T13:59:32.458403406Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.probablyPrimeMillerRabin({0xc000732820?, 0x10, 0x14}, 0x15, 0x1)\n"} -{"Time":"2023-03-29T13:59:32.458413208Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/prime.go:106 +0x5b8\n"} -{"Time":"2023-03-29T13:59:32.458420936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.(*Int).ProbablyPrime(0xc0047208c0, 0x14)\n"} -{"Time":"2023-03-29T13:59:32.458424869Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/prime.go:78 +0x225\n"} -{"Time":"2023-03-29T13:59:32.458430384Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rand.Prime({0x18f04c0, 0xc00007e020}, 0x400)\n"} -{"Time":"2023-03-29T13:59:32.45843919Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rand/util.go:55 +0x1e5\n"} -{"Time":"2023-03-29T13:59:32.45845888Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rsa.GenerateMultiPrimeKey({0x18f04c0, 0xc00007e020}, 0x2, 0x800)\n"} -{"Time":"2023-03-29T13:59:32.458469074Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rsa/rsa.go:369 +0x745\n"} -{"Time":"2023-03-29T13:59:32.458474102Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rsa.GenerateKey(...)\n"} -{"Time":"2023-03-29T13:59:32.45847985Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rsa/rsa.go:264\n"} -{"Time":"2023-03-29T13:59:32.458483767Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent.(*agent).init(0xc00485eea0, {0x1902c20?, 0xc00485d770})\n"} -{"Time":"2023-03-29T13:59:32.458489397Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent.go:810 +0x6c\n"} -{"Time":"2023-03-29T13:59:32.458522193Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent.New({{0x190cbc0, 0xc0005b7710}, {0x166d829, 0x4}, {0x166d829, 0x4}, 0x17461d8, {0x1907c90, 0xc000278280}, 0x45d964b800, ...})\n"} -{"Time":"2023-03-29T13:59:32.458531042Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent.go:134 +0x549\n"} -{"Time":"2023-03-29T13:59:32.458565925Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.setupAgent(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0xc0005b8da0, 0x0, {0x0, ...}, ...}, ...)\n"} -{"Time":"2023-03-29T13:59:32.458576217Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:1568 +0x63e\n"} -{"Time":"2023-03-29T13:59:32.458605192Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.setupSSHSession(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...})\n"} -{"Time":"2023-03-29T13:59:32.458614801Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:1524 +0xc5\n"} -{"Time":"2023-03-29T13:59:32.458625161Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/agent_test.TestAgent_Session_TTY_Hushlogin(0xc00485eb60)\n"} -{"Time":"2023-03-29T13:59:32.458630015Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:330 +0x2fa\n"} -{"Time":"2023-03-29T13:59:32.458635887Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc00485eb60, 0x17462c0)\n"} -{"Time":"2023-03-29T13:59:32.458639744Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} -{"Time":"2023-03-29T13:59:32.458643595Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} -{"Time":"2023-03-29T13:59:32.458649393Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} -{"Time":"2023-03-29T13:59:32.458653156Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.458657314Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 409 [IO wait]:\n"} -{"Time":"2023-03-29T13:59:32.458662763Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.runtime_pollWait(0x7f5230766628, 0x72)\n"} -{"Time":"2023-03-29T13:59:32.458668522Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\n"} -{"Time":"2023-03-29T13:59:32.45867585Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).wait(0xc00475bf80?, 0xc0005ec5e2?, 0x0)\n"} -{"Time":"2023-03-29T13:59:32.458681918Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\n"} -{"Time":"2023-03-29T13:59:32.458688307Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).waitRead(...)\n"} -{"Time":"2023-03-29T13:59:32.458708219Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\n"} -{"Time":"2023-03-29T13:59:32.458712856Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*FD).Accept(0xc00475bf80)\n"} -{"Time":"2023-03-29T13:59:32.458717364Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_unix.go:614 +0x2bd\n"} -{"Time":"2023-03-29T13:59:32.458721204Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*netFD).accept(0xc00475bf80)\n"} -{"Time":"2023-03-29T13:59:32.458727021Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/fd_unix.go:172 +0x35\n"} -{"Time":"2023-03-29T13:59:32.458731155Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*TCPListener).accept(0xc00486ecd8)\n"} -{"Time":"2023-03-29T13:59:32.458737943Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/tcpsock_posix.go:148 +0x25\n"} -{"Time":"2023-03-29T13:59:32.458744974Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*TCPListener).Accept(0xc00486ecd8)\n"} -{"Time":"2023-03-29T13:59:32.458752245Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/tcpsock.go:297 +0x3d\n"} -{"Time":"2023-03-29T13:59:32.458758039Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/tls.(*listener).Accept(0xc00486ef18)\n"} -{"Time":"2023-03-29T13:59:32.458763674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/tls/tls.go:66 +0x2d\n"} -{"Time":"2023-03-29T13:59:32.458770104Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net/http.(*Server).Serve(0xc00029da40, {0x18fefa0, 0xc00486ef18})\n"} -{"Time":"2023-03-29T13:59:32.458778229Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/server.go:3059 +0x385\n"} -{"Time":"2023-03-29T13:59:32.45878539Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net/http/httptest.(*Server).goServe.func1()\n"} -{"Time":"2023-03-29T13:59:32.458793477Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/httptest/server.go:310 +0x6a\n"} -{"Time":"2023-03-29T13:59:32.458797511Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by net/http/httptest.(*Server).goServe\n"} -{"Time":"2023-03-29T13:59:32.458801374Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/httptest/server.go:308 +0x6a\n"} -{"Time":"2023-03-29T13:59:32.458805093Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} -{"Time":"2023-03-29T13:59:32.458810472Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 410 [IO wait]:\n"} -{"Time":"2023-03-29T13:59:32.458814744Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.runtime_pollWait(0x7f5230765908, 0x72)\n"} -{"Time":"2023-03-29T13:59:32.458819038Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\n"} -{"Time":"2023-03-29T13:59:32.458824589Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).wait(0xc00043a300?, 0xc004880000?, 0x0)\n"} -{"Time":"2023-03-29T13:59:32.458830327Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\n"} -{"Time":"2023-03-29T13:59:32.458835463Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).waitRead(...)\n"} -{"Time":"2023-03-29T13:59:32.458840944Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\n"} -{"Time":"2023-03-29T13:59:32.458850643Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*FD).ReadFromInet4(0xc00043a300, {0xc004880000, 0x10000, 0x10000}, 0x0?)\n"} -{"Time":"2023-03-29T13:59:32.458859626Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_unix.go:250 +0x24f\n"} -{"Time":"2023-03-29T13:59:32.458872383Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*netFD).readFromInet4(0xc00043a300, {0xc004880000?, 0x0?, 0x0?}, 0x0?)\n"} -{"Time":"2023-03-29T13:59:32.458879419Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/fd_posix.go:66 +0x29\n"} -{"Time":"2023-03-29T13:59:32.458901901Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).readFrom(0x30?, {0xc004880000?, 0xc0005b7770?, 0x0?}, 0xc0005b7770)\n"} -{"Time":"2023-03-29T13:59:32.458908829Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock_posix.go:52 +0x1b8\n"} -{"Time":"2023-03-29T13:59:32.458922969Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).readFromUDP(0xc000015a08, {0xc004880000?, 0x4102c7?, 0x10000?}, 0x13e45e0?)\n"} -{"Time":"2023-03-29T13:59:32.458928418Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock.go:149 +0x31\n"} -{"Time":"2023-03-29T13:59:32.458942888Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).ReadFrom(0x59a?, {0xc004880000, 0x10000, 0x10000})\n"} -{"Time":"2023-03-29T13:59:32.45894865Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock.go:158 +0x50\n"} -{"Time":"2023-03-29T13:59:32.458972992Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"tailscale.com/net/stun/stuntest.runSTUN({0x1911ec0, 0xc00485eb60}, {0x1907f60, 0xc000015a08}, 0xc00481baa0, 0x17462c0?)\n"} -{"Time":"2023-03-29T13:59:32.458979652Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:59 +0xc6\n"} -{"Time":"2023-03-29T13:59:32.458988938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by tailscale.com/net/stun/stuntest.ServeWithPacketListener\n"} -{"Time":"2023-03-29T13:59:32.458996325Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:47 +0x26a\n"} -{"Time":"2023-03-29T13:59:32.464073774Z","Action":"output","Package":"github.com/coder/coder/agent","Output":"FAIL\tgithub.com/coder/coder/agent\t2.045s\n"} -{"Time":"2023-03-29T13:59:32.464093085Z","Action":"fail","Package":"github.com/coder/coder/agent","Elapsed":2.045} +{"Time":"2023-03-29T13:59:30.419140864Z","Action":"start","Package":"github.com/coder/coder/v2/agent"} +{"Time":"2023-03-29T13:59:30.440137227Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec"} +{"Time":"2023-03-29T13:59:30.440225617Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"=== RUN TestAgent_SessionExec\n"} +{"Time":"2023-03-29T13:59:30.440252351Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"=== PAUSE TestAgent_SessionExec\n"} +{"Time":"2023-03-29T13:59:30.440264139Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec"} +{"Time":"2023-03-29T13:59:30.44029211Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell"} +{"Time":"2023-03-29T13:59:30.440307898Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"=== RUN TestAgent_SessionTTYShell\n"} +{"Time":"2023-03-29T13:59:30.440330948Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"=== PAUSE TestAgent_SessionTTYShell\n"} +{"Time":"2023-03-29T13:59:30.440340646Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell"} +{"Time":"2023-03-29T13:59:30.440351592Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode"} +{"Time":"2023-03-29T13:59:30.440360503Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== RUN TestAgent_SessionTTYExitCode\n"} +{"Time":"2023-03-29T13:59:30.440373253Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== PAUSE TestAgent_SessionTTYExitCode\n"} +{"Time":"2023-03-29T13:59:30.440389091Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode"} +{"Time":"2023-03-29T13:59:30.440406592Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD"} +{"Time":"2023-03-29T13:59:30.440417518Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"=== RUN TestAgent_Session_TTY_MOTD\n"} +{"Time":"2023-03-29T13:59:30.68885571Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:59:30.688902548Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:59:30.688936919Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:59:30.688952573Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:59:30.688978288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.688 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:59:30.689138933Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.689169612Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.689278237Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.689311927Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.689422904Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:59:30.689462324Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:59:30.689635363Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:1ad81e5115245108\n"} +{"Time":"2023-03-29T13:59:30.689668719Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:59:30.689762323Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:59:30.689824046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:59:30.689876569Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:59:30.689906309Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:59:30.689964141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.690006177Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:59:30.690054052Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.689 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.690100827Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:59:30.690166644Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:59:30.690333879Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:59:30.69067189Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.690716053Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:59:30.690874768Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:59:30.690920653Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:59:30.691236077Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.690 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 55526, \"DERPPort\": 33325, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_MOTD2921078/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:59:30.691266926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:59:30.691645376Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:59:30.691681569Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:59:30.691697309Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:59:30.691834882Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:59:30.691894444Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:59:30.691990111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.692037682Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.691 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.692117014Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.69217036Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:59:30.692223588Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:59:30.692269654Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:59:30.692436067Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:19af0f91ddbc2673\n"} +{"Time":"2023-03-29T13:59:30.692486153Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:59:30.692600638Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:59:30.692643998Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:59:30.692706838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:59:30.692750609Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:59:30.692799088Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.692845724Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:59:30.692892868Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.692943768Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:59:30.692994617Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.692 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:59:30.693130711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:59:30.693421144Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.693467015Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:59:30.693571784Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:59:30.693599238Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:59:30.693798141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.693 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.693596Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:59:30.699379222Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.699 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:59:30.702070777Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.701 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:59:30.702521256Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.702 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:59:30.705825444Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.690745Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:59:30.705969348Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:59:30.706047452Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.705 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:59:30.706117981Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:59:30.706167259Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:59:30.70672858Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.706 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:59:30.707193213Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.707 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:59:30.707713648Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.707 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:59:30.711327936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.693596Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:59:30.711351236Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.711484437Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\n"} +{"Time":"2023-03-29T13:59:30.711757724Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:59:30.711895059Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:59:30.712001206Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:59:30.712012787Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.711 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.712044402Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:59:30.712080254Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:59:30.712196969Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:59:30.712224408Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:59:30.712251498Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.712 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.713321731Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.690745Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:59:30.713345626Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.713438727Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:59:30.713542134Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:59:30.713653049Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:59:30.713794466Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:59:30.713831747Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:59:30.713873796Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:59:30.71391978Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:59:30.713976575Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:59:30.71401037Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.713 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:59:30.714059091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.714 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.762911536Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.762 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:2ms\n"} +{"Time":"2023-03-29T13:59:30.763010472Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.762 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:59:30.763604178Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.763 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:40423 (stun), 172.20.0.2:40423 (local)\n"} +{"Time":"2023-03-29T13:59:30.764002966Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.763 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.76358648 +0000 UTC m=+0.341643633 Peers:[] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.764243833Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:59:30.764368314Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:59:30.764813395Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51077 (stun), 172.20.0.2:51077 (local)\n"} +{"Time":"2023-03-29T13:59:30.765032404Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.764 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.764800711 +0000 UTC m=+0.342857833 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.766066288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.765 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:59:30.766178166Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:59:30.766459711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.766177132 +0000 UTC m=+0.344234254 Peers:[] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.766803271Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001851767}}}\n"} +{"Time":"2023-03-29T13:59:30.767031778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.766 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.763989Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.767745656Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.763989Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.767803589Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.7681905Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.767 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.769269486Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:59:30.769423531Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:59:30.76964587Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:59:30.76985461Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001439212}}}\n"} +{"Time":"2023-03-29T13:59:30.770057617Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.769 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.765018Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.770543054Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.765018Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.770576926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.770805865Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.770 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.771214469Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:59:30.771672983Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.77151Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001851767}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.77196162Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.771 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.77151Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001851767}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.772249568Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.772286673Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:59:30.772417712Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.772485685Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.772763889Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:59:30.772990304Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.772846286 +0000 UTC m=+0.350903351 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.77305219Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.772 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.772974Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001439212}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.773283722Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.772974Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001439212}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.773486653Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.773528203Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:59:30.773629095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.773696573Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.773 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.781245292Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.781 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:59:30.781769525Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.781 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:59:30.821304727Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.821 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:4ms\n"} +{"Time":"2023-03-29T13:59:30.823014931Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.822 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:59:30.842118323Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} +{"Time":"2023-03-29T13:59:30.842325421Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [tUb7c] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:59:30.842743216Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [s78jr] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:59:30.842835058Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [tUb7c] d:19af0f91ddbc2673 now using 172.20.0.2:51077\n"} +{"Time":"2023-03-29T13:59:30.842945452Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} +{"Time":"2023-03-29T13:59:30.843017307Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.842 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [tUb7c] ...\n"} +{"Time":"2023-03-29T13:59:30.843455848Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.843724102Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Created\n"} +{"Time":"2023-03-29T13:59:30.843761613Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:59:30.843824129Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:59:30.843866119Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:59:30.843967657Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:59:30.843978436Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Starting\n"} +{"Time":"2023-03-29T13:59:30.844024904Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.843 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:59:30.844361886Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [s78jr] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:59:30.84441357Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.844612597Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Created\n"} +{"Time":"2023-03-29T13:59:30.844652368Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:59:30.844692139Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:59:30.844742198Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:59:30.844790446Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:59:30.844839046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Starting\n"} +{"Time":"2023-03-29T13:59:30.845054904Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.844 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:59:30.845091562Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.845 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Sending handshake response\n"} +{"Time":"2023-03-29T13:59:30.845575288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.845 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.845411293 +0000 UTC m=+0.423468375 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359}] LocalAddrs:[{Addr:127.0.0.1:51077 Type:stun} {Addr:172.20.0.2:51077 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.846073274Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Received handshake response\n"} +{"Time":"2023-03-29T13:59:30.846152172Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [s78jr] d:1ad81e5115245108 now using 172.20.0.2:40423\n"} +{"Time":"2023-03-29T13:59:30.846323335Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:59:30.846216257 +0000 UTC m=+0.424273332 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:59:30.846070709 +0000 UTC NodeKey:nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b}] LocalAddrs:[{Addr:127.0.0.1:40423 Type:stun} {Addr:172.20.0.2:40423 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:59:30.846820565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.846 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [tUb7c] d:19af0f91ddbc2673 now using 127.0.0.1:51077\n"} +{"Time":"2023-03-29T13:59:30.872225511Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" agent_test.go:298: 2023-03-29 13:59:30.872: cmd: stdin: \"exit 0\\r\"\n"} +{"Time":"2023-03-29T13:59:30.872911108Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.872 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51077 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:59:30.873619058Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.873 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000537347}}}\n"} +{"Time":"2023-03-29T13:59:30.873901772Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.873 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.873622Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000537347}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.874560964Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.874 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:40423 derp=1 derpdist=1v4:0s\n"} +{"Time":"2023-03-29T13:59:30.875202519Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.874 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 7662552826698250063, \"as_of\": \"2023-03-29T13:59:30.873622Z\", \"key\": \"nodekey:b546fb7238fa44f6eb2eca16d2f6bc594b0fddda4dec86205f89af643b13b37b\", \"disco\": \"discokey:19af0f91ddbc267311e247d5dcefbf2c73a92431c7efac1902ced549bc2fd71c\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000537347}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:51077\", \"172.20.0.2:51077\"]}}\n"} +{"Time":"2023-03-29T13:59:30.875651396Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.0001832}}}\n"} +{"Time":"2023-03-29T13:59:30.875737105Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.875642Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.0001832}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.876040926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.875 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3088035564585519863, \"as_of\": \"2023-03-29T13:59:30.875642Z\", \"key\": \"nodekey:b3bf23adfe2e0f25fd088299b4fedb0da1a938fc36d2c925b85332f4cf681359\", \"disco\": \"discokey:1ad81e511524510849b5f4d4d0c86a4ff083af67002259e793939de53bc1c421\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.0001832}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8/128\"], \"endpoints\": [\"127.0.0.1:40423\", \"172.20.0.2:40423\"]}}\n"} +{"Time":"2023-03-29T13:59:30.876278217Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.8763513Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:59:30.87651371Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.876622881Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:59:30.876654135Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:59:30.876695566Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.876878296Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:59:30.876944605Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:59:30.877050858Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.876 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:59:30.877194231Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:59:30.877218701Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:59:30.877269173Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:59:30.877353148Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:121: 2023-03-29 13:59:30.877: cmd: \"exit 0\"\n"} +{"Time":"2023-03-29T13:59:30.877482007Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:59:30.877522599Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:30.877 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:59:31.212200169Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:31.212 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} +{"Time":"2023-03-29T13:59:31.711519305Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:31.711 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} +{"Time":"2023-03-29T13:59:32.2114982Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.211 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} +{"Time":"2023-03-29T13:59:32.277108499Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:83: 2023-03-29 13:59:32.277: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:59:32.277144197Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing pty\n"} +{"Time":"2023-03-29T13:59:32.277157734Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:110: 2023-03-29 13:59:32.277: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:59:32.277164721Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:111: 2023-03-29 13:59:32.277: cmd: closing out\n"} +{"Time":"2023-03-29T13:59:32.2771729Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:113: 2023-03-29 13:59:32.277: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:59:32.277306699Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:59:32.277350733Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing logw\n"} +{"Time":"2023-03-29T13:59:32.277374575Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:59:32.277394938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:59:32.277: cmd: closing logr\n"} +{"Time":"2023-03-29T13:59:32.277415507Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:59:32.277: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:59:32.277434743Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:102: 2023-03-29 13:59:32.277: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:59:32.277579778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:59:32.277611563Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} +{"Time":"2023-03-29T13:59:32.277638668Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:59:32.277693383Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:59:32.277732009Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:59:32.277947928Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:59:32.277973674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:59:32.278017899Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.277 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:59:32.278057207Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [tUb7c] - Stopping\n"} +{"Time":"2023-03-29T13:59:32.278134475Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:59:32.278241902Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:59:32.278284628Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:59:32.278337186Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:59:32.27868397Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} +{"Time":"2023-03-29T13:59:32.278698095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:59:32.278769886Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:59:32.278808018Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:59:32.278879735Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:59:32.278965521Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.278 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4574:9c80:638b:7d8b:1bd8): sending disco ping to [s78jr] ...\n"} +{"Time":"2023-03-29T13:59:32.279089367Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:59:32.279122263Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:59:32.279168949Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [s78jr] - Stopping\n"} +{"Time":"2023-03-29T13:59:32.279275932Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:59:32.279 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:59:32.279696417Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:59:32.279872392Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"--- PASS: TestAgent_Session_TTY_MOTD (1.84s)\n"} +{"Time":"2023-03-29T13:59:32.279886475Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Elapsed":1.84} +{"Time":"2023-03-29T13:59:32.27989796Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin"} +{"Time":"2023-03-29T13:59:32.279902938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"=== RUN TestAgent_Session_TTY_Hushlogin\n"} +{"Time":"2023-03-29T13:59:32.457943185Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"panic: test timed out after 2s\n"} +{"Time":"2023-03-29T13:59:32.45796911Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"running tests:\n"} +{"Time":"2023-03-29T13:59:32.457977422Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\tTestAgent_Session_TTY_Hushlogin (0s)\n"} +{"Time":"2023-03-29T13:59:32.457982677Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.457987323Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 411 [running]:\n"} +{"Time":"2023-03-29T13:59:32.457991361Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*M).startAlarm.func1()\n"} +{"Time":"2023-03-29T13:59:32.457995716Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2241 +0x3b9\n"} +{"Time":"2023-03-29T13:59:32.4580029Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by time.goFunc\n"} +{"Time":"2023-03-29T13:59:32.458007365Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/time/sleep.go:176 +0x32\n"} +{"Time":"2023-03-29T13:59:32.45801203Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.45801607Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 1 [chan receive]:\n"} +{"Time":"2023-03-29T13:59:32.458020121Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Run(0xc0004e1040, {0x16a5e92?, 0x535fa5?}, 0x17462c0)\n"} +{"Time":"2023-03-29T13:59:32.458024235Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1630 +0x405\n"} +{"Time":"2023-03-29T13:59:32.458028654Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.runTests.func1(0x236db60?)\n"} +{"Time":"2023-03-29T13:59:32.45803313Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2036 +0x45\n"} +{"Time":"2023-03-29T13:59:32.458037122Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1040, 0xc000589bb8)\n"} +{"Time":"2023-03-29T13:59:32.458041079Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} +{"Time":"2023-03-29T13:59:32.45804729Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.runTests(0xc000341a40?, {0x235c580, 0x21, 0x21}, {0x4182d0?, 0xc000589c78?, 0x236cb40?})\n"} +{"Time":"2023-03-29T13:59:32.458051787Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:2034 +0x489\n"} +{"Time":"2023-03-29T13:59:32.458055836Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*M).Run(0xc000341a40)\n"} +{"Time":"2023-03-29T13:59:32.458059703Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1906 +0x63a\n"} +{"Time":"2023-03-29T13:59:32.458066931Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"go.uber.org/goleak.VerifyTestMain({0x18f5540?, 0xc000341a40?}, {0x0, 0x0, 0x0})\n"} +{"Time":"2023-03-29T13:59:32.458071333Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/go.uber.org/goleak@v1.2.1/testmain.go:53 +0x6b\n"} +{"Time":"2023-03-29T13:59:32.458075235Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.TestMain(...)\n"} +{"Time":"2023-03-29T13:59:32.458081052Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:53\n"} +{"Time":"2023-03-29T13:59:32.45808506Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"main.main()\n"} +{"Time":"2023-03-29T13:59:32.458088903Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t_testmain.go:115 +0x1e5\n"} +{"Time":"2023-03-29T13:59:32.458094468Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.458102106Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 9 [chan receive]:\n"} +{"Time":"2023-03-29T13:59:32.45810621Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e11e0)\n"} +{"Time":"2023-03-29T13:59:32.45811231Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} +{"Time":"2023-03-29T13:59:32.458116485Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.TestAgent_SessionExec(0x0?)\n"} +{"Time":"2023-03-29T13:59:32.458120426Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:188 +0x33\n"} +{"Time":"2023-03-29T13:59:32.458126141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e11e0, 0x1746298)\n"} +{"Time":"2023-03-29T13:59:32.458130428Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} +{"Time":"2023-03-29T13:59:32.458135189Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} +{"Time":"2023-03-29T13:59:32.458144082Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} +{"Time":"2023-03-29T13:59:32.458150718Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.458156738Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 10 [chan receive]:\n"} +{"Time":"2023-03-29T13:59:32.458165162Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e1520)\n"} +{"Time":"2023-03-29T13:59:32.458171886Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} +{"Time":"2023-03-29T13:59:32.458178556Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.TestAgent_SessionTTYShell(0xc0004e1520)\n"} +{"Time":"2023-03-29T13:59:32.458182782Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:213 +0x36\n"} +{"Time":"2023-03-29T13:59:32.458188646Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1520, 0x17462a8)\n"} +{"Time":"2023-03-29T13:59:32.458192664Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} +{"Time":"2023-03-29T13:59:32.458196426Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} +{"Time":"2023-03-29T13:59:32.458200247Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} +{"Time":"2023-03-29T13:59:32.458204698Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.458208395Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 11 [chan receive]:\n"} +{"Time":"2023-03-29T13:59:32.458215562Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.(*T).Parallel(0xc0004e1860)\n"} +{"Time":"2023-03-29T13:59:32.458219487Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1384 +0x225\n"} +{"Time":"2023-03-29T13:59:32.458223369Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.TestAgent_SessionTTYExitCode(0xc0004e1520?)\n"} +{"Time":"2023-03-29T13:59:32.458228633Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:244 +0x36\n"} +{"Time":"2023-03-29T13:59:32.458234377Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc0004e1860, 0x17462a0)\n"} +{"Time":"2023-03-29T13:59:32.458238258Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} +{"Time":"2023-03-29T13:59:32.458242179Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} +{"Time":"2023-03-29T13:59:32.458246008Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} +{"Time":"2023-03-29T13:59:32.458249635Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.45825516Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 408 [runnable]:\n"} +{"Time":"2023-03-29T13:59:32.458282465Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.montgomery({0xc004aa4500?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc004aa4280?, 0x10?, 0x26?}, {0xc000732820, ...}, ...)\n"} +{"Time":"2023-03-29T13:59:32.458291741Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:216 +0x565\n"} +{"Time":"2023-03-29T13:59:32.458330298Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.expNNMontgomery({0xc004aa4280, 0xc0003c2e70?, 0x26}, {0xc004a9adc0?, 0x21?, 0x24?}, {0xc004a9ac80, 0x10, 0x24?}, {0xc000732820, ...})\n"} +{"Time":"2023-03-29T13:59:32.458336764Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:1271 +0xb1c\n"} +{"Time":"2023-03-29T13:59:32.458384114Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.expNN({0xc004aa4280?, 0x14?, 0x22c2900?}, {0xc004a9adc0?, 0x10, 0x14}, {0xc004a9ac80?, 0x10, 0x14?}, {0xc000732820, ...}, ...)\n"} +{"Time":"2023-03-29T13:59:32.458393699Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/nat.go:996 +0x3b1\n"} +{"Time":"2023-03-29T13:59:32.458403406Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.nat.probablyPrimeMillerRabin({0xc000732820?, 0x10, 0x14}, 0x15, 0x1)\n"} +{"Time":"2023-03-29T13:59:32.458413208Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/prime.go:106 +0x5b8\n"} +{"Time":"2023-03-29T13:59:32.458420936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"math/big.(*Int).ProbablyPrime(0xc0047208c0, 0x14)\n"} +{"Time":"2023-03-29T13:59:32.458424869Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/math/big/prime.go:78 +0x225\n"} +{"Time":"2023-03-29T13:59:32.458430384Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rand.Prime({0x18f04c0, 0xc00007e020}, 0x400)\n"} +{"Time":"2023-03-29T13:59:32.45843919Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rand/util.go:55 +0x1e5\n"} +{"Time":"2023-03-29T13:59:32.45845888Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rsa.GenerateMultiPrimeKey({0x18f04c0, 0xc00007e020}, 0x2, 0x800)\n"} +{"Time":"2023-03-29T13:59:32.458469074Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rsa/rsa.go:369 +0x745\n"} +{"Time":"2023-03-29T13:59:32.458474102Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/rsa.GenerateKey(...)\n"} +{"Time":"2023-03-29T13:59:32.45847985Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/rsa/rsa.go:264\n"} +{"Time":"2023-03-29T13:59:32.458483767Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent.(*agent).init(0xc00485eea0, {0x1902c20?, 0xc00485d770})\n"} +{"Time":"2023-03-29T13:59:32.458489397Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent.go:810 +0x6c\n"} +{"Time":"2023-03-29T13:59:32.458522193Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent.New({{0x190cbc0, 0xc0005b7710}, {0x166d829, 0x4}, {0x166d829, 0x4}, 0x17461d8, {0x1907c90, 0xc000278280}, 0x45d964b800, ...})\n"} +{"Time":"2023-03-29T13:59:32.458531042Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent.go:134 +0x549\n"} +{"Time":"2023-03-29T13:59:32.458565925Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.setupAgent(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0xc0005b8da0, 0x0, {0x0, ...}, ...}, ...)\n"} +{"Time":"2023-03-29T13:59:32.458576217Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:1568 +0x63e\n"} +{"Time":"2023-03-29T13:59:32.458605192Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.setupSSHSession(0xc00485eb60, {0x0, {0x0, 0x0}, {0x0, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...})\n"} +{"Time":"2023-03-29T13:59:32.458614801Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:1524 +0xc5\n"} +{"Time":"2023-03-29T13:59:32.458625161Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"github.com/coder/coder/v2/agent_test.TestAgent_Session_TTY_Hushlogin(0xc00485eb60)\n"} +{"Time":"2023-03-29T13:59:32.458630015Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/src/coder/coder/agent/agent_test.go:330 +0x2fa\n"} +{"Time":"2023-03-29T13:59:32.458635887Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"testing.tRunner(0xc00485eb60, 0x17462c0)\n"} +{"Time":"2023-03-29T13:59:32.458639744Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1576 +0x10b\n"} +{"Time":"2023-03-29T13:59:32.458643595Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by testing.(*T).Run\n"} +{"Time":"2023-03-29T13:59:32.458649393Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/testing/testing.go:1629 +0x3ea\n"} +{"Time":"2023-03-29T13:59:32.458653156Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.458657314Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 409 [IO wait]:\n"} +{"Time":"2023-03-29T13:59:32.458662763Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.runtime_pollWait(0x7f5230766628, 0x72)\n"} +{"Time":"2023-03-29T13:59:32.458668522Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\n"} +{"Time":"2023-03-29T13:59:32.45867585Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).wait(0xc00475bf80?, 0xc0005ec5e2?, 0x0)\n"} +{"Time":"2023-03-29T13:59:32.458681918Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\n"} +{"Time":"2023-03-29T13:59:32.458688307Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).waitRead(...)\n"} +{"Time":"2023-03-29T13:59:32.458708219Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\n"} +{"Time":"2023-03-29T13:59:32.458712856Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*FD).Accept(0xc00475bf80)\n"} +{"Time":"2023-03-29T13:59:32.458717364Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_unix.go:614 +0x2bd\n"} +{"Time":"2023-03-29T13:59:32.458721204Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*netFD).accept(0xc00475bf80)\n"} +{"Time":"2023-03-29T13:59:32.458727021Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/fd_unix.go:172 +0x35\n"} +{"Time":"2023-03-29T13:59:32.458731155Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*TCPListener).accept(0xc00486ecd8)\n"} +{"Time":"2023-03-29T13:59:32.458737943Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/tcpsock_posix.go:148 +0x25\n"} +{"Time":"2023-03-29T13:59:32.458744974Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*TCPListener).Accept(0xc00486ecd8)\n"} +{"Time":"2023-03-29T13:59:32.458752245Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/tcpsock.go:297 +0x3d\n"} +{"Time":"2023-03-29T13:59:32.458758039Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"crypto/tls.(*listener).Accept(0xc00486ef18)\n"} +{"Time":"2023-03-29T13:59:32.458763674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/crypto/tls/tls.go:66 +0x2d\n"} +{"Time":"2023-03-29T13:59:32.458770104Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net/http.(*Server).Serve(0xc00029da40, {0x18fefa0, 0xc00486ef18})\n"} +{"Time":"2023-03-29T13:59:32.458778229Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/server.go:3059 +0x385\n"} +{"Time":"2023-03-29T13:59:32.45878539Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net/http/httptest.(*Server).goServe.func1()\n"} +{"Time":"2023-03-29T13:59:32.458793477Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/httptest/server.go:310 +0x6a\n"} +{"Time":"2023-03-29T13:59:32.458797511Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by net/http/httptest.(*Server).goServe\n"} +{"Time":"2023-03-29T13:59:32.458801374Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/http/httptest/server.go:308 +0x6a\n"} +{"Time":"2023-03-29T13:59:32.458805093Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\n"} +{"Time":"2023-03-29T13:59:32.458810472Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"goroutine 410 [IO wait]:\n"} +{"Time":"2023-03-29T13:59:32.458814744Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.runtime_pollWait(0x7f5230765908, 0x72)\n"} +{"Time":"2023-03-29T13:59:32.458819038Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/runtime/netpoll.go:306 +0x89\n"} +{"Time":"2023-03-29T13:59:32.458824589Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).wait(0xc00043a300?, 0xc004880000?, 0x0)\n"} +{"Time":"2023-03-29T13:59:32.458830327Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32\n"} +{"Time":"2023-03-29T13:59:32.458835463Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*pollDesc).waitRead(...)\n"} +{"Time":"2023-03-29T13:59:32.458840944Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:89\n"} +{"Time":"2023-03-29T13:59:32.458850643Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"internal/poll.(*FD).ReadFromInet4(0xc00043a300, {0xc004880000, 0x10000, 0x10000}, 0x0?)\n"} +{"Time":"2023-03-29T13:59:32.458859626Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/internal/poll/fd_unix.go:250 +0x24f\n"} +{"Time":"2023-03-29T13:59:32.458872383Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*netFD).readFromInet4(0xc00043a300, {0xc004880000?, 0x0?, 0x0?}, 0x0?)\n"} +{"Time":"2023-03-29T13:59:32.458879419Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/fd_posix.go:66 +0x29\n"} +{"Time":"2023-03-29T13:59:32.458901901Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).readFrom(0x30?, {0xc004880000?, 0xc0005b7770?, 0x0?}, 0xc0005b7770)\n"} +{"Time":"2023-03-29T13:59:32.458908829Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock_posix.go:52 +0x1b8\n"} +{"Time":"2023-03-29T13:59:32.458922969Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).readFromUDP(0xc000015a08, {0xc004880000?, 0x4102c7?, 0x10000?}, 0x13e45e0?)\n"} +{"Time":"2023-03-29T13:59:32.458928418Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock.go:149 +0x31\n"} +{"Time":"2023-03-29T13:59:32.458942888Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"net.(*UDPConn).ReadFrom(0x59a?, {0xc004880000, 0x10000, 0x10000})\n"} +{"Time":"2023-03-29T13:59:32.45894865Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/usr/local/go/src/net/udpsock.go:158 +0x50\n"} +{"Time":"2023-03-29T13:59:32.458972992Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"tailscale.com/net/stun/stuntest.runSTUN({0x1911ec0, 0xc00485eb60}, {0x1907f60, 0xc000015a08}, 0xc00481baa0, 0x17462c0?)\n"} +{"Time":"2023-03-29T13:59:32.458979652Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:59 +0xc6\n"} +{"Time":"2023-03-29T13:59:32.458988938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"created by tailscale.com/net/stun/stuntest.ServeWithPacketListener\n"} +{"Time":"2023-03-29T13:59:32.458996325Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"\t/home/mafredri/.local/go/pkg/mod/github.com/coder/tailscale@v1.1.1-0.20230327205451-058fa46a3723/net/stun/stuntest/stuntest.go:47 +0x26a\n"} +{"Time":"2023-03-29T13:59:32.464073774Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Output":"FAIL\tgithub.com/coder/coder/v2/agent\t2.045s\n"} +{"Time":"2023-03-29T13:59:32.464093085Z","Action":"fail","Package":"github.com/coder/coder/v2/agent","Elapsed":2.045} diff --git a/scripts/ci-report/testdata/gotests.json.sample b/scripts/ci-report/testdata/gotests.json.sample index 245facbfb8..63f19aa1c7 100644 --- a/scripts/ci-report/testdata/gotests.json.sample +++ b/scripts/ci-report/testdata/gotests.json.sample @@ -1,2922 +1,2922 @@ -{"Time":"2023-03-29T13:37:23.355347397Z","Action":"start","Package":"github.com/coder/coder/agent"} -{"Time":"2023-03-29T13:37:23.381695238Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec"} -{"Time":"2023-03-29T13:37:23.38177342Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"=== RUN TestAgent_SessionExec\n"} -{"Time":"2023-03-29T13:37:23.381791755Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"=== PAUSE TestAgent_SessionExec\n"} -{"Time":"2023-03-29T13:37:23.381805147Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec"} -{"Time":"2023-03-29T13:37:23.381827974Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell"} -{"Time":"2023-03-29T13:37:23.381835977Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"=== RUN TestAgent_SessionTTYShell\n"} -{"Time":"2023-03-29T13:37:23.381850018Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"=== PAUSE TestAgent_SessionTTYShell\n"} -{"Time":"2023-03-29T13:37:23.381857444Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell"} -{"Time":"2023-03-29T13:37:23.381868815Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode"} -{"Time":"2023-03-29T13:37:23.381876252Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== RUN TestAgent_SessionTTYExitCode\n"} -{"Time":"2023-03-29T13:37:23.381885049Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== PAUSE TestAgent_SessionTTYExitCode\n"} -{"Time":"2023-03-29T13:37:23.381896641Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode"} -{"Time":"2023-03-29T13:37:23.381914968Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD"} -{"Time":"2023-03-29T13:37:23.381930694Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"=== RUN TestAgent_Session_TTY_MOTD\n"} -{"Time":"2023-03-29T13:37:23.459584829Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:23.45962803Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:23.459637144Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:23.459709589Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:23.459766441Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:23.459896565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.45992711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.460013936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.460047337Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.460151722Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:23.460178571Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:23.460311639Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:07ad6d06cd8b5ff2\n"} -{"Time":"2023-03-29T13:37:23.460356174Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:23.460498076Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:23.460536017Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:23.460590141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:23.460620636Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:23.460662149Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.460698929Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:23.460733289Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.460789117Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:23.460856196Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:23.460986291Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:23.46141926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.461506329Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:23.461608094Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:23.46164708Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:23.461997997Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48127, \"DERPPort\": 44839, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_MOTD1157664819/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:23.462041275Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:23.462418253Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:23.46244618Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:23.462489007Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:23.462532307Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:23.462584588Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:23.462669431Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.462699701Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.46277017Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.46280348Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:23.46284612Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:23.462890638Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:23.463014252Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:8ac4cc2c7460d56f\n"} -{"Time":"2023-03-29T13:37:23.463040585Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:23.463167416Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:23.463228086Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:23.463265117Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:23.463307341Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:23.463345133Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.463380146Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:23.463437865Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.463474458Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:23.463513083Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:23.463651429Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:23.463966826Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.463992242Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:23.464079789Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:23.464100162Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:23.464314405Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.464098Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:23.470436775Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.470 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:23.473142737Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.473 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:23.473905461Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.473 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:23.476012898Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.475 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.4615Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:23.476335333Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:23.476591432Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:23.476641778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:23.476677236Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:23.47834267Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.478 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:23.478773607Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.478 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:23.479289417Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.479 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:23.484191154Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.4615Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:23.484233027Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.484426557Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:23.484790305Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:23.484946523Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:23.485230922Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:23.485304276Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.485410816Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:23.485506941Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:23.485747079Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:23.485857203Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:23.485942868Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.486354495Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.464098Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:23.486406209Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.486580191Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\n"} -{"Time":"2023-03-29T13:37:23.486731116Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:23.486910536Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:23.48721125Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:23.487271545Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:23.487362767Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:23.487505661Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:23.48757023Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:23.487687075Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:23.487755179Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.533579774Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:5ms\n"} -{"Time":"2023-03-29T13:37:23.533653394Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:23.534036522Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:41471 (stun), 172.20.0.2:41471 (local)\n"} -{"Time":"2023-03-29T13:37:23.534320881Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.534012576 +0000 UTC m=+0.173619877 Peers:[] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.534485142Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:4ms\n"} -{"Time":"2023-03-29T13:37:23.534597588Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:23.534893919Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34768 (stun), 172.20.0.2:34768 (local)\n"} -{"Time":"2023-03-29T13:37:23.535056614Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.534872863 +0000 UTC m=+0.174480149 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.535722359Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:23.535840193Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:23.53601927Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.535826298 +0000 UTC m=+0.175433549 Peers:[] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.536284979Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.004534057}}}\n"} -{"Time":"2023-03-29T13:37:23.536457311Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.5343Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.536888005Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.5343Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.536962253Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.537168204Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.537809136Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:23.537959175Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:23.538044116Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:23.538236588Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.538043332 +0000 UTC m=+0.177650587 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.538347057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.004475683}}}\n"} -{"Time":"2023-03-29T13:37:23.538488084Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.535038Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.538915728Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.535038Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.538974002Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.539154829Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.539540545Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:23.539953465Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.539778Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004534057}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.540373922Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.539778Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004534057}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.540832675Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.540920246Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:23.541080962Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.541207198Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.541540025Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:23.541869031Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.541715Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004475683}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.542270097Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.541715Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004475683}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.542592821Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.542683196Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:23.542867815Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.542985478Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.55226213Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.552 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:23.552392256Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.552 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:23.589932282Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.589 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:4ms\n"} -{"Time":"2023-03-29T13:37:23.591567427Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.591 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:2ms\n"} -{"Time":"2023-03-29T13:37:23.598751818Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.598 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} -{"Time":"2023-03-29T13:37:23.598954894Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.598 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [0x7ra] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:23.599390218Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [vT+Vd] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:23.599516651Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0x7ra] d:8ac4cc2c7460d56f now using 172.20.0.2:34768\n"} -{"Time":"2023-03-29T13:37:23.599643596Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} -{"Time":"2023-03-29T13:37:23.59972717Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} -{"Time":"2023-03-29T13:37:23.600132385Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.600385251Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:23.600423261Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:23.600476824Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:23.600511572Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:23.600547765Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:23.600583838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Starting\n"} -{"Time":"2023-03-29T13:37:23.600650591Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:23.601044073Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [vT+Vd] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:23.601107152Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.601327676Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:23.601369666Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:23.601396751Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:23.601460927Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:23.601495639Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:23.601526183Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Starting\n"} -{"Time":"2023-03-29T13:37:23.60175503Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:23.601775856Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:23.602280259Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.602127595 +0000 UTC m=+0.241734812 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33}] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.602838109Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:23.602930775Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [vT+Vd] d:07ad6d06cd8b5ff2 now using 172.20.0.2:41471\n"} -{"Time":"2023-03-29T13:37:23.603134941Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.602980142 +0000 UTC m=+0.242587360 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:23.602828352 +0000 UTC NodeKey:nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229}] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:23.603731388Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.603 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0x7ra] d:8ac4cc2c7460d56f now using 127.0.0.1:34768\n"} -{"Time":"2023-03-29T13:37:23.629049874Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" agent_test.go:298: 2023-03-29 13:37:23.628: cmd: stdin: \"exit 0\\r\"\n"} -{"Time":"2023-03-29T13:37:23.62993175Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:121: 2023-03-29 13:37:23.629: cmd: \"exit 0\"\n"} -{"Time":"2023-03-29T13:37:23.643243989Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.643 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:37:23.643873931Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.643 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:0s\n"} -{"Time":"2023-03-29T13:37:23.644469186Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.644 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000547591}}}\n"} -{"Time":"2023-03-29T13:37:23.644715274Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.644 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.644461Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000547591}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.645390624Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.644461Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000547591}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} -{"Time":"2023-03-29T13:37:23.64591875Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.646145075Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:23.646400847Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.646730863Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:23.646828936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:37:23.646930238Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.647158211Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000154898}}}\n"} -{"Time":"2023-03-29T13:37:23.647376125Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.647 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.64715Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000154898}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.648003118Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.647 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.64715Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000154898}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} -{"Time":"2023-03-29T13:37:23.648256172Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:23.648338509Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:23.648471344Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:23.648609559Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:23.648638814Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:37:23.648721589Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:23.648895668Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:37:23.648944175Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:37:23.983374775Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.983 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} -{"Time":"2023-03-29T13:37:24.483975661Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.483 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} -{"Time":"2023-03-29T13:37:24.983883086Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.983 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} -{"Time":"2023-03-29T13:37:24.997284571Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:83: 2023-03-29 13:37:24.997: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:24.997307935Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:24.997315409Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:110: 2023-03-29 13:37:24.997: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:24.997319364Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:111: 2023-03-29 13:37:24.997: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:24.997323588Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:113: 2023-03-29 13:37:24.997: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:24.997370156Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:24.997381692Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:24.997385034Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:24.997389205Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:24.997393753Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:24.997405892Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:102: 2023-03-29 13:37:24.997: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:24.997490606Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:24.997723999Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 1s\n"} -{"Time":"2023-03-29T13:37:24.997783062Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:24.997839084Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:24.997864344Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:24.997932377Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:24.998046302Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:24.998086112Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:24.998136192Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Stopping\n"} -{"Time":"2023-03-29T13:37:24.998214902Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:24.998405401Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:24.998453108Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:24.998545966Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:24.998863807Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 1s\n"} -{"Time":"2023-03-29T13:37:24.998907983Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:24.998974565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:24.999012856Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:24.999084066Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:24.999163662Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} -{"Time":"2023-03-29T13:37:24.999281214Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:24.999322797Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:24.999367964Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Stopping\n"} -{"Time":"2023-03-29T13:37:24.999477141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:24.999790842Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:24.999978482Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"--- PASS: TestAgent_Session_TTY_MOTD (1.62s)\n"} -{"Time":"2023-03-29T13:37:24.999989636Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_MOTD","Elapsed":1.62} -{"Time":"2023-03-29T13:37:25.000001861Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin"} -{"Time":"2023-03-29T13:37:25.000006766Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"=== RUN TestAgent_Session_TTY_Hushlogin\n"} -{"Time":"2023-03-29T13:37:25.061523057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:25.061562172Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:25.061580317Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:25.061650184Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:25.061692748Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:25.061779714Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.061825894Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.0619026Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.061948469Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.061997351Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:25.062034009Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:25.062159882Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:de63960686d4d969\n"} -{"Time":"2023-03-29T13:37:25.062211517Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:25.062292207Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:25.062336748Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:25.062378334Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:25.062420493Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:25.06246598Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.062509064Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:25.0625467Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.062582098Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:25.062621581Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:25.062741251Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:25.063047606Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.063098481Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:25.063228621Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:25.063275399Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:25.063394952Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48719, \"DERPPort\": 45121, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_Hushlogin1510664063/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:25.063449256Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:25.063787886Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:25.063828837Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:25.063873191Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:25.063920593Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:25.063972721Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:25.064056998Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.064104109Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.064172955Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.064220262Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:25.064265054Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:25.064311842Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:25.064424792Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:a2fa54a4398f4b14\n"} -{"Time":"2023-03-29T13:37:25.064460776Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:25.064519398Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:25.064564764Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:25.064610015Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:25.064649665Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:25.064697586Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.064733375Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:25.06476809Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.064817752Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:25.064858351Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:25.064968632Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:25.065284782Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.065331529Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:25.065409197Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:25.065446163Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:25.065532991Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.065442Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:25.065984331Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:25.066385592Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.066 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:25.066774463Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.066 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:25.067577596Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.063134Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:25.067723294Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:25.067791082Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:25.067853127Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:25.067910376Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:25.0683366Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.068 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:25.07002731Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.069 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:25.071537156Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.071 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:25.073373256Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.065442Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:25.073396962Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.073480235Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\n"} -{"Time":"2023-03-29T13:37:25.073564836Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:25.073671864Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:25.07378875Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:25.073820206Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.073854357Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:25.073896565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:25.073931707Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:25.073965714Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:25.074005901Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.074880124Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.063134Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:25.074899766Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.074982929Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:25.075048527Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:25.075142259Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:25.075263679Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:25.075295728Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:25.075336116Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:25.075375372Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:25.075421587Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:25.075466864Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:25.075504912Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.117000024Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.116 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:25.124882906Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.124 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:37:25.125053667Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.124 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:25.12561266Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.125 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:60850 (stun), 172.20.0.2:60850 (local)\n"} -{"Time":"2023-03-29T13:37:25.125905661Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.125 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.125569748 +0000 UTC m=+1.765177074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.126844264Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.126 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:1ms\n"} -{"Time":"2023-03-29T13:37:25.127005238Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.126 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:25.127513222Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.127 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58304 (stun), 172.20.0.2:58304 (local)\n"} -{"Time":"2023-03-29T13:37:25.127757541Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.127 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.127481783 +0000 UTC m=+1.767089103 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.128599916Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:25.128762101Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:25.129009957Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.12872419 +0000 UTC m=+1.768331474 Peers:[] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.129209925Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000985407}}}\n"} -{"Time":"2023-03-29T13:37:25.129460508Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.129 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.125849Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.130127324Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.129 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.125849Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.130232734Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.13055158Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.131114968Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:25.131240194Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:25.131519421Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.131235659 +0000 UTC m=+1.770842948 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.131694593Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001250656}}}\n"} -{"Time":"2023-03-29T13:37:25.131999693Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.127736Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.132733057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.132 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:25.133220162Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.132 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.132982Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000985407}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.133869838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.133 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.132982Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000985407}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.134272814Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.134404044Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:25.134672632Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.134517Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001250656}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.134983325Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.127736Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.135024699Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.135198837Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.135284701Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:25.135438825Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.135566373Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.135876201Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.134517Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001250656}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.136046662Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.136091872Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:25.136196604Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.136258441Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.143831824Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.143 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:25.143963014Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.143 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:25.181560631Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.181 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:10ms\n"} -{"Time":"2023-03-29T13:37:25.182840653Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.182 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:8ms\n"} -{"Time":"2023-03-29T13:37:25.197904655Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.197 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} -{"Time":"2023-03-29T13:37:25.198311943Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.198 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [0LjuK] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:25.199139623Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [S1KIY] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:25.199333828Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0LjuK] d:a2fa54a4398f4b14 now using 172.20.0.2:60850\n"} -{"Time":"2023-03-29T13:37:25.199614502Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} -{"Time":"2023-03-29T13:37:25.199798383Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} -{"Time":"2023-03-29T13:37:25.200531317Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.20096595Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:25.201076837Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:25.201187536Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:25.201294507Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:25.201406637Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:25.20154342Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Starting\n"} -{"Time":"2023-03-29T13:37:25.201642014Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:25.202494139Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [S1KIY] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:25.202613281Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.203067239Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:25.203194112Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:25.203305469Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:25.203432836Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:25.203643635Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:25.203694677Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Starting\n"} -{"Time":"2023-03-29T13:37:25.204047455Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:25.20407267Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:25.204499058Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.204364109 +0000 UTC m=+1.843971335 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262}] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.204985233Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:25.205043968Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [S1KIY] d:de63960686d4d969 now using 172.20.0.2:58304\n"} -{"Time":"2023-03-29T13:37:25.205186973Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.205 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.205077383 +0000 UTC m=+1.844684599 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:25.204972346 +0000 UTC NodeKey:nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c}] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:25.205653441Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.205 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0LjuK] d:a2fa54a4398f4b14 now using 127.0.0.1:60850\n"} -{"Time":"2023-03-29T13:37:25.228059809Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" agent_test.go:344: 2023-03-29 13:37:25.227: cmd: stdin: \"exit 0\\r\"\n"} -{"Time":"2023-03-29T13:37:25.228276231Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:121: 2023-03-29 13:37:25.228: cmd: \"exit 0\"\n"} -{"Time":"2023-03-29T13:37:25.235085539Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:0s\n"} -{"Time":"2023-03-29T13:37:25.235327678Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:0s\n"} -{"Time":"2023-03-29T13:37:25.235573892Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000235695}}}\n"} -{"Time":"2023-03-29T13:37:25.235627639Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.235549Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000235695}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.235912714Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.235549Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000235695}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} -{"Time":"2023-03-29T13:37:25.2361447Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.236185457Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:25.23632231Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.2364646Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:25.23648571Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:37:25.236535173Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.236646389Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000124794}}}\n"} -{"Time":"2023-03-29T13:37:25.236691145Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.236616Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000124794}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.236953136Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.236616Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000124794}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} -{"Time":"2023-03-29T13:37:25.237148814Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:25.23717419Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:25.23729907Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:25.237442993Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:25.237465362Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:37:25.23748091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:25.237621079Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:37:25.237646187Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:37:25.57358248Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} -{"Time":"2023-03-29T13:37:26.073909695Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.073 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} -{"Time":"2023-03-29T13:37:26.573442313Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} -{"Time":"2023-03-29T13:37:26.685974077Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:83: 2023-03-29 13:37:26.685: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:26.686024343Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.685: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:26.686044434Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:110: 2023-03-29 13:37:26.685: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:26.686057034Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:111: 2023-03-29 13:37:26.685: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:26.686068789Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:113: 2023-03-29 13:37:26.685: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:26.686157867Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:26.686173026Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.686: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:26.686188025Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:26.686198978Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.686: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:26.686213128Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:26.686224275Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:102: 2023-03-29 13:37:26.686: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:26.686399517Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:26.686631954Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} -{"Time":"2023-03-29T13:37:26.686672029Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:26.686752993Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:26.686793215Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:26.686883059Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:26.687010573Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:26.687040046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:26.687106628Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Stopping\n"} -{"Time":"2023-03-29T13:37:26.687190751Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:26.68730229Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:26.687319022Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:26.68739086Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:26.687791287Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} -{"Time":"2023-03-29T13:37:26.687807566Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:26.687907277Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:26.687956258Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:26.68802861Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:26.688112368Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} -{"Time":"2023-03-29T13:37:26.688253692Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:26.688318345Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:26.688366659Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Stopping\n"} -{"Time":"2023-03-29T13:37:26.688473063Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:26.688794731Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:26.688993708Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"--- PASS: TestAgent_Session_TTY_Hushlogin (1.69s)\n"} -{"Time":"2023-03-29T13:37:26.689005169Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_Hushlogin","Elapsed":1.69} -{"Time":"2023-03-29T13:37:26.689017486Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} -{"Time":"2023-03-29T13:37:26.689022846Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== RUN TestAgent_Session_TTY_FastCommandHasOutput\n"} -{"Time":"2023-03-29T13:37:26.689031231Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== PAUSE TestAgent_Session_TTY_FastCommandHasOutput\n"} -{"Time":"2023-03-29T13:37:26.689049237Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} -{"Time":"2023-03-29T13:37:26.689055783Z","Action":"run","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} -{"Time":"2023-03-29T13:37:26.689060673Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== RUN TestAgent_Session_TTY_HugeOutputIsNotLost\n"} -{"Time":"2023-03-29T13:37:26.689069084Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== PAUSE TestAgent_Session_TTY_HugeOutputIsNotLost\n"} -{"Time":"2023-03-29T13:37:26.689074026Z","Action":"pause","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} -{"Time":"2023-03-29T13:37:26.689083532Z","Action":"cont","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec"} -{"Time":"2023-03-29T13:37:26.689090279Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"=== CONT TestAgent_SessionExec\n"} -{"Time":"2023-03-29T13:37:26.703787142Z","Action":"cont","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} -{"Time":"2023-03-29T13:37:26.703825656Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== CONT TestAgent_Session_TTY_HugeOutputIsNotLost\n"} -{"Time":"2023-03-29T13:37:26.703839698Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":" agent_test.go:413: This test proves we have a bug where parts of large output on a PTY can be lost after the command exits, skipped to avoid test failures.\n"} -{"Time":"2023-03-29T13:37:26.703868206Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"--- SKIP: TestAgent_Session_TTY_HugeOutputIsNotLost (0.00s)\n"} -{"Time":"2023-03-29T13:37:26.70388799Z","Action":"skip","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Elapsed":0} -{"Time":"2023-03-29T13:37:26.703900175Z","Action":"cont","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} -{"Time":"2023-03-29T13:37:26.703908033Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== CONT TestAgent_Session_TTY_FastCommandHasOutput\n"} -{"Time":"2023-03-29T13:37:26.723935151Z","Action":"cont","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode"} -{"Time":"2023-03-29T13:37:26.723957967Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== CONT TestAgent_SessionTTYExitCode\n"} -{"Time":"2023-03-29T13:37:26.744050676Z","Action":"cont","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell"} -{"Time":"2023-03-29T13:37:26.744073511Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"=== CONT TestAgent_SessionTTYShell\n"} -{"Time":"2023-03-29T13:37:26.975908391Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:26.975935102Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:26.975941463Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:26.975992643Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:26.976027672Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:26.976097148Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:26.976137127Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:26.976202552Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:26.976237559Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:26.976273529Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:26.976300958Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:26.976417909Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:17b5066de479f458\n"} -{"Time":"2023-03-29T13:37:26.976445133Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:26.976529694Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:26.976575591Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:26.976603915Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:26.976641835Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:26.97666441Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:26.976690087Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:26.97672446Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:26.976749123Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:26.976786013Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:26.976893189Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:26.977219957Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:26.977264288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:26.977393997Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.015978257Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.015 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:27.016072388Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.015 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 55109, \"DERPPort\": 34655, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:27.016101997Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:27.016454205Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.016484809Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.016527444Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.016579577Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.016616504Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.01670613Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.016736272Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.016795884Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.01683051Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.016869184Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.016901207Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.017009443Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:e6f05f1260bbd611\n"} -{"Time":"2023-03-29T13:37:27.017032499Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.017087268Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.017133219Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.017166541Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.017198439Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.017231784Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.017255027Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.017285867Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.017313159Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.017341323Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.017453136Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.017777899Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.01781684Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.017877499Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:27.017903073Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:27.017983662Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.017904Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.018477038Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.018 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.018878036Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.018 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.019251435Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.019 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.020053918Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.019 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:26.977307Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.020198673Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.020242577Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.020285833Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.020317905Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.036521314Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.036 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.036924425Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.036 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.037332816Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.037 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.03841778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.017904Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.038434547Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.03852175Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\n"} -{"Time":"2023-03-29T13:37:27.038608926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.038696362Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.038810178Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.038824686Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.038858134Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.038891063Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.038924242Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.038937309Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.038976455Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.039988711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.039 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:26.977307Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.040010425Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.039 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.040059771Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:27.040126554Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.040195696Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.040300593Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.040315089Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.040342986Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.040371935Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.040410694Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.040423938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.040453889Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.096588631Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.096797479Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.097032423Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.09709667Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.097 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.12109969Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.121135169Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.121150972Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.121167311Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.121216222Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.121292057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.12132273Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.121381219Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.121408684Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.121435744Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.121461695Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.121594822Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:c7f1bea9d6ff269c\n"} -{"Time":"2023-03-29T13:37:27.121620573Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.121655676Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.121730239Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.121756777Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.121781901Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.121808996Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.121833529Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.121858413Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.121888455Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.121913023Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.122044906Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.12234719Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.122375547Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.122495597Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.136791704Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.136 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.136826981Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:27.13694108Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48864, \"DERPPort\": 33963, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:27.136979053Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:27.137291589Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.137308609Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.13732063Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.137373985Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.137407965Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.137495219Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.137519229Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.137572028Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.137602411Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.137622846Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.137667976Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.137770053Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:59083cba13956f00\n"} -{"Time":"2023-03-29T13:37:27.137794544Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.137898354Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.137934758Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.137955272Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.138002548Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.138024513Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.138043252Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.138068121Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.138095784Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.138122918Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.138231919Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.138531438Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.138556077Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.138636819Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:27.138658918Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:27.138754966Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.138663Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.139212045Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.139 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.139609965Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.139 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.141001091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.140 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.143964866Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.143 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.122393Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.144498996Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.144562824Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.144649797Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.144702964Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.147050678Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.146 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.152240491Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.152 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.157654353Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.157 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.16338877Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.16375523Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.138663Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.163780585Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.163864424Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\n"} -{"Time":"2023-03-29T13:37:27.163963441Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.164079841Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.164217744Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.164235438Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.16424974Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.164316222Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.164338403Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.164386486Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.1644261Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.165498628Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.122393Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.165527893Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.16555513Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:27.165643091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.165737176Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.165892091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.165909805Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.165924292Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.165977872Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.166008015Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.166054821Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.166 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.166085097Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.166 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.187154465Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.187 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.247520351Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.247693682Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.247900828Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.248074095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.248 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.248118748Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.248 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.267591238Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.267 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.327992838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.327 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.328026983Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.327 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:83ms\n"} -{"Time":"2023-03-29T13:37:27.328082537Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.328318974Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:59384 (stun), 172.20.0.2:59384 (local)\n"} -{"Time":"2023-03-29T13:37:27.328415723Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.328311263 +0000 UTC m=+3.967918487 Peers:[] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.331309331Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.331346835Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.331498355Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.331349704 +0000 UTC m=+3.970956931 Peers:[] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.331576885Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.083211738}}}\n"} -{"Time":"2023-03-29T13:37:27.331699503Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.328409Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.331945606Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.328409Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.33196728Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.332108335Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.332325739Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.332542999Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.332444Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083211738}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.332790784Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.332444Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083211738}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.333024686Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.333062782Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.333182232Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.333249208Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.348154607Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.348 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.353941907Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.353956013Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.353983717Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.354104135Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.354170721Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.354248787Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.354272858Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.35432815Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.354379756Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.354437701Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.354522443Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.35465091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:049e454260a62aa1\n"} -{"Time":"2023-03-29T13:37:27.354686785Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.354820076Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.35484141Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.354884035Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.354900747Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.354943262Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.354962224Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.354997734Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.355013636Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.355062521Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.355172916Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.355579603Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.355609674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:45837 derp=1 derpdist=1v4:83ms\n"} -{"Time":"2023-03-29T13:37:27.35566873Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.355827579Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:45837 (stun), 172.20.0.2:45837 (local)\n"} -{"Time":"2023-03-29T13:37:27.355913155Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.355809216 +0000 UTC m=+3.995416428 Peers:[] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.356261459Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:27.356354227Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 34688, \"DERPPort\": 43117, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:27.35638277Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:27.356686207Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.356708299Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.356723833Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.356833939Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.356850125Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.356945712Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.356968923Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.357036251Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.357070033Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.35711526Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.357134582Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.357249522Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:34ff526bdd502e84\n"} -{"Time":"2023-03-29T13:37:27.35727419Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.35742285Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.357459674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.357483314Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.357523236Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.357548281Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.357567638Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.357589503Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.357626515Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.357652913Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.357769486Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.358036076Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.358075196Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.358178009Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:27.358202627Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:27.358298603Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.363703025Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.363 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.368878553Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.368 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.374094674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.373 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.379724421Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.379782057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.379915271Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.37996992Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.380020183Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.380128212Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.380012238 +0000 UTC m=+4.019619457 Peers:[] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.380193848Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.082795986}}}\n"} -{"Time":"2023-03-29T13:37:27.380276172Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.355895Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.38052742Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.355895Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.380550207Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.380665436Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.380879187Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.380925379Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.380952567Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.386338613Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.386 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.387267029Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.387774697Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.389160607Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.389186972Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.389275389Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\n"} -{"Time":"2023-03-29T13:37:27.389397112Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.38946191Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.389582352Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.389605243Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.389634845Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.389680241Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.389711656Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.389725148Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.389767299Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.389833677Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.390055453Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.390076169Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.390126429Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:27.390188645Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.39025637Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.390371704Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.39038785Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.390406815Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.390435981Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.390450102Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.39048039Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.390509523Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.390585223Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.390644997Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.39085229Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.390753Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.082795986}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.391046642Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.390753Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.082795986}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.391253711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.391294825Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.391387255Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.391491088Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.408305611Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.408340875Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.408352182Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.408381704Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.41114267Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.41133032Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.411379291Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:84ms\n"} -{"Time":"2023-03-29T13:37:27.411463359Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.411622433Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:35595 (stun), 172.20.0.2:35595 (local)\n"} -{"Time":"2023-03-29T13:37:27.411704928Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.411617207 +0000 UTC m=+4.051224425 Peers:[] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.412030111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.411 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} -{"Time":"2023-03-29T13:37:27.412110894Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 51906, \"DERPPort\": 41275, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} -{"Time":"2023-03-29T13:37:27.41214998Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} -{"Time":"2023-03-29T13:37:27.412464057Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} -{"Time":"2023-03-29T13:37:27.412485841Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} -{"Time":"2023-03-29T13:37:27.412515514Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} -{"Time":"2023-03-29T13:37:27.412564627Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} -{"Time":"2023-03-29T13:37:27.412620272Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.412695891Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.412734645Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.412796459Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.41282973Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.412882896Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.412921148Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.413034159Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:cc502d2065d3910d\n"} -{"Time":"2023-03-29T13:37:27.413066135Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.413142789Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.413196003Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.413234614Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.413259313Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.413291621Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.413317957Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.413346325Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.413369117Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.413402783Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.413518268Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.413809664Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.413845445Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.413910962Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} -{"Time":"2023-03-29T13:37:27.413937365Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} -{"Time":"2023-03-29T13:37:27.414017708Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.413933Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.414064655Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.414111814Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.414189184Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.414107708 +0000 UTC m=+4.053714921 Peers:[] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.414245907Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.083765437}}}\n"} -{"Time":"2023-03-29T13:37:27.414312155Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.4117Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.414517803Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.4117Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.414535126Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.414623995Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.414849045Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.414905554Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} -{"Time":"2023-03-29T13:37:27.414936416Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.415525692Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.415 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.416019712Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.415 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.416475957Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.416 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.419029132Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.418 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.419447399Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.419 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.419321Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083765437}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.42011877Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.419321Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083765437}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.420376019Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.420736563Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.42087992Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.420979406Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.422951198Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.422 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.42298967Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.422 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51685 derp=1 derpdist=1v4:84ms\n"} -{"Time":"2023-03-29T13:37:27.423073917Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.423298046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51685 (stun), 172.20.0.2:51685 (local)\n"} -{"Time":"2023-03-29T13:37:27.423385945Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.423272543 +0000 UTC m=+4.062879776 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.424393184Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.424445676Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.424603665Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.424442129 +0000 UTC m=+4.064049348 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.424655158Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.084146852}}}\n"} -{"Time":"2023-03-29T13:37:27.424762683Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.423371Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.425045855Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.423371Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.425065382Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.425204191Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.425429938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.425622509Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.425514Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.084146852}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.425845165Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.425514Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.084146852}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.426046304Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.426095567Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.426917109Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.426975294Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.427132044Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:95ms\n"} -{"Time":"2023-03-29T13:37:27.427810726Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} -{"Time":"2023-03-29T13:37:27.427890723Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.427915145Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.42800586Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.428030074Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.428084359Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.428115313Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} -{"Time":"2023-03-29T13:37:27.428260646Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:9c9ea8075f682592\n"} -{"Time":"2023-03-29T13:37:27.428283953Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} -{"Time":"2023-03-29T13:37:27.428422249Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} -{"Time":"2023-03-29T13:37:27.428458364Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} -{"Time":"2023-03-29T13:37:27.428479111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} -{"Time":"2023-03-29T13:37:27.428530647Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} -{"Time":"2023-03-29T13:37:27.428549605Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.428596203Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} -{"Time":"2023-03-29T13:37:27.428629468Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.42866001Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} -{"Time":"2023-03-29T13:37:27.428692965Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} -{"Time":"2023-03-29T13:37:27.42881653Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} -{"Time":"2023-03-29T13:37:27.430284733Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.094731332}}}\n"} -{"Time":"2023-03-29T13:37:27.430366553Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.430277Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.094731332}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.430637096Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.430277Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.094731332}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} -{"Time":"2023-03-29T13:37:27.430871537Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.430971821Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:45837 derp=1 derpdist=1v4:37ms\n"} -{"Time":"2023-03-29T13:37:27.436731495Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.436 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} -{"Time":"2023-03-29T13:37:27.441948864Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.441 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.442143804Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.442 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} -{"Time":"2023-03-29T13:37:27.447325985Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.447 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} -{"Time":"2023-03-29T13:37:27.452941046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.452 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.452978923Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.452 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} -{"Time":"2023-03-29T13:37:27.453138084Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.453213493Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.453354362Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.45343882Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.037239154}}}\n"} -{"Time":"2023-03-29T13:37:27.453524949Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.453418Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.037239154}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.453796409Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.453418Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.037239154}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} -{"Time":"2023-03-29T13:37:27.454022251Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.454053656Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.454164006Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.454402409Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.454452969Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} -{"Time":"2023-03-29T13:37:27.454661334Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.455180586Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.413933Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.45520381Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.455291748Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\n"} -{"Time":"2023-03-29T13:37:27.455371391Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.45558374Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.455722626Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.455744892Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.455759263Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.455811196Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.455851745Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.455887337Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.45593531Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.456026705Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.453Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.456257727Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.453Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": []}}\n"} -{"Time":"2023-03-29T13:37:27.456275526Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.456348245Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} -{"Time":"2023-03-29T13:37:27.456430865Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} -{"Time":"2023-03-29T13:37:27.456533237Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} -{"Time":"2023-03-29T13:37:27.456666838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} -{"Time":"2023-03-29T13:37:27.456681257Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.456709567Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} -{"Time":"2023-03-29T13:37:27.456736103Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} -{"Time":"2023-03-29T13:37:27.456785483Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} -{"Time":"2023-03-29T13:37:27.456811479Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} -{"Time":"2023-03-29T13:37:27.456866526Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.456945718Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.457035437Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} -{"Time":"2023-03-29T13:37:27.490404055Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:45ms\n"} -{"Time":"2023-03-29T13:37:27.490957872Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:31ms\n"} -{"Time":"2023-03-29T13:37:27.491013794Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.491185914Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:57709 (stun), 172.20.0.2:57709 (local)\n"} -{"Time":"2023-03-29T13:37:27.491295468Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.491174325 +0000 UTC m=+4.130781564 Peers:[] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.491675303Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.045323829}}}\n"} -{"Time":"2023-03-29T13:37:27.491767926Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.491649Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.045323829}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.492071167Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.491649Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.045323829}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} -{"Time":"2023-03-29T13:37:27.492303429Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.492381183Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.492509729Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.492832285Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.492955047Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.493041705Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.492824353 +0000 UTC m=+4.132431585 Peers:[] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.493059245Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.031410894}}}\n"} -{"Time":"2023-03-29T13:37:27.493174012Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.491286Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.493508739Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.491286Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.493558301Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.493658522Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.493954418Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.49414611Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.494032Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.031410894}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.494394917Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.494032Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.031410894}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.494635514Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.494676622Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.494780288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.494840889Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.495169992Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.495 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:64ms\n"} -{"Time":"2023-03-29T13:37:27.497129169Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.497 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} -{"Time":"2023-03-29T13:37:27.497196731Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.497 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51685 derp=1 derpdist=1v4:71ms\n"} -{"Time":"2023-03-29T13:37:27.498816504Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for [XHSZg]\n"} -{"Time":"2023-03-29T13:37:27.498899237Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.498921801Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [XHSZg] set to derp-1 (their home)\n"} -{"Time":"2023-03-29T13:37:27.499047332Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.498914775 +0000 UTC m=+4.138522011 Peers:[] LocalAddrs:[] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.499167908Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.070836569}}}\n"} -{"Time":"2023-03-29T13:37:27.499241573Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.499162Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.070836569}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.49953116Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.499162Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.070836569}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} -{"Time":"2023-03-29T13:37:27.499756959Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.499820527Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.499954778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.500094938Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.500 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.508017322Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.507 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51993 derp=1 derpdist=1v4:48ms\n"} -{"Time":"2023-03-29T13:37:27.50805261Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.507 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.508212683Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.508 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51993 (stun), 172.20.0.2:51993 (local)\n"} -{"Time":"2023-03-29T13:37:27.508285157Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.508 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.50819775 +0000 UTC m=+4.147804976 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51993 Type:stun} {Addr:172.20.0.2:51993 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.51148228Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.047681075}}}\n"} -{"Time":"2023-03-29T13:37:27.511561169Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.50828Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.511646171Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} -{"Time":"2023-03-29T13:37:27.512004191Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.50828Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.512026173Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.512131402Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.512284203Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [64qRi] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.512446305Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.512355Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.047681075}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.512694091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.512355Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.047681075}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.512945734Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.512982501Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.513074208Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.513149912Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.513458516Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} -{"Time":"2023-03-29T13:37:27.513601111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.514167854Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.514216037Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:62ms\n"} -{"Time":"2023-03-29T13:37:27.514270704Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.51443958Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58992 (stun), 172.20.0.2:58992 (local)\n"} -{"Time":"2023-03-29T13:37:27.514519618Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.514434952 +0000 UTC m=+4.154042177 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.514591409Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.514811275Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.514831215Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.514927532Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.514969002Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.51501Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.515094247Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.515008199 +0000 UTC m=+4.154615430 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.515144167Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.062405899}}}\n"} -{"Time":"2023-03-29T13:37:27.515231182Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.515477352Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.5157436Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.515810118Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.515944355Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.51603017Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.516114674Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.516 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.520145614Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [64qRi] d:e6f05f1260bbd611 now using 172.20.0.2:45837\n"} -{"Time":"2023-03-29T13:37:27.520236787Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} -{"Time":"2023-03-29T13:37:27.520381164Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.523889233Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.523 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} -{"Time":"2023-03-29T13:37:27.524071718Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.524 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.525270748Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} -{"Time":"2023-03-29T13:37:27.525326669Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:65ms\n"} -{"Time":"2023-03-29T13:37:27.525374168Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.525530241Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34848 (stun), 172.20.0.2:34848 (local)\n"} -{"Time":"2023-03-29T13:37:27.525639565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525526859 +0000 UTC m=+4.165134074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:0}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.525953664Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} -{"Time":"2023-03-29T13:37:27.525977204Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} -{"Time":"2023-03-29T13:37:27.526067972Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525972278 +0000 UTC m=+4.165579492 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.526107105Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.065420657}}}\n"} -{"Time":"2023-03-29T13:37:27.526188976Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.526396168Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.526422378Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.526517317Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.526687969Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} -{"Time":"2023-03-29T13:37:27.526875114Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.527145691Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.527368061Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.527462668Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.527579879Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.52765384Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.531819508Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.531 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.532053362Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.532237504Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.5322919Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.532342787Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.532383163Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.532430032Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.532468962Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Starting\n"} -{"Time":"2023-03-29T13:37:27.532522407Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.53317143Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.533 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.533306241Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.534331952Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [dv8u3] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:27.534386848Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.53460606Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.534650003Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.53470262Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.534744335Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.534797239Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.534834361Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Starting\n"} -{"Time":"2023-03-29T13:37:27.535064975Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.535101365Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:27.535486164Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [dv8u3] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.535646633Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.535517538 +0000 UTC m=+4.175124762 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370}] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.535973095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.536642888Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:27.536713027Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [dv8u3] d:17b5066de479f458 now using 172.20.0.2:59384\n"} -{"Time":"2023-03-29T13:37:27.536917351Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.536783767 +0000 UTC m=+4.176390982 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.536635319 +0000 UTC NodeKey:nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24}] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.53763406Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} -{"Time":"2023-03-29T13:37:27.538314662Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.538 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4781:bb82:1540:3954:6a8): sending disco ping to [dv8u3] ...\n"} -{"Time":"2023-03-29T13:37:27.542696821Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.542 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:9ms\n"} -{"Time":"2023-03-29T13:37:27.545658947Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.545 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:15ms\n"} -{"Time":"2023-03-29T13:37:27.546526665Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.014798468}}}\n"} -{"Time":"2023-03-29T13:37:27.546624395Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.546513Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.014798468}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.546899956Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.546513Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.014798468}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} -{"Time":"2023-03-29T13:37:27.547131568Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.547206358Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.547317822Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.548159459Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:27.548281455Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.548330701Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.548397336Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.548439957Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.548494794Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.548600181Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.548645011Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.548694237Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.548765909Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.548840457Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.548886886Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:27.548943901Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:27.549285716Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.549325844Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.549397271Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.549434623Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.549486154Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.549569105Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4781:bb82:1540:3954:6a8): sending disco ping to [dv8u3] ...\n"} -{"Time":"2023-03-29T13:37:27.54967718Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.549720977Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.549763197Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.549846472Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.55012971Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:27.55014656Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Output":"--- PASS: TestAgent_SessionExec (0.86s)\n"} -{"Time":"2023-03-29T13:37:27.562749894Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionExec","Elapsed":0.86} -{"Time":"2023-03-29T13:37:27.562803065Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.562 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51993 derp=1 derpdist=1v4:8ms\n"} -{"Time":"2023-03-29T13:37:27.563392796Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} -{"Time":"2023-03-29T13:37:27.563801502Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.008279639}}}\n"} -{"Time":"2023-03-29T13:37:27.56407208Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.563776Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.008279639}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.564819316Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.564 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.563776Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.008279639}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} -{"Time":"2023-03-29T13:37:27.565650461Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.565 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.565870529Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.565 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.566173208Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.566 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.567328308Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [V4gBN] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.567693064Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [XHSZg] d:cc502d2065d3910d now using 127.0.0.1:57709\n"} -{"Time":"2023-03-29T13:37:27.567994501Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} -{"Time":"2023-03-29T13:37:27.568226707Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.568 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} -{"Time":"2023-03-29T13:37:27.56908417Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.568 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.569629095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.569764065Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.569899377Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.570050145Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.57018252Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.570302009Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Starting\n"} -{"Time":"2023-03-29T13:37:27.570580746Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Sending keepalive packet\n"} -{"Time":"2023-03-29T13:37:27.570704044Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.571723295Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [V4gBN] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:27.571754224Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.571960017Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.5720063Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.572053253Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.572098018Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.572143378Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.572182651Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Starting\n"} -{"Time":"2023-03-29T13:37:27.572412769Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.57244765Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:27.572888396Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.57276895 +0000 UTC m=+4.212376174 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00}] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.573422095Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:27.573505226Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [V4gBN] d:9c9ea8075f682592 now using 172.20.0.2:51993\n"} -{"Time":"2023-03-29T13:37:27.573673421Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.573556739 +0000 UTC m=+4.213163954 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.573422752 +0000 UTC NodeKey:nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907}] LocalAddrs:[{Addr:127.0.0.1:51993 Type:stun} {Addr:172.20.0.2:51993 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.574036177Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Receiving keepalive packet\n"} -{"Time":"2023-03-29T13:37:27.578151189Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:5ms\n"} -{"Time":"2023-03-29T13:37:27.578464111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:7ms\n"} -{"Time":"2023-03-29T13:37:27.578697845Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.005291379}}}\n"} -{"Time":"2023-03-29T13:37:27.578788271Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.579040964Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} -{"Time":"2023-03-29T13:37:27.579269912Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.579338921Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.579486192Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.579615554Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.00675754}}}\n"} -{"Time":"2023-03-29T13:37:27.579715409Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.580015856Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} -{"Time":"2023-03-29T13:37:27.580200069Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} -{"Time":"2023-03-29T13:37:27.580263003Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} -{"Time":"2023-03-29T13:37:27.580357379Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} -{"Time":"2023-03-29T13:37:27.584912838Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.584 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:836\u003e\t(*agent).init.func2\tssh session returned\t{\"error\": \"exit status 127\"}\n"} -{"Time":"2023-03-29T13:37:27.585085871Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [WARN]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:1119\u003e\t(*agent).handleSSHSession.func2\tfailed to resize tty ...\n"} -{"Time":"2023-03-29T13:37:27.58510059Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" \"error\": pty: closed:\n"} -{"Time":"2023-03-29T13:37:27.585107445Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" github.com/coder/coder/pty.(*otherPty).Close\n"} -{"Time":"2023-03-29T13:37:27.585113814Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" /home/mafredri/src/coder/coder/pty/pty_other.go:134\n"} -{"Time":"2023-03-29T13:37:27.585512242Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:83: 2023-03-29 13:37:27.585: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:27.585526871Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:27.58556302Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:110: 2023-03-29 13:37:27.585: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.585579238Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:111: 2023-03-29 13:37:27.585: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:27.585599261Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:113: 2023-03-29 13:37:27.585: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.58566446Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.585677492Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:27.585682384Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.585699939Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:27.58570508Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.585722893Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:102: 2023-03-29 13:37:27.585: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:27.585976831Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.586016625Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.586092293Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.586133054Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.586200024Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.586329617Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.586371206Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.586499602Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.586608393Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.58672256Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.586761915Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:27.586833422Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:27.5869144Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:27.58723746Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.58728708Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.587374552Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.587490464Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4743:8dab:c855:f633:532): sending disco ping to [V4gBN] ...\n"} -{"Time":"2023-03-29T13:37:27.587617597Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.598290287Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:3ms\n"} -{"Time":"2023-03-29T13:37:27.598667071Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.598735879Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.598824991Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.598917706Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.599077451Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.599 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.599268425Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:27.599297466Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Output":"--- PASS: TestAgent_SessionTTYExitCode (0.88s)\n"} -{"Time":"2023-03-29T13:37:27.624884929Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYExitCode","Elapsed":0.88} -{"Time":"2023-03-29T13:37:27.624923874Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.624 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} -{"Time":"2023-03-29T13:37:27.625357585Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.625 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5WitN] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.626340882Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5EOvJ] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.626577093Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 172.20.0.2:34848\n"} -{"Time":"2023-03-29T13:37:27.626873494Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} -{"Time":"2023-03-29T13:37:27.627094808Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} -{"Time":"2023-03-29T13:37:27.627846604Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.627 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.628133034Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.628178673Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.628231143Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.628273924Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.628326843Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.628365041Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Starting\n"} -{"Time":"2023-03-29T13:37:27.628423532Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.62897967Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [5EOvJ] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:27.62904036Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.629335987Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.629378533Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.629437221Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.629484031Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.629528288Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.629564272Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Starting\n"} -{"Time":"2023-03-29T13:37:27.629899772Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.629937538Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:27.630550619Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.630 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.630405833 +0000 UTC m=+4.270013057 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c}] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.631298672Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:27.631395745Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5EOvJ] d:049e454260a62aa1 now using 172.20.0.2:58992\n"} -{"Time":"2023-03-29T13:37:27.631619667Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.631481797 +0000 UTC m=+4.271089021 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.631305354 +0000 UTC NodeKey:nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f}] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.632260898Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.632 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 127.0.0.1:34848\n"} -{"Time":"2023-03-29T13:37:27.637293337Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.637 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} -{"Time":"2023-03-29T13:37:27.637491883Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.637 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [Xlu3R] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.638607677Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [uWfac] set to derp-1 (shared home)\n"} -{"Time":"2023-03-29T13:37:27.6387189Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [Xlu3R] d:59083cba13956f00 now using 172.20.0.2:35595\n"} -{"Time":"2023-03-29T13:37:27.638794177Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} -{"Time":"2023-03-29T13:37:27.638932756Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} -{"Time":"2023-03-29T13:37:27.639446274Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.639629272Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.639676449Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.639710523Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.639738112Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.639767671Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.639792041Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Starting\n"} -{"Time":"2023-03-29T13:37:27.639832214Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Sending handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.640359836Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [uWfac] now active, reconfiguring WireGuard\n"} -{"Time":"2023-03-29T13:37:27.640405214Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} -{"Time":"2023-03-29T13:37:27.640596752Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Created\n"} -{"Time":"2023-03-29T13:37:27.64062514Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Updating endpoint\n"} -{"Time":"2023-03-29T13:37:27.640660936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Removing all allowedips\n"} -{"Time":"2023-03-29T13:37:27.640688925Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Adding allowedip\n"} -{"Time":"2023-03-29T13:37:27.640721293Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Updating persistent keepalive interval\n"} -{"Time":"2023-03-29T13:37:27.640745599Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Starting\n"} -{"Time":"2023-03-29T13:37:27.640964666Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Received handshake initiation\n"} -{"Time":"2023-03-29T13:37:27.640987155Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Sending handshake response\n"} -{"Time":"2023-03-29T13:37:27.641427103Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.641 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.641327519 +0000 UTC m=+4.280934743 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e}] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.642337602Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Received handshake response\n"} -{"Time":"2023-03-29T13:37:27.642405776Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [uWfac] d:c7f1bea9d6ff269c now using 172.20.0.2:51685\n"} -{"Time":"2023-03-29T13:37:27.642612703Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.64250087 +0000 UTC m=+4.282108085 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.642336966 +0000 UTC NodeKey:nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56}] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:1}\", \"err\": null}\n"} -{"Time":"2023-03-29T13:37:27.64326778Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.643 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [Xlu3R] d:59083cba13956f00 now using 127.0.0.1:35595\n"} -{"Time":"2023-03-29T13:37:27.648583243Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" agent_test.go:400: \n"} -{"Time":"2023-03-29T13:37:27.648599647Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/agent/agent_test.go:400\n"} -{"Time":"2023-03-29T13:37:27.648605577Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \t \t\t\t\t/home/mafredri/src/coder/coder/agent/agent_test.go:401\n"} -{"Time":"2023-03-29T13:37:27.648610117Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tError: \t\"\" does not contain \"wazzup\"\n"} -{"Time":"2023-03-29T13:37:27.648616547Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tTest: \tTestAgent_Session_TTY_FastCommandHasOutput\n"} -{"Time":"2023-03-29T13:37:27.648621257Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tMessages: \tshould output greeting\n"} -{"Time":"2023-03-29T13:37:27.648628226Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:83: 2023-03-29 13:37:27.648: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:27.648632598Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:27.648669381Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:110: 2023-03-29 13:37:27.648: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.648676209Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:111: 2023-03-29 13:37:27.648: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:27.64868565Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:113: 2023-03-29 13:37:27.648: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.648725455Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.648735417Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:27.648742887Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.648755628Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:27.648763111Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.648781723Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:102: 2023-03-29 13:37:27.648: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:27.64898407Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.64901264Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.649065867Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.649092046Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.649138332Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.649234264Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.649272903Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.649300503Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.649378408Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.649434677Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:27.649514069Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.649551066Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:27.649591609Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:27.649899898Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.649921785Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.649976578Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.650005597Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.650053977Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.650112159Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d): sending disco ping to [5EOvJ] ...\n"} -{"Time":"2023-03-29T13:37:27.650212974Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.650252149Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.650280078Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.650357784Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.650618927Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:27.650634125Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"--- FAIL: TestAgent_Session_TTY_FastCommandHasOutput (0.95s)\n"} -{"Time":"2023-03-29T13:37:27.674793681Z","Action":"fail","Package":"github.com/coder/coder/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Elapsed":0.95} -{"Time":"2023-03-29T13:37:27.674817479Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.674 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805): sending disco ping to [uWfac] ...\n"} -{"Time":"2023-03-29T13:37:27.675734168Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:235: 2023-03-29 13:37:27.675: cmd: peeked 1/1 bytes = \"$\"\n"} -{"Time":"2023-03-29T13:37:27.675774216Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:236: 2023-03-29 13:37:27.675: cmd: stdin: \"echo test\\r\"\n"} -{"Time":"2023-03-29T13:37:27.676191344Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.676: cmd: \"$ echo test\"\n"} -{"Time":"2023-03-29T13:37:27.676273026Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:237: 2023-03-29 13:37:27.676: cmd: matched \"test\" = \"$ echo test\"\n"} -{"Time":"2023-03-29T13:37:27.676308536Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:238: 2023-03-29 13:37:27.676: cmd: stdin: \"exit\\r\"\n"} -{"Time":"2023-03-29T13:37:27.676642013Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.676: cmd: \"exit\"\n"} -{"Time":"2023-03-29T13:37:27.67773278Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"echo test\\r\"\n"} -{"Time":"2023-03-29T13:37:27.677752958Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"exit\\r\"\n"} -{"Time":"2023-03-29T13:37:27.67778936Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"test\\r\"\n"} -{"Time":"2023-03-29T13:37:27.678126711Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:83: 2023-03-29 13:37:27.678: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:27.678143306Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:27.678200486Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:110: 2023-03-29 13:37:27.678: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.678223246Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:111: 2023-03-29 13:37:27.678: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:27.678238993Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:113: 2023-03-29 13:37:27.678: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:27.678305772Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.678359399Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:27.678373082Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.678387877Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:27.678398091Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:27.678444105Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.678: cmd: \"$ \"\n"} -{"Time":"2023-03-29T13:37:27.67847139Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:102: 2023-03-29 13:37:27.678: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:27.67876363Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} -{"Time":"2023-03-29T13:37:27.678920913Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.678978615Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.679093854Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.67916374Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.679261738Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.679498576Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.679558488Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.679635937Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.679772893Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.679951878Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} -{"Time":"2023-03-29T13:37:27.680029583Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} -{"Time":"2023-03-29T13:37:27.680147794Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} -{"Time":"2023-03-29T13:37:27.680759898Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} -{"Time":"2023-03-29T13:37:27.68081749Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} -{"Time":"2023-03-29T13:37:27.680933631Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} -{"Time":"2023-03-29T13:37:27.681009542Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} -{"Time":"2023-03-29T13:37:27.681106332Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} -{"Time":"2023-03-29T13:37:27.681249372Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805): sending disco ping to [uWfac] ...\n"} -{"Time":"2023-03-29T13:37:27.681454735Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} -{"Time":"2023-03-29T13:37:27.681540218Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} -{"Time":"2023-03-29T13:37:27.68161487Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Stopping\n"} -{"Time":"2023-03-29T13:37:27.681781085Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} -{"Time":"2023-03-29T13:37:27.682219467Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":" stuntest.go:63: STUN server shutdown\n"} -{"Time":"2023-03-29T13:37:27.682247508Z","Action":"output","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Output":"--- PASS: TestAgent_SessionTTYShell (0.94s)\n"} -{"Time":"2023-03-29T13:37:27.682263381Z","Action":"pass","Package":"github.com/coder/coder/agent","Test":"TestAgent_SessionTTYShell","Elapsed":0.94} -{"Time":"2023-03-29T13:37:27.682278577Z","Action":"output","Package":"github.com/coder/coder/agent","Output":"FAIL\n"} -{"Time":"2023-03-29T13:37:27.696326667Z","Action":"output","Package":"github.com/coder/coder/agent","Output":"FAIL\tgithub.com/coder/coder/agent\t4.341s\n"} -{"Time":"2023-03-29T13:37:27.696360103Z","Action":"fail","Package":"github.com/coder/coder/agent","Elapsed":4.341} -{"Time":"2023-03-29T13:37:32.643934624Z","Action":"start","Package":"github.com/coder/coder/cli"} -{"Time":"2023-03-29T13:37:32.790842698Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser"} -{"Time":"2023-03-29T13:37:32.79088125Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser","Output":"=== RUN TestServerCreateAdminUser\n"} -{"Time":"2023-03-29T13:37:32.792730073Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK"} -{"Time":"2023-03-29T13:37:32.792739078Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== RUN TestServerCreateAdminUser/OK\n"} -{"Time":"2023-03-29T13:37:32.792745576Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== PAUSE TestServerCreateAdminUser/OK\n"} -{"Time":"2023-03-29T13:37:32.79274818Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK"} -{"Time":"2023-03-29T13:37:32.79275173Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env"} -{"Time":"2023-03-29T13:37:32.792754236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== RUN TestServerCreateAdminUser/Env\n"} -{"Time":"2023-03-29T13:37:32.792759492Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== PAUSE TestServerCreateAdminUser/Env\n"} -{"Time":"2023-03-29T13:37:32.792763227Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env"} -{"Time":"2023-03-29T13:37:32.792767605Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin"} -{"Time":"2023-03-29T13:37:32.792772306Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== RUN TestServerCreateAdminUser/Stdin\n"} -{"Time":"2023-03-29T13:37:32.792778719Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== PAUSE TestServerCreateAdminUser/Stdin\n"} -{"Time":"2023-03-29T13:37:32.792781324Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin"} -{"Time":"2023-03-29T13:37:32.792785642Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates"} -{"Time":"2023-03-29T13:37:32.792788132Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== RUN TestServerCreateAdminUser/Validates\n"} -{"Time":"2023-03-29T13:37:32.792833072Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== PAUSE TestServerCreateAdminUser/Validates\n"} -{"Time":"2023-03-29T13:37:32.792839332Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates"} -{"Time":"2023-03-29T13:37:32.792849881Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK"} -{"Time":"2023-03-29T13:37:32.79285277Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== CONT TestServerCreateAdminUser/OK\n"} -{"Time":"2023-03-29T13:37:32.794003473Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" server_createadminuser_test.go:87: \n"} -{"Time":"2023-03-29T13:37:32.794008803Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:87\n"} -{"Time":"2023-03-29T13:37:32.794012119Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tError: \tReceived unexpected error:\n"} -{"Time":"2023-03-29T13:37:32.794014928Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \tcould not start resource:\n"} -{"Time":"2023-03-29T13:37:32.794017745Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.794020968Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} -{"Time":"2023-03-29T13:37:32.794025025Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} -{"Time":"2023-03-29T13:37:32.794028396Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \n"} -{"Time":"2023-03-29T13:37:32.794031694Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} -{"Time":"2023-03-29T13:37:32.794034996Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} -{"Time":"2023-03-29T13:37:32.794038934Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.794042353Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} -{"Time":"2023-03-29T13:37:32.794045324Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func2\n"} -{"Time":"2023-03-29T13:37:32.794048191Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:86\n"} -{"Time":"2023-03-29T13:37:32.794051013Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t testing.tRunner\n"} -{"Time":"2023-03-29T13:37:32.794053771Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} -{"Time":"2023-03-29T13:37:32.794056664Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t runtime.goexit\n"} -{"Time":"2023-03-29T13:37:32.794060193Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} -{"Time":"2023-03-29T13:37:32.79406303Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tTest: \tTestServerCreateAdminUser/OK\n"} -{"Time":"2023-03-29T13:37:32.79407275Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Output":"--- FAIL: TestServerCreateAdminUser/OK (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.794075922Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/OK","Elapsed":0} -{"Time":"2023-03-29T13:37:32.794079842Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates"} -{"Time":"2023-03-29T13:37:32.794082413Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== CONT TestServerCreateAdminUser/Validates\n"} -{"Time":"2023-03-29T13:37:32.795185256Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" server_createadminuser_test.go:227: \n"} -{"Time":"2023-03-29T13:37:32.795189907Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:227\n"} -{"Time":"2023-03-29T13:37:32.795192879Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tError: \tReceived unexpected error:\n"} -{"Time":"2023-03-29T13:37:32.795195707Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \tcould not start resource:\n"} -{"Time":"2023-03-29T13:37:32.795198569Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.795203724Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} -{"Time":"2023-03-29T13:37:32.795206991Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} -{"Time":"2023-03-29T13:37:32.795209975Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \n"} -{"Time":"2023-03-29T13:37:32.795212879Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} -{"Time":"2023-03-29T13:37:32.79521788Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} -{"Time":"2023-03-29T13:37:32.795223388Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.795228236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} -{"Time":"2023-03-29T13:37:32.795231388Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func5\n"} -{"Time":"2023-03-29T13:37:32.795234339Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:226\n"} -{"Time":"2023-03-29T13:37:32.795237524Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t testing.tRunner\n"} -{"Time":"2023-03-29T13:37:32.795240439Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} -{"Time":"2023-03-29T13:37:32.795243318Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t runtime.goexit\n"} -{"Time":"2023-03-29T13:37:32.795246653Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} -{"Time":"2023-03-29T13:37:32.795249486Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tTest: \tTestServerCreateAdminUser/Validates\n"} -{"Time":"2023-03-29T13:37:32.795256993Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Output":"--- FAIL: TestServerCreateAdminUser/Validates (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.795260148Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Validates","Elapsed":0} -{"Time":"2023-03-29T13:37:32.795262834Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin"} -{"Time":"2023-03-29T13:37:32.795265403Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== CONT TestServerCreateAdminUser/Stdin\n"} -{"Time":"2023-03-29T13:37:32.795769577Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" server_createadminuser_test.go:187: \n"} -{"Time":"2023-03-29T13:37:32.795774301Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:187\n"} -{"Time":"2023-03-29T13:37:32.795777433Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tError: \tReceived unexpected error:\n"} -{"Time":"2023-03-29T13:37:32.795782206Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \tcould not start resource:\n"} -{"Time":"2023-03-29T13:37:32.795787591Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.795793763Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} -{"Time":"2023-03-29T13:37:32.795796926Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} -{"Time":"2023-03-29T13:37:32.795799647Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \n"} -{"Time":"2023-03-29T13:37:32.795802415Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} -{"Time":"2023-03-29T13:37:32.795805244Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} -{"Time":"2023-03-29T13:37:32.795808186Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.79581094Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} -{"Time":"2023-03-29T13:37:32.795813828Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func4\n"} -{"Time":"2023-03-29T13:37:32.79581676Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:186\n"} -{"Time":"2023-03-29T13:37:32.795819484Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t testing.tRunner\n"} -{"Time":"2023-03-29T13:37:32.795822305Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} -{"Time":"2023-03-29T13:37:32.795826355Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t runtime.goexit\n"} -{"Time":"2023-03-29T13:37:32.795829152Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} -{"Time":"2023-03-29T13:37:32.795832058Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tTest: \tTestServerCreateAdminUser/Stdin\n"} -{"Time":"2023-03-29T13:37:32.795846761Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"--- FAIL: TestServerCreateAdminUser/Stdin (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.79585045Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Stdin","Elapsed":0} -{"Time":"2023-03-29T13:37:32.795853001Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env"} -{"Time":"2023-03-29T13:37:32.795855433Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== CONT TestServerCreateAdminUser/Env\n"} -{"Time":"2023-03-29T13:37:32.796339444Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" server_createadminuser_test.go:153: \n"} -{"Time":"2023-03-29T13:37:32.796345738Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:153\n"} -{"Time":"2023-03-29T13:37:32.796349118Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tError: \tReceived unexpected error:\n"} -{"Time":"2023-03-29T13:37:32.796351839Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \tcould not start resource:\n"} -{"Time":"2023-03-29T13:37:32.796354772Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.796357683Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} -{"Time":"2023-03-29T13:37:32.796360546Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} -{"Time":"2023-03-29T13:37:32.79636323Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \n"} -{"Time":"2023-03-29T13:37:32.796366079Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} -{"Time":"2023-03-29T13:37:32.796368987Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} -{"Time":"2023-03-29T13:37:32.79637254Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.79637535Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} -{"Time":"2023-03-29T13:37:32.796378207Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/cli_test.TestServerCreateAdminUser.func3\n"} -{"Time":"2023-03-29T13:37:32.796381015Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:152\n"} -{"Time":"2023-03-29T13:37:32.796383831Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t testing.tRunner\n"} -{"Time":"2023-03-29T13:37:32.796386544Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} -{"Time":"2023-03-29T13:37:32.796389783Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t runtime.goexit\n"} -{"Time":"2023-03-29T13:37:32.796394885Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} -{"Time":"2023-03-29T13:37:32.796400461Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tTest: \tTestServerCreateAdminUser/Env\n"} -{"Time":"2023-03-29T13:37:32.796405793Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Output":"--- FAIL: TestServerCreateAdminUser/Env (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.796409018Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser/Env","Elapsed":0} -{"Time":"2023-03-29T13:37:32.796411751Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser","Output":"--- FAIL: TestServerCreateAdminUser (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.796414761Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServerCreateAdminUser","Elapsed":0} -{"Time":"2023-03-29T13:37:32.796417599Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer"} -{"Time":"2023-03-29T13:37:32.796420175Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer","Output":"=== RUN TestServer\n"} -{"Time":"2023-03-29T13:37:32.796424448Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Production"} -{"Time":"2023-03-29T13:37:32.796426853Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":"=== RUN TestServer/Production\n"} -{"Time":"2023-03-29T13:37:32.797198344Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" server_test.go:109: \n"} -{"Time":"2023-03-29T13:37:32.797204437Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_test.go:109\n"} -{"Time":"2023-03-29T13:37:32.797207471Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \tError: \tReceived unexpected error:\n"} -{"Time":"2023-03-29T13:37:32.797210203Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \tcould not start resource:\n"} -{"Time":"2023-03-29T13:37:32.797213234Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.797216169Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} -{"Time":"2023-03-29T13:37:32.797219132Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} -{"Time":"2023-03-29T13:37:32.797221978Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \n"} -{"Time":"2023-03-29T13:37:32.797224749Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} -{"Time":"2023-03-29T13:37:32.797227673Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} -{"Time":"2023-03-29T13:37:32.797230597Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/coderd/database/postgres.Open\n"} -{"Time":"2023-03-29T13:37:32.797234931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} -{"Time":"2023-03-29T13:37:32.797243511Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/cli_test.TestServer.func1\n"} -{"Time":"2023-03-29T13:37:32.797248163Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_test.go:108\n"} -{"Time":"2023-03-29T13:37:32.79725113Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t testing.tRunner\n"} -{"Time":"2023-03-29T13:37:32.797253983Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} -{"Time":"2023-03-29T13:37:32.797257318Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t runtime.goexit\n"} -{"Time":"2023-03-29T13:37:32.797261252Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} -{"Time":"2023-03-29T13:37:32.797266495Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":" \tTest: \tTestServer/Production\n"} -{"Time":"2023-03-29T13:37:32.797274297Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Output":"--- FAIL: TestServer/Production (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.797277522Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServer/Production","Elapsed":0} -{"Time":"2023-03-29T13:37:32.797280535Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres"} -{"Time":"2023-03-29T13:37:32.797283019Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":"=== RUN TestServer/BuiltinPostgres\n"} -{"Time":"2023-03-29T13:37:32.797286137Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":"=== PAUSE TestServer/BuiltinPostgres\n"} -{"Time":"2023-03-29T13:37:32.797288614Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres"} -{"Time":"2023-03-29T13:37:32.797294343Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL"} -{"Time":"2023-03-29T13:37:32.797296802Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== RUN TestServer/BuiltinPostgresURL\n"} -{"Time":"2023-03-29T13:37:32.797299815Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== PAUSE TestServer/BuiltinPostgresURL\n"} -{"Time":"2023-03-29T13:37:32.797302293Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL"} -{"Time":"2023-03-29T13:37:32.797306699Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw"} -{"Time":"2023-03-29T13:37:32.797309403Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== RUN TestServer/BuiltinPostgresURLRaw\n"} -{"Time":"2023-03-29T13:37:32.79731478Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== PAUSE TestServer/BuiltinPostgresURLRaw\n"} -{"Time":"2023-03-29T13:37:32.797319293Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw"} -{"Time":"2023-03-29T13:37:32.797324667Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL"} -{"Time":"2023-03-29T13:37:32.797328467Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":"=== RUN TestServer/LocalAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797331431Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":"=== PAUSE TestServer/LocalAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797333768Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL"} -{"Time":"2023-03-29T13:37:32.797341584Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.797345334Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":"=== RUN TestServer/RemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.79737723Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":"=== PAUSE TestServer/RemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797380853Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.797385247Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.797387813Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== RUN TestServer/NoWarningWithRemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797405636Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== PAUSE TestServer/NoWarningWithRemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797408839Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.797426981Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL"} -{"Time":"2023-03-29T13:37:32.797430439Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== RUN TestServer/NoSchemeAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797434847Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== PAUSE TestServer/NoSchemeAccessURL\n"} -{"Time":"2023-03-29T13:37:32.797437343Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL"} -{"Time":"2023-03-29T13:37:32.797445885Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion"} -{"Time":"2023-03-29T13:37:32.797448325Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Output":"=== RUN TestServer/TLSBadVersion\n"} -{"Time":"2023-03-29T13:37:32.797466497Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Output":"=== PAUSE TestServer/TLSBadVersion\n"} -{"Time":"2023-03-29T13:37:32.797471662Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion"} -{"Time":"2023-03-29T13:37:32.797476114Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth"} -{"Time":"2023-03-29T13:37:32.797478506Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== RUN TestServer/TLSBadClientAuth\n"} -{"Time":"2023-03-29T13:37:32.797495642Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== PAUSE TestServer/TLSBadClientAuth\n"} -{"Time":"2023-03-29T13:37:32.79750134Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth"} -{"Time":"2023-03-29T13:37:32.797508036Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid"} -{"Time":"2023-03-29T13:37:32.797510579Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid","Output":"=== RUN TestServer/TLSInvalid\n"} -{"Time":"2023-03-29T13:37:32.797525872Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid","Output":"=== PAUSE TestServer/TLSInvalid\n"} -{"Time":"2023-03-29T13:37:32.797528971Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid"} -{"Time":"2023-03-29T13:37:32.797533231Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid"} -{"Time":"2023-03-29T13:37:32.797535658Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":"=== RUN TestServer/TLSValid\n"} -{"Time":"2023-03-29T13:37:32.797552494Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":"=== PAUSE TestServer/TLSValid\n"} -{"Time":"2023-03-29T13:37:32.797556455Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid"} -{"Time":"2023-03-29T13:37:32.797560606Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple"} -{"Time":"2023-03-29T13:37:32.797563041Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":"=== RUN TestServer/TLSValidMultiple\n"} -{"Time":"2023-03-29T13:37:32.797579028Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":"=== PAUSE TestServer/TLSValidMultiple\n"} -{"Time":"2023-03-29T13:37:32.797582214Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple"} -{"Time":"2023-03-29T13:37:32.797586334Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP"} -{"Time":"2023-03-29T13:37:32.797588893Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":"=== RUN TestServer/TLSAndHTTP\n"} -{"Time":"2023-03-29T13:37:32.797623711Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":"=== PAUSE TestServer/TLSAndHTTP\n"} -{"Time":"2023-03-29T13:37:32.797626474Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP"} -{"Time":"2023-03-29T13:37:32.797631971Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect"} -{"Time":"2023-03-29T13:37:32.797634471Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect","Output":"=== RUN TestServer/TLSRedirect\n"} -{"Time":"2023-03-29T13:37:32.797650491Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect","Output":"=== PAUSE TestServer/TLSRedirect\n"} -{"Time":"2023-03-29T13:37:32.797654521Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect"} -{"Time":"2023-03-29T13:37:32.797659191Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4"} -{"Time":"2023-03-29T13:37:32.797661727Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== RUN TestServer/CanListenUnspecifiedv4\n"} -{"Time":"2023-03-29T13:37:32.797677081Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== PAUSE TestServer/CanListenUnspecifiedv4\n"} -{"Time":"2023-03-29T13:37:32.797679898Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4"} -{"Time":"2023-03-29T13:37:32.797685398Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6"} -{"Time":"2023-03-29T13:37:32.797688055Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== RUN TestServer/CanListenUnspecifiedv6\n"} -{"Time":"2023-03-29T13:37:32.797706704Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== PAUSE TestServer/CanListenUnspecifiedv6\n"} -{"Time":"2023-03-29T13:37:32.797710667Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6"} -{"Time":"2023-03-29T13:37:32.797714823Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress"} -{"Time":"2023-03-29T13:37:32.797717235Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Output":"=== RUN TestServer/NoAddress\n"} -{"Time":"2023-03-29T13:37:32.797732629Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Output":"=== PAUSE TestServer/NoAddress\n"} -{"Time":"2023-03-29T13:37:32.797735715Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress"} -{"Time":"2023-03-29T13:37:32.797739744Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress"} -{"Time":"2023-03-29T13:37:32.797742309Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Output":"=== RUN TestServer/NoTLSAddress\n"} -{"Time":"2023-03-29T13:37:32.797754504Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Output":"=== PAUSE TestServer/NoTLSAddress\n"} -{"Time":"2023-03-29T13:37:32.797757251Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress"} -{"Time":"2023-03-29T13:37:32.797762513Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress"} -{"Time":"2023-03-29T13:37:32.797764941Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress","Output":"=== RUN TestServer/DeprecatedAddress\n"} -{"Time":"2023-03-29T13:37:32.797791112Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress","Output":"=== PAUSE TestServer/DeprecatedAddress\n"} -{"Time":"2023-03-29T13:37:32.797794156Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress"} -{"Time":"2023-03-29T13:37:32.797818478Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown"} -{"Time":"2023-03-29T13:37:32.797821565Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":"=== RUN TestServer/Shutdown\n"} -{"Time":"2023-03-29T13:37:32.799148069Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerShutdown1335635398/002 server --in-memory --http-address :0 --access-url http://example.com --provisioner-daemons 1 --cache-dir /tmp/TestServerShutdown1335635398/001\n"} -{"Time":"2023-03-29T13:37:32.799996289Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:39611\n"} -{"Time":"2023-03-29T13:37:32.803857037Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:32.820483862Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:32.840616097Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:32.840652908Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:32.840837548Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:32.840996757Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:32.841130055Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:32.843139909Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Output":"--- PASS: TestServer/Shutdown (0.05s)\n"} -{"Time":"2023-03-29T13:37:32.843152696Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Shutdown","Elapsed":0.05} -{"Time":"2023-03-29T13:37:32.843181686Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak"} -{"Time":"2023-03-29T13:37:32.843185961Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":"=== RUN TestServer/TracerNoLeak\n"} -{"Time":"2023-03-29T13:37:32.84324137Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":"=== PAUSE TestServer/TracerNoLeak\n"} -{"Time":"2023-03-29T13:37:32.843248162Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak"} -{"Time":"2023-03-29T13:37:32.84327344Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry"} -{"Time":"2023-03-29T13:37:32.843276473Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":"=== RUN TestServer/Telemetry\n"} -{"Time":"2023-03-29T13:37:32.843298273Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":"=== PAUSE TestServer/Telemetry\n"} -{"Time":"2023-03-29T13:37:32.843301329Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry"} -{"Time":"2023-03-29T13:37:32.843328619Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus"} -{"Time":"2023-03-29T13:37:32.843332448Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":"=== RUN TestServer/Prometheus\n"} -{"Time":"2023-03-29T13:37:32.843360436Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":"=== PAUSE TestServer/Prometheus\n"} -{"Time":"2023-03-29T13:37:32.843363322Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus"} -{"Time":"2023-03-29T13:37:32.843393432Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth"} -{"Time":"2023-03-29T13:37:32.843398556Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":"=== RUN TestServer/GitHubOAuth\n"} -{"Time":"2023-03-29T13:37:32.843457011Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":"=== PAUSE TestServer/GitHubOAuth\n"} -{"Time":"2023-03-29T13:37:32.843461316Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth"} -{"Time":"2023-03-29T13:37:32.843486876Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit"} -{"Time":"2023-03-29T13:37:32.84349017Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit","Output":"=== RUN TestServer/RateLimit\n"} -{"Time":"2023-03-29T13:37:32.843512128Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit","Output":"=== PAUSE TestServer/RateLimit\n"} -{"Time":"2023-03-29T13:37:32.843515107Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit"} -{"Time":"2023-03-29T13:37:32.843530012Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging"} -{"Time":"2023-03-29T13:37:32.843532716Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging","Output":"=== RUN TestServer/Logging\n"} -{"Time":"2023-03-29T13:37:32.843562048Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging","Output":"=== PAUSE TestServer/Logging\n"} -{"Time":"2023-03-29T13:37:32.843565639Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging"} -{"Time":"2023-03-29T13:37:32.843591297Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres"} -{"Time":"2023-03-29T13:37:32.843594335Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":"=== CONT TestServer/BuiltinPostgres\n"} -{"Time":"2023-03-29T13:37:32.845419328Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgres1969653008/002 server --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerBuiltinPostgres1969653008/001\n"} -{"Time":"2023-03-29T13:37:32.846522439Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Using built-in PostgreSQL (/tmp/TestServerBuiltinPostgres1969653008/002/postgres)\n"} -{"Time":"2023-03-29T13:37:32.847782539Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging"} -{"Time":"2023-03-29T13:37:32.847787939Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging","Output":"=== CONT TestServer/Logging\n"} -{"Time":"2023-03-29T13:37:32.847793104Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile"} -{"Time":"2023-03-29T13:37:32.847797472Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== RUN TestServer/Logging/CreatesFile\n"} -{"Time":"2023-03-29T13:37:32.847809954Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== PAUSE TestServer/Logging/CreatesFile\n"} -{"Time":"2023-03-29T13:37:32.847814894Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile"} -{"Time":"2023-03-29T13:37:32.847821007Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human"} -{"Time":"2023-03-29T13:37:32.847823557Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":"=== RUN TestServer/Logging/Human\n"} -{"Time":"2023-03-29T13:37:32.847827971Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":"=== PAUSE TestServer/Logging/Human\n"} -{"Time":"2023-03-29T13:37:32.847830572Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human"} -{"Time":"2023-03-29T13:37:32.847846314Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON"} -{"Time":"2023-03-29T13:37:32.847849769Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":"=== RUN TestServer/Logging/JSON\n"} -{"Time":"2023-03-29T13:37:32.847855516Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":"=== PAUSE TestServer/Logging/JSON\n"} -{"Time":"2023-03-29T13:37:32.847858116Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON"} -{"Time":"2023-03-29T13:37:32.847862399Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver"} -{"Time":"2023-03-29T13:37:32.847864919Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== RUN TestServer/Logging/Stackdriver\n"} -{"Time":"2023-03-29T13:37:32.847879575Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== PAUSE TestServer/Logging/Stackdriver\n"} -{"Time":"2023-03-29T13:37:32.847884818Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver"} -{"Time":"2023-03-29T13:37:32.847891759Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple"} -{"Time":"2023-03-29T13:37:32.847894796Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":"=== RUN TestServer/Logging/Multiple\n"} -{"Time":"2023-03-29T13:37:32.847919729Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":"=== PAUSE TestServer/Logging/Multiple\n"} -{"Time":"2023-03-29T13:37:32.847922769Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple"} -{"Time":"2023-03-29T13:37:32.847927067Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile"} -{"Time":"2023-03-29T13:37:32.847929708Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== CONT TestServer/Logging/CreatesFile\n"} -{"Time":"2023-03-29T13:37:32.848797106Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingCreatesFile2700332728/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingCreatesFile2700332728/001/coder-logging-test-2490710733\n"} -{"Time":"2023-03-29T13:37:32.849489309Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:46231\n"} -{"Time":"2023-03-29T13:37:32.849644524Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit"} -{"Time":"2023-03-29T13:37:32.849648931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit","Output":"=== CONT TestServer/RateLimit\n"} -{"Time":"2023-03-29T13:37:32.849654201Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default"} -{"Time":"2023-03-29T13:37:32.849658963Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":"=== RUN TestServer/RateLimit/Default\n"} -{"Time":"2023-03-29T13:37:32.849673813Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":"=== PAUSE TestServer/RateLimit/Default\n"} -{"Time":"2023-03-29T13:37:32.849676949Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default"} -{"Time":"2023-03-29T13:37:32.849690853Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed"} -{"Time":"2023-03-29T13:37:32.849694907Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":"=== RUN TestServer/RateLimit/Changed\n"} -{"Time":"2023-03-29T13:37:32.849700056Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":"=== PAUSE TestServer/RateLimit/Changed\n"} -{"Time":"2023-03-29T13:37:32.849702697Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed"} -{"Time":"2023-03-29T13:37:32.849706931Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled"} -{"Time":"2023-03-29T13:37:32.849709323Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== RUN TestServer/RateLimit/Disabled\n"} -{"Time":"2023-03-29T13:37:32.849713561Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== PAUSE TestServer/RateLimit/Disabled\n"} -{"Time":"2023-03-29T13:37:32.849716093Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled"} -{"Time":"2023-03-29T13:37:32.849720102Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default"} -{"Time":"2023-03-29T13:37:32.849722411Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":"=== CONT TestServer/RateLimit/Default\n"} -{"Time":"2023-03-29T13:37:32.850485755Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitDefault1881118474/001 server --in-memory --http-address :0 --access-url http://example.com\n"} -{"Time":"2023-03-29T13:37:32.851011889Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38127\n"} -{"Time":"2023-03-29T13:37:32.851175576Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth"} -{"Time":"2023-03-29T13:37:32.851180015Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":"=== CONT TestServer/GitHubOAuth\n"} -{"Time":"2023-03-29T13:37:32.851983967Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerGitHubOAuth724593823/001 server --in-memory --http-address :0 --access-url http://example.com --oauth2-github-allow-everyone --oauth2-github-client-id fake --oauth2-github-client-secret fake --oauth2-github-enterprise-base-url https://fake-url.com\n"} -{"Time":"2023-03-29T13:37:32.852521551Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:33313\n"} -{"Time":"2023-03-29T13:37:32.852663734Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus"} -{"Time":"2023-03-29T13:37:32.852668353Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":"=== CONT TestServer/Prometheus\n"} -{"Time":"2023-03-29T13:37:32.853556318Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerPrometheus2050744846/002 server --in-memory --http-address :0 --access-url http://example.com --provisioner-daemons 1 --prometheus-enable --prometheus-address :37569 --cache-dir /tmp/TestServerPrometheus2050744846/001\n"} -{"Time":"2023-03-29T13:37:32.854050354Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38381\n"} -{"Time":"2023-03-29T13:37:32.854220704Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry"} -{"Time":"2023-03-29T13:37:32.854225473Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":"=== CONT TestServer/Telemetry\n"} -{"Time":"2023-03-29T13:37:32.855113604Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTelemetry4206954660/002 server --in-memory --http-address :0 --access-url http://example.com --telemetry --telemetry-url http://127.0.0.1:46805 --cache-dir /tmp/TestServerTelemetry4206954660/001\n"} -{"Time":"2023-03-29T13:37:32.855607409Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:46851\n"} -{"Time":"2023-03-29T13:37:32.855759635Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak"} -{"Time":"2023-03-29T13:37:32.85576445Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":"=== CONT TestServer/TracerNoLeak\n"} -{"Time":"2023-03-29T13:37:32.856575033Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTracerNoLeak127485117/002 server --in-memory --http-address :0 --access-url http://example.com --trace=true --cache-dir /tmp/TestServerTracerNoLeak127485117/001\n"} -{"Time":"2023-03-29T13:37:32.859583574Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress"} -{"Time":"2023-03-29T13:37:32.859590623Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress","Output":"=== CONT TestServer/DeprecatedAddress\n"} -{"Time":"2023-03-29T13:37:32.859595635Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP"} -{"Time":"2023-03-29T13:37:32.859598523Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== RUN TestServer/DeprecatedAddress/HTTP\n"} -{"Time":"2023-03-29T13:37:32.860822192Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress"} -{"Time":"2023-03-29T13:37:32.860826569Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Output":"=== CONT TestServer/NoTLSAddress\n"} -{"Time":"2023-03-29T13:37:32.861575027Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoTLSAddress2369561878/001 server --in-memory --tls-enable=true --tls-address \n"} -{"Time":"2023-03-29T13:37:32.861999568Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Output":"--- PASS: TestServer/NoTLSAddress (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.863329199Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/NoTLSAddress","Elapsed":0} -{"Time":"2023-03-29T13:37:32.863344025Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress"} -{"Time":"2023-03-29T13:37:32.863348554Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Output":"=== CONT TestServer/NoAddress\n"} -{"Time":"2023-03-29T13:37:32.864056037Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoAddress3728350894/001 server --in-memory --http-address :80 --tls-enable=false --tls-address \n"} -{"Time":"2023-03-29T13:37:32.864465815Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Output":"--- PASS: TestServer/NoAddress (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.865769258Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/NoAddress","Elapsed":0} -{"Time":"2023-03-29T13:37:32.865776672Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6"} -{"Time":"2023-03-29T13:37:32.865779982Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== CONT TestServer/CanListenUnspecifiedv6\n"} -{"Time":"2023-03-29T13:37:32.866452947Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerCanListenUnspecifiedv63515544106/001 server --in-memory --http-address [::]:0 --access-url http://example.com\n"} -{"Time":"2023-03-29T13:37:32.86788654Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4"} -{"Time":"2023-03-29T13:37:32.867892077Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== CONT TestServer/CanListenUnspecifiedv4\n"} -{"Time":"2023-03-29T13:37:32.868594181Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerCanListenUnspecifiedv43698525072/001 server --in-memory --http-address 0.0.0.0:0 --access-url http://example.com\n"} -{"Time":"2023-03-29T13:37:32.87981375Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect"} -{"Time":"2023-03-29T13:37:32.879832688Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect","Output":"=== CONT TestServer/TLSRedirect\n"} -{"Time":"2023-03-29T13:37:32.879840427Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK"} -{"Time":"2023-03-29T13:37:32.879843579Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== RUN TestServer/TLSRedirect/OK\n"} -{"Time":"2023-03-29T13:37:32.879847493Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== PAUSE TestServer/TLSRedirect/OK\n"} -{"Time":"2023-03-29T13:37:32.879850007Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK"} -{"Time":"2023-03-29T13:37:32.879858919Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect"} -{"Time":"2023-03-29T13:37:32.87986153Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== RUN TestServer/TLSRedirect/NoRedirect\n"} -{"Time":"2023-03-29T13:37:32.879868217Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== PAUSE TestServer/TLSRedirect/NoRedirect\n"} -{"Time":"2023-03-29T13:37:32.879871031Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect"} -{"Time":"2023-03-29T13:37:32.879882319Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} -{"Time":"2023-03-29T13:37:32.879885302Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== RUN TestServer/TLSRedirect/NoRedirectWithWildcard\n"} -{"Time":"2023-03-29T13:37:32.879901278Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== PAUSE TestServer/TLSRedirect/NoRedirectWithWildcard\n"} -{"Time":"2023-03-29T13:37:32.879904339Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} -{"Time":"2023-03-29T13:37:32.879917091Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} -{"Time":"2023-03-29T13:37:32.879920112Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== RUN TestServer/TLSRedirect/NoTLSListener\n"} -{"Time":"2023-03-29T13:37:32.881385273Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP"} -{"Time":"2023-03-29T13:37:32.881392419Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":"=== CONT TestServer/TLSAndHTTP\n"} -{"Time":"2023-03-29T13:37:32.883317205Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSAndHTTP1565439063/003 server --in-memory --http-address :0 --access-url https://example.com --tls-enable --tls-redirect-http-to-https=false --tls-address :0 --tls-cert-file /tmp/TestServerTLSAndHTTP1565439063/001/1540336369 --tls-key-file /tmp/TestServerTLSAndHTTP1565439063/001/228555534 --cache-dir /tmp/TestServerTLSAndHTTP1565439063/002\n"} -{"Time":"2023-03-29T13:37:32.886709195Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple"} -{"Time":"2023-03-29T13:37:32.886720913Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":"=== CONT TestServer/TLSValidMultiple\n"} -{"Time":"2023-03-29T13:37:32.888650035Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSValidMultiple3077156975/004 server --in-memory --http-address --access-url https://example.com --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSValidMultiple3077156975/001/3448842699 --tls-key-file /tmp/TestServerTLSValidMultiple3077156975/001/3382329005 --tls-cert-file /tmp/TestServerTLSValidMultiple3077156975/002/610618616 --tls-key-file /tmp/TestServerTLSValidMultiple3077156975/002/3728409390 --cache-dir /tmp/TestServerTLSValidMultiple3077156975/003\n"} -{"Time":"2023-03-29T13:37:32.889032741Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid"} -{"Time":"2023-03-29T13:37:32.889040091Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":"=== CONT TestServer/TLSValid\n"} -{"Time":"2023-03-29T13:37:32.890094104Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSValid1911968885/003 server --in-memory --http-address --access-url https://example.com --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSValid1911968885/001/91528180 --tls-key-file /tmp/TestServerTLSValid1911968885/001/1223943395 --cache-dir /tmp/TestServerTLSValid1911968885/002\n"} -{"Time":"2023-03-29T13:37:32.890711151Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Started TLS/HTTPS listener at https://[::]:38747\n"} -{"Time":"2023-03-29T13:37:32.893432414Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid"} -{"Time":"2023-03-29T13:37:32.893439577Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid","Output":"=== CONT TestServer/TLSInvalid\n"} -{"Time":"2023-03-29T13:37:32.895534213Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert"} -{"Time":"2023-03-29T13:37:32.895540534Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== RUN TestServer/TLSInvalid/NoCert\n"} -{"Time":"2023-03-29T13:37:32.895545749Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== PAUSE TestServer/TLSInvalid/NoCert\n"} -{"Time":"2023-03-29T13:37:32.895548511Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert"} -{"Time":"2023-03-29T13:37:32.89555469Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey"} -{"Time":"2023-03-29T13:37:32.895559989Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== RUN TestServer/TLSInvalid/NoKey\n"} -{"Time":"2023-03-29T13:37:32.895564748Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== PAUSE TestServer/TLSInvalid/NoKey\n"} -{"Time":"2023-03-29T13:37:32.895567562Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey"} -{"Time":"2023-03-29T13:37:32.895571832Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} -{"Time":"2023-03-29T13:37:32.895574371Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== RUN TestServer/TLSInvalid/MismatchedCount\n"} -{"Time":"2023-03-29T13:37:32.895579082Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== PAUSE TestServer/TLSInvalid/MismatchedCount\n"} -{"Time":"2023-03-29T13:37:32.895581688Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} -{"Time":"2023-03-29T13:37:32.895586121Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} -{"Time":"2023-03-29T13:37:32.895588766Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== RUN TestServer/TLSInvalid/MismatchedCertAndKey\n"} -{"Time":"2023-03-29T13:37:32.895593302Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== PAUSE TestServer/TLSInvalid/MismatchedCertAndKey\n"} -{"Time":"2023-03-29T13:37:32.895595797Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} -{"Time":"2023-03-29T13:37:32.895598709Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert"} -{"Time":"2023-03-29T13:37:32.895601189Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== CONT TestServer/TLSInvalid/NoCert\n"} -{"Time":"2023-03-29T13:37:32.896383938Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidNoCert155343146/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoCert155343146/001 --tls-enable --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089\n"} -{"Time":"2023-03-29T13:37:32.896712838Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:41521\n"} -{"Time":"2023-03-29T13:37:32.896777738Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoCert155343146/001 --tls-enable --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089]\n"} -{"Time":"2023-03-29T13:37:32.896926023Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"--- PASS: TestServer/TLSInvalid/NoCert (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.896932574Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoCert","Elapsed":0} -{"Time":"2023-03-29T13:37:32.896936656Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth"} -{"Time":"2023-03-29T13:37:32.896939204Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== CONT TestServer/TLSBadClientAuth\n"} -{"Time":"2023-03-29T13:37:32.897600801Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSBadClientAuth2976087810/002 server --in-memory --http-address --access-url http://example.com --tls-enable --tls-address :0 --tls-client-auth something --cache-dir /tmp/TestServerTLSBadClientAuth2976087810/001\n"} -{"Time":"2023-03-29T13:37:32.897994004Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Output":"--- PASS: TestServer/TLSBadClientAuth (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.898002196Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadClientAuth","Elapsed":0} -{"Time":"2023-03-29T13:37:32.89800515Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion"} -{"Time":"2023-03-29T13:37:32.898008134Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Output":"=== CONT TestServer/TLSBadVersion\n"} -{"Time":"2023-03-29T13:37:32.898635976Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSBadVersion2460276843/002 server --in-memory --http-address --access-url http://example.com --tls-enable --tls-address :0 --tls-min-version tls9 --cache-dir /tmp/TestServerTLSBadVersion2460276843/001\n"} -{"Time":"2023-03-29T13:37:32.899017393Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Output":"--- PASS: TestServer/TLSBadVersion (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.899025249Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSBadVersion","Elapsed":0} -{"Time":"2023-03-29T13:37:32.899028489Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL"} -{"Time":"2023-03-29T13:37:32.899031117Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== CONT TestServer/NoSchemeAccessURL\n"} -{"Time":"2023-03-29T13:37:32.899735022Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoSchemeAccessURL3227162288/002 server --in-memory --http-address :0 --access-url google.com --cache-dir /tmp/TestServerNoSchemeAccessURL3227162288/001\n"} -{"Time":"2023-03-29T13:37:32.900078052Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Output":"--- PASS: TestServer/NoSchemeAccessURL (0.00s)\n"} -{"Time":"2023-03-29T13:37:32.900133291Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/NoSchemeAccessURL","Elapsed":0} -{"Time":"2023-03-29T13:37:32.900136928Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.900139387Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== CONT TestServer/NoWarningWithRemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.900802695Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoWarningWithRemoteAccessURL2261451002/002 server --in-memory --http-address :0 --access-url https://google.com --cache-dir /tmp/TestServerNoWarningWithRemoteAccessURL2261451002/001\n"} -{"Time":"2023-03-29T13:37:32.901428258Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL"} -{"Time":"2023-03-29T13:37:32.901434866Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":"=== CONT TestServer/RemoteAccessURL\n"} -{"Time":"2023-03-29T13:37:32.902088159Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRemoteAccessURL917985260/002 server --in-memory --http-address :0 --access-url https://foobarbaz.mydomain --cache-dir /tmp/TestServerRemoteAccessURL917985260/001\n"} -{"Time":"2023-03-29T13:37:32.904875871Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL"} -{"Time":"2023-03-29T13:37:32.90488445Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":"=== CONT TestServer/LocalAccessURL\n"} -{"Time":"2023-03-29T13:37:32.905523425Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLocalAccessURL3554694382/002 server --in-memory --http-address :0 --access-url http://localhost:3000/ --cache-dir /tmp/TestServerLocalAccessURL3554694382/001\n"} -{"Time":"2023-03-29T13:37:32.909203431Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw"} -{"Time":"2023-03-29T13:37:32.909214782Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== CONT TestServer/BuiltinPostgresURLRaw\n"} -{"Time":"2023-03-29T13:37:32.90987112Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgresURLRaw2301128244/001 server postgres-builtin-url --raw-url\n"} -{"Time":"2023-03-29T13:37:32.910387857Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL"} -{"Time":"2023-03-29T13:37:32.910393909Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== CONT TestServer/BuiltinPostgresURL\n"} -{"Time":"2023-03-29T13:37:32.911031385Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgresURL2022412164/001 server postgres-builtin-url\n"} -{"Time":"2023-03-29T13:37:32.911696996Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple"} -{"Time":"2023-03-29T13:37:32.911705024Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":"=== CONT TestServer/Logging/Multiple\n"} -{"Time":"2023-03-29T13:37:32.912435053Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingMultiple1018156314/004 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingMultiple1018156314/001/coder-logging-test-2240709984 --log-json /tmp/TestServerLoggingMultiple1018156314/002/coder-logging-test-2164710923 --log-stackdriver /tmp/TestServerLoggingMultiple1018156314/003/coder-logging-test-3557853095\n"} -{"Time":"2023-03-29T13:37:32.912514796Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver"} -{"Time":"2023-03-29T13:37:32.912520309Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== CONT TestServer/Logging/Stackdriver\n"} -{"Time":"2023-03-29T13:37:32.913204422Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingStackdriver1654522233/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-stackdriver /tmp/TestServerLoggingStackdriver1654522233/001/coder-logging-test-3531177805\n"} -{"Time":"2023-03-29T13:37:32.913286393Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON"} -{"Time":"2023-03-29T13:37:32.913292549Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":"=== CONT TestServer/Logging/JSON\n"} -{"Time":"2023-03-29T13:37:32.913937207Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingJSON1509288451/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-json /tmp/TestServerLoggingJSON1509288451/001/coder-logging-test-115410787\n"} -{"Time":"2023-03-29T13:37:32.913982029Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human"} -{"Time":"2023-03-29T13:37:32.913985447Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":"=== CONT TestServer/Logging/Human\n"} -{"Time":"2023-03-29T13:37:32.914664441Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingHuman1910502850/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingHuman1910502850/001/coder-logging-test-2040592756\n"} -{"Time":"2023-03-29T13:37:32.915201663Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42891\n"} -{"Time":"2023-03-29T13:37:32.915334373Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled"} -{"Time":"2023-03-29T13:37:32.91533902Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== CONT TestServer/RateLimit/Disabled\n"} -{"Time":"2023-03-29T13:37:32.915962046Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitDisabled1912095220/001 server --in-memory --http-address :0 --access-url http://example.com --api-rate-limit -1\n"} -{"Time":"2023-03-29T13:37:32.916390927Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:35065\n"} -{"Time":"2023-03-29T13:37:32.917528951Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stderr: 2023-03-29 13:37:32.917 [WARN]\t\u003cgithub.com/coder/coder/cli/server.go:310\u003e\t(*RootCmd).Server.func1\tstart telemetry exporter ...\n"} -{"Time":"2023-03-29T13:37:32.917535354Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" \"error\": default exporter:\n"} -{"Time":"2023-03-29T13:37:32.917538568Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" github.com/coder/coder/coderd/tracing.TracerProvider\n"} -{"Time":"2023-03-29T13:37:32.917543903Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" /home/mafredri/src/coder/coder/coderd/tracing/exporter.go:51\n"} -{"Time":"2023-03-29T13:37:32.917547458Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" - create otlp exporter:\n"} -{"Time":"2023-03-29T13:37:32.917552386Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" github.com/coder/coder/coderd/tracing.DefaultExporter\n"} -{"Time":"2023-03-29T13:37:32.917557328Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" /home/mafredri/src/coder/coder/coderd/tracing/exporter.go:109\n"} -{"Time":"2023-03-29T13:37:32.917562236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" - context canceled\n"} -{"Time":"2023-03-29T13:37:32.917576569Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42093\n"} -{"Time":"2023-03-29T13:37:32.917619611Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} -{"Time":"2023-03-29T13:37:32.917642615Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:32.920130044Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:32.920155751Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:32.920178993Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:32.920200709Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:32.920249847Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== PAUSE TestServer/DeprecatedAddress/HTTP\n"} -{"Time":"2023-03-29T13:37:32.92025399Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP"} -{"Time":"2023-03-29T13:37:32.920269801Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS"} -{"Time":"2023-03-29T13:37:32.920274896Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== RUN TestServer/DeprecatedAddress/TLS\n"} -{"Time":"2023-03-29T13:37:32.920279669Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== PAUSE TestServer/DeprecatedAddress/TLS\n"} -{"Time":"2023-03-29T13:37:32.920282197Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS"} -{"Time":"2023-03-29T13:37:32.92570047Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== PAUSE TestServer/TLSRedirect/NoTLSListener\n"} -{"Time":"2023-03-29T13:37:32.92570807Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} -{"Time":"2023-03-29T13:37:32.925713393Z","Action":"run","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} -{"Time":"2023-03-29T13:37:32.92571595Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== RUN TestServer/TLSRedirect/NoHTTPListener\n"} -{"Time":"2023-03-29T13:37:32.925720434Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== PAUSE TestServer/TLSRedirect/NoHTTPListener\n"} -{"Time":"2023-03-29T13:37:32.925722986Z","Action":"pause","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} -{"Time":"2023-03-29T13:37:32.92724642Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"Started HTTP listener at http://[::]:39671\"\n"} -{"Time":"2023-03-29T13:37:32.927965116Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"Started HTTP listener at http://[::]:42445\"\n"} -{"Time":"2023-03-29T13:37:32.928006932Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"WARN: The access URL http://localhost:3000/ isn't externally reachable, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} -{"Time":"2023-03-29T13:37:32.928023919Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:32.92802928Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:32.928042009Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \"View the Web UI: http://localhost:3000/\\r\"\n"} -{"Time":"2023-03-29T13:37:32.928061275Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:32.928077795Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:32.973554406Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" server_test.go:173: 2023-03-29 13:37:32.973: cmd: matched newline = \"postgres://coder@localhost:43211/coder?sslmode=disable\u0026password=Xha7Pt7Mcuv0IlkT\"\n"} -{"Time":"2023-03-29T13:37:32.973585539Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:83: 2023-03-29 13:37:32.973: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:32.973602051Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:32.973653232Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:110: 2023-03-29 13:37:32.973: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:32.973673734Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:111: 2023-03-29 13:37:32.973: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:32.973681952Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:113: 2023-03-29 13:37:32.973: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:32.973745487Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.973755467Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:32.973767632Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.973787295Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:32.973794335Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.973897477Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" server_test.go:161: 2023-03-29 13:37:32.973: cmd: matched \"psql\" = \" psql\"\n"} -{"Time":"2023-03-29T13:37:32.973911816Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:83: 2023-03-29 13:37:32.973: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:32.97395369Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:32.973977688Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:110: 2023-03-29 13:37:32.973: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:32.973985059Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:111: 2023-03-29 13:37:32.973: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:32.974011895Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:113: 2023-03-29 13:37:32.973: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:32.974059281Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.974066822Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.974: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:32.974073474Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.974079891Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.974: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:32.974111815Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:32.976190183Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:32.976 [DEBUG]\t\u003cgithub.com/coder/coder/cli/server.go:260\u003e\t(*RootCmd).Server.func1\tstarted debug logging\n"} -{"Time":"2023-03-29T13:37:32.976499482Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:45725\n"} -{"Time":"2023-03-29T13:37:32.977583615Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:32.977594677Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed"} -{"Time":"2023-03-29T13:37:32.977598319Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":"=== CONT TestServer/RateLimit/Changed\n"} -{"Time":"2023-03-29T13:37:32.979536902Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitChanged2140102987/001 server --in-memory --http-address :0 --access-url http://example.com --api-rate-limit 100\n"} -{"Time":"2023-03-29T13:37:32.981248381Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:45133\n"} -{"Time":"2023-03-29T13:37:32.982290561Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:32.982: cmd: \"Started HTTP listener at http://0.0.0.0:37181\"\n"} -{"Time":"2023-03-29T13:37:32.982961159Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" server_test.go:718: 2023-03-29 13:37:32.982: cmd: matched \"Started HTTP listener\" = \"Started HTTP listener\"\n"} -{"Time":"2023-03-29T13:37:32.983105329Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" server_test.go:719: 2023-03-29 13:37:32.983: cmd: matched \"http://0.0.0.0:\" = \" at http://0.0.0.0:\"\n"} -{"Time":"2023-03-29T13:37:32.983250515Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:32.983: cmd: \"Started HTTP listener at http://[::]:33561\"\n"} -{"Time":"2023-03-29T13:37:32.984671213Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" server_test.go:738: 2023-03-29 13:37:32.983: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:32.984712571Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" server_test.go:739: 2023-03-29 13:37:32.983: cmd: matched \"http://[::]:\" = \" http://[::]:\"\n"} -{"Time":"2023-03-29T13:37:32.984733017Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:32.996108891Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:32.996314264Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.00125555Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.001437292Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.002347544Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.00471704Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.004816922Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} -{"Time":"2023-03-29T13:37:33.004828798Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.008304441Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.008334151Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.008344183Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.008351448Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.008401366Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} -{"Time":"2023-03-29T13:37:33.00852168Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} -{"Time":"2023-03-29T13:37:33.008558749Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP"} -{"Time":"2023-03-29T13:37:33.008572474Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== CONT TestServer/DeprecatedAddress/HTTP\n"} -{"Time":"2023-03-29T13:37:33.009297224Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerDeprecatedAddressHTTP1174595269/002 server --in-memory --address :0 --access-url http://example.com --cache-dir /tmp/TestServerDeprecatedAddressHTTP1174595269/001\n"} -{"Time":"2023-03-29T13:37:33.011200842Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" server_test.go:196: 2023-03-29 13:37:33.011: cmd: matched \"this may cause unexpected problems when creating workspaces\" = \"Started HTTP listener at http://[::]:42445\\r\\nWARN: The access URL http://localhost:3000/ isn't externally reachable, this may cause unexpected problems when creating workspaces\"\n"} -{"Time":"2023-03-29T13:37:33.011256139Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" server_test.go:197: 2023-03-29 13:37:33.011: cmd: matched \"View the Web UI: http://localhost:3000/\" = \". Generate a unique *.try.coder.app URL by not specifying an access URL.\\r\\n \\r\\r\\n \\r\\nView the Web UI: http://localhost:3000/\"\n"} -{"Time":"2023-03-29T13:37:33.011375838Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} -{"Time":"2023-03-29T13:37:33.01139606Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.013674142Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.013696745Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.013708678Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.013717271Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.013756177Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} -{"Time":"2023-03-29T13:37:33.013807024Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.013 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} -{"Time":"2023-03-29T13:37:33.013861318Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} -{"Time":"2023-03-29T13:37:33.014354405Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:121: 2023-03-29 13:37:33.014: cmd: \"postgres://coder@localhost:43211/coder?sslmode=disable\u0026password=Xha7Pt7Mcuv0IlkT\"\n"} -{"Time":"2023-03-29T13:37:33.014367303Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:102: 2023-03-29 13:37:33.014: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.01451535Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"--- PASS: TestServer/BuiltinPostgresURLRaw (0.11s)\n"} -{"Time":"2023-03-29T13:37:33.014525519Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURLRaw","Elapsed":0.11} -{"Time":"2023-03-29T13:37:33.014534922Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK"} -{"Time":"2023-03-29T13:37:33.014543883Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== CONT TestServer/TLSRedirect/OK\n"} -{"Time":"2023-03-29T13:37:33.01571179Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectOK4195649967/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectOK4195649967/002 --http-address :0 --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectOK4195649967/001/1898764516 --tls-key-file /tmp/TestServerTLSRedirectOK4195649967/001/3656697468 --wildcard-access-url *.example.com --access-url https://example.com --redirect-to-access-url\n"} -{"Time":"2023-03-29T13:37:33.015887089Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.015: cmd: \" psql \\\"postgres://coder@localhost:43265/coder?sslmode=disable\u0026password=qZX0YVm9trLHmHzY\\\" \"\n"} -{"Time":"2023-03-29T13:37:33.015903823Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.015: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.016045291Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Output":"--- PASS: TestServer/BuiltinPostgresURL (0.11s)\n"} -{"Time":"2023-03-29T13:37:33.01632566Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgresURL","Elapsed":0.11} -{"Time":"2023-03-29T13:37:33.016345189Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.022419375Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.099478164Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.138846249Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.137: cmd: \"Started TLS/HTTPS listener at https://[::]:46747\"\n"} -{"Time":"2023-03-29T13:37:33.138887737Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} -{"Time":"2023-03-29T13:37:33.138894754Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} -{"Time":"2023-03-29T13:37:33.138900199Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} -{"Time":"2023-03-29T13:37:33.138905607Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} -{"Time":"2023-03-29T13:37:33.138911333Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.141820899Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.140 [DEBUG]\t(coderd.metrics_cache)\t\u003cgithub.com/coder/coder/coderd/metricscache/metricscache.go:272\u003e\t(*Cache).run\tdeployment stats metrics refreshed\t{\"took\": \"23.786µs\", \"interval\": \"30s\"}\n"} -{"Time":"2023-03-29T13:37:33.141862791Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\t(*Server).connect\tconnected\n"} -{"Time":"2023-03-29T13:37:33.141871378Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\t(*Server).connect\tconnected\n"} -{"Time":"2023-03-29T13:37:33.14187713Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} -{"Time":"2023-03-29T13:37:33.141883292Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} -{"Time":"2023-03-29T13:37:33.141893432Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} -{"Time":"2023-03-29T13:37:33.141898548Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} -{"Time":"2023-03-29T13:37:33.141959656Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} -{"Time":"2023-03-29T13:37:33.142091685Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} -{"Time":"2023-03-29T13:37:33.142184362Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.142408919Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} -{"Time":"2023-03-29T13:37:33.142501883Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.147218812Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.147251166Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.14725864Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.147298554Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.147355456Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} -{"Time":"2023-03-29T13:37:33.14745485Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} -{"Time":"2023-03-29T13:37:33.148482198Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} -{"Time":"2023-03-29T13:37:33.148502985Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== CONT TestServer/TLSInvalid/MismatchedCertAndKey\n"} -{"Time":"2023-03-29T13:37:33.149452866Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/002/2775674587\n"} -{"Time":"2023-03-29T13:37:33.149984351Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38873\n"} -{"Time":"2023-03-29T13:37:33.150363114Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/002/2775674587]\n"} -{"Time":"2023-03-29T13:37:33.150581402Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"--- PASS: TestServer/TLSInvalid/MismatchedCertAndKey (0.00s)\n"} -{"Time":"2023-03-29T13:37:33.15059771Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Elapsed":0} -{"Time":"2023-03-29T13:37:33.150605526Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} -{"Time":"2023-03-29T13:37:33.150609996Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== CONT TestServer/TLSInvalid/MismatchedCount\n"} -{"Time":"2023-03-29T13:37:33.151854633Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidMismatchedCount803880522/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCount803880522/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089 --tls-cert-file /tmp/TestServerTLSInvalid1610620518/002/3269350839\n"} -{"Time":"2023-03-29T13:37:33.152410162Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:37839\n"} -{"Time":"2023-03-29T13:37:33.15252017Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCount803880522/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089 --tls-cert-file /tmp/TestServerTLSInvalid1610620518/002/3269350839]\n"} -{"Time":"2023-03-29T13:37:33.152732054Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"--- PASS: TestServer/TLSInvalid/MismatchedCount (0.00s)\n"} -{"Time":"2023-03-29T13:37:33.152746399Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Elapsed":0} -{"Time":"2023-03-29T13:37:33.152754347Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey"} -{"Time":"2023-03-29T13:37:33.152758935Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== CONT TestServer/TLSInvalid/NoKey\n"} -{"Time":"2023-03-29T13:37:33.153794977Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidNoKey281486761/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoKey281486761/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081\n"} -{"Time":"2023-03-29T13:37:33.154207106Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:43607\n"} -{"Time":"2023-03-29T13:37:33.15427222Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoKey281486761/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081]\n"} -{"Time":"2023-03-29T13:37:33.154468443Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"--- PASS: TestServer/TLSInvalid/NoKey (0.00s)\n"} -{"Time":"2023-03-29T13:37:33.154623549Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid/NoKey","Elapsed":0} -{"Time":"2023-03-29T13:37:33.154633176Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid","Output":"--- PASS: TestServer/TLSInvalid (0.00s)\n"} -{"Time":"2023-03-29T13:37:33.154761857Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSInvalid","Elapsed":0} -{"Time":"2023-03-29T13:37:33.154770493Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.154: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} -{"Time":"2023-03-29T13:37:33.439719632Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.43976961Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.439791036Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"View the Web UI: http://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.439807711Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.43982432Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.439851264Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.439869598Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.439886994Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.439905518Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.439924649Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.439941905Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:83: 2023-03-29 13:37:33.439: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.4399588Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.439: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.440230934Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.440: cmd: \"Started HTTP listener at http://[::]:45645\"\n"} -{"Time":"2023-03-29T13:37:33.440246712Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.440: cmd: \"Started TLS/HTTPS listener at https://[::]:33779\"\n"} -{"Time":"2023-03-29T13:37:33.440251896Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:634: 2023-03-29 13:37:33.440: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:33.440278535Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:635: 2023-03-29 13:37:33.440: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.440295931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:635: 2023-03-29 13:37:33.440: cmd: matched newline = \" http://[::]:45645\"\n"} -{"Time":"2023-03-29T13:37:33.440327613Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:641: 2023-03-29 13:37:33.440: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} -{"Time":"2023-03-29T13:37:33.440339171Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:642: 2023-03-29 13:37:33.440: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.440353544Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:642: 2023-03-29 13:37:33.440: cmd: matched newline = \" https://[::]:33779\"\n"} -{"Time":"2023-03-29T13:37:33.462318671Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.155: cmd: \"WARN: Redirect HTTP to HTTPS is deprecated, please use Redirect to Access URL instead.\"\n"} -{"Time":"2023-03-29T13:37:33.462349606Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.462356521Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Started HTTP listener at http://[::]:38281\"\n"} -{"Time":"2023-03-29T13:37:33.462372929Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"WARN: --tls-redirect-http-to-https is deprecated, please use --redirect-to-access-url instead\\r\"\n"} -{"Time":"2023-03-29T13:37:33.462395287Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Started TLS/HTTPS listener at https://[::]:37895\"\n"} -{"Time":"2023-03-29T13:37:33.46242925Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.462438148Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.462469497Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.462484536Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.462637037Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.462649797Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:33.462659463Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.462670357Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:33.462694313Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.462718576Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:110: 2023-03-29 13:37:33.462: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.46272687Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:111: 2023-03-29 13:37:33.462: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.462736639Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:113: 2023-03-29 13:37:33.462: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.462758116Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.462: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:33.462768617Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.462788026Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.462: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:33.462795774Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.462816156Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:102: 2023-03-29 13:37:33.462: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.462931778Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"--- PASS: TestServer/CanListenUnspecifiedv4 (0.60s)\n"} -{"Time":"2023-03-29T13:37:33.462940935Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv4","Elapsed":0.6} -{"Time":"2023-03-29T13:37:33.462948149Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} -{"Time":"2023-03-29T13:37:33.462952114Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== CONT TestServer/TLSRedirect/NoHTTPListener\n"} -{"Time":"2023-03-29T13:37:33.464080755Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoHTTPListener857312755/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoHTTPListener857312755/002 --http-address --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoHTTPListener857312755/001/774178655 --tls-key-file /tmp/TestServerTLSRedirectNoHTTPListener857312755/001/2109956146 --wildcard-access-url *.example.com --access-url https://example.com\n"} -{"Time":"2023-03-29T13:37:33.464227163Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.464240384Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.464252515Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.46428589Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.472563896Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.155: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} -{"Time":"2023-03-29T13:37:33.472612391Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.47263698Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.472648847Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"View the Web UI: http://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.472703374Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.472714667Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.473028818Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.473041801Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.473048085Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.473053454Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.47305943Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.473064898Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:33.473070019Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.473075028Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:33.473080237Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.47308794Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:488: 2023-03-29 13:37:33.472: cmd: matched \"Started HTTP listener at\" = \"WARN: Redirect HTTP to HTTPS is deprecated, please use Redirect to Access URL instead.\\r\\n \\r\\r\\nStarted HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:33.473094939Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:489: 2023-03-29 13:37:33.472: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.473099786Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:489: 2023-03-29 13:37:33.472: cmd: matched newline = \" http://[::]:38281\"\n"} -{"Time":"2023-03-29T13:37:33.473628418Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:493: 2023-03-29 13:37:33.473: cmd: matched \"Started TLS/HTTPS listener at \" = \"WARN: --tls-redirect-http-to-https is deprecated, please use --redirect-to-access-url instead\\r\\r\\nStarted TLS/HTTPS listener at \"\n"} -{"Time":"2023-03-29T13:37:33.473644808Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:494: 2023-03-29 13:37:33.473: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.47365119Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:494: 2023-03-29 13:37:33.473: cmd: matched newline = \"https://[::]:37895\"\n"} -{"Time":"2023-03-29T13:37:33.475250161Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.475281933Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.490892952Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:33.492145943Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:83: 2023-03-29 13:37:33.491: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.492183748Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.491: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.492192673Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:110: 2023-03-29 13:37:33.492: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.492199945Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:111: 2023-03-29 13:37:33.492: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.492206118Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:113: 2023-03-29 13:37:33.492: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.492296422Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.492316694Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.492: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:33.49232562Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.492355439Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.492: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:33.492364574Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.49240481Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:102: 2023-03-29 13:37:33.492: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.495511552Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"--- PASS: TestServer/CanListenUnspecifiedv6 (0.63s)\n"} -{"Time":"2023-03-29T13:37:33.495557907Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/CanListenUnspecifiedv6","Elapsed":0.63} -{"Time":"2023-03-29T13:37:33.495569713Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} -{"Time":"2023-03-29T13:37:33.495575692Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== CONT TestServer/TLSRedirect/NoTLSListener\n"} -{"Time":"2023-03-29T13:37:33.495582515Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoTLSListener2050465310/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoTLSListener2050465310/002 --http-address :0 --access-url https://example.com\n"} -{"Time":"2023-03-29T13:37:33.514163923Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.51646695Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: View the Web UI: https://example.com\n"} -{"Time":"2023-03-29T13:37:33.532093856Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.532820236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.533254024Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.533887464Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Output":"--- PASS: TestServer/Logging/CreatesFile (0.69s)\n"} -{"Time":"2023-03-29T13:37:33.580391994Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/CreatesFile","Elapsed":0.69} -{"Time":"2023-03-29T13:37:33.580437708Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.194: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.580458446Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.580471806Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.58048911Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.580504524Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.580522972Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:33.5805328Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.580555757Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:33.580587561Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.580846451Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Output":"--- PASS: TestServer/Logging/JSON (0.67s)\n"} -{"Time":"2023-03-29T13:37:33.580862096Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/JSON","Elapsed":0.67} -{"Time":"2023-03-29T13:37:33.580868926Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect"} -{"Time":"2023-03-29T13:37:33.580873653Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== CONT TestServer/TLSRedirect/NoRedirect\n"} -{"Time":"2023-03-29T13:37:33.582048889Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoRedirect2668740580/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoRedirect2668740580/002 --http-address :0 --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoRedirect2668740580/001/1517171254 --tls-key-file /tmp/TestServerTLSRedirectNoRedirect2668740580/001/1491051903 --wildcard-access-url *.example.com --access-url https://example.com\n"} -{"Time":"2023-03-29T13:37:33.582187252Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} -{"Time":"2023-03-29T13:37:33.582197387Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== CONT TestServer/TLSRedirect/NoRedirectWithWildcard\n"} -{"Time":"2023-03-29T13:37:33.583144917Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/002 --http-address --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/001/2297363344 --tls-key-file /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/001/3868867528 --wildcard-access-url *.example.com --access-url https://example.com --redirect-to-access-url\n"} -{"Time":"2023-03-29T13:37:33.609797366Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Output":"--- PASS: TestServer/TracerNoLeak (0.75s)\n"} -{"Time":"2023-03-29T13:37:33.610858133Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TracerNoLeak","Elapsed":0.75} -{"Time":"2023-03-29T13:37:33.6108818Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.202: cmd: \"WARN: Address is deprecated, please use HTTP Address and TLS Address instead.\"\n"} -{"Time":"2023-03-29T13:37:33.610892881Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.610900074Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"Started HTTP listener at http://[::]:32777\"\n"} -{"Time":"2023-03-29T13:37:33.610935322Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.610944309Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"View the Web UI: http://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.610972945Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.610991889Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.61104088Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.611: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.611050128Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.611098802Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.611: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.611114878Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.611: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.611120793Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.611: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.611180989Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.611193294Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:33.611200866Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.611204553Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:33.611207462Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.611215565Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.611: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.611336071Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Output":"--- PASS: TestServer/LocalAccessURL (0.71s)\n"} -{"Time":"2023-03-29T13:37:33.613044416Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/LocalAccessURL","Elapsed":0.71} -{"Time":"2023-03-29T13:37:33.613054355Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} -{"Time":"2023-03-29T13:37:33.613144221Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} -{"Time":"2023-03-29T13:37:33.613176406Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" server_test.go:799: 2023-03-29 13:37:33.613: cmd: matched \"is deprecated\" = \"WARN: Address is deprecated\"\n"} -{"Time":"2023-03-29T13:37:33.613666866Z","Action":"cont","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS"} -{"Time":"2023-03-29T13:37:33.613682333Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== CONT TestServer/DeprecatedAddress/TLS\n"} -{"Time":"2023-03-29T13:37:33.614665673Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerDeprecatedAddressTLS1194868532/003 server --in-memory --address :0 --access-url https://example.com --tls-enable --tls-cert-file /tmp/TestServerDeprecatedAddressTLS1194868532/001/3357512070 --tls-key-file /tmp/TestServerDeprecatedAddressTLS1194868532/001/2886385591 --cache-dir /tmp/TestServerDeprecatedAddressTLS1194868532/002\n"} -{"Time":"2023-03-29T13:37:33.614774341Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} -{"Time":"2023-03-29T13:37:33.614835489Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} -{"Time":"2023-03-29T13:37:33.614847064Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.615151651Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.251: cmd: \"Started HTTP listener at http://[::]:46789\"\n"} -{"Time":"2023-03-29T13:37:33.615187666Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"WARN: The access URL https://foobarbaz.mydomain could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} -{"Time":"2023-03-29T13:37:33.615200461Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.615214043Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.615230151Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"View the Web UI: https://foobarbaz.mydomain\\r\"\n"} -{"Time":"2023-03-29T13:37:33.615243576Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.61525094Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.616015109Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.617106937Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.251: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.617129585Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.617140564Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.617159456Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.617293213Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" server_test.go:219: 2023-03-29 13:37:33.617: cmd: matched \"this may cause unexpected problems when creating workspaces\" = \"Started HTTP listener at http://[::]:46789\\r\\nWARN: The access URL https://foobarbaz.mydomain could not be resolved, this may cause unexpected problems when creating workspaces\"\n"} -{"Time":"2023-03-29T13:37:33.617419153Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" server_test.go:220: 2023-03-29 13:37:33.617: cmd: matched \"View the Web UI: https://foobarbaz.mydomain\" = \". Generate a unique *.try.coder.app URL by not specifying an access URL.\\r\\n \\r\\r\\n \\r\\nView the Web UI: https://foobarbaz.mydomain\"\n"} -{"Time":"2023-03-29T13:37:33.617702539Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Output":"--- PASS: TestServer/Logging/Human (0.70s)\n"} -{"Time":"2023-03-29T13:37:33.617717314Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Human","Elapsed":0.7} -{"Time":"2023-03-29T13:37:33.617728397Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.346: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.617738582Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"View the Web UI: https://google.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.617745792Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.617755568Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.617776141Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" server_test.go:238: 2023-03-29 13:37:33.617: cmd: matched \"View the Web UI: https://google.com\" = \"Started HTTP listener at http://[::]:39671\\r\\n \\r\\nView the Web UI: https://google.com\"\n"} -{"Time":"2023-03-29T13:37:33.618700109Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.618: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.618717448Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.618729015Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.618: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.618738942Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.618: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.618748331Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.618: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.618809556Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.618823389Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:33.618833326Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.618840112Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:33.61884905Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.618860551Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.618: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.618993236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"--- PASS: TestServer/NoWarningWithRemoteAccessURL (0.72s)\n"} -{"Time":"2023-03-29T13:37:33.620193889Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Elapsed":0.72} -{"Time":"2023-03-29T13:37:33.620216262Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.620558208Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \"Started TLS/HTTPS listener at https://[::]:40599\"\n"} -{"Time":"2023-03-29T13:37:33.62057844Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.620586258Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.620613734Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:641: 2023-03-29 13:37:33.620: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} -{"Time":"2023-03-29T13:37:33.620652863Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:642: 2023-03-29 13:37:33.620: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.620669386Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:642: 2023-03-29 13:37:33.620: cmd: matched newline = \" https://[::]:40599\"\n"} -{"Time":"2023-03-29T13:37:33.623941782Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:33.634109465Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.634: cmd: \"Started HTTP listener at http://[::]:44615\"\n"} -{"Time":"2023-03-29T13:37:33.6341392Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:634: 2023-03-29 13:37:33.634: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:33.634159059Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:635: 2023-03-29 13:37:33.634: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.634168084Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:635: 2023-03-29 13:37:33.634: cmd: matched newline = \" http://[::]:44615\"\n"} -{"Time":"2023-03-29T13:37:33.639592274Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \"WARN: Address is deprecated, please use HTTP Address and TLS Address instead.\"\n"} -{"Time":"2023-03-29T13:37:33.639622715Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.639633384Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \"Started TLS/HTTPS listener at https://[::]:44869\"\n"} -{"Time":"2023-03-29T13:37:33.642427153Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \"Started TLS/HTTPS listener at https://[::]:43889\"\n"} -{"Time":"2023-03-29T13:37:33.642448651Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.642456925Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.642468331Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:641: 2023-03-29 13:37:33.642: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} -{"Time":"2023-03-29T13:37:33.642477804Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:642: 2023-03-29 13:37:33.642: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.642487898Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:642: 2023-03-29 13:37:33.642: cmd: matched newline = \" https://[::]:43889\"\n"} -{"Time":"2023-03-29T13:37:33.646526946Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"Started HTTP listener at http://[::]:33323\"\n"} -{"Time":"2023-03-29T13:37:33.646552176Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"Started TLS/HTTPS listener at https://[::]:36951\"\n"} -{"Time":"2023-03-29T13:37:33.64656429Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.646572476Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.646580011Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:634: 2023-03-29 13:37:33.646: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:33.646591361Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:635: 2023-03-29 13:37:33.646: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.646616475Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:635: 2023-03-29 13:37:33.646: cmd: matched newline = \" http://[::]:33323\"\n"} -{"Time":"2023-03-29T13:37:33.646662584Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:641: 2023-03-29 13:37:33.646: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} -{"Time":"2023-03-29T13:37:33.646681881Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:642: 2023-03-29 13:37:33.646: cmd: ReadLine ctx has no deadline, using 10s\n"} -{"Time":"2023-03-29T13:37:33.646699362Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:642: 2023-03-29 13:37:33.646: cmd: matched newline = \" https://[::]:36951\"\n"} -{"Time":"2023-03-29T13:37:33.648933788Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_active_users_duration_hour The number of users that have been active within the last hour.\n"} -{"Time":"2023-03-29T13:37:33.648967031Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_active_users_duration_hour gauge\n"} -{"Time":"2023-03-29T13:37:33.648980231Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_concurrent_requests The number of concurrent API requests.\n"} -{"Time":"2023-03-29T13:37:33.649053919Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_concurrent_requests gauge\n"} -{"Time":"2023-03-29T13:37:33.649069592Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_api_concurrent_requests 0\n"} -{"Time":"2023-03-29T13:37:33.649078578Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_concurrent_websockets The total number of concurrent API websockets.\n"} -{"Time":"2023-03-29T13:37:33.64908451Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_concurrent_websockets gauge\n"} -{"Time":"2023-03-29T13:37:33.64908947Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_api_concurrent_websockets 0\n"} -{"Time":"2023-03-29T13:37:33.649096688Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_workspace_latest_build_total The latest workspace builds with a status.\n"} -{"Time":"2023-03-29T13:37:33.649103792Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_workspace_latest_build_total gauge\n"} -{"Time":"2023-03-29T13:37:33.649110998Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_authz_authorize_duration_seconds Duration of the 'Authorize' call in seconds. Only counts calls that succeed.\n"} -{"Time":"2023-03-29T13:37:33.649125082Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_authz_authorize_duration_seconds histogram\n"} -{"Time":"2023-03-29T13:37:33.649136372Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.0005\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649158836Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.001\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649167411Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.002\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649174438Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.003\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649184378Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.005\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649205265Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.01\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649213251Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.02\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649222908Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.035\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649235415Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.05\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649253778Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.075\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649261752Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.1\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649271274Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.25\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649292314Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.75\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649300333Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"1\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649310057Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"+Inf\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649320729Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_sum{allowed=\"true\"} 0.002876051\n"} -{"Time":"2023-03-29T13:37:33.649345041Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_count{allowed=\"true\"} 2\n"} -{"Time":"2023-03-29T13:37:33.649356377Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_authz_prepare_authorize_duration_seconds Duration of the 'PrepareAuthorize' call in seconds.\n"} -{"Time":"2023-03-29T13:37:33.649363746Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_authz_prepare_authorize_duration_seconds histogram\n"} -{"Time":"2023-03-29T13:37:33.649370497Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.0005\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649391953Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.001\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649399779Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.002\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649410888Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.003\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649428841Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.005\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649438526Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.01\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649445746Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.02\"} 0\n"} -{"Time":"2023-03-29T13:37:33.64947999Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.035\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649486523Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.05\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649643599Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.075\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649652811Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.1\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649659776Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.25\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649677202Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.75\"} 0\n"} -{"Time":"2023-03-29T13:37:33.649684812Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"1\"} 0\n"} -{"Time":"2023-03-29T13:37:33.64970109Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"+Inf\"} 0\n"} -{"Time":"2023-03-29T13:37:33.64971819Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_sum 0\n"} -{"Time":"2023-03-29T13:37:33.649725513Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_count 0\n"} -{"Time":"2023-03-29T13:37:33.649741363Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.\n"} -{"Time":"2023-03-29T13:37:33.649751815Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_gc_duration_seconds summary\n"} -{"Time":"2023-03-29T13:37:33.649770366Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0\"} 1.6651e-05\n"} -{"Time":"2023-03-29T13:37:33.649779436Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.25\"} 3.0073e-05\n"} -{"Time":"2023-03-29T13:37:33.649795479Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.5\"} 3.3851e-05\n"} -{"Time":"2023-03-29T13:37:33.649803042Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.75\"} 5.0874e-05\n"} -{"Time":"2023-03-29T13:37:33.649822842Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"1\"} 0.000164674\n"} -{"Time":"2023-03-29T13:37:33.649830516Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds_sum 0.000461803\n"} -{"Time":"2023-03-29T13:37:33.64984149Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds_count 9\n"} -{"Time":"2023-03-29T13:37:33.649859074Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_goroutines Number of goroutines that currently exist.\n"} -{"Time":"2023-03-29T13:37:33.649876364Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_goroutines gauge\n"} -{"Time":"2023-03-29T13:37:33.649883909Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_goroutines 400\n"} -{"Time":"2023-03-29T13:37:33.649893852Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_info Information about the Go environment.\n"} -{"Time":"2023-03-29T13:37:33.649915539Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_info gauge\n"} -{"Time":"2023-03-29T13:37:33.649923065Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_info{version=\"go1.20\"} 1\n"} -{"Time":"2023-03-29T13:37:33.649934513Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.\n"} -{"Time":"2023-03-29T13:37:33.64994537Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_alloc_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.649964236Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_alloc_bytes 4.4139992e+07\n"} -{"Time":"2023-03-29T13:37:33.649974501Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.\n"} -{"Time":"2023-03-29T13:37:33.649985399Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_alloc_bytes_total counter\n"} -{"Time":"2023-03-29T13:37:33.650002195Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_alloc_bytes_total 1.07033304e+08\n"} -{"Time":"2023-03-29T13:37:33.650019066Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.\n"} -{"Time":"2023-03-29T13:37:33.650026662Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_buck_hash_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650037208Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_buck_hash_sys_bytes 1.487772e+06\n"} -{"Time":"2023-03-29T13:37:33.650056379Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_frees_total Total number of frees.\n"} -{"Time":"2023-03-29T13:37:33.650063678Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_frees_total counter\n"} -{"Time":"2023-03-29T13:37:33.650079718Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_frees_total 341416\n"} -{"Time":"2023-03-29T13:37:33.650087192Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.\n"} -{"Time":"2023-03-29T13:37:33.65010648Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_gc_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650113893Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_gc_sys_bytes 9.376592e+06\n"} -{"Time":"2023-03-29T13:37:33.650132561Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.\n"} -{"Time":"2023-03-29T13:37:33.650140278Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_alloc_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650152649Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_alloc_bytes 4.4139992e+07\n"} -{"Time":"2023-03-29T13:37:33.650314526Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.\n"} -{"Time":"2023-03-29T13:37:33.650323426Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_idle_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650332952Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_idle_bytes 4.481024e+06\n"} -{"Time":"2023-03-29T13:37:33.65035073Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.\n"} -{"Time":"2023-03-29T13:37:33.650358078Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_inuse_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650374519Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_inuse_bytes 4.6473216e+07\n"} -{"Time":"2023-03-29T13:37:33.650392405Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_objects Number of allocated objects.\n"} -{"Time":"2023-03-29T13:37:33.650400167Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_objects gauge\n"} -{"Time":"2023-03-29T13:37:33.650411Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_objects 198877\n"} -{"Time":"2023-03-29T13:37:33.650427198Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.\n"} -{"Time":"2023-03-29T13:37:33.650443875Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_released_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.6504512Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_released_bytes 172032\n"} -{"Time":"2023-03-29T13:37:33.650466769Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.\n"} -{"Time":"2023-03-29T13:37:33.650476593Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650493555Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_sys_bytes 5.095424e+07\n"} -{"Time":"2023-03-29T13:37:33.650501064Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.\n"} -{"Time":"2023-03-29T13:37:33.650517983Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_last_gc_time_seconds gauge\n"} -{"Time":"2023-03-29T13:37:33.650530998Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_last_gc_time_seconds 1.680097053302355e+09\n"} -{"Time":"2023-03-29T13:37:33.65054228Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_lookups_total Total number of pointer lookups.\n"} -{"Time":"2023-03-29T13:37:33.650552934Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_lookups_total counter\n"} -{"Time":"2023-03-29T13:37:33.650563901Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_lookups_total 0\n"} -{"Time":"2023-03-29T13:37:33.650584173Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mallocs_total Total number of mallocs.\n"} -{"Time":"2023-03-29T13:37:33.650591833Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mallocs_total counter\n"} -{"Time":"2023-03-29T13:37:33.650607986Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mallocs_total 540293\n"} -{"Time":"2023-03-29T13:37:33.650615529Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.\n"} -{"Time":"2023-03-29T13:37:33.650641182Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mcache_inuse_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650649185Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mcache_inuse_bytes 1200\n"} -{"Time":"2023-03-29T13:37:33.650655792Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.\n"} -{"Time":"2023-03-29T13:37:33.650675584Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mcache_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650682964Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mcache_sys_bytes 15600\n"} -{"Time":"2023-03-29T13:37:33.650699492Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.\n"} -{"Time":"2023-03-29T13:37:33.65070695Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mspan_inuse_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650725284Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mspan_inuse_bytes 415680\n"} -{"Time":"2023-03-29T13:37:33.650732919Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.\n"} -{"Time":"2023-03-29T13:37:33.650742233Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mspan_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650753796Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mspan_sys_bytes 440640\n"} -{"Time":"2023-03-29T13:37:33.650773086Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.\n"} -{"Time":"2023-03-29T13:37:33.650780844Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_next_gc_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650791619Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_next_gc_bytes 5.744056e+07\n"} -{"Time":"2023-03-29T13:37:33.650939729Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.\n"} -{"Time":"2023-03-29T13:37:33.650948462Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_other_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650960125Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_other_sys_bytes 407532\n"} -{"Time":"2023-03-29T13:37:33.65097098Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.\n"} -{"Time":"2023-03-29T13:37:33.650989112Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_stack_inuse_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.650999328Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_stack_inuse_bytes 3.506176e+06\n"} -{"Time":"2023-03-29T13:37:33.651015975Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.\n"} -{"Time":"2023-03-29T13:37:33.651023745Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_stack_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.651042622Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_stack_sys_bytes 3.506176e+06\n"} -{"Time":"2023-03-29T13:37:33.651050141Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_sys_bytes Number of bytes obtained from system.\n"} -{"Time":"2023-03-29T13:37:33.651066559Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_sys_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.65107676Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_sys_bytes 6.6188552e+07\n"} -{"Time":"2023-03-29T13:37:33.651096334Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_threads Number of OS threads created.\n"} -{"Time":"2023-03-29T13:37:33.651104041Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_threads gauge\n"} -{"Time":"2023-03-29T13:37:33.651114838Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_threads 11\n"} -{"Time":"2023-03-29T13:37:33.651133818Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.\n"} -{"Time":"2023-03-29T13:37:33.651141836Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_cpu_seconds_total counter\n"} -{"Time":"2023-03-29T13:37:33.651152615Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_cpu_seconds_total 0.47\n"} -{"Time":"2023-03-29T13:37:33.651169215Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_max_fds Maximum number of open file descriptors.\n"} -{"Time":"2023-03-29T13:37:33.651188139Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_max_fds gauge\n"} -{"Time":"2023-03-29T13:37:33.651196288Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_max_fds 1.048576e+06\n"} -{"Time":"2023-03-29T13:37:33.651207299Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_open_fds Number of open file descriptors.\n"} -{"Time":"2023-03-29T13:37:33.651218057Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_open_fds gauge\n"} -{"Time":"2023-03-29T13:37:33.651236861Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_open_fds 144\n"} -{"Time":"2023-03-29T13:37:33.651248494Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_resident_memory_bytes Resident memory size in bytes.\n"} -{"Time":"2023-03-29T13:37:33.651257364Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_resident_memory_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.651280196Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_resident_memory_bytes 1.14364416e+08\n"} -{"Time":"2023-03-29T13:37:33.65128834Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_start_time_seconds Start time of the process since unix epoch in seconds.\n"} -{"Time":"2023-03-29T13:37:33.651296824Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_start_time_seconds gauge\n"} -{"Time":"2023-03-29T13:37:33.651307674Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_start_time_seconds 1.68009705209e+09\n"} -{"Time":"2023-03-29T13:37:33.651326547Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_virtual_memory_bytes Virtual memory size in bytes.\n"} -{"Time":"2023-03-29T13:37:33.651334348Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_virtual_memory_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.651345305Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_virtual_memory_bytes 1.4835712e+09\n"} -{"Time":"2023-03-29T13:37:33.651361504Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.\n"} -{"Time":"2023-03-29T13:37:33.651378854Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_virtual_memory_max_bytes gauge\n"} -{"Time":"2023-03-29T13:37:33.651386339Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_virtual_memory_max_bytes 1.8446744073709552e+19\n"} -{"Time":"2023-03-29T13:37:33.651397458Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.\n"} -{"Time":"2023-03-29T13:37:33.65149956Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE promhttp_metric_handler_requests_in_flight gauge\n"} -{"Time":"2023-03-29T13:37:33.65150712Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_in_flight 1\n"} -{"Time":"2023-03-29T13:37:33.651512875Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.\n"} -{"Time":"2023-03-29T13:37:33.651517405Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE promhttp_metric_handler_requests_total counter\n"} -{"Time":"2023-03-29T13:37:33.651608377Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"200\"} 0\n"} -{"Time":"2023-03-29T13:37:33.651617771Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"500\"} 0\n"} -{"Time":"2023-03-29T13:37:33.651624722Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"503\"} 0\n"} -{"Time":"2023-03-29T13:37:33.653302095Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.687811194Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.68784324Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.687847743Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.687859388Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.69314768Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" server_test.go:829: 2023-03-29 13:37:33.690: cmd: matched \"is deprecated\" = \"WARN: Address is deprecated\"\n"} -{"Time":"2023-03-29T13:37:33.699837388Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.700125946Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.700416667Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.701833349Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Output":"--- PASS: TestServer/RateLimit/Default (0.85s)\n"} -{"Time":"2023-03-29T13:37:33.792395824Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Default","Elapsed":0.85} -{"Time":"2023-03-29T13:37:33.792432021Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.792443805Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.796165422Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.795: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.796198633Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.796: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.797173408Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.797427041Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.79757722Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.797913033Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.797928952Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.803483718Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.803533703Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.803541349Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.803549183Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.80355496Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.803560722Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.803565907Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:33.803571719Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.803577128Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:33.803582995Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.803588238Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.799: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.803593211Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.799: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.803598107Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.799: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.807382663Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.807: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.807425699Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.807: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.812449918Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.812479278Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.81249279Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.812540743Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.81937956Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.819501503Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.819: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:33.819519256Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.819527309Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.819: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:33.819534022Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:33.819605916Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.819: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:33.819682321Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Output":"--- PASS: TestServer/RemoteAccessURL (0.92s)\n"} -{"Time":"2023-03-29T13:37:33.819757496Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/RemoteAccessURL","Elapsed":0.92} -{"Time":"2023-03-29T13:37:33.819772079Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.819781749Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \"View the Web UI: https://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:33.819797518Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:33.819813792Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:33.851914311Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.85194979Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.852148613Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Output":"--- PASS: TestServer/Prometheus (1.00s)\n"} -{"Time":"2023-03-29T13:37:33.855235903Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Prometheus","Elapsed":1} -{"Time":"2023-03-29T13:37:33.855263447Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.855284404Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.855351311Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.85648797Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Output":"--- PASS: TestServer/GitHubOAuth (1.01s)\n"} -{"Time":"2023-03-29T13:37:33.898898347Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/GitHubOAuth","Elapsed":1.01} -{"Time":"2023-03-29T13:37:33.898943644Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.898966965Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.899910542Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.899951915Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:33.899979591Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:33.931576217Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.931632315Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.932359012Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Output":"--- PASS: TestServer/RateLimit/Disabled (1.02s)\n"} -{"Time":"2023-03-29T13:37:33.932605839Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Disabled","Elapsed":1.02} -{"Time":"2023-03-29T13:37:33.932638521Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:33.944423479Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.944456273Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.944471028Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.944486505Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.944506728Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.948894392Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:33.949085454Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Output":"--- PASS: TestServer/Telemetry (1.09s)\n"} -{"Time":"2023-03-29T13:37:33.973592223Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Telemetry","Elapsed":1.09} -{"Time":"2023-03-29T13:37:33.973627583Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:33.982109361Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Output":"--- PASS: TestServer/TLSValid (1.09s)\n"} -{"Time":"2023-03-29T13:37:33.982145968Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValid","Elapsed":1.09} -{"Time":"2023-03-29T13:37:33.982166462Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:83: 2023-03-29 13:37:33.982: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:33.982185903Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:33.982: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:33.983908041Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:33.983932298Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.983950164Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:33.983971383Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.983987252Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:110: 2023-03-29 13:37:33.983: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.984001811Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:111: 2023-03-29 13:37:33.983: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:33.984029981Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:113: 2023-03-29 13:37:33.983: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:33.999767444Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:33.999792066Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:33.999806103Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:33.999825199Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:33.999838052Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.000132942Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:34.000152725Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:34.013522575Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.013539719Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.013: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.013545396Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.013549166Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.013: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.013552799Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.013557098Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:102: 2023-03-29 13:37:34.013: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.013685528Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"--- PASS: TestServer/DeprecatedAddress/HTTP (1.01s)\n"} -{"Time":"2023-03-29T13:37:34.024907745Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/HTTP","Elapsed":1.01} -{"Time":"2023-03-29T13:37:34.024925201Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:83: 2023-03-29 13:37:34.024: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.024929754Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.024: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.037436741Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:34.046649783Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.04666228Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.046671065Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.046674499Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.046678741Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:110: 2023-03-29 13:37:34.046: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.046682976Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:111: 2023-03-29 13:37:34.046: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.046687631Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:113: 2023-03-29 13:37:34.046: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.048234545Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:34.048465929Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.048473751Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.048: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.04848652Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.048494431Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.048: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.0485018Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.048515549Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:102: 2023-03-29 13:37:34.048: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.048685756Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"--- PASS: TestServer/TLSRedirect/NoRedirectWithWildcard (0.47s)\n"} -{"Time":"2023-03-29T13:37:34.049232577Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Elapsed":0.47} -{"Time":"2023-03-29T13:37:34.049241005Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:34.049926527Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Output":"--- PASS: TestServer/RateLimit/Changed (1.07s)\n"} -{"Time":"2023-03-29T13:37:34.049934686Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit/Changed","Elapsed":1.07} -{"Time":"2023-03-29T13:37:34.049940803Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit","Output":"--- PASS: TestServer/RateLimit (0.00s)\n"} -{"Time":"2023-03-29T13:37:34.050192839Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/RateLimit","Elapsed":0} -{"Time":"2023-03-29T13:37:34.05020025Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.050204931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.050237731Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.050243867Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.05027121Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.050278957Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.051736931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.05174611Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.051751453Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.051758881Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.051780431Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.05178826Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.051870799Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.051881957Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.051887542Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.05189248Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:110: 2023-03-29 13:37:34.051: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.05189708Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:111: 2023-03-29 13:37:34.051: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.05190198Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:113: 2023-03-29 13:37:34.051: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.051911515Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.051922383Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.051927984Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.051938866Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.051946554Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.051962503Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.051971415Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.0519782Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.051987362Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.052007059Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:110: 2023-03-29 13:37:34.051: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.052015346Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:111: 2023-03-29 13:37:34.052: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.052021784Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:113: 2023-03-29 13:37:34.052: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.052400141Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.052410137Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.052420866Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.052427625Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.052440372Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.052448298Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.052457892Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.052465595Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.052483713Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.052491345Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:110: 2023-03-29 13:37:34.052: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.052498064Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:111: 2023-03-29 13:37:34.052: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.052506921Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:113: 2023-03-29 13:37:34.052: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.078632301Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.07865445Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.078658395Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.078664194Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.078667573Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.078670569Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:102: 2023-03-29 13:37:34.078: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.078838607Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Output":"--- PASS: TestServer/TLSRedirect/OK (1.06s)\n"} -{"Time":"2023-03-29T13:37:34.078885902Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/OK","Elapsed":1.06} -{"Time":"2023-03-29T13:37:34.078892321Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.078897167Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.078901364Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.078912845Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.078917725Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.07894293Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:102: 2023-03-29 13:37:34.078: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.079092731Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"--- PASS: TestServer/TLSRedirect/NoHTTPListener (0.62s)\n"} -{"Time":"2023-03-29T13:37:34.079144047Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Elapsed":0.62} -{"Time":"2023-03-29T13:37:34.079152217Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.079158662Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.079: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.079162915Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.079168988Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.079: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.079178829Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.079196269Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:102: 2023-03-29 13:37:34.079: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.079336643Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"--- PASS: TestServer/TLSRedirect/NoTLSListener (0.59s)\n"} -{"Time":"2023-03-29T13:37:34.091089368Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Elapsed":0.59} -{"Time":"2023-03-29T13:37:34.091112345Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:83: 2023-03-29 13:37:34.091: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.091119428Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.091: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.115772917Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.115801947Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.11581297Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.115819506Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.115824758Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.115830066Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.11583724Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.115844144Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.115860103Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.115888103Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:110: 2023-03-29 13:37:34.115: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.115903904Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:111: 2023-03-29 13:37:34.115: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.115919206Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:113: 2023-03-29 13:37:34.115: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.115976431Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.115986313Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.115997881Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.11602101Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.116029108Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.116: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.116476692Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.116491796Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.116: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.116497774Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.116504918Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.116: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.1165175Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.116539123Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:102: 2023-03-29 13:37:34.116: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.116717402Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Output":"--- PASS: TestServer/TLSAndHTTP (1.24s)\n"} -{"Time":"2023-03-29T13:37:34.117404728Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSAndHTTP","Elapsed":1.24} -{"Time":"2023-03-29T13:37:34.117418357Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:83: 2023-03-29 13:37:34.117: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.117441857Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.117475322Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:110: 2023-03-29 13:37:34.117: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.117484444Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:111: 2023-03-29 13:37:34.117: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.117494423Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:113: 2023-03-29 13:37:34.117: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.11754208Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.117551844Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.117570608Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.117578465Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.117597311Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.117616074Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:102: 2023-03-29 13:37:34.117: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.11776518Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"--- PASS: TestServer/DeprecatedAddress/TLS (0.50s)\n"} -{"Time":"2023-03-29T13:37:34.117776019Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress/TLS","Elapsed":0.5} -{"Time":"2023-03-29T13:37:34.117782763Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress","Output":"--- PASS: TestServer/DeprecatedAddress (0.06s)\n"} -{"Time":"2023-03-29T13:37:34.117841805Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/DeprecatedAddress","Elapsed":0.06} -{"Time":"2023-03-29T13:37:34.117849931Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:83: 2023-03-29 13:37:34.117: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.117859828Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.118127485Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:83: 2023-03-29 13:37:34.118: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:34.118138813Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:34.118170526Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:110: 2023-03-29 13:37:34.118: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.11817918Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:111: 2023-03-29 13:37:34.118: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.118194579Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:113: 2023-03-29 13:37:34.118: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.11825734Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.118277979Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.118286381Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.118291513Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.118295899Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.11830286Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:102: 2023-03-29 13:37:34.118: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.118448813Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Output":"--- PASS: TestServer/TLSValidMultiple (1.23s)\n"} -{"Time":"2023-03-29T13:37:34.118485143Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSValidMultiple","Elapsed":1.23} -{"Time":"2023-03-29T13:37:34.118492964Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:34.118500337Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:34.118505085Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.118511668Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:34.118536832Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.118542137Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:34.118548654Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.118562305Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:34.118568736Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:34.1185733Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:110: 2023-03-29 13:37:34.118: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.118577677Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:111: 2023-03-29 13:37:34.118: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:34.118583972Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:113: 2023-03-29 13:37:34.118: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:34.347394026Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.347481519Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.347: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:34.347503045Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.347521875Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.347: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:34.347538956Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:34.347563965Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:102: 2023-03-29 13:37:34.347: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:34.347597239Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"--- PASS: TestServer/TLSRedirect/NoRedirect (0.77s)\n"} -{"Time":"2023-03-29T13:37:34.347618369Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect/NoRedirect","Elapsed":0.77} -{"Time":"2023-03-29T13:37:34.347639094Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect","Output":"--- PASS: TestServer/TLSRedirect (0.05s)\n"} -{"Time":"2023-03-29T13:37:37.495996215Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/TLSRedirect","Elapsed":0.05} -{"Time":"2023-03-29T13:37:37.496041088Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42403\n"} -{"Time":"2023-03-29T13:37:37.497561163Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} -{"Time":"2023-03-29T13:37:37.854158017Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} -{"Time":"2023-03-29T13:37:37.871207973Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} -{"Time":"2023-03-29T13:37:37.871239014Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Shutting down API server...\n"} -{"Time":"2023-03-29T13:37:37.871296925Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} -{"Time":"2023-03-29T13:37:37.871384307Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} -{"Time":"2023-03-29T13:37:37.871872118Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} -{"Time":"2023-03-29T13:37:37.872659674Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Stopping built-in PostgreSQL...\n"} -{"Time":"2023-03-29T13:37:37.974547475Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Stopped built-in PostgreSQL\n"} -{"Time":"2023-03-29T13:37:38.01812179Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Output":"--- PASS: TestServer/BuiltinPostgres (5.17s)\n"} -{"Time":"2023-03-29T13:37:46.072262917Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/BuiltinPostgres","Elapsed":5.17} -{"Time":"2023-03-29T13:37:46.072311252Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"Started HTTP listener at http://[::]:35645\"\n"} -{"Time":"2023-03-29T13:37:46.072335279Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} -{"Time":"2023-03-29T13:37:46.07241558Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.072459905Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:46.07251014Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"View the Web UI: http://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:46.072679873Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" server_test.go:1240: 2023-03-29 13:37:46.072: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:46.078543671Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:46.078573522Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:46.07859364Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:46.07861453Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"ERROR: Unexpected error, shutting down server: context deadline exceeded\"\n"} -{"Time":"2023-03-29T13:37:46.078631014Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078647037Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:46.078658003Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078668373Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:46.078678662Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078702364Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 3...\"\n"} -{"Time":"2023-03-29T13:37:46.078719655Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078730465Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 3\"\n"} -{"Time":"2023-03-29T13:37:46.078744589Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078763734Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 1...\"\n"} -{"Time":"2023-03-29T13:37:46.07878276Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078801865Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 1\"\n"} -{"Time":"2023-03-29T13:37:46.07881665Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.078826759Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 2...\"\n"} -{"Time":"2023-03-29T13:37:46.078840612Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.07885439Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 2\"\n"} -{"Time":"2023-03-29T13:37:46.07887537Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.081392321Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:46.081408574Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.081421854Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:46.081431192Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:46.081449657Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"WARN: Graceful shutdown timed out\\r\"\n"} -{"Time":"2023-03-29T13:37:46.14910839Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:83: 2023-03-29 13:37:46.149: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:46.149142371Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:46.149157567Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:110: 2023-03-29 13:37:46.149: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:46.149166448Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:111: 2023-03-29 13:37:46.149: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:46.149175898Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:113: 2023-03-29 13:37:46.149: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:46.149187205Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:46.14919623Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:46.149207373Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:46.149215685Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:46.149223347Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:46.149234369Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:102: 2023-03-29 13:37:46.149: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:46.149426722Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Output":"--- PASS: TestServer/Logging/Multiple (13.24s)\n"} -{"Time":"2023-03-29T13:37:59.1117031Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Multiple","Elapsed":13.24} -{"Time":"2023-03-29T13:37:59.111755068Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.111: cmd: \"2023-03-29 13:37:59.110 [DEBUG]\\t\u003cgithub.com/coder/coder/cli/server.go:260\u003e\\t(*RootCmd).Server.func1\\tstarted debug logging\"\n"} -{"Time":"2023-03-29T13:37:59.111775176Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.111: cmd: \"Started HTTP listener at http://[::]:40007\"\n"} -{"Time":"2023-03-29T13:37:59.111795675Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" server_test.go:1204: 2023-03-29 13:37:59.111: cmd: matched \"Started HTTP listener at\" = \"2023-03-29 13:37:59.110 [DEBUG]\\t\u003cgithub.com/coder/coder/cli/server.go:260\u003e\\t(*RootCmd).Server.func1\\tstarted debug logging\\r\\nStarted HTTP listener at\"\n"} -{"Time":"2023-03-29T13:37:59.123488003Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:59.123536759Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \"View the Web UI: http://example.com\\r\"\n"} -{"Time":"2023-03-29T13:37:59.123550652Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \" \"\n"} -{"Time":"2023-03-29T13:37:59.123559998Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} -{"Time":"2023-03-29T13:37:59.144165093Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.123 [DEBUG]\\t(coderd.metrics_cache)\\t\u003cgithub.com/coder/coder/coderd/metricscache/metricscache.go:272\u003e\\t(*Cache).run\\tdeployment stats metrics refreshed\\t{\\\"took\\\": \\\"20.37µs\\\", \\\"interval\\\": \\\"30s\\\"}\"\n"} -{"Time":"2023-03-29T13:37:59.144212142Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} -{"Time":"2023-03-29T13:37:59.1442281Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} -{"Time":"2023-03-29T13:37:59.14427036Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} -{"Time":"2023-03-29T13:37:59.14428344Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.143 [DEBUG]\\t(coderd.metrics_cache)\\t\u003cgithub.com/coder/coder/coderd/metricscache/metricscache.go:272\u003e\\t(*Cache).run\\ttemplate daus metrics refreshed\\t{\\\"took\\\": \\\"3.61474ms\\\", \\\"interval\\\": \\\"1h0m0s\\\"}\"\n"} -{"Time":"2023-03-29T13:37:59.14429578Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} -{"Time":"2023-03-29T13:37:59.14430588Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down API server...\"\n"} -{"Time":"2023-03-29T13:37:59.144315009Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144324164Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down API server\"\n"} -{"Time":"2023-03-29T13:37:59.144339556Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144624294Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 1...\"\n"} -{"Time":"2023-03-29T13:37:59.144639861Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.14465833Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} -{"Time":"2023-03-29T13:37:59.14468626Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 1\"\n"} -{"Time":"2023-03-29T13:37:59.144695878Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144705145Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 2...\"\n"} -{"Time":"2023-03-29T13:37:59.144718072Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144727731Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} -{"Time":"2023-03-29T13:37:59.144750279Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 2\"\n"} -{"Time":"2023-03-29T13:37:59.144764838Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.14477793Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 3...\"\n"} -{"Time":"2023-03-29T13:37:59.144787313Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144797136Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} -{"Time":"2023-03-29T13:37:59.144810893Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 3\"\n"} -{"Time":"2023-03-29T13:37:59.144821417Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144842079Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Waiting for WebSocket connections to close...\"\n"} -{"Time":"2023-03-29T13:37:59.144855916Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.144867744Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Done waiting for WebSocket connections\"\n"} -{"Time":"2023-03-29T13:37:59.14488065Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} -{"Time":"2023-03-29T13:37:59.146012139Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:83: 2023-03-29 13:37:59.145: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:37:59.146025303Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.145: cmd: closing pty\n"} -{"Time":"2023-03-29T13:37:59.14606956Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:110: 2023-03-29 13:37:59.146: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:59.146083103Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:111: 2023-03-29 13:37:59.146: cmd: closing out\n"} -{"Time":"2023-03-29T13:37:59.146095911Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:113: 2023-03-29 13:37:59.146: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:37:59.146143558Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:59.146156843Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.146: cmd: closing logw\n"} -{"Time":"2023-03-29T13:37:59.146169893Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:59.146182763Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.146: cmd: closing logr\n"} -{"Time":"2023-03-29T13:37:59.146191645Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:37:59.146205122Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:102: 2023-03-29 13:37:59.146: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:37:59.146368404Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Output":"--- PASS: TestServer/Logging/Stackdriver (26.23s)\n"} -{"Time":"2023-03-29T13:37:59.146391543Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging/Stackdriver","Elapsed":26.23} -{"Time":"2023-03-29T13:37:59.146412558Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging","Output":"--- PASS: TestServer/Logging (0.00s)\n"} -{"Time":"2023-03-29T13:37:59.146438143Z","Action":"pass","Package":"github.com/coder/coder/cli","Test":"TestServer/Logging","Elapsed":0} -{"Time":"2023-03-29T13:37:59.1464552Z","Action":"output","Package":"github.com/coder/coder/cli","Test":"TestServer","Output":"--- FAIL: TestServer (0.05s)\n"} -{"Time":"2023-03-29T13:37:59.146474821Z","Action":"fail","Package":"github.com/coder/coder/cli","Test":"TestServer","Elapsed":0.05} -{"Time":"2023-03-29T13:37:59.146491309Z","Action":"output","Package":"github.com/coder/coder/cli","Output":"FAIL\n"} -{"Time":"2023-03-29T13:37:59.158021068Z","Action":"output","Package":"github.com/coder/coder/cli","Output":"FAIL\tgithub.com/coder/coder/cli\t26.514s\n"} -{"Time":"2023-03-29T13:37:59.158054855Z","Action":"fail","Package":"github.com/coder/coder/cli","Elapsed":26.514} -{"Time":"2023-03-29T13:38:02.724238056Z","Action":"start","Package":"github.com/coder/coder/cli/cliui"} -{"Time":"2023-03-29T13:38:02.754440648Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth"} -{"Time":"2023-03-29T13:38:02.75448054Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":"=== RUN TestGitAuth\n"} -{"Time":"2023-03-29T13:38:02.754486705Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":"=== PAUSE TestGitAuth\n"} -{"Time":"2023-03-29T13:38:02.754490044Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth"} -{"Time":"2023-03-29T13:38:02.754493443Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt"} -{"Time":"2023-03-29T13:38:02.754496272Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt","Output":"=== RUN TestPrompt\n"} -{"Time":"2023-03-29T13:38:02.754504892Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt","Output":"=== PAUSE TestPrompt\n"} -{"Time":"2023-03-29T13:38:02.754507539Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt"} -{"Time":"2023-03-29T13:38:02.754510534Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth"} -{"Time":"2023-03-29T13:38:02.754514471Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":"=== CONT TestGitAuth\n"} -{"Time":"2023-03-29T13:38:02.754642422Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt"} -{"Time":"2023-03-29T13:38:02.754653067Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt","Output":"=== CONT TestPrompt\n"} -{"Time":"2023-03-29T13:38:02.754658206Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success"} -{"Time":"2023-03-29T13:38:02.754660941Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":"=== RUN TestPrompt/Success\n"} -{"Time":"2023-03-29T13:38:02.754664503Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":"=== PAUSE TestPrompt/Success\n"} -{"Time":"2023-03-29T13:38:02.754666941Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success"} -{"Time":"2023-03-29T13:38:02.754671476Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm"} -{"Time":"2023-03-29T13:38:02.754673908Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== RUN TestPrompt/Confirm\n"} -{"Time":"2023-03-29T13:38:02.754676919Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== PAUSE TestPrompt/Confirm\n"} -{"Time":"2023-03-29T13:38:02.754683157Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm"} -{"Time":"2023-03-29T13:38:02.754688172Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip"} -{"Time":"2023-03-29T13:38:02.754690617Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":"=== RUN TestPrompt/Skip\n"} -{"Time":"2023-03-29T13:38:02.754693754Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":"=== PAUSE TestPrompt/Skip\n"} -{"Time":"2023-03-29T13:38:02.754696128Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip"} -{"Time":"2023-03-29T13:38:02.754700672Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON"} -{"Time":"2023-03-29T13:38:02.754703008Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":"=== RUN TestPrompt/JSON\n"} -{"Time":"2023-03-29T13:38:02.754718094Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":"=== PAUSE TestPrompt/JSON\n"} -{"Time":"2023-03-29T13:38:02.754723349Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON"} -{"Time":"2023-03-29T13:38:02.754728958Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON"} -{"Time":"2023-03-29T13:38:02.754731492Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== RUN TestPrompt/BadJSON\n"} -{"Time":"2023-03-29T13:38:02.754734435Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== PAUSE TestPrompt/BadJSON\n"} -{"Time":"2023-03-29T13:38:02.754736902Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON"} -{"Time":"2023-03-29T13:38:02.754748953Z","Action":"run","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON"} -{"Time":"2023-03-29T13:38:02.754751439Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== RUN TestPrompt/MultilineJSON\n"} -{"Time":"2023-03-29T13:38:02.754755982Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== PAUSE TestPrompt/MultilineJSON\n"} -{"Time":"2023-03-29T13:38:02.754760728Z","Action":"pause","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON"} -{"Time":"2023-03-29T13:38:02.754764892Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success"} -{"Time":"2023-03-29T13:38:02.754767252Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":"=== CONT TestPrompt/Success\n"} -{"Time":"2023-03-29T13:38:02.754976869Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON"} -{"Time":"2023-03-29T13:38:02.754982653Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== CONT TestPrompt/MultilineJSON\n"} -{"Time":"2023-03-29T13:38:02.755108229Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON"} -{"Time":"2023-03-29T13:38:02.755113844Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== CONT TestPrompt/BadJSON\n"} -{"Time":"2023-03-29T13:38:02.755212757Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON"} -{"Time":"2023-03-29T13:38:02.755218041Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":"=== CONT TestPrompt/JSON\n"} -{"Time":"2023-03-29T13:38:02.755315155Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip"} -{"Time":"2023-03-29T13:38:02.755318778Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":"=== CONT TestPrompt/Skip\n"} -{"Time":"2023-03-29T13:38:02.755513491Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:83: 2023-03-29 13:38:02.755: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.755529621Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.755: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.755596722Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.755: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.755601928Z","Action":"cont","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm"} -{"Time":"2023-03-29T13:38:02.755604522Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== CONT TestPrompt/Confirm\n"} -{"Time":"2023-03-29T13:38:02.756154509Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:110: 2023-03-29 13:38:02.756: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.756161274Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:111: 2023-03-29 13:38:02.756: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.756179269Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:113: 2023-03-29 13:38:02.756: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.756195571Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.75620977Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.756222494Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.756250235Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.756263435Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:102: 2023-03-29 13:38:02.756: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.75631973Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:83: 2023-03-29 13:38:02.756: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.756334455Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.756398184Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed pty: pty: closed\n"} -{"Time":"2023-03-29T13:38:02.75641208Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.756425561Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.756442572Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.756457245Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.756473084Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:102: 2023-03-29 13:38:02.756: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.756487964Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Output":"--- PASS: TestPrompt/Skip (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.756674486Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Skip","Elapsed":0} -{"Time":"2023-03-29T13:38:02.756683362Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" prompt_test.go:51: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} -{"Time":"2023-03-29T13:38:02.756700414Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" prompt_test.go:52: 2023-03-29 13:38:02.756: cmd: stdin: \"yes\\r\"\n"} -{"Time":"2023-03-29T13:38:02.756759525Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" prompt_test.go:108: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} -{"Time":"2023-03-29T13:38:02.75678767Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" prompt_test.go:109: 2023-03-29 13:38:02.756: cmd: stdin: \"{}\\r\"\n"} -{"Time":"2023-03-29T13:38:02.756838147Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" prompt_test.go:124: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} -{"Time":"2023-03-29T13:38:02.756862647Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" prompt_test.go:125: 2023-03-29 13:38:02.756: cmd: stdin: \"{a\\r\"\n"} -{"Time":"2023-03-29T13:38:02.756932142Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" prompt_test.go:140: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} -{"Time":"2023-03-29T13:38:02.756958031Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" prompt_test.go:141: 2023-03-29 13:38:02.756: cmd: stdin: \"{\\n\\\"test\\\": \\\"wow\\\"\\n}\\r\"\n"} -{"Time":"2023-03-29T13:38:02.757013878Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.756: cmd: \"You must authenticate with GitHub to create a workspace with this template. Visit:\"\n"} -{"Time":"2023-03-29T13:38:02.757025551Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} -{"Time":"2023-03-29T13:38:02.757047114Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\thttps://example.com/gitauth/github?redirect=%2Fgitauth%3Fnotify\"\n"} -{"Time":"2023-03-29T13:38:02.757065197Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} -{"Time":"2023-03-29T13:38:02.757096029Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\r\\r⠈⠁ Waiting for Git authentication...\\rSuccessfully authenticated with GitHub!\"\n"} -{"Time":"2023-03-29T13:38:02.757108294Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} -{"Time":"2023-03-29T13:38:02.757140128Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:53: 2023-03-29 13:38:02.757: cmd: matched \"You must authenticate with\" = \"You must authenticate with\"\n"} -{"Time":"2023-03-29T13:38:02.757190596Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:54: 2023-03-29 13:38:02.757: cmd: matched \"https://example.com/gitauth/github\" = \" GitHub to create a workspace with this template. Visit:\\r\\n\\r\\n\\thttps://example.com/gitauth/github\"\n"} -{"Time":"2023-03-29T13:38:02.757264811Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:55: 2023-03-29 13:38:02.757: cmd: matched \"Successfully authenticated with GitHub\" = \"?redirect=%2Fgitauth%3Fnotify\\r\\n\\r\\n\\r\\r⠈⠁ Waiting for Git authentication...\\rSuccessfully authenticated with GitHub\"\n"} -{"Time":"2023-03-29T13:38:02.757294284Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:83: 2023-03-29 13:38:02.757: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.757307619Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.757350699Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:110: 2023-03-29 13:38:02.757: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.757369646Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:111: 2023-03-29 13:38:02.757: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.757388269Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:113: 2023-03-29 13:38:02.757: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.757437516Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.7574545Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.757468757Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.757483649Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.757496041Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.757513203Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:102: 2023-03-29 13:38:02.757: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.757518992Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Output":"--- PASS: TestGitAuth (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.75757314Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestGitAuth","Elapsed":0} -{"Time":"2023-03-29T13:38:02.757576987Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" prompt_test.go:34: 2023-03-29 13:38:02.757: cmd: matched \"Example\" = \"\u003e Example\"\n"} -{"Time":"2023-03-29T13:38:02.757605985Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" prompt_test.go:35: 2023-03-29 13:38:02.757: cmd: stdin: \"hello\\r\"\n"} -{"Time":"2023-03-29T13:38:02.757679461Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\u003e Example hello\"\n"} -{"Time":"2023-03-29T13:38:02.757731096Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:83: 2023-03-29 13:38:02.757: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.757745488Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.757786052Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:110: 2023-03-29 13:38:02.757: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.757793961Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:111: 2023-03-29 13:38:02.757: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.757809024Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:113: 2023-03-29 13:38:02.757: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.757853587Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.757869751Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.757888281Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.757896143Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.757912615Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.757929309Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:102: 2023-03-29 13:38:02.757: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.757934794Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Output":"--- PASS: TestPrompt/Success (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.757963355Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Success","Elapsed":0} -{"Time":"2023-03-29T13:38:02.757966707Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\u003e Example {\"\n"} -{"Time":"2023-03-29T13:38:02.757981822Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\\"test\\\": \\\"wow\\\"\"\n"} -{"Time":"2023-03-29T13:38:02.757994456Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"}\"\n"} -{"Time":"2023-03-29T13:38:02.75807554Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.758091845Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.758122927Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758135875Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.758148587Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758193703Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758208689Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.75822251Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758236906Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.758250264Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758266392Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.758271916Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"--- PASS: TestPrompt/MultilineJSON (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.758311206Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/MultilineJSON","Elapsed":0} -{"Time":"2023-03-29T13:38:02.758314623Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example {a\"\n"} -{"Time":"2023-03-29T13:38:02.75836333Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.758378803Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.758418274Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758425803Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.75844102Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758482492Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758498572Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.758513045Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758526569Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.75853994Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758557098Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.758562364Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Output":"--- PASS: TestPrompt/BadJSON (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.758589722Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/BadJSON","Elapsed":0} -{"Time":"2023-03-29T13:38:02.758593068Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example {}\"\n"} -{"Time":"2023-03-29T13:38:02.758640512Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.75865573Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.75868581Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758697594Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.758712004Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.758753059Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758789238Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.75880265Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758821412Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.758835398Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.758851842Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.758857116Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Output":"--- PASS: TestPrompt/JSON (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.758897163Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/JSON","Elapsed":0} -{"Time":"2023-03-29T13:38:02.758900525Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example (yes/no) yes\"\n"} -{"Time":"2023-03-29T13:38:02.758967291Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} -{"Time":"2023-03-29T13:38:02.758981151Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} -{"Time":"2023-03-29T13:38:02.759023005Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.759035878Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:111: 2023-03-29 13:38:02.759: cmd: closing out\n"} -{"Time":"2023-03-29T13:38:02.759048644Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:113: 2023-03-29 13:38:02.759: cmd: closed out: read /dev/ptmx: file already closed\n"} -{"Time":"2023-03-29T13:38:02.759094323Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed pty: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.759115364Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.759: cmd: closing logw\n"} -{"Time":"2023-03-29T13:38:02.75913071Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed logw: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.759144071Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.759: cmd: closing logr\n"} -{"Time":"2023-03-29T13:38:02.75915741Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed logr: \u003cnil\u003e\n"} -{"Time":"2023-03-29T13:38:02.759174685Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:102: 2023-03-29 13:38:02.759: cmd: closed tpty\n"} -{"Time":"2023-03-29T13:38:02.759180019Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Output":"--- PASS: TestPrompt/Confirm (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.759187539Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt/Confirm","Elapsed":0} -{"Time":"2023-03-29T13:38:02.75919072Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt","Output":"--- PASS: TestPrompt (0.00s)\n"} -{"Time":"2023-03-29T13:38:02.759194742Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Test":"TestPrompt","Elapsed":0} -{"Time":"2023-03-29T13:38:02.759198362Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Output":"PASS\n"} -{"Time":"2023-03-29T13:38:02.761021961Z","Action":"output","Package":"github.com/coder/coder/cli/cliui","Output":"ok \tgithub.com/coder/coder/cli/cliui\t0.037s\n"} -{"Time":"2023-03-29T13:38:02.761046557Z","Action":"pass","Package":"github.com/coder/coder/cli/cliui","Elapsed":0.037} +{"Time":"2023-03-29T13:37:23.355347397Z","Action":"start","Package":"github.com/coder/coder/v2/agent"} +{"Time":"2023-03-29T13:37:23.381695238Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec"} +{"Time":"2023-03-29T13:37:23.38177342Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"=== RUN TestAgent_SessionExec\n"} +{"Time":"2023-03-29T13:37:23.381791755Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"=== PAUSE TestAgent_SessionExec\n"} +{"Time":"2023-03-29T13:37:23.381805147Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec"} +{"Time":"2023-03-29T13:37:23.381827974Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell"} +{"Time":"2023-03-29T13:37:23.381835977Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"=== RUN TestAgent_SessionTTYShell\n"} +{"Time":"2023-03-29T13:37:23.381850018Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"=== PAUSE TestAgent_SessionTTYShell\n"} +{"Time":"2023-03-29T13:37:23.381857444Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell"} +{"Time":"2023-03-29T13:37:23.381868815Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode"} +{"Time":"2023-03-29T13:37:23.381876252Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== RUN TestAgent_SessionTTYExitCode\n"} +{"Time":"2023-03-29T13:37:23.381885049Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== PAUSE TestAgent_SessionTTYExitCode\n"} +{"Time":"2023-03-29T13:37:23.381896641Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode"} +{"Time":"2023-03-29T13:37:23.381914968Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD"} +{"Time":"2023-03-29T13:37:23.381930694Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"=== RUN TestAgent_Session_TTY_MOTD\n"} +{"Time":"2023-03-29T13:37:23.459584829Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:23.45962803Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:23.459637144Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:23.459709589Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:23.459766441Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:23.459896565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.45992711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.460013936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.459 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.460047337Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.460151722Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:23.460178571Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:23.460311639Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:07ad6d06cd8b5ff2\n"} +{"Time":"2023-03-29T13:37:23.460356174Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:23.460498076Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:23.460536017Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:23.460590141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:23.460620636Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:23.460662149Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.460698929Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:23.460733289Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.460789117Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:23.460856196Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:23.460986291Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.460 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:23.46141926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.461506329Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:23.461608094Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:23.46164708Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:23.461997997Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48127, \"DERPPort\": 44839, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_MOTD1157664819/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:23.462041275Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.461 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:23.462418253Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:23.46244618Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:23.462489007Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:23.462532307Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:23.462584588Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:23.462669431Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.462699701Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.46277017Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.46280348Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:23.46284612Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:23.462890638Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:23.463014252Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.462 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:8ac4cc2c7460d56f\n"} +{"Time":"2023-03-29T13:37:23.463040585Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:23.463167416Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:23.463228086Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:23.463265117Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:23.463307341Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:23.463345133Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.463380146Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:23.463437865Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.463474458Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:23.463513083Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:23.463651429Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:23.463966826Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.463992242Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.463 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:23.464079789Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:23.464100162Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:23.464314405Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.464 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.464098Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:23.470436775Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.470 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:23.473142737Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.473 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:23.473905461Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.473 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:23.476012898Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.475 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.4615Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:23.476335333Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:23.476591432Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:23.476641778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:23.476677236Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.476 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:23.47834267Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.478 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:23.478773607Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.478 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:23.479289417Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.479 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:23.484191154Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.4615Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:23.484233027Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.484426557Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:23.484790305Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:23.484946523Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.484 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:23.485230922Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:23.485304276Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.485410816Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:23.485506941Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:23.485747079Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:23.485857203Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:23.485942868Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.485 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.486354495Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.464098Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:23.486406209Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.486580191Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\n"} +{"Time":"2023-03-29T13:37:23.486731116Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:23.486910536Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.486 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:23.48721125Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:23.487271545Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:23.487362767Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:23.487505661Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:23.48757023Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:23.487687075Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:23.487755179Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.487 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.533579774Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:5ms\n"} +{"Time":"2023-03-29T13:37:23.533653394Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:23.534036522Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:41471 (stun), 172.20.0.2:41471 (local)\n"} +{"Time":"2023-03-29T13:37:23.534320881Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.534012576 +0000 UTC m=+0.173619877 Peers:[] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.534485142Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:4ms\n"} +{"Time":"2023-03-29T13:37:23.534597588Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:23.534893919Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34768 (stun), 172.20.0.2:34768 (local)\n"} +{"Time":"2023-03-29T13:37:23.535056614Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.534 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.534872863 +0000 UTC m=+0.174480149 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.535722359Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:23.535840193Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:23.53601927Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.535 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.535826298 +0000 UTC m=+0.175433549 Peers:[] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.536284979Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.004534057}}}\n"} +{"Time":"2023-03-29T13:37:23.536457311Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.5343Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.536888005Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.5343Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.536962253Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.536 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.537168204Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.537809136Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:23.537959175Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:23.538044116Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:23.538236588Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.538043332 +0000 UTC m=+0.177650587 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.538347057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.004475683}}}\n"} +{"Time":"2023-03-29T13:37:23.538488084Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.535038Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.538915728Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.535038Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.538974002Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.538 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.539154829Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.539540545Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:23.539953465Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.539 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.539778Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004534057}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.540373922Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.539778Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004534057}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.540832675Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.540920246Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.540 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:23.541080962Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.541207198Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.541540025Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:23.541869031Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.541 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.541715Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004475683}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.542270097Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.541715Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.004475683}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.542592821Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.542683196Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:23.542867815Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.542985478Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.542 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.55226213Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.552 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:23.552392256Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.552 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:23.589932282Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.589 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:4ms\n"} +{"Time":"2023-03-29T13:37:23.591567427Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.591 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:2ms\n"} +{"Time":"2023-03-29T13:37:23.598751818Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.598 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} +{"Time":"2023-03-29T13:37:23.598954894Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.598 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [0x7ra] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:23.599390218Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [vT+Vd] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:23.599516651Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0x7ra] d:8ac4cc2c7460d56f now using 172.20.0.2:34768\n"} +{"Time":"2023-03-29T13:37:23.599643596Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} +{"Time":"2023-03-29T13:37:23.59972717Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.599 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0x7ra] ...\n"} +{"Time":"2023-03-29T13:37:23.600132385Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.600385251Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:23.600423261Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:23.600476824Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:23.600511572Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:23.600547765Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:23.600583838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Starting\n"} +{"Time":"2023-03-29T13:37:23.600650591Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:23.601044073Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.600 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [vT+Vd] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:23.601107152Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.601327676Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:23.601369666Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:23.601396751Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:23.601460927Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:23.601495639Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:23.601526183Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Starting\n"} +{"Time":"2023-03-29T13:37:23.60175503Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:23.601775856Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.601 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:23.602280259Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.602127595 +0000 UTC m=+0.241734812 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33}] LocalAddrs:[{Addr:127.0.0.1:34768 Type:stun} {Addr:172.20.0.2:34768 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.602838109Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:23.602930775Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [vT+Vd] d:07ad6d06cd8b5ff2 now using 172.20.0.2:41471\n"} +{"Time":"2023-03-29T13:37:23.603134941Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.602 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:23.602980142 +0000 UTC m=+0.242587360 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:23.602828352 +0000 UTC NodeKey:nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229}] LocalAddrs:[{Addr:127.0.0.1:41471 Type:stun} {Addr:172.20.0.2:41471 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:23.603731388Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.603 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0x7ra] d:8ac4cc2c7460d56f now using 127.0.0.1:34768\n"} +{"Time":"2023-03-29T13:37:23.629049874Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" agent_test.go:298: 2023-03-29 13:37:23.628: cmd: stdin: \"exit 0\\r\"\n"} +{"Time":"2023-03-29T13:37:23.62993175Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:121: 2023-03-29 13:37:23.629: cmd: \"exit 0\"\n"} +{"Time":"2023-03-29T13:37:23.643243989Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.643 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34768 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:37:23.643873931Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.643 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:41471 derp=1 derpdist=1v4:0s\n"} +{"Time":"2023-03-29T13:37:23.644469186Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.644 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000547591}}}\n"} +{"Time":"2023-03-29T13:37:23.644715274Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.644 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.644461Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000547591}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.645390624Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 5764434400100518555, \"as_of\": \"2023-03-29T13:37:23.644461Z\", \"key\": \"nodekey:d31eeb68b6968cc6779e62454901fb98bcacab1dcb46e15bec2b92205cc82229\", \"disco\": \"discokey:8ac4cc2c7460d56ffcd8064d64a7752b43475c7244a316f626b321097e07630f\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000547591}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34768\", \"172.20.0.2:34768\"]}}\n"} +{"Time":"2023-03-29T13:37:23.64591875Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.646145075Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.645 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:23.646400847Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.646730863Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:23.646828936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:37:23.646930238Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.647158211Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.646 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000154898}}}\n"} +{"Time":"2023-03-29T13:37:23.647376125Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.647 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.64715Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000154898}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.648003118Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.647 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3370308278017414080, \"as_of\": \"2023-03-29T13:37:23.64715Z\", \"key\": \"nodekey:bd3f9574e34fe33bab67dc45e49054f84d69e7c686af37bb2556989a8e6e9b33\", \"disco\": \"discokey:07ad6d06cd8b5ff2fd2b25fcd8f253332fd46d9820c6e0a670d9302db2d21411\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000154898}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775/128\"], \"endpoints\": [\"127.0.0.1:41471\", \"172.20.0.2:41471\"]}}\n"} +{"Time":"2023-03-29T13:37:23.648256172Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:23.648338509Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:23.648471344Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:23.648609559Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:23.648638814Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:37:23.648721589Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:23.648895668Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:37:23.648944175Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:37:23.983374775Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:23.983 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} +{"Time":"2023-03-29T13:37:24.483975661Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.483 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} +{"Time":"2023-03-29T13:37:24.983883086Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.983 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} +{"Time":"2023-03-29T13:37:24.997284571Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:83: 2023-03-29 13:37:24.997: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:24.997307935Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:24.997315409Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:110: 2023-03-29 13:37:24.997: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:24.997319364Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:111: 2023-03-29 13:37:24.997: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:24.997323588Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:113: 2023-03-29 13:37:24.997: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:24.997370156Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:24.997381692Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:24.997385034Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:24.997389205Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:74: 2023-03-29 13:37:24.997: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:24.997393753Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:76: 2023-03-29 13:37:24.997: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:24.997405892Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" ptytest.go:102: 2023-03-29 13:37:24.997: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:24.997490606Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:24.997723999Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 1s\n"} +{"Time":"2023-03-29T13:37:24.997783062Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:24.997839084Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:24.997864344Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:24.997932377Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:24.998046302Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.997 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:24.998086112Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:24.998136192Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0x7ra] - Stopping\n"} +{"Time":"2023-03-29T13:37:24.998214902Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:24.998405401Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:24.998453108Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:24.998545966Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:24.998863807Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 1s\n"} +{"Time":"2023-03-29T13:37:24.998907983Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:24.998974565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:24.999012856Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.998 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:24.999084066Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:24.999163662Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4aeb:931f:72d2:b3f9:2775): sending disco ping to [vT+Vd] ...\n"} +{"Time":"2023-03-29T13:37:24.999281214Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:24.999322797Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:24.999367964Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [vT+Vd] - Stopping\n"} +{"Time":"2023-03-29T13:37:24.999477141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" t.go:81: 2023-03-29 13:37:24.999 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:24.999790842Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:24.999978482Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Output":"--- PASS: TestAgent_Session_TTY_MOTD (1.62s)\n"} +{"Time":"2023-03-29T13:37:24.999989636Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_MOTD","Elapsed":1.62} +{"Time":"2023-03-29T13:37:25.000001861Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin"} +{"Time":"2023-03-29T13:37:25.000006766Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"=== RUN TestAgent_Session_TTY_Hushlogin\n"} +{"Time":"2023-03-29T13:37:25.061523057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:25.061562172Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:25.061580317Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:25.061650184Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:25.061692748Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:25.061779714Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.061825894Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.0619026Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.061948469Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.061997351Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:25.062034009Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.061 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:25.062159882Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:de63960686d4d969\n"} +{"Time":"2023-03-29T13:37:25.062211517Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:25.062292207Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:25.062336748Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:25.062378334Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:25.062420493Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:25.06246598Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.062509064Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:25.0625467Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.062582098Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:25.062621581Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:25.062741251Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.062 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:25.063047606Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.063098481Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:25.063228621Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:25.063275399Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:25.063394952Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48719, \"DERPPort\": 45121, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"/tmp/TestAgent_Session_TTY_Hushlogin1510664063/001/motd\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:25.063449256Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:25.063787886Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:25.063828837Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:25.063873191Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:25.063920593Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:25.063972721Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.063 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:25.064056998Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.064104109Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.064172955Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.064220262Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:25.064265054Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:25.064311842Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:25.064424792Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:a2fa54a4398f4b14\n"} +{"Time":"2023-03-29T13:37:25.064460776Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:25.064519398Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:25.064564764Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:25.064610015Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:25.064649665Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:25.064697586Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.064733375Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:25.06476809Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.064817752Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:25.064858351Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:25.064968632Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.064 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:25.065284782Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.065331529Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:25.065409197Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:25.065446163Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:25.065532991Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.065442Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:25.065984331Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.065 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:25.066385592Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.066 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:25.066774463Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.066 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:25.067577596Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.063134Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:25.067723294Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:25.067791082Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:25.067853127Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:25.067910376Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.067 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:25.0683366Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.068 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:25.07002731Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.069 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:25.071537156Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.071 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:25.073373256Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.065442Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:25.073396962Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.073480235Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\n"} +{"Time":"2023-03-29T13:37:25.073564836Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:25.073671864Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:25.07378875Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:25.073820206Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.073854357Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:25.073896565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:25.073931707Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:25.073965714Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:25.074005901Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.073 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.074880124Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.063134Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:25.074899766Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.074982929Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.074 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:25.075048527Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:25.075142259Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:25.075263679Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:25.075295728Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:25.075336116Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:25.075375372Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:25.075421587Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:25.075466864Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:25.075504912Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.075 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.117000024Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.116 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:25.124882906Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.124 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:37:25.125053667Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.124 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:25.12561266Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.125 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:60850 (stun), 172.20.0.2:60850 (local)\n"} +{"Time":"2023-03-29T13:37:25.125905661Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.125 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.125569748 +0000 UTC m=+1.765177074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.126844264Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.126 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:1ms\n"} +{"Time":"2023-03-29T13:37:25.127005238Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.126 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:25.127513222Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.127 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58304 (stun), 172.20.0.2:58304 (local)\n"} +{"Time":"2023-03-29T13:37:25.127757541Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.127 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.127481783 +0000 UTC m=+1.767089103 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.128599916Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:25.128762101Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:25.129009957Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.12872419 +0000 UTC m=+1.768331474 Peers:[] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.129209925Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.128 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000985407}}}\n"} +{"Time":"2023-03-29T13:37:25.129460508Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.129 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.125849Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.130127324Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.129 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.125849Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.130232734Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.13055158Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.131114968Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.130 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:25.131240194Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:25.131519421Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.131235659 +0000 UTC m=+1.770842948 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.131694593Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.001250656}}}\n"} +{"Time":"2023-03-29T13:37:25.131999693Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.131 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.127736Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.132733057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.132 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:25.133220162Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.132 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.132982Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000985407}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.133869838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.133 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.132982Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000985407}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.134272814Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.134404044Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:25.134672632Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.134517Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001250656}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.134983325Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.127736Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.135024699Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.134 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.135198837Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.135284701Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:25.135438825Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.135566373Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.135876201Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.135 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.134517Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.001250656}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.136046662Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.136091872Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:25.136196604Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.136258441Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.136 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.143831824Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.143 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:25.143963014Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.143 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:25.181560631Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.181 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:10ms\n"} +{"Time":"2023-03-29T13:37:25.182840653Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.182 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:8ms\n"} +{"Time":"2023-03-29T13:37:25.197904655Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.197 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} +{"Time":"2023-03-29T13:37:25.198311943Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.198 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [0LjuK] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:25.199139623Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [S1KIY] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:25.199333828Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0LjuK] d:a2fa54a4398f4b14 now using 172.20.0.2:60850\n"} +{"Time":"2023-03-29T13:37:25.199614502Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} +{"Time":"2023-03-29T13:37:25.199798383Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.199 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [0LjuK] ...\n"} +{"Time":"2023-03-29T13:37:25.200531317Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.20096595Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:25.201076837Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.200 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:25.201187536Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:25.201294507Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:25.201406637Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:25.20154342Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Starting\n"} +{"Time":"2023-03-29T13:37:25.201642014Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.201 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:25.202494139Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [S1KIY] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:25.202613281Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.203067239Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.202 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:25.203194112Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:25.203305469Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:25.203432836Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:25.203643635Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:25.203694677Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Starting\n"} +{"Time":"2023-03-29T13:37:25.204047455Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.203 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:25.20407267Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:25.204499058Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.204364109 +0000 UTC m=+1.843971335 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262}] LocalAddrs:[{Addr:127.0.0.1:60850 Type:stun} {Addr:172.20.0.2:60850 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.204985233Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:25.205043968Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.204 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [S1KIY] d:de63960686d4d969 now using 172.20.0.2:58304\n"} +{"Time":"2023-03-29T13:37:25.205186973Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.205 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:25.205077383 +0000 UTC m=+1.844684599 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:25.204972346 +0000 UTC NodeKey:nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c}] LocalAddrs:[{Addr:127.0.0.1:58304 Type:stun} {Addr:172.20.0.2:58304 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:25.205653441Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.205 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [0LjuK] d:a2fa54a4398f4b14 now using 127.0.0.1:60850\n"} +{"Time":"2023-03-29T13:37:25.228059809Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" agent_test.go:344: 2023-03-29 13:37:25.227: cmd: stdin: \"exit 0\\r\"\n"} +{"Time":"2023-03-29T13:37:25.228276231Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:121: 2023-03-29 13:37:25.228: cmd: \"exit 0\"\n"} +{"Time":"2023-03-29T13:37:25.235085539Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58304 derp=1 derpdist=1v4:0s\n"} +{"Time":"2023-03-29T13:37:25.235327678Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:60850 derp=1 derpdist=1v4:0s\n"} +{"Time":"2023-03-29T13:37:25.235573892Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000235695}}}\n"} +{"Time":"2023-03-29T13:37:25.235627639Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.235549Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000235695}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.235912714Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.235 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2479211229855255143, \"as_of\": \"2023-03-29T13:37:25.235549Z\", \"key\": \"nodekey:4b52886038d0b10509d4ba999d1a1ad8721795e419e104079b9b0d4334ccf262\", \"disco\": \"discokey:de63960686d4d9696035b3395ad51c334b1b6762f27929160b70e330e59fc955\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000235695}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7/128\"], \"endpoints\": [\"127.0.0.1:58304\", \"172.20.0.2:58304\"]}}\n"} +{"Time":"2023-03-29T13:37:25.2361447Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.236185457Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:25.23632231Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.2364646Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:25.23648571Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:37:25.236535173Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.236646389Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.000124794}}}\n"} +{"Time":"2023-03-29T13:37:25.236691145Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.236616Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000124794}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.236953136Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.236 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2366729466453183316, \"as_of\": \"2023-03-29T13:37:25.236616Z\", \"key\": \"nodekey:d0b8ee28a0ee87a0b3a9c4e4d551d52d6abae50aac6b29587f8aaaecaf92dc1c\", \"disco\": \"discokey:a2fa54a4398f4b14ed94f97af08fb0c8f1a7276aa663caf7d25542e565ef4f28\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.000124794}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:60850\", \"172.20.0.2:60850\"]}}\n"} +{"Time":"2023-03-29T13:37:25.237148814Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:25.23717419Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:25.23729907Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:25.237442993Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:25.237465362Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:37:25.23748091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:25.237621079Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:37:25.237646187Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.237 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:37:25.57358248Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:25.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} +{"Time":"2023-03-29T13:37:26.073909695Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.073 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} +{"Time":"2023-03-29T13:37:26.573442313Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} +{"Time":"2023-03-29T13:37:26.685974077Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:83: 2023-03-29 13:37:26.685: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:26.686024343Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.685: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:26.686044434Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:110: 2023-03-29 13:37:26.685: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:26.686057034Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:111: 2023-03-29 13:37:26.685: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:26.686068789Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:113: 2023-03-29 13:37:26.685: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:26.686157867Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:26.686173026Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.686: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:26.686188025Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:26.686198978Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:74: 2023-03-29 13:37:26.686: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:26.686213128Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:76: 2023-03-29 13:37:26.686: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:26.686224275Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" ptytest.go:102: 2023-03-29 13:37:26.686: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:26.686399517Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:26.686631954Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} +{"Time":"2023-03-29T13:37:26.686672029Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:26.686752993Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:26.686793215Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:26.686883059Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:26.687010573Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:26.687040046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.686 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:26.687106628Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [0LjuK] - Stopping\n"} +{"Time":"2023-03-29T13:37:26.687190751Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:26.68730229Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:26.687319022Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:26.68739086Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:26.687791287Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 2s\n"} +{"Time":"2023-03-29T13:37:26.687807566Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:26.687907277Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:26.687956258Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:26.68802861Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.687 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:26.688112368Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4c72:9ce3:62e1:7385:dec7): sending disco ping to [S1KIY] ...\n"} +{"Time":"2023-03-29T13:37:26.688253692Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:26.688318345Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:26.688366659Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [S1KIY] - Stopping\n"} +{"Time":"2023-03-29T13:37:26.688473063Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" t.go:81: 2023-03-29 13:37:26.688 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:26.688794731Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:26.688993708Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Output":"--- PASS: TestAgent_Session_TTY_Hushlogin (1.69s)\n"} +{"Time":"2023-03-29T13:37:26.689005169Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_Hushlogin","Elapsed":1.69} +{"Time":"2023-03-29T13:37:26.689017486Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} +{"Time":"2023-03-29T13:37:26.689022846Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== RUN TestAgent_Session_TTY_FastCommandHasOutput\n"} +{"Time":"2023-03-29T13:37:26.689031231Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== PAUSE TestAgent_Session_TTY_FastCommandHasOutput\n"} +{"Time":"2023-03-29T13:37:26.689049237Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} +{"Time":"2023-03-29T13:37:26.689055783Z","Action":"run","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} +{"Time":"2023-03-29T13:37:26.689060673Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== RUN TestAgent_Session_TTY_HugeOutputIsNotLost\n"} +{"Time":"2023-03-29T13:37:26.689069084Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== PAUSE TestAgent_Session_TTY_HugeOutputIsNotLost\n"} +{"Time":"2023-03-29T13:37:26.689074026Z","Action":"pause","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} +{"Time":"2023-03-29T13:37:26.689083532Z","Action":"cont","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec"} +{"Time":"2023-03-29T13:37:26.689090279Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"=== CONT TestAgent_SessionExec\n"} +{"Time":"2023-03-29T13:37:26.703787142Z","Action":"cont","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost"} +{"Time":"2023-03-29T13:37:26.703825656Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"=== CONT TestAgent_Session_TTY_HugeOutputIsNotLost\n"} +{"Time":"2023-03-29T13:37:26.703839698Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":" agent_test.go:413: This test proves we have a bug where parts of large output on a PTY can be lost after the command exits, skipped to avoid test failures.\n"} +{"Time":"2023-03-29T13:37:26.703868206Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Output":"--- SKIP: TestAgent_Session_TTY_HugeOutputIsNotLost (0.00s)\n"} +{"Time":"2023-03-29T13:37:26.70388799Z","Action":"skip","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_HugeOutputIsNotLost","Elapsed":0} +{"Time":"2023-03-29T13:37:26.703900175Z","Action":"cont","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput"} +{"Time":"2023-03-29T13:37:26.703908033Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"=== CONT TestAgent_Session_TTY_FastCommandHasOutput\n"} +{"Time":"2023-03-29T13:37:26.723935151Z","Action":"cont","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode"} +{"Time":"2023-03-29T13:37:26.723957967Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"=== CONT TestAgent_SessionTTYExitCode\n"} +{"Time":"2023-03-29T13:37:26.744050676Z","Action":"cont","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell"} +{"Time":"2023-03-29T13:37:26.744073511Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"=== CONT TestAgent_SessionTTYShell\n"} +{"Time":"2023-03-29T13:37:26.975908391Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:26.975935102Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:26.975941463Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:26.975992643Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:26.976027672Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.975 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:26.976097148Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:26.976137127Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:26.976202552Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:26.976237559Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:26.976273529Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:26.976300958Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:26.976417909Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:17b5066de479f458\n"} +{"Time":"2023-03-29T13:37:26.976445133Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:26.976529694Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:26.976575591Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:26.976603915Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:26.976641835Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:26.97666441Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:26.976690087Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:26.97672446Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:26.976749123Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:26.976786013Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:26.976893189Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.976 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:26.977219957Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:26.977264288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:26.977393997Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:26.977 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.015978257Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.015 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:27.016072388Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.015 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 55109, \"DERPPort\": 34655, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:27.016101997Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:27.016454205Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.016484809Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.016527444Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.016579577Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.016616504Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.01670613Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.016736272Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.016795884Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.01683051Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.016869184Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.016901207Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.017009443Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.016 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:e6f05f1260bbd611\n"} +{"Time":"2023-03-29T13:37:27.017032499Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.017087268Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.017133219Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.017166541Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.017198439Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.017231784Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.017255027Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.017285867Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.017313159Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.017341323Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.017453136Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.017777899Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.01781684Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.017877499Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:27.017903073Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:27.017983662Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.017 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.017904Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.018477038Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.018 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.018878036Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.018 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.019251435Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.019 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.020053918Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.019 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:26.977307Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.020198673Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.020242577Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.020285833Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.020317905Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.020 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.036521314Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.036 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.036924425Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.036 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.037332816Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.037 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.03841778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.017904Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.038434547Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.03852175Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\n"} +{"Time":"2023-03-29T13:37:27.038608926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.038696362Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.038810178Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.038824686Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.038858134Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.038891063Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.038924242Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.038937309Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.038976455Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.038 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.039988711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.039 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:26.977307Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.040010425Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.039 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.040059771Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:27.040126554Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.040195696Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.040300593Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.040315089Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.040342986Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.040371935Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.040410694Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.040423938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.040453889Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.040 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.096588631Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.096797479Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.097032423Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.096 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.09709667Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.097 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.12109969Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.121135169Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.121150972Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.121167311Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.121216222Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.121292057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.12132273Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.121381219Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.121408684Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.121435744Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.121461695Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.121594822Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:c7f1bea9d6ff269c\n"} +{"Time":"2023-03-29T13:37:27.121620573Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.121655676Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.121730239Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.121756777Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.121781901Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.121808996Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.121833529Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.121858413Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.121888455Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.121913023Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.122044906Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.121 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.12234719Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.122375547Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.122495597Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.122 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.136791704Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.136 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.136826981Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:27.13694108Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 48864, \"DERPPort\": 33963, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:27.136979053Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.136 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:27.137291589Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.137308609Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.13732063Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.137373985Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.137407965Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.137495219Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.137519229Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.137572028Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.137602411Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.137622846Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.137667976Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.137770053Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:59083cba13956f00\n"} +{"Time":"2023-03-29T13:37:27.137794544Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.137898354Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.137934758Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.137955272Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.138002548Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.138024513Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.137 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.138043252Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.138068121Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.138095784Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.138122918Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.138231919Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.138531438Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.138556077Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.138636819Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:27.138658918Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:27.138754966Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.138 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.138663Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.139212045Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.139 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.139609965Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.139 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.141001091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.140 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.143964866Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.143 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.122393Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.144498996Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.144562824Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.144649797Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.144702964Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.144 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.147050678Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.146 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.152240491Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.152 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.157654353Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.157 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.16338877Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.16375523Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.138663Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.163780585Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.163864424Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\n"} +{"Time":"2023-03-29T13:37:27.163963441Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.163 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.164079841Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.164217744Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.164235438Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.16424974Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.164316222Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.164338403Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.164386486Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.1644261Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.164 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.165498628Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.122393Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.165527893Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.16555513Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:27.165643091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.165737176Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.165892091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.165909805Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.165924292Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.165977872Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.166008015Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.165 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.166054821Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.166 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.166085097Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.166 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.187154465Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.187 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.247520351Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.247693682Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.247900828Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.247 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.248074095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.248 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.248118748Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.248 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.267591238Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.267 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.327992838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.327 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.328026983Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.327 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:83ms\n"} +{"Time":"2023-03-29T13:37:27.328082537Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.328318974Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:59384 (stun), 172.20.0.2:59384 (local)\n"} +{"Time":"2023-03-29T13:37:27.328415723Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.328 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.328311263 +0000 UTC m=+3.967918487 Peers:[] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.331309331Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.331346835Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.331498355Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.331349704 +0000 UTC m=+3.970956931 Peers:[] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.331576885Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.083211738}}}\n"} +{"Time":"2023-03-29T13:37:27.331699503Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.328409Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.331945606Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.328409Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.33196728Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.331 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.332108335Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.332325739Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.332542999Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.332444Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083211738}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.332790784Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.332444Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083211738}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.333024686Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.332 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.333062782Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.333182232Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.333249208Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.333 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.348154607Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.348 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.353941907Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.353956013Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.353983717Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.353 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.354104135Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.354170721Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.354248787Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.354272858Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.35432815Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.354379756Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.354437701Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.354522443Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.35465091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:049e454260a62aa1\n"} +{"Time":"2023-03-29T13:37:27.354686785Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.354820076Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.35484141Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.354884035Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.354900747Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.354943262Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.354962224Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.354997734Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.355013636Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.354 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.355062521Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.355172916Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.355579603Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.355609674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:45837 derp=1 derpdist=1v4:83ms\n"} +{"Time":"2023-03-29T13:37:27.35566873Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.355827579Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:45837 (stun), 172.20.0.2:45837 (local)\n"} +{"Time":"2023-03-29T13:37:27.355913155Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.355 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.355809216 +0000 UTC m=+3.995416428 Peers:[] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.356261459Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:27.356354227Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 34688, \"DERPPort\": 43117, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:27.35638277Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:27.356686207Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.356708299Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.356723833Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.356833939Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.356850125Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.356945712Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.356968923Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.357036251Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.356 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.357070033Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.35711526Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.357134582Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.357249522Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:34ff526bdd502e84\n"} +{"Time":"2023-03-29T13:37:27.35727419Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.35742285Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.357459674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.357483314Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.357523236Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.357548281Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.357567638Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.357589503Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.357626515Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.357652913Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.357769486Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.358036076Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.357 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.358075196Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.358178009Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:27.358202627Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:27.358298603Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.358 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.363703025Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.363 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.368878553Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.368 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.374094674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.373 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.379724421Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.379782057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.379915271Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.37996992Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.380020183Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.379 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.380128212Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.380012238 +0000 UTC m=+4.019619457 Peers:[] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.380193848Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.082795986}}}\n"} +{"Time":"2023-03-29T13:37:27.380276172Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.355895Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.38052742Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.355895Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.380550207Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.380665436Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.380879187Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.380925379Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.380952567Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.380 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.386338613Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.386 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.387267029Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.387774697Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.387 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.389160607Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.358191Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.389186972Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.389275389Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\n"} +{"Time":"2023-03-29T13:37:27.389397112Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.38946191Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.389582352Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.389605243Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.389634845Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.389680241Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.389711656Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.389725148Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.389767299Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.389833677Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.390055453Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.389 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.379813Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.390076169Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.390126429Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:27.390188645Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.39025637Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.390371704Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.39038785Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.390406815Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.390435981Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.390450102Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.39048039Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.390509523Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.390585223Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.390644997Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.39085229Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.390753Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.082795986}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.391046642Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.390 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.390753Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.082795986}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.391253711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.391294825Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.391387255Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.391491088Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.391 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.408305611Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.408340875Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.408352182Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.408381704Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.41114267Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.41133032Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.411379291Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:84ms\n"} +{"Time":"2023-03-29T13:37:27.411463359Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.411622433Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:35595 (stun), 172.20.0.2:35595 (local)\n"} +{"Time":"2023-03-29T13:37:27.411704928Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.411 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.411617207 +0000 UTC m=+4.051224425 Peers:[] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.412030111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.411 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:188\u003e\t(*agent).runLoop\tconnecting to coderd\n"} +{"Time":"2023-03-29T13:37:27.412110894Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:286\u003e\t(*agent).run\tfetched metadata\t{\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": null, \"derpmap\": {\"Regions\": {\"1\": {\"EmbeddedRelay\": false, \"RegionID\": 1, \"RegionCode\": \"test\", \"RegionName\": \"Test\", \"Nodes\": [{\"Name\": \"t2\", \"RegionID\": 1, \"HostName\": \"\", \"IPv4\": \"127.0.0.1\", \"IPv6\": \"none\", \"STUNPort\": 51906, \"DERPPort\": 41275, \"InsecureForTests\": true}]}}}, \"environment_variables\": null, \"startup_script\": \"\", \"startup_script_timeout\": 0, \"directory\": \"\", \"motd_file\": \"\", \"shutdown_script\": \"\", \"shutdown_script_timeout\": 0}}\n"} +{"Time":"2023-03-29T13:37:27.41214998Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"starting\", \"last\": \"\"}\n"} +{"Time":"2023-03-29T13:37:27.412464057Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:270\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) tun device\n"} +{"Time":"2023-03-29T13:37:27.412485841Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:274\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) OS network configurator\n"} +{"Time":"2023-03-29T13:37:27.412515514Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:278\u003e\tNewUserspaceEngine\t[v1] using fake (no-op) DNS configurator\n"} +{"Time":"2023-03-29T13:37:27.412564627Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: using dns.noopManager\n"} +{"Time":"2023-03-29T13:37:27.412620272Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.412695891Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.412734645Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.412796459Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.41282973Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.412882896Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.412921148Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.413034159Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.412 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:cc502d2065d3910d\n"} +{"Time":"2023-03-29T13:37:27.413066135Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.413142789Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.413196003Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.413234614Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.413259313Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.413291621Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.413317957Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.413346325Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.413369117Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.413402783Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.413518268Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.413809664Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.413845445Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.413910962Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:402\u003e\t(*agent).run\trunning tailnet connection coordinator\n"} +{"Time":"2023-03-29T13:37:27.413937365Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:620\u003e\t(*agent).runCoordinator\tconnected to coordination endpoint\n"} +{"Time":"2023-03-29T13:37:27.414017708Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.413 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.413933Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.414064655Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.414111814Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.414189184Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.414107708 +0000 UTC m=+4.053714921 Peers:[] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.414245907Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.083765437}}}\n"} +{"Time":"2023-03-29T13:37:27.414312155Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.4117Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.414517803Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.4117Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.414535126Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.414623995Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.414849045Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.414905554Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"ready\", \"last\": \"starting\"}\n"} +{"Time":"2023-03-29T13:37:27.414936416Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.414 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.415525692Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.415 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.416019712Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.415 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.416475957Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.416 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.419029132Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.418 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.419447399Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.419 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.419321Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083765437}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.42011877Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.419321Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.083765437}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.420376019Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.420736563Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.42087992Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.420979406Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.420 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.422951198Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.422 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.42298967Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.422 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51685 derp=1 derpdist=1v4:84ms\n"} +{"Time":"2023-03-29T13:37:27.423073917Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.423298046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51685 (stun), 172.20.0.2:51685 (local)\n"} +{"Time":"2023-03-29T13:37:27.423385945Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.423 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.423272543 +0000 UTC m=+4.062879776 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.424393184Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.424445676Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.424603665Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.424442129 +0000 UTC m=+4.064049348 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.424655158Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.084146852}}}\n"} +{"Time":"2023-03-29T13:37:27.424762683Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.423371Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.425045855Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.424 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.423371Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.425065382Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.425204191Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.425429938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.425622509Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.425514Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.084146852}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.425845165Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.425514Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.084146852}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.426046304Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.425 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.426095567Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.426917109Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.426975294Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.426 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.427132044Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:95ms\n"} +{"Time":"2023-03-29T13:37:27.427810726Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.408 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:334\u003e\tNewUserspaceEngine\tlink state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.20.0.2/16]} v4=true v6=false}\n"} +{"Time":"2023-03-29T13:37:27.427890723Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.427915145Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.42800586Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:306\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.428030074Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.427 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock_linux.go:310\u003e\ttrySetSocketBuffer.func1\tmagicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.428084359Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:666\u003e\tNewConn\t[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.428115313Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:672\u003e\tNewConn\t[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\n"} +{"Time":"2023-03-29T13:37:27.428260646Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1056\u003e\t(*Conn).DiscoPublicKey\tmagicsock: disco key = d:9c9ea8075f682592\n"} +{"Time":"2023-03-29T13:37:27.428283953Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:412\u003e\tNewUserspaceEngine\tCreating WireGuard device...\n"} +{"Time":"2023-03-29T13:37:27.428422249Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:437\u003e\tNewUserspaceEngine\tBringing WireGuard device up...\n"} +{"Time":"2023-03-29T13:37:27.428458364Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] UDP bind has been updated\n"} +{"Time":"2023-03-29T13:37:27.428479111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Interface state was Down, requested Up, now Up\n"} +{"Time":"2023-03-29T13:37:27.428530647Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:441\u003e\tNewUserspaceEngine\tBringing router up...\n"} +{"Time":"2023-03-29T13:37:27.428549605Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:21\u003e\tfakeRouter.Up\t[v1] warning: fakeRouter.Up: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.428596203Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:449\u003e\tNewUserspaceEngine\tClearing router settings...\n"} +{"Time":"2023-03-29T13:37:27.428629468Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.42866001Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:453\u003e\tNewUserspaceEngine\tStarting link monitor...\n"} +{"Time":"2023-03-29T13:37:27.428692965Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:456\u003e\tNewUserspaceEngine\tEngine created.\n"} +{"Time":"2023-03-29T13:37:27.42881653Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.428 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2444\u003e\t(*Conn).SetPrivateKey\tmagicsock: SetPrivateKey called (init)\n"} +{"Time":"2023-03-29T13:37:27.430284733Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.094731332}}}\n"} +{"Time":"2023-03-29T13:37:27.430366553Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.430277Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.094731332}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.430637096Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6193178684101620604, \"as_of\": \"2023-03-29T13:37:27.430277Z\", \"key\": \"nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370\", \"disco\": \"discokey:17b5066de479f45868013352cba173846e33492e64258b47a5e823c1746f8449\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.094731332}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4781:bb82:1540:3954:6a8/128\"], \"endpoints\": [\"127.0.0.1:59384\", \"172.20.0.2:59384\"]}}\n"} +{"Time":"2023-03-29T13:37:27.430871537Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.430971821Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.430 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:45837 derp=1 derpdist=1v4:37ms\n"} +{"Time":"2023-03-29T13:37:27.436731495Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.436 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - started\n"} +{"Time":"2023-03-29T13:37:27.441948864Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.441 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.442143804Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.442 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - started\n"} +{"Time":"2023-03-29T13:37:27.447325985Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.447 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:58\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - started\n"} +{"Time":"2023-03-29T13:37:27.452941046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.452 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:187\u003e\tNewConn\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.452978923Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.452 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 0 peers\n"} +{"Time":"2023-03-29T13:37:27.453138084Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.453213493Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.453354362Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.45343882Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.037239154}}}\n"} +{"Time":"2023-03-29T13:37:27.453524949Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.453418Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.037239154}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.453796409Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 1396496777246732951, \"as_of\": \"2023-03-29T13:37:27.453418Z\", \"key\": \"nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24\", \"disco\": \"discokey:e6f05f1260bbd61182192a11c1541a28ccace412e36cdb487e15a598d8327a73\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.037239154}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:45837\", \"172.20.0.2:45837\"]}}\n"} +{"Time":"2023-03-29T13:37:27.454022251Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.453 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.454053656Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.454164006Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.454402409Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.454452969Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: netcheck: UDP is blocked, trying HTTPS\n"} +{"Time":"2023-03-29T13:37:27.454661334Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.454 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.455180586Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.413933Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.45520381Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.455291748Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\n"} +{"Time":"2023-03-29T13:37:27.455371391Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.45558374Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.455722626Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.455744892Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.455759263Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.455811196Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.455851745Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.455887337Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.45593531Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.456026705Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.455 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.453Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.456257727Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.453Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": []}}\n"} +{"Time":"2023-03-29T13:37:27.456275526Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.456348245Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.netstack)\t\u003ctailscale.com/wgengine/netstack/netstack.go:367\u003e\t(*Impl).updateIPs\t[v2] netstack: registered IP fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\n"} +{"Time":"2023-03-29T13:37:27.456430865Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)\n"} +{"Time":"2023-03-29T13:37:27.456533237Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] UAPI: Updating private key\n"} +{"Time":"2023-03-29T13:37:27.456666838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:921\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring router\n"} +{"Time":"2023-03-29T13:37:27.456681257Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:26\u003e\tfakeRouter.Set\t[v1] warning: fakeRouter.Set: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.456709567Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:931\u003e\t(*userspaceEngine).Reconfig\twgengine: Reconfig: configuring DNS\n"} +{"Time":"2023-03-29T13:37:27.456736103Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}\n"} +{"Time":"2023-03-29T13:37:27.456785483Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}\n"} +{"Time":"2023-03-29T13:37:27.456811479Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/net/dns/logger.go:98\u003e\tNewManager.func1\tdns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}\n"} +{"Time":"2023-03-29T13:37:27.456866526Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.456945718Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.457035437Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.456 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\n"} +{"Time":"2023-03-29T13:37:27.490404055Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:45ms\n"} +{"Time":"2023-03-29T13:37:27.490957872Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:31ms\n"} +{"Time":"2023-03-29T13:37:27.491013794Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.490 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.491185914Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:57709 (stun), 172.20.0.2:57709 (local)\n"} +{"Time":"2023-03-29T13:37:27.491295468Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.491174325 +0000 UTC m=+4.130781564 Peers:[] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.491675303Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.045323829}}}\n"} +{"Time":"2023-03-29T13:37:27.491767926Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.491649Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.045323829}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.492071167Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.491 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6125567726523641784, \"as_of\": \"2023-03-29T13:37:27.491649Z\", \"key\": \"nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56\", \"disco\": \"discokey:59083cba13956f00814aa780f8a19b58ddd40f9ae6f940398e509d2f2c79076e\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.045323829}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:35595\", \"172.20.0.2:35595\"]}}\n"} +{"Time":"2023-03-29T13:37:27.492303429Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.492381183Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.492509729Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.492832285Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.492955047Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.493041705Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.492824353 +0000 UTC m=+4.132431585 Peers:[] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.493059245Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.492 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.031410894}}}\n"} +{"Time":"2023-03-29T13:37:27.493174012Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.491286Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.493508739Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.491286Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.493558301Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.493658522Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.493954418Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.493 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.49414611Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.494032Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.031410894}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.494394917Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.494032Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.031410894}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.494635514Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.494676622Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.494780288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.494840889Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.494 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.495169992Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.495 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:59384 derp=1 derpdist=1v4:64ms\n"} +{"Time":"2023-03-29T13:37:27.497129169Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.497 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} +{"Time":"2023-03-29T13:37:27.497196731Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.497 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51685 derp=1 derpdist=1v4:71ms\n"} +{"Time":"2023-03-29T13:37:27.498816504Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for [XHSZg]\n"} +{"Time":"2023-03-29T13:37:27.498899237Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.498921801Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [XHSZg] set to derp-1 (their home)\n"} +{"Time":"2023-03-29T13:37:27.499047332Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.498 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.498914775 +0000 UTC m=+4.138522011 Peers:[] LocalAddrs:[] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.499167908Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.070836569}}}\n"} +{"Time":"2023-03-29T13:37:27.499241573Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.499162Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.070836569}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.49953116Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 918863977196614381, \"as_of\": \"2023-03-29T13:37:27.499162Z\", \"key\": \"nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e\", \"disco\": \"discokey:c7f1bea9d6ff269c8662c153c39a3d92f57c567590b806c16bf693226039c84b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.070836569}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805/128\"], \"endpoints\": [\"127.0.0.1:51685\", \"172.20.0.2:51685\"]}}\n"} +{"Time":"2023-03-29T13:37:27.499756959Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.499820527Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.499954778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.499 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.500094938Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.500 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.508017322Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.507 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:51993 derp=1 derpdist=1v4:48ms\n"} +{"Time":"2023-03-29T13:37:27.50805261Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.507 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.508212683Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.508 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:51993 (stun), 172.20.0.2:51993 (local)\n"} +{"Time":"2023-03-29T13:37:27.508285157Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.508 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.50819775 +0000 UTC m=+4.147804976 Peers:[] LocalAddrs:[{Addr:127.0.0.1:51993 Type:stun} {Addr:172.20.0.2:51993 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.51148228Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.047681075}}}\n"} +{"Time":"2023-03-29T13:37:27.511561169Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.50828Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.511646171Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} +{"Time":"2023-03-29T13:37:27.512004191Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.50828Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.512026173Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.511 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.512131402Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.512284203Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [64qRi] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.512446305Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.512355Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.047681075}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.512694091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.512355Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.047681075}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.512945734Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.512982501Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.512 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.513074208Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.513149912Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.513458516Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1241\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): no matching peer\n"} +{"Time":"2023-03-29T13:37:27.513601111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.513 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.514167854Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.514216037Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:62ms\n"} +{"Time":"2023-03-29T13:37:27.514270704Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.51443958Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:58992 (stun), 172.20.0.2:58992 (local)\n"} +{"Time":"2023-03-29T13:37:27.514519618Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.514434952 +0000 UTC m=+4.154042177 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.514591409Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.514811275Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.514515Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.514831215Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.514927532Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.514969002Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.51501Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.514 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.515094247Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.515008199 +0000 UTC m=+4.154615430 Peers:[] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.515144167Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.062405899}}}\n"} +{"Time":"2023-03-29T13:37:27.515231182Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.515477352Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.515155Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.062405899}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.5157436Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.515810118Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.515944355Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.51603017Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.515 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.516114674Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.516 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.520145614Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [64qRi] d:e6f05f1260bbd611 now using 172.20.0.2:45837\n"} +{"Time":"2023-03-29T13:37:27.520236787Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} +{"Time":"2023-03-29T13:37:27.520381164Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.520 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.523889233Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.523 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [64qRi] ...\n"} +{"Time":"2023-03-29T13:37:27.524071718Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.524 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.525270748Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] netcheck: measuring HTTPS latency of test (1): unexpected status code: 426 (426 Upgrade Required)\n"} +{"Time":"2023-03-29T13:37:27.525326669Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest=false hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:65ms\n"} +{"Time":"2023-03-29T13:37:27.525374168Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1092\u003e\t(*Conn).setNearestDERP\tmagicsock: home is now derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.525530241Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2759\u003e\t(*Conn).logEndpointChange\tmagicsock: endpoints changed: 127.0.0.1:34848 (stun), 172.20.0.2:34848 (local)\n"} +{"Time":"2023-03-29T13:37:27.525639565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525526859 +0000 UTC m=+4.165134074 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:0}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.525953664Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1480\u003e\t(*Conn).derpWriteChanOfAddr\tmagicsock: adding connection to derp-1 for home-keep-alive\n"} +{"Time":"2023-03-29T13:37:27.525977204Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 1 active derp conns: derp-1=cr0s,wr0s\n"} +{"Time":"2023-03-29T13:37:27.526067972Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.525 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.525972278 +0000 UTC m=+4.165579492 Peers:[] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.526107105Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": false, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.065420657}}}\n"} +{"Time":"2023-03-29T13:37:27.526188976Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.526396168Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:423\u003e\t(*Conn).UpdateNodes\tno preferred DERP, skipping node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.5256Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.526422378Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.526517317Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.526687969Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/derp/derphttp/derphttp_client.go:401\u003e\t(*Client).connect\tderphttp.Client.Connect: connecting to derp-1 (test)\n"} +{"Time":"2023-03-29T13:37:27.526875114Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.526 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.527145691Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.526766Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.065420657}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.527368061Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.527462668Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.527579879Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.52765384Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.527 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.531819508Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.531 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.532053362Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.532237504Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.5322919Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.532342787Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.532383163Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.532430032Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.532468962Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Starting\n"} +{"Time":"2023-03-29T13:37:27.532522407Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.532 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.53317143Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.533 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.533306241Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.533 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.534331952Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [dv8u3] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:27.534386848Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.53460606Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.534650003Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.53470262Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.534744335Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.534797239Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.534834361Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.534 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Starting\n"} +{"Time":"2023-03-29T13:37:27.535064975Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.535101365Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:27.535486164Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [dv8u3] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.535646633Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.535517538 +0000 UTC m=+4.175124762 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:76ff2edcacaac78382de86ce14dcf7d1464d8bff76ab14412a1c18ef29aa9370}] LocalAddrs:[{Addr:127.0.0.1:45837 Type:stun} {Addr:172.20.0.2:45837 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.535973095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.535 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.536642888Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:27.536713027Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [dv8u3] d:17b5066de479f458 now using 172.20.0.2:59384\n"} +{"Time":"2023-03-29T13:37:27.536917351Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.536 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.536783767 +0000 UTC m=+4.176390982 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.536635319 +0000 UTC NodeKey:nodekey:eb8a91888d02040ddaee61afa4ae8d03bd6c35ddf3f76edcaa5bde89743e5c24}] LocalAddrs:[{Addr:127.0.0.1:59384 Type:stun} {Addr:172.20.0.2:59384 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.53763406Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.537 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1705\u003e\t(*Conn).runDerpReader\tmagicsock: derp-1 connected; connGen=1\n"} +{"Time":"2023-03-29T13:37:27.538314662Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.538 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4781:bb82:1540:3954:6a8): sending disco ping to [dv8u3] ...\n"} +{"Time":"2023-03-29T13:37:27.542696821Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.542 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:35595 derp=1 derpdist=1v4:9ms\n"} +{"Time":"2023-03-29T13:37:27.545658947Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.545 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:15ms\n"} +{"Time":"2023-03-29T13:37:27.546526665Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.014798468}}}\n"} +{"Time":"2023-03-29T13:37:27.546624395Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.546513Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.014798468}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.546899956Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.546 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 4984932330222696591, \"as_of\": \"2023-03-29T13:37:27.546513Z\", \"key\": \"nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907\", \"disco\": \"discokey:cc502d2065d3910d659fc206b5c1b833cc8721e43ccd43ed245fc56e1d9d6219\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.014798468}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:57709\", \"172.20.0.2:57709\"]}}\n"} +{"Time":"2023-03-29T13:37:27.547131568Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.547206358Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.547317822Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.547 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.548159459Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:27.548281455Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.548330701Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.548397336Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.548439957Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.548494794Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.548600181Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.548645011Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.548694237Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [64qRi] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.548765909Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.548840457Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.548886886Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:27.548943901Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.548 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:27.549285716Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.549325844Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.549397271Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.549434623Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.549486154Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.549569105Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4781:bb82:1540:3954:6a8): sending disco ping to [dv8u3] ...\n"} +{"Time":"2023-03-29T13:37:27.54967718Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.549720977Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.549763197Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [dv8u3] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.549846472Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" t.go:81: 2023-03-29 13:37:27.549 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.55012971Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:27.55014656Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Output":"--- PASS: TestAgent_SessionExec (0.86s)\n"} +{"Time":"2023-03-29T13:37:27.562749894Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionExec","Elapsed":0.86} +{"Time":"2023-03-29T13:37:27.562803065Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.562 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:51993 derp=1 derpdist=1v4:8ms\n"} +{"Time":"2023-03-29T13:37:27.563392796Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} +{"Time":"2023-03-29T13:37:27.563801502Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.008279639}}}\n"} +{"Time":"2023-03-29T13:37:27.56407208Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.563 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.563776Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.008279639}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.564819316Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.564 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 3791438885238154126, \"as_of\": \"2023-03-29T13:37:27.563776Z\", \"key\": \"nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00\", \"disco\": \"discokey:9c9ea8075f682592f7a084f08ca03fcad41aea85a44de470f32d96f1067b8a60\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.008279639}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4743:8dab:c855:f633:532/128\"], \"endpoints\": [\"127.0.0.1:51993\", \"172.20.0.2:51993\"]}}\n"} +{"Time":"2023-03-29T13:37:27.565650461Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.565 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.565870529Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.565 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.566173208Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.566 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.567328308Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [V4gBN] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.567693064Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [XHSZg] d:cc502d2065d3910d now using 127.0.0.1:57709\n"} +{"Time":"2023-03-29T13:37:27.567994501Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.567 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} +{"Time":"2023-03-29T13:37:27.568226707Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.568 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [XHSZg] ...\n"} +{"Time":"2023-03-29T13:37:27.56908417Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.568 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.569629095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.569764065Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.569899377Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.570050145Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.569 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.57018252Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.570302009Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Starting\n"} +{"Time":"2023-03-29T13:37:27.570580746Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Sending keepalive packet\n"} +{"Time":"2023-03-29T13:37:27.570704044Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.570 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.571723295Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [V4gBN] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:27.571754224Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.571960017Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.5720063Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.571 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.572053253Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.572098018Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.572143378Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.572182651Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Starting\n"} +{"Time":"2023-03-29T13:37:27.572412769Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.57244765Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:27.572888396Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.572 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.57276895 +0000 UTC m=+4.212376174 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:57880137ed805a8c0fd7b29e835a3cd85d87c32c890d3b0f6ed3fc8620837c00}] LocalAddrs:[{Addr:127.0.0.1:57709 Type:stun} {Addr:172.20.0.2:57709 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.573422095Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:27.573505226Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [V4gBN] d:9c9ea8075f682592 now using 172.20.0.2:51993\n"} +{"Time":"2023-03-29T13:37:27.573673421Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.573556739 +0000 UTC m=+4.213163954 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.573422752 +0000 UTC NodeKey:nodekey:5c74998353a1ae2dd2b8ee0de399386279c035b2b3d95bd245ba4820d0403907}] LocalAddrs:[{Addr:127.0.0.1:51993 Type:stun} {Addr:172.20.0.2:51993 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.574036177Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.573 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Receiving keepalive packet\n"} +{"Time":"2023-03-29T13:37:27.578151189Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:58992 derp=1 derpdist=1v4:5ms\n"} +{"Time":"2023-03-29T13:37:27.578464111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:34848 derp=1 derpdist=1v4:7ms\n"} +{"Time":"2023-03-29T13:37:27.578697845Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.005291379}}}\n"} +{"Time":"2023-03-29T13:37:27.578788271Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.579040964Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.578 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 6959219245254193963, \"as_of\": \"2023-03-29T13:37:27.578687Z\", \"key\": \"nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c\", \"disco\": \"discokey:049e454260a62aa19c35b82499dc35811a5aad44ef612f238808cae15d5c5b55\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.005291379}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d/128\"], \"endpoints\": [\"127.0.0.1:58992\", \"172.20.0.2:58992\"]}}\n"} +{"Time":"2023-03-29T13:37:27.579269912Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.579338921Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.579486192Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.579615554Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:246\u003e\tNewConn.func7\tnetinfo callback\t{\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": true, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 1, \"DERPLatency\": {\"1-v4\": 0.00675754}}}\n"} +{"Time":"2023-03-29T13:37:27.579715409Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:642\u003e\t(*Conn).sendNode.func1\tsending node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.580015856Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.579 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:426\u003e\t(*Conn).UpdateNodes\tadding node\t{\"node\": {\"id\": 2689903771435529409, \"as_of\": \"2023-03-29T13:37:27.579606Z\", \"key\": \"nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f\", \"disco\": \"discokey:34ff526bdd502e84533e42919465a676d8fa64abda3b4f5943a8c9aa6fd0253b\", \"preferred_derp\": 1, \"derp_latency\": {\"1-v4\": 0.00675754}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"127.0.0.1:34848\", \"172.20.0.2:34848\"]}}\n"} +{"Time":"2023-03-29T13:37:27.580200069Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:454\u003e\t(*Conn).UpdateNodes\tupdating network map\n"} +{"Time":"2023-03-29T13:37:27.580263003Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2578\u003e\t(*Conn).SetNetworkMap\t[v1] magicsock: got updated network map; 1 peers\n"} +{"Time":"2023-03-29T13:37:27.580357379Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.580 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:967\u003e\t(*userspaceEngine).Reconfig\t[v1] wgengine: Reconfig done\n"} +{"Time":"2023-03-29T13:37:27.584912838Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.584 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:836\u003e\t(*agent).init.func2\tssh session returned\t{\"error\": \"exit status 127\"}\n"} +{"Time":"2023-03-29T13:37:27.585085871Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [WARN]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:1119\u003e\t(*agent).handleSSHSession.func2\tfailed to resize tty ...\n"} +{"Time":"2023-03-29T13:37:27.58510059Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" \"error\": pty: closed:\n"} +{"Time":"2023-03-29T13:37:27.585107445Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" github.com/coder/coder/pty.(*otherPty).Close\n"} +{"Time":"2023-03-29T13:37:27.585113814Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" /home/mafredri/src/coder/coder/pty/pty_other.go:134\n"} +{"Time":"2023-03-29T13:37:27.585512242Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:83: 2023-03-29 13:37:27.585: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:27.585526871Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:27.58556302Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:110: 2023-03-29 13:37:27.585: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.585579238Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:111: 2023-03-29 13:37:27.585: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:27.585599261Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:113: 2023-03-29 13:37:27.585: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.58566446Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.585677492Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:27.585682384Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.585699939Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:74: 2023-03-29 13:37:27.585: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:27.58570508Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:76: 2023-03-29 13:37:27.585: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.585722893Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" ptytest.go:102: 2023-03-29 13:37:27.585: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:27.585976831Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.586016625Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.585 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.586092293Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.586133054Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.586200024Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.586329617Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.586371206Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.586499602Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [XHSZg] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.586608393Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.58672256Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.586761915Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:27.586833422Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:27.5869144Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.586 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:27.58723746Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.58728708Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.587374552Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.587490464Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4743:8dab:c855:f633:532): sending disco ping to [V4gBN] ...\n"} +{"Time":"2023-03-29T13:37:27.587617597Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.587 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.598290287Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/logger.go:98\u003e\tNewConn.func6\tnetcheck: [v1] report: udp=true v6=false v6os=false mapvarydest= hair= portmap= v4a=127.0.0.1:57709 derp=1 derpdist=1v4:3ms\n"} +{"Time":"2023-03-29T13:37:27.598667071Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.598735879Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.598824991Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.598917706Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.598 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [V4gBN] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.599077451Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" t.go:81: 2023-03-29 13:37:27.599 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.599268425Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:27.599297466Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Output":"--- PASS: TestAgent_SessionTTYExitCode (0.88s)\n"} +{"Time":"2023-03-29T13:37:27.624884929Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYExitCode","Elapsed":0.88} +{"Time":"2023-03-29T13:37:27.624923874Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.624 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} +{"Time":"2023-03-29T13:37:27.625357585Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.625 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5WitN] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.626340882Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [5EOvJ] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.626577093Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 172.20.0.2:34848\n"} +{"Time":"2023-03-29T13:37:27.626873494Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} +{"Time":"2023-03-29T13:37:27.627094808Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.626 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [5WitN] ...\n"} +{"Time":"2023-03-29T13:37:27.627846604Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.627 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.628133034Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.628178673Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.628231143Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.628273924Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.628326843Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.628365041Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Starting\n"} +{"Time":"2023-03-29T13:37:27.628423532Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.62897967Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [5EOvJ] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:27.62904036Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.628 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.629335987Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.629378533Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.629437221Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.629484031Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.629528288Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.629564272Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Starting\n"} +{"Time":"2023-03-29T13:37:27.629899772Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.629937538Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.629 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:27.630550619Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.630 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.630405833 +0000 UTC m=+4.270013057 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:e443af25902d57edd4bf0b663849e6cb06390f7b80e6ab179dbd5deabea10e0c}] LocalAddrs:[{Addr:127.0.0.1:34848 Type:stun} {Addr:172.20.0.2:34848 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.631298672Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:27.631395745Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5EOvJ] d:049e454260a62aa1 now using 172.20.0.2:58992\n"} +{"Time":"2023-03-29T13:37:27.631619667Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.631 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.631481797 +0000 UTC m=+4.271089021 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.631305354 +0000 UTC NodeKey:nodekey:e568ad36a49b4d60323fc0207eded97153e72170c491f74a8942ac38e9dd541f}] LocalAddrs:[{Addr:127.0.0.1:58992 Type:stun} {Addr:172.20.0.2:58992 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.632260898Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.632 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [5WitN] d:34ff526bdd502e84 now using 127.0.0.1:34848\n"} +{"Time":"2023-03-29T13:37:27.637293337Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.637 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} +{"Time":"2023-03-29T13:37:27.637491883Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.637 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [Xlu3R] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.638607677Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:1599\u003e\t(*Conn).setPeerLastDerpLocked\t[v1] magicsock: derp route for [uWfac] set to derp-1 (shared home)\n"} +{"Time":"2023-03-29T13:37:27.6387189Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [Xlu3R] d:59083cba13956f00 now using 172.20.0.2:35595\n"} +{"Time":"2023-03-29T13:37:27.638794177Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} +{"Time":"2023-03-29T13:37:27.638932756Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.638 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4): sending disco ping to [Xlu3R] ...\n"} +{"Time":"2023-03-29T13:37:27.639446274Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.639629272Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.639676449Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.639710523Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.639738112Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.639767671Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.639792041Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Starting\n"} +{"Time":"2023-03-29T13:37:27.639832214Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.639 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Sending handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.640359836Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:584\u003e\t(*userspaceEngine).noteRecvActivity\twgengine: idle peer [uWfac] now active, reconfiguring WireGuard\n"} +{"Time":"2023-03-29T13:37:27.640405214Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:706\u003e\t(*userspaceEngine).maybeReconfigWireguardLocked\twgengine: Reconfig: configuring userspace WireGuard config (with 1/1 peers)\n"} +{"Time":"2023-03-29T13:37:27.640596752Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Created\n"} +{"Time":"2023-03-29T13:37:27.64062514Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Updating endpoint\n"} +{"Time":"2023-03-29T13:37:27.640660936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Removing all allowedips\n"} +{"Time":"2023-03-29T13:37:27.640688925Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Adding allowedip\n"} +{"Time":"2023-03-29T13:37:27.640721293Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - UAPI: Updating persistent keepalive interval\n"} +{"Time":"2023-03-29T13:37:27.640745599Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Starting\n"} +{"Time":"2023-03-29T13:37:27.640964666Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Received handshake initiation\n"} +{"Time":"2023-03-29T13:37:27.640987155Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.640 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Sending handshake response\n"} +{"Time":"2023-03-29T13:37:27.641427103Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.641 [DEBUG]\t(agent.tailnet)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.641327519 +0000 UTC m=+4.280934743 Peers:[{TxBytes:92 RxBytes:148 LastHandshake:1970-01-01 00:00:00 +0000 UTC NodeKey:nodekey:b967da7372e7aa1e4ed1fc6f032437dfe7a6e1a0d465cd04c9adf77d69ee2a1e}] LocalAddrs:[{Addr:127.0.0.1:35595 Type:stun} {Addr:172.20.0.2:35595 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.642337602Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Received handshake response\n"} +{"Time":"2023-03-29T13:37:27.642405776Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [uWfac] d:c7f1bea9d6ff269c now using 172.20.0.2:51685\n"} +{"Time":"2023-03-29T13:37:27.642612703Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.642 [DEBUG]\t(client)\t\u003cgithub.com/coder/coder/tailnet/conn.go:225\u003e\tNewConn.func6\twireguard status\t{\"status\": \"\\u0026{AsOf:2023-03-29 13:37:27.64250087 +0000 UTC m=+4.282108085 Peers:[{TxBytes:148 RxBytes:92 LastHandshake:2023-03-29 13:37:27.642336966 +0000 UTC NodeKey:nodekey:5e5bb74471183bca142348628f8e5cb431c9b3367f0fe15605a03a1721343e56}] LocalAddrs:[{Addr:127.0.0.1:51685 Type:stun} {Addr:172.20.0.2:51685 Type:local}] DERPs:1}\", \"err\": null}\n"} +{"Time":"2023-03-29T13:37:27.64326778Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.643 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:4387\u003e\t(*endpoint).handlePongConnLocked\tmagicsock: disco: node [Xlu3R] d:59083cba13956f00 now using 127.0.0.1:35595\n"} +{"Time":"2023-03-29T13:37:27.648583243Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" agent_test.go:400: \n"} +{"Time":"2023-03-29T13:37:27.648599647Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/agent/agent_test.go:400\n"} +{"Time":"2023-03-29T13:37:27.648605577Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \t \t\t\t\t/home/mafredri/src/coder/coder/agent/agent_test.go:401\n"} +{"Time":"2023-03-29T13:37:27.648610117Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tError: \t\"\" does not contain \"wazzup\"\n"} +{"Time":"2023-03-29T13:37:27.648616547Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tTest: \tTestAgent_Session_TTY_FastCommandHasOutput\n"} +{"Time":"2023-03-29T13:37:27.648621257Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" \tMessages: \tshould output greeting\n"} +{"Time":"2023-03-29T13:37:27.648628226Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:83: 2023-03-29 13:37:27.648: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:27.648632598Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:27.648669381Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:110: 2023-03-29 13:37:27.648: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.648676209Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:111: 2023-03-29 13:37:27.648: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:27.64868565Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:113: 2023-03-29 13:37:27.648: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.648725455Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.648735417Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:27.648742887Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.648755628Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:74: 2023-03-29 13:37:27.648: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:27.648763111Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:76: 2023-03-29 13:37:27.648: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.648781723Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" ptytest.go:102: 2023-03-29 13:37:27.648: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:27.64898407Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.64901264Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.648 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.649065867Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.649092046Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.649138332Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.649234264Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.649272903Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.649300503Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5WitN] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.649378408Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.649434677Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:27.649514069Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.649551066Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:27.649591609Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:27.649899898Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.649921785Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.649976578Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.650005597Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.649 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.650053977Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.650112159Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4d67:9e5c:abb:531:b55d): sending disco ping to [5EOvJ] ...\n"} +{"Time":"2023-03-29T13:37:27.650212974Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.650252149Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.650280078Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [5EOvJ] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.650357784Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" t.go:81: 2023-03-29 13:37:27.650 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.650618927Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:27.650634125Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Output":"--- FAIL: TestAgent_Session_TTY_FastCommandHasOutput (0.95s)\n"} +{"Time":"2023-03-29T13:37:27.674793681Z","Action":"fail","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_Session_TTY_FastCommandHasOutput","Elapsed":0.95} +{"Time":"2023-03-29T13:37:27.674817479Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.674 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805): sending disco ping to [uWfac] ...\n"} +{"Time":"2023-03-29T13:37:27.675734168Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:235: 2023-03-29 13:37:27.675: cmd: peeked 1/1 bytes = \"$\"\n"} +{"Time":"2023-03-29T13:37:27.675774216Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:236: 2023-03-29 13:37:27.675: cmd: stdin: \"echo test\\r\"\n"} +{"Time":"2023-03-29T13:37:27.676191344Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.676: cmd: \"$ echo test\"\n"} +{"Time":"2023-03-29T13:37:27.676273026Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:237: 2023-03-29 13:37:27.676: cmd: matched \"test\" = \"$ echo test\"\n"} +{"Time":"2023-03-29T13:37:27.676308536Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" agent_test.go:238: 2023-03-29 13:37:27.676: cmd: stdin: \"exit\\r\"\n"} +{"Time":"2023-03-29T13:37:27.676642013Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.676: cmd: \"exit\"\n"} +{"Time":"2023-03-29T13:37:27.67773278Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"echo test\\r\"\n"} +{"Time":"2023-03-29T13:37:27.677752958Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"exit\\r\"\n"} +{"Time":"2023-03-29T13:37:27.67778936Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.677: cmd: \"test\\r\"\n"} +{"Time":"2023-03-29T13:37:27.678126711Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:83: 2023-03-29 13:37:27.678: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:27.678143306Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:27.678200486Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:110: 2023-03-29 13:37:27.678: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.678223246Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:111: 2023-03-29 13:37:27.678: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:27.678238993Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:113: 2023-03-29 13:37:27.678: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:27.678305772Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.678359399Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:27.678373082Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.678387877Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:74: 2023-03-29 13:37:27.678: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:27.678398091Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:76: 2023-03-29 13:37:27.678: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:27.678444105Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:121: 2023-03-29 13:37:27.678: cmd: \"$ \"\n"} +{"Time":"2023-03-29T13:37:27.67847139Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" ptytest.go:102: 2023-03-29 13:37:27.678: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:27.67876363Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [INFO]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:201\u003e\t(*agent).runLoop\tdisconnected from coderd\n"} +{"Time":"2023-03-29T13:37:27.678920913Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.678978615Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.678 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.679093854Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.67916374Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.679261738Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.679498576Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.679558488Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.679635937Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [Xlu3R] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.679772893Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(client.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.679951878Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"shutting_down\", \"last\": \"ready\"}\n"} +{"Time":"2023-03-29T13:37:27.680029583Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.679 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:263\u003e\t(*agent).setLifecycle\tset lifecycle state\t{\"state\": \"off\", \"last\": \"shutting_down\"}\n"} +{"Time":"2023-03-29T13:37:27.680147794Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent)\t\u003cgithub.com/coder/coder/v2/agent/agent.go:229\u003e\t(*agent).reportLifecycleLoop\treporting lifecycle state\t{\"state\": \"off\"}\n"} +{"Time":"2023-03-29T13:37:27.680759898Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2736\u003e\t(*Conn).closeDerpLocked\tmagicsock: closing connection to derp-1 (conn-close), age 0s\n"} +{"Time":"2023-03-29T13:37:27.68081749Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/magicsock/magicsock.go:2747\u003e\t(*Conn).logActiveDerpLocked\tmagicsock: 0 active derp conns\n"} +{"Time":"2023-03-29T13:37:27.680933631Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/router/router_fake.go:31\u003e\tfakeRouter.Close\t[v1] warning: fakeRouter.Close: not implemented.\n"} +{"Time":"2023-03-29T13:37:27.681009542Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.680 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closing\n"} +{"Time":"2023-03-29T13:37:27.681106332Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming receiveDERP - stopped\n"} +{"Time":"2023-03-29T13:37:27.681249372Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/userspace.go:1254\u003e\t(*userspaceEngine).Ping\tping(fd7a:115c:a1e0:4341:84c0:6b1c:81d1:5805): sending disco ping to [uWfac] ...\n"} +{"Time":"2023-03-29T13:37:27.681454735Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v6 - stopped\n"} +{"Time":"2023-03-29T13:37:27.681540218Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Routine: receive incoming v4 - stopped\n"} +{"Time":"2023-03-29T13:37:27.68161487Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] [uWfac] - Stopping\n"} +{"Time":"2023-03-29T13:37:27.681781085Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" t.go:81: 2023-03-29 13:37:27.681 [DEBUG]\t(agent.tailnet.wgengine)\t\u003ctailscale.com/wgengine/wglog/wglog.go:81\u003e\tNewLogger.func1\twg: [v2] Device closed\n"} +{"Time":"2023-03-29T13:37:27.682219467Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":" stuntest.go:63: STUN server shutdown\n"} +{"Time":"2023-03-29T13:37:27.682247508Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Output":"--- PASS: TestAgent_SessionTTYShell (0.94s)\n"} +{"Time":"2023-03-29T13:37:27.682263381Z","Action":"pass","Package":"github.com/coder/coder/v2/agent","Test":"TestAgent_SessionTTYShell","Elapsed":0.94} +{"Time":"2023-03-29T13:37:27.682278577Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Output":"FAIL\n"} +{"Time":"2023-03-29T13:37:27.696326667Z","Action":"output","Package":"github.com/coder/coder/v2/agent","Output":"FAIL\tgithub.com/coder/coder/v2/agent\t4.341s\n"} +{"Time":"2023-03-29T13:37:27.696360103Z","Action":"fail","Package":"github.com/coder/coder/v2/agent","Elapsed":4.341} +{"Time":"2023-03-29T13:37:32.643934624Z","Action":"start","Package":"github.com/coder/coder/v2/cli"} +{"Time":"2023-03-29T13:37:32.790842698Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser"} +{"Time":"2023-03-29T13:37:32.79088125Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser","Output":"=== RUN TestServerCreateAdminUser\n"} +{"Time":"2023-03-29T13:37:32.792730073Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK"} +{"Time":"2023-03-29T13:37:32.792739078Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== RUN TestServerCreateAdminUser/OK\n"} +{"Time":"2023-03-29T13:37:32.792745576Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== PAUSE TestServerCreateAdminUser/OK\n"} +{"Time":"2023-03-29T13:37:32.79274818Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK"} +{"Time":"2023-03-29T13:37:32.79275173Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env"} +{"Time":"2023-03-29T13:37:32.792754236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== RUN TestServerCreateAdminUser/Env\n"} +{"Time":"2023-03-29T13:37:32.792759492Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== PAUSE TestServerCreateAdminUser/Env\n"} +{"Time":"2023-03-29T13:37:32.792763227Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env"} +{"Time":"2023-03-29T13:37:32.792767605Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin"} +{"Time":"2023-03-29T13:37:32.792772306Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== RUN TestServerCreateAdminUser/Stdin\n"} +{"Time":"2023-03-29T13:37:32.792778719Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== PAUSE TestServerCreateAdminUser/Stdin\n"} +{"Time":"2023-03-29T13:37:32.792781324Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin"} +{"Time":"2023-03-29T13:37:32.792785642Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates"} +{"Time":"2023-03-29T13:37:32.792788132Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== RUN TestServerCreateAdminUser/Validates\n"} +{"Time":"2023-03-29T13:37:32.792833072Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== PAUSE TestServerCreateAdminUser/Validates\n"} +{"Time":"2023-03-29T13:37:32.792839332Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates"} +{"Time":"2023-03-29T13:37:32.792849881Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK"} +{"Time":"2023-03-29T13:37:32.79285277Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":"=== CONT TestServerCreateAdminUser/OK\n"} +{"Time":"2023-03-29T13:37:32.794003473Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" server_createadminuser_test.go:87: \n"} +{"Time":"2023-03-29T13:37:32.794008803Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:87\n"} +{"Time":"2023-03-29T13:37:32.794012119Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tError: \tReceived unexpected error:\n"} +{"Time":"2023-03-29T13:37:32.794014928Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \tcould not start resource:\n"} +{"Time":"2023-03-29T13:37:32.794017745Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.794020968Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} +{"Time":"2023-03-29T13:37:32.794025025Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} +{"Time":"2023-03-29T13:37:32.794028396Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \n"} +{"Time":"2023-03-29T13:37:32.794031694Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} +{"Time":"2023-03-29T13:37:32.794034996Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} +{"Time":"2023-03-29T13:37:32.794038934Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.794042353Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} +{"Time":"2023-03-29T13:37:32.794045324Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func2\n"} +{"Time":"2023-03-29T13:37:32.794048191Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:86\n"} +{"Time":"2023-03-29T13:37:32.794051013Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t testing.tRunner\n"} +{"Time":"2023-03-29T13:37:32.794053771Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} +{"Time":"2023-03-29T13:37:32.794056664Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t runtime.goexit\n"} +{"Time":"2023-03-29T13:37:32.794060193Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} +{"Time":"2023-03-29T13:37:32.79406303Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":" \tTest: \tTestServerCreateAdminUser/OK\n"} +{"Time":"2023-03-29T13:37:32.79407275Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Output":"--- FAIL: TestServerCreateAdminUser/OK (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.794075922Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/OK","Elapsed":0} +{"Time":"2023-03-29T13:37:32.794079842Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates"} +{"Time":"2023-03-29T13:37:32.794082413Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":"=== CONT TestServerCreateAdminUser/Validates\n"} +{"Time":"2023-03-29T13:37:32.795185256Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" server_createadminuser_test.go:227: \n"} +{"Time":"2023-03-29T13:37:32.795189907Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:227\n"} +{"Time":"2023-03-29T13:37:32.795192879Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tError: \tReceived unexpected error:\n"} +{"Time":"2023-03-29T13:37:32.795195707Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \tcould not start resource:\n"} +{"Time":"2023-03-29T13:37:32.795198569Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.795203724Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} +{"Time":"2023-03-29T13:37:32.795206991Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} +{"Time":"2023-03-29T13:37:32.795209975Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \n"} +{"Time":"2023-03-29T13:37:32.795212879Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} +{"Time":"2023-03-29T13:37:32.79521788Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} +{"Time":"2023-03-29T13:37:32.795223388Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.795228236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} +{"Time":"2023-03-29T13:37:32.795231388Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func5\n"} +{"Time":"2023-03-29T13:37:32.795234339Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:226\n"} +{"Time":"2023-03-29T13:37:32.795237524Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t testing.tRunner\n"} +{"Time":"2023-03-29T13:37:32.795240439Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} +{"Time":"2023-03-29T13:37:32.795243318Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t runtime.goexit\n"} +{"Time":"2023-03-29T13:37:32.795246653Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} +{"Time":"2023-03-29T13:37:32.795249486Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":" \tTest: \tTestServerCreateAdminUser/Validates\n"} +{"Time":"2023-03-29T13:37:32.795256993Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Output":"--- FAIL: TestServerCreateAdminUser/Validates (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.795260148Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Validates","Elapsed":0} +{"Time":"2023-03-29T13:37:32.795262834Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin"} +{"Time":"2023-03-29T13:37:32.795265403Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"=== CONT TestServerCreateAdminUser/Stdin\n"} +{"Time":"2023-03-29T13:37:32.795769577Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" server_createadminuser_test.go:187: \n"} +{"Time":"2023-03-29T13:37:32.795774301Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:187\n"} +{"Time":"2023-03-29T13:37:32.795777433Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tError: \tReceived unexpected error:\n"} +{"Time":"2023-03-29T13:37:32.795782206Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \tcould not start resource:\n"} +{"Time":"2023-03-29T13:37:32.795787591Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.795793763Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} +{"Time":"2023-03-29T13:37:32.795796926Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} +{"Time":"2023-03-29T13:37:32.795799647Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \n"} +{"Time":"2023-03-29T13:37:32.795802415Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} +{"Time":"2023-03-29T13:37:32.795805244Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} +{"Time":"2023-03-29T13:37:32.795808186Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.79581094Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} +{"Time":"2023-03-29T13:37:32.795813828Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func4\n"} +{"Time":"2023-03-29T13:37:32.79581676Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:186\n"} +{"Time":"2023-03-29T13:37:32.795819484Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t testing.tRunner\n"} +{"Time":"2023-03-29T13:37:32.795822305Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} +{"Time":"2023-03-29T13:37:32.795826355Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t runtime.goexit\n"} +{"Time":"2023-03-29T13:37:32.795829152Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} +{"Time":"2023-03-29T13:37:32.795832058Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":" \tTest: \tTestServerCreateAdminUser/Stdin\n"} +{"Time":"2023-03-29T13:37:32.795846761Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Output":"--- FAIL: TestServerCreateAdminUser/Stdin (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.79585045Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Stdin","Elapsed":0} +{"Time":"2023-03-29T13:37:32.795853001Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env"} +{"Time":"2023-03-29T13:37:32.795855433Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":"=== CONT TestServerCreateAdminUser/Env\n"} +{"Time":"2023-03-29T13:37:32.796339444Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" server_createadminuser_test.go:153: \n"} +{"Time":"2023-03-29T13:37:32.796345738Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:153\n"} +{"Time":"2023-03-29T13:37:32.796349118Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tError: \tReceived unexpected error:\n"} +{"Time":"2023-03-29T13:37:32.796351839Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \tcould not start resource:\n"} +{"Time":"2023-03-29T13:37:32.796354772Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.796357683Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} +{"Time":"2023-03-29T13:37:32.796360546Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} +{"Time":"2023-03-29T13:37:32.79636323Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \n"} +{"Time":"2023-03-29T13:37:32.796366079Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} +{"Time":"2023-03-29T13:37:32.796368987Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} +{"Time":"2023-03-29T13:37:32.79637254Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.79637535Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} +{"Time":"2023-03-29T13:37:32.796378207Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t github.com/coder/coder/v2/cli_test.TestServerCreateAdminUser.func3\n"} +{"Time":"2023-03-29T13:37:32.796381015Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_createadminuser_test.go:152\n"} +{"Time":"2023-03-29T13:37:32.796383831Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t testing.tRunner\n"} +{"Time":"2023-03-29T13:37:32.796386544Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} +{"Time":"2023-03-29T13:37:32.796389783Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t runtime.goexit\n"} +{"Time":"2023-03-29T13:37:32.796394885Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} +{"Time":"2023-03-29T13:37:32.796400461Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":" \tTest: \tTestServerCreateAdminUser/Env\n"} +{"Time":"2023-03-29T13:37:32.796405793Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Output":"--- FAIL: TestServerCreateAdminUser/Env (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.796409018Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser/Env","Elapsed":0} +{"Time":"2023-03-29T13:37:32.796411751Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser","Output":"--- FAIL: TestServerCreateAdminUser (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.796414761Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServerCreateAdminUser","Elapsed":0} +{"Time":"2023-03-29T13:37:32.796417599Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer"} +{"Time":"2023-03-29T13:37:32.796420175Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer","Output":"=== RUN TestServer\n"} +{"Time":"2023-03-29T13:37:32.796424448Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production"} +{"Time":"2023-03-29T13:37:32.796426853Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":"=== RUN TestServer/Production\n"} +{"Time":"2023-03-29T13:37:32.797198344Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" server_test.go:109: \n"} +{"Time":"2023-03-29T13:37:32.797204437Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \tError Trace:\t/home/mafredri/src/coder/coder/cli/server_test.go:109\n"} +{"Time":"2023-03-29T13:37:32.797207471Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \tError: \tReceived unexpected error:\n"} +{"Time":"2023-03-29T13:37:32.797210203Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \tcould not start resource:\n"} +{"Time":"2023-03-29T13:37:32.797213234Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.797216169Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t /home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:113\n"} +{"Time":"2023-03-29T13:37:32.797219132Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t - dial unix /var/run/docker.sock: connect: no such file or directory\n"} +{"Time":"2023-03-29T13:37:32.797221978Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \n"} +{"Time":"2023-03-29T13:37:32.797224749Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t github.com/ory/dockertest/v3.(*Pool).RunWithOptions\n"} +{"Time":"2023-03-29T13:37:32.797227673Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/.local/go/pkg/mod/github.com/ory/dockertest/v3@v3.9.1/dockertest.go:413\n"} +{"Time":"2023-03-29T13:37:32.797230597Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/v2/coderd/database/postgres.Open\n"} +{"Time":"2023-03-29T13:37:32.797234931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/src/coder/coder/coderd/database/postgres/postgres.go:77\n"} +{"Time":"2023-03-29T13:37:32.797243511Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t github.com/coder/coder/v2/cli_test.TestServer.func1\n"} +{"Time":"2023-03-29T13:37:32.797248163Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \t/home/mafredri/src/coder/coder/cli/server_test.go:108\n"} +{"Time":"2023-03-29T13:37:32.79725113Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t testing.tRunner\n"} +{"Time":"2023-03-29T13:37:32.797253983Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \t/usr/local/go/src/testing/testing.go:1576\n"} +{"Time":"2023-03-29T13:37:32.797257318Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t runtime.goexit\n"} +{"Time":"2023-03-29T13:37:32.797261252Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \t \t \t/usr/local/go/src/runtime/asm_amd64.s:1598\n"} +{"Time":"2023-03-29T13:37:32.797266495Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":" \tTest: \tTestServer/Production\n"} +{"Time":"2023-03-29T13:37:32.797274297Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Output":"--- FAIL: TestServer/Production (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.797277522Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Production","Elapsed":0} +{"Time":"2023-03-29T13:37:32.797280535Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres"} +{"Time":"2023-03-29T13:37:32.797283019Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":"=== RUN TestServer/BuiltinPostgres\n"} +{"Time":"2023-03-29T13:37:32.797286137Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":"=== PAUSE TestServer/BuiltinPostgres\n"} +{"Time":"2023-03-29T13:37:32.797288614Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres"} +{"Time":"2023-03-29T13:37:32.797294343Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL"} +{"Time":"2023-03-29T13:37:32.797296802Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== RUN TestServer/BuiltinPostgresURL\n"} +{"Time":"2023-03-29T13:37:32.797299815Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== PAUSE TestServer/BuiltinPostgresURL\n"} +{"Time":"2023-03-29T13:37:32.797302293Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL"} +{"Time":"2023-03-29T13:37:32.797306699Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw"} +{"Time":"2023-03-29T13:37:32.797309403Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== RUN TestServer/BuiltinPostgresURLRaw\n"} +{"Time":"2023-03-29T13:37:32.79731478Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== PAUSE TestServer/BuiltinPostgresURLRaw\n"} +{"Time":"2023-03-29T13:37:32.797319293Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw"} +{"Time":"2023-03-29T13:37:32.797324667Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL"} +{"Time":"2023-03-29T13:37:32.797328467Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":"=== RUN TestServer/LocalAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797331431Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":"=== PAUSE TestServer/LocalAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797333768Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL"} +{"Time":"2023-03-29T13:37:32.797341584Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.797345334Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":"=== RUN TestServer/RemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.79737723Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":"=== PAUSE TestServer/RemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797380853Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.797385247Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.797387813Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== RUN TestServer/NoWarningWithRemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797405636Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== PAUSE TestServer/NoWarningWithRemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797408839Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.797426981Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL"} +{"Time":"2023-03-29T13:37:32.797430439Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== RUN TestServer/NoSchemeAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797434847Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== PAUSE TestServer/NoSchemeAccessURL\n"} +{"Time":"2023-03-29T13:37:32.797437343Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL"} +{"Time":"2023-03-29T13:37:32.797445885Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion"} +{"Time":"2023-03-29T13:37:32.797448325Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Output":"=== RUN TestServer/TLSBadVersion\n"} +{"Time":"2023-03-29T13:37:32.797466497Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Output":"=== PAUSE TestServer/TLSBadVersion\n"} +{"Time":"2023-03-29T13:37:32.797471662Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion"} +{"Time":"2023-03-29T13:37:32.797476114Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth"} +{"Time":"2023-03-29T13:37:32.797478506Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== RUN TestServer/TLSBadClientAuth\n"} +{"Time":"2023-03-29T13:37:32.797495642Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== PAUSE TestServer/TLSBadClientAuth\n"} +{"Time":"2023-03-29T13:37:32.79750134Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth"} +{"Time":"2023-03-29T13:37:32.797508036Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid"} +{"Time":"2023-03-29T13:37:32.797510579Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid","Output":"=== RUN TestServer/TLSInvalid\n"} +{"Time":"2023-03-29T13:37:32.797525872Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid","Output":"=== PAUSE TestServer/TLSInvalid\n"} +{"Time":"2023-03-29T13:37:32.797528971Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid"} +{"Time":"2023-03-29T13:37:32.797533231Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid"} +{"Time":"2023-03-29T13:37:32.797535658Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":"=== RUN TestServer/TLSValid\n"} +{"Time":"2023-03-29T13:37:32.797552494Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":"=== PAUSE TestServer/TLSValid\n"} +{"Time":"2023-03-29T13:37:32.797556455Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid"} +{"Time":"2023-03-29T13:37:32.797560606Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple"} +{"Time":"2023-03-29T13:37:32.797563041Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":"=== RUN TestServer/TLSValidMultiple\n"} +{"Time":"2023-03-29T13:37:32.797579028Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":"=== PAUSE TestServer/TLSValidMultiple\n"} +{"Time":"2023-03-29T13:37:32.797582214Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple"} +{"Time":"2023-03-29T13:37:32.797586334Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP"} +{"Time":"2023-03-29T13:37:32.797588893Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":"=== RUN TestServer/TLSAndHTTP\n"} +{"Time":"2023-03-29T13:37:32.797623711Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":"=== PAUSE TestServer/TLSAndHTTP\n"} +{"Time":"2023-03-29T13:37:32.797626474Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP"} +{"Time":"2023-03-29T13:37:32.797631971Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect"} +{"Time":"2023-03-29T13:37:32.797634471Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect","Output":"=== RUN TestServer/TLSRedirect\n"} +{"Time":"2023-03-29T13:37:32.797650491Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect","Output":"=== PAUSE TestServer/TLSRedirect\n"} +{"Time":"2023-03-29T13:37:32.797654521Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect"} +{"Time":"2023-03-29T13:37:32.797659191Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4"} +{"Time":"2023-03-29T13:37:32.797661727Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== RUN TestServer/CanListenUnspecifiedv4\n"} +{"Time":"2023-03-29T13:37:32.797677081Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== PAUSE TestServer/CanListenUnspecifiedv4\n"} +{"Time":"2023-03-29T13:37:32.797679898Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4"} +{"Time":"2023-03-29T13:37:32.797685398Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6"} +{"Time":"2023-03-29T13:37:32.797688055Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== RUN TestServer/CanListenUnspecifiedv6\n"} +{"Time":"2023-03-29T13:37:32.797706704Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== PAUSE TestServer/CanListenUnspecifiedv6\n"} +{"Time":"2023-03-29T13:37:32.797710667Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6"} +{"Time":"2023-03-29T13:37:32.797714823Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress"} +{"Time":"2023-03-29T13:37:32.797717235Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Output":"=== RUN TestServer/NoAddress\n"} +{"Time":"2023-03-29T13:37:32.797732629Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Output":"=== PAUSE TestServer/NoAddress\n"} +{"Time":"2023-03-29T13:37:32.797735715Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress"} +{"Time":"2023-03-29T13:37:32.797739744Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress"} +{"Time":"2023-03-29T13:37:32.797742309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Output":"=== RUN TestServer/NoTLSAddress\n"} +{"Time":"2023-03-29T13:37:32.797754504Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Output":"=== PAUSE TestServer/NoTLSAddress\n"} +{"Time":"2023-03-29T13:37:32.797757251Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress"} +{"Time":"2023-03-29T13:37:32.797762513Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress"} +{"Time":"2023-03-29T13:37:32.797764941Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress","Output":"=== RUN TestServer/DeprecatedAddress\n"} +{"Time":"2023-03-29T13:37:32.797791112Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress","Output":"=== PAUSE TestServer/DeprecatedAddress\n"} +{"Time":"2023-03-29T13:37:32.797794156Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress"} +{"Time":"2023-03-29T13:37:32.797818478Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown"} +{"Time":"2023-03-29T13:37:32.797821565Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":"=== RUN TestServer/Shutdown\n"} +{"Time":"2023-03-29T13:37:32.799148069Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerShutdown1335635398/002 server --in-memory --http-address :0 --access-url http://example.com --provisioner-daemons 1 --cache-dir /tmp/TestServerShutdown1335635398/001\n"} +{"Time":"2023-03-29T13:37:32.799996289Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:39611\n"} +{"Time":"2023-03-29T13:37:32.803857037Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:32.820483862Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:32.840616097Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:32.840652908Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:32.840837548Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:32.840996757Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:32.841130055Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:32.843139909Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Output":"--- PASS: TestServer/Shutdown (0.05s)\n"} +{"Time":"2023-03-29T13:37:32.843152696Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Shutdown","Elapsed":0.05} +{"Time":"2023-03-29T13:37:32.843181686Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak"} +{"Time":"2023-03-29T13:37:32.843185961Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":"=== RUN TestServer/TracerNoLeak\n"} +{"Time":"2023-03-29T13:37:32.84324137Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":"=== PAUSE TestServer/TracerNoLeak\n"} +{"Time":"2023-03-29T13:37:32.843248162Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak"} +{"Time":"2023-03-29T13:37:32.84327344Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry"} +{"Time":"2023-03-29T13:37:32.843276473Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":"=== RUN TestServer/Telemetry\n"} +{"Time":"2023-03-29T13:37:32.843298273Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":"=== PAUSE TestServer/Telemetry\n"} +{"Time":"2023-03-29T13:37:32.843301329Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry"} +{"Time":"2023-03-29T13:37:32.843328619Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus"} +{"Time":"2023-03-29T13:37:32.843332448Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":"=== RUN TestServer/Prometheus\n"} +{"Time":"2023-03-29T13:37:32.843360436Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":"=== PAUSE TestServer/Prometheus\n"} +{"Time":"2023-03-29T13:37:32.843363322Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus"} +{"Time":"2023-03-29T13:37:32.843393432Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth"} +{"Time":"2023-03-29T13:37:32.843398556Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":"=== RUN TestServer/GitHubOAuth\n"} +{"Time":"2023-03-29T13:37:32.843457011Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":"=== PAUSE TestServer/GitHubOAuth\n"} +{"Time":"2023-03-29T13:37:32.843461316Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth"} +{"Time":"2023-03-29T13:37:32.843486876Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit"} +{"Time":"2023-03-29T13:37:32.84349017Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit","Output":"=== RUN TestServer/RateLimit\n"} +{"Time":"2023-03-29T13:37:32.843512128Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit","Output":"=== PAUSE TestServer/RateLimit\n"} +{"Time":"2023-03-29T13:37:32.843515107Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit"} +{"Time":"2023-03-29T13:37:32.843530012Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging"} +{"Time":"2023-03-29T13:37:32.843532716Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging","Output":"=== RUN TestServer/Logging\n"} +{"Time":"2023-03-29T13:37:32.843562048Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging","Output":"=== PAUSE TestServer/Logging\n"} +{"Time":"2023-03-29T13:37:32.843565639Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging"} +{"Time":"2023-03-29T13:37:32.843591297Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres"} +{"Time":"2023-03-29T13:37:32.843594335Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":"=== CONT TestServer/BuiltinPostgres\n"} +{"Time":"2023-03-29T13:37:32.845419328Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgres1969653008/002 server --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerBuiltinPostgres1969653008/001\n"} +{"Time":"2023-03-29T13:37:32.846522439Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Using built-in PostgreSQL (/tmp/TestServerBuiltinPostgres1969653008/002/postgres)\n"} +{"Time":"2023-03-29T13:37:32.847782539Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging"} +{"Time":"2023-03-29T13:37:32.847787939Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging","Output":"=== CONT TestServer/Logging\n"} +{"Time":"2023-03-29T13:37:32.847793104Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile"} +{"Time":"2023-03-29T13:37:32.847797472Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== RUN TestServer/Logging/CreatesFile\n"} +{"Time":"2023-03-29T13:37:32.847809954Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== PAUSE TestServer/Logging/CreatesFile\n"} +{"Time":"2023-03-29T13:37:32.847814894Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile"} +{"Time":"2023-03-29T13:37:32.847821007Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human"} +{"Time":"2023-03-29T13:37:32.847823557Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":"=== RUN TestServer/Logging/Human\n"} +{"Time":"2023-03-29T13:37:32.847827971Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":"=== PAUSE TestServer/Logging/Human\n"} +{"Time":"2023-03-29T13:37:32.847830572Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human"} +{"Time":"2023-03-29T13:37:32.847846314Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON"} +{"Time":"2023-03-29T13:37:32.847849769Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":"=== RUN TestServer/Logging/JSON\n"} +{"Time":"2023-03-29T13:37:32.847855516Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":"=== PAUSE TestServer/Logging/JSON\n"} +{"Time":"2023-03-29T13:37:32.847858116Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON"} +{"Time":"2023-03-29T13:37:32.847862399Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver"} +{"Time":"2023-03-29T13:37:32.847864919Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== RUN TestServer/Logging/Stackdriver\n"} +{"Time":"2023-03-29T13:37:32.847879575Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== PAUSE TestServer/Logging/Stackdriver\n"} +{"Time":"2023-03-29T13:37:32.847884818Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver"} +{"Time":"2023-03-29T13:37:32.847891759Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple"} +{"Time":"2023-03-29T13:37:32.847894796Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":"=== RUN TestServer/Logging/Multiple\n"} +{"Time":"2023-03-29T13:37:32.847919729Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":"=== PAUSE TestServer/Logging/Multiple\n"} +{"Time":"2023-03-29T13:37:32.847922769Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple"} +{"Time":"2023-03-29T13:37:32.847927067Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile"} +{"Time":"2023-03-29T13:37:32.847929708Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":"=== CONT TestServer/Logging/CreatesFile\n"} +{"Time":"2023-03-29T13:37:32.848797106Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingCreatesFile2700332728/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingCreatesFile2700332728/001/coder-logging-test-2490710733\n"} +{"Time":"2023-03-29T13:37:32.849489309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:46231\n"} +{"Time":"2023-03-29T13:37:32.849644524Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit"} +{"Time":"2023-03-29T13:37:32.849648931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit","Output":"=== CONT TestServer/RateLimit\n"} +{"Time":"2023-03-29T13:37:32.849654201Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default"} +{"Time":"2023-03-29T13:37:32.849658963Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":"=== RUN TestServer/RateLimit/Default\n"} +{"Time":"2023-03-29T13:37:32.849673813Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":"=== PAUSE TestServer/RateLimit/Default\n"} +{"Time":"2023-03-29T13:37:32.849676949Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default"} +{"Time":"2023-03-29T13:37:32.849690853Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed"} +{"Time":"2023-03-29T13:37:32.849694907Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":"=== RUN TestServer/RateLimit/Changed\n"} +{"Time":"2023-03-29T13:37:32.849700056Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":"=== PAUSE TestServer/RateLimit/Changed\n"} +{"Time":"2023-03-29T13:37:32.849702697Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed"} +{"Time":"2023-03-29T13:37:32.849706931Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled"} +{"Time":"2023-03-29T13:37:32.849709323Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== RUN TestServer/RateLimit/Disabled\n"} +{"Time":"2023-03-29T13:37:32.849713561Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== PAUSE TestServer/RateLimit/Disabled\n"} +{"Time":"2023-03-29T13:37:32.849716093Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled"} +{"Time":"2023-03-29T13:37:32.849720102Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default"} +{"Time":"2023-03-29T13:37:32.849722411Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":"=== CONT TestServer/RateLimit/Default\n"} +{"Time":"2023-03-29T13:37:32.850485755Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitDefault1881118474/001 server --in-memory --http-address :0 --access-url http://example.com\n"} +{"Time":"2023-03-29T13:37:32.851011889Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38127\n"} +{"Time":"2023-03-29T13:37:32.851175576Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth"} +{"Time":"2023-03-29T13:37:32.851180015Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":"=== CONT TestServer/GitHubOAuth\n"} +{"Time":"2023-03-29T13:37:32.851983967Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerGitHubOAuth724593823/001 server --in-memory --http-address :0 --access-url http://example.com --oauth2-github-allow-everyone --oauth2-github-client-id fake --oauth2-github-client-secret fake --oauth2-github-enterprise-base-url https://fake-url.com\n"} +{"Time":"2023-03-29T13:37:32.852521551Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:33313\n"} +{"Time":"2023-03-29T13:37:32.852663734Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus"} +{"Time":"2023-03-29T13:37:32.852668353Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":"=== CONT TestServer/Prometheus\n"} +{"Time":"2023-03-29T13:37:32.853556318Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerPrometheus2050744846/002 server --in-memory --http-address :0 --access-url http://example.com --provisioner-daemons 1 --prometheus-enable --prometheus-address :37569 --cache-dir /tmp/TestServerPrometheus2050744846/001\n"} +{"Time":"2023-03-29T13:37:32.854050354Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38381\n"} +{"Time":"2023-03-29T13:37:32.854220704Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry"} +{"Time":"2023-03-29T13:37:32.854225473Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":"=== CONT TestServer/Telemetry\n"} +{"Time":"2023-03-29T13:37:32.855113604Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTelemetry4206954660/002 server --in-memory --http-address :0 --access-url http://example.com --telemetry --telemetry-url http://127.0.0.1:46805 --cache-dir /tmp/TestServerTelemetry4206954660/001\n"} +{"Time":"2023-03-29T13:37:32.855607409Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:46851\n"} +{"Time":"2023-03-29T13:37:32.855759635Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak"} +{"Time":"2023-03-29T13:37:32.85576445Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":"=== CONT TestServer/TracerNoLeak\n"} +{"Time":"2023-03-29T13:37:32.856575033Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTracerNoLeak127485117/002 server --in-memory --http-address :0 --access-url http://example.com --trace=true --cache-dir /tmp/TestServerTracerNoLeak127485117/001\n"} +{"Time":"2023-03-29T13:37:32.859583574Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress"} +{"Time":"2023-03-29T13:37:32.859590623Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress","Output":"=== CONT TestServer/DeprecatedAddress\n"} +{"Time":"2023-03-29T13:37:32.859595635Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP"} +{"Time":"2023-03-29T13:37:32.859598523Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== RUN TestServer/DeprecatedAddress/HTTP\n"} +{"Time":"2023-03-29T13:37:32.860822192Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress"} +{"Time":"2023-03-29T13:37:32.860826569Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Output":"=== CONT TestServer/NoTLSAddress\n"} +{"Time":"2023-03-29T13:37:32.861575027Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoTLSAddress2369561878/001 server --in-memory --tls-enable=true --tls-address \n"} +{"Time":"2023-03-29T13:37:32.861999568Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Output":"--- PASS: TestServer/NoTLSAddress (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.863329199Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoTLSAddress","Elapsed":0} +{"Time":"2023-03-29T13:37:32.863344025Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress"} +{"Time":"2023-03-29T13:37:32.863348554Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Output":"=== CONT TestServer/NoAddress\n"} +{"Time":"2023-03-29T13:37:32.864056037Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoAddress3728350894/001 server --in-memory --http-address :80 --tls-enable=false --tls-address \n"} +{"Time":"2023-03-29T13:37:32.864465815Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Output":"--- PASS: TestServer/NoAddress (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.865769258Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoAddress","Elapsed":0} +{"Time":"2023-03-29T13:37:32.865776672Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6"} +{"Time":"2023-03-29T13:37:32.865779982Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"=== CONT TestServer/CanListenUnspecifiedv6\n"} +{"Time":"2023-03-29T13:37:32.866452947Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerCanListenUnspecifiedv63515544106/001 server --in-memory --http-address [::]:0 --access-url http://example.com\n"} +{"Time":"2023-03-29T13:37:32.86788654Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4"} +{"Time":"2023-03-29T13:37:32.867892077Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"=== CONT TestServer/CanListenUnspecifiedv4\n"} +{"Time":"2023-03-29T13:37:32.868594181Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerCanListenUnspecifiedv43698525072/001 server --in-memory --http-address 0.0.0.0:0 --access-url http://example.com\n"} +{"Time":"2023-03-29T13:37:32.87981375Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect"} +{"Time":"2023-03-29T13:37:32.879832688Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect","Output":"=== CONT TestServer/TLSRedirect\n"} +{"Time":"2023-03-29T13:37:32.879840427Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK"} +{"Time":"2023-03-29T13:37:32.879843579Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== RUN TestServer/TLSRedirect/OK\n"} +{"Time":"2023-03-29T13:37:32.879847493Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== PAUSE TestServer/TLSRedirect/OK\n"} +{"Time":"2023-03-29T13:37:32.879850007Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK"} +{"Time":"2023-03-29T13:37:32.879858919Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect"} +{"Time":"2023-03-29T13:37:32.87986153Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== RUN TestServer/TLSRedirect/NoRedirect\n"} +{"Time":"2023-03-29T13:37:32.879868217Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== PAUSE TestServer/TLSRedirect/NoRedirect\n"} +{"Time":"2023-03-29T13:37:32.879871031Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect"} +{"Time":"2023-03-29T13:37:32.879882319Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} +{"Time":"2023-03-29T13:37:32.879885302Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== RUN TestServer/TLSRedirect/NoRedirectWithWildcard\n"} +{"Time":"2023-03-29T13:37:32.879901278Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== PAUSE TestServer/TLSRedirect/NoRedirectWithWildcard\n"} +{"Time":"2023-03-29T13:37:32.879904339Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} +{"Time":"2023-03-29T13:37:32.879917091Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} +{"Time":"2023-03-29T13:37:32.879920112Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== RUN TestServer/TLSRedirect/NoTLSListener\n"} +{"Time":"2023-03-29T13:37:32.881385273Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP"} +{"Time":"2023-03-29T13:37:32.881392419Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":"=== CONT TestServer/TLSAndHTTP\n"} +{"Time":"2023-03-29T13:37:32.883317205Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSAndHTTP1565439063/003 server --in-memory --http-address :0 --access-url https://example.com --tls-enable --tls-redirect-http-to-https=false --tls-address :0 --tls-cert-file /tmp/TestServerTLSAndHTTP1565439063/001/1540336369 --tls-key-file /tmp/TestServerTLSAndHTTP1565439063/001/228555534 --cache-dir /tmp/TestServerTLSAndHTTP1565439063/002\n"} +{"Time":"2023-03-29T13:37:32.886709195Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple"} +{"Time":"2023-03-29T13:37:32.886720913Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":"=== CONT TestServer/TLSValidMultiple\n"} +{"Time":"2023-03-29T13:37:32.888650035Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSValidMultiple3077156975/004 server --in-memory --http-address --access-url https://example.com --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSValidMultiple3077156975/001/3448842699 --tls-key-file /tmp/TestServerTLSValidMultiple3077156975/001/3382329005 --tls-cert-file /tmp/TestServerTLSValidMultiple3077156975/002/610618616 --tls-key-file /tmp/TestServerTLSValidMultiple3077156975/002/3728409390 --cache-dir /tmp/TestServerTLSValidMultiple3077156975/003\n"} +{"Time":"2023-03-29T13:37:32.889032741Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid"} +{"Time":"2023-03-29T13:37:32.889040091Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":"=== CONT TestServer/TLSValid\n"} +{"Time":"2023-03-29T13:37:32.890094104Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSValid1911968885/003 server --in-memory --http-address --access-url https://example.com --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSValid1911968885/001/91528180 --tls-key-file /tmp/TestServerTLSValid1911968885/001/1223943395 --cache-dir /tmp/TestServerTLSValid1911968885/002\n"} +{"Time":"2023-03-29T13:37:32.890711151Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Started TLS/HTTPS listener at https://[::]:38747\n"} +{"Time":"2023-03-29T13:37:32.893432414Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid"} +{"Time":"2023-03-29T13:37:32.893439577Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid","Output":"=== CONT TestServer/TLSInvalid\n"} +{"Time":"2023-03-29T13:37:32.895534213Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert"} +{"Time":"2023-03-29T13:37:32.895540534Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== RUN TestServer/TLSInvalid/NoCert\n"} +{"Time":"2023-03-29T13:37:32.895545749Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== PAUSE TestServer/TLSInvalid/NoCert\n"} +{"Time":"2023-03-29T13:37:32.895548511Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert"} +{"Time":"2023-03-29T13:37:32.89555469Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey"} +{"Time":"2023-03-29T13:37:32.895559989Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== RUN TestServer/TLSInvalid/NoKey\n"} +{"Time":"2023-03-29T13:37:32.895564748Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== PAUSE TestServer/TLSInvalid/NoKey\n"} +{"Time":"2023-03-29T13:37:32.895567562Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey"} +{"Time":"2023-03-29T13:37:32.895571832Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} +{"Time":"2023-03-29T13:37:32.895574371Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== RUN TestServer/TLSInvalid/MismatchedCount\n"} +{"Time":"2023-03-29T13:37:32.895579082Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== PAUSE TestServer/TLSInvalid/MismatchedCount\n"} +{"Time":"2023-03-29T13:37:32.895581688Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} +{"Time":"2023-03-29T13:37:32.895586121Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} +{"Time":"2023-03-29T13:37:32.895588766Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== RUN TestServer/TLSInvalid/MismatchedCertAndKey\n"} +{"Time":"2023-03-29T13:37:32.895593302Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== PAUSE TestServer/TLSInvalid/MismatchedCertAndKey\n"} +{"Time":"2023-03-29T13:37:32.895595797Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} +{"Time":"2023-03-29T13:37:32.895598709Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert"} +{"Time":"2023-03-29T13:37:32.895601189Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"=== CONT TestServer/TLSInvalid/NoCert\n"} +{"Time":"2023-03-29T13:37:32.896383938Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidNoCert155343146/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoCert155343146/001 --tls-enable --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089\n"} +{"Time":"2023-03-29T13:37:32.896712838Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:41521\n"} +{"Time":"2023-03-29T13:37:32.896777738Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoCert155343146/001 --tls-enable --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089]\n"} +{"Time":"2023-03-29T13:37:32.896926023Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Output":"--- PASS: TestServer/TLSInvalid/NoCert (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.896932574Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoCert","Elapsed":0} +{"Time":"2023-03-29T13:37:32.896936656Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth"} +{"Time":"2023-03-29T13:37:32.896939204Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Output":"=== CONT TestServer/TLSBadClientAuth\n"} +{"Time":"2023-03-29T13:37:32.897600801Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSBadClientAuth2976087810/002 server --in-memory --http-address --access-url http://example.com --tls-enable --tls-address :0 --tls-client-auth something --cache-dir /tmp/TestServerTLSBadClientAuth2976087810/001\n"} +{"Time":"2023-03-29T13:37:32.897994004Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Output":"--- PASS: TestServer/TLSBadClientAuth (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.898002196Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadClientAuth","Elapsed":0} +{"Time":"2023-03-29T13:37:32.89800515Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion"} +{"Time":"2023-03-29T13:37:32.898008134Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Output":"=== CONT TestServer/TLSBadVersion\n"} +{"Time":"2023-03-29T13:37:32.898635976Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSBadVersion2460276843/002 server --in-memory --http-address --access-url http://example.com --tls-enable --tls-address :0 --tls-min-version tls9 --cache-dir /tmp/TestServerTLSBadVersion2460276843/001\n"} +{"Time":"2023-03-29T13:37:32.899017393Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Output":"--- PASS: TestServer/TLSBadVersion (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.899025249Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSBadVersion","Elapsed":0} +{"Time":"2023-03-29T13:37:32.899028489Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL"} +{"Time":"2023-03-29T13:37:32.899031117Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Output":"=== CONT TestServer/NoSchemeAccessURL\n"} +{"Time":"2023-03-29T13:37:32.899735022Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoSchemeAccessURL3227162288/002 server --in-memory --http-address :0 --access-url google.com --cache-dir /tmp/TestServerNoSchemeAccessURL3227162288/001\n"} +{"Time":"2023-03-29T13:37:32.900078052Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Output":"--- PASS: TestServer/NoSchemeAccessURL (0.00s)\n"} +{"Time":"2023-03-29T13:37:32.900133291Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoSchemeAccessURL","Elapsed":0} +{"Time":"2023-03-29T13:37:32.900136928Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.900139387Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"=== CONT TestServer/NoWarningWithRemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.900802695Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerNoWarningWithRemoteAccessURL2261451002/002 server --in-memory --http-address :0 --access-url https://google.com --cache-dir /tmp/TestServerNoWarningWithRemoteAccessURL2261451002/001\n"} +{"Time":"2023-03-29T13:37:32.901428258Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL"} +{"Time":"2023-03-29T13:37:32.901434866Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":"=== CONT TestServer/RemoteAccessURL\n"} +{"Time":"2023-03-29T13:37:32.902088159Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRemoteAccessURL917985260/002 server --in-memory --http-address :0 --access-url https://foobarbaz.mydomain --cache-dir /tmp/TestServerRemoteAccessURL917985260/001\n"} +{"Time":"2023-03-29T13:37:32.904875871Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL"} +{"Time":"2023-03-29T13:37:32.90488445Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":"=== CONT TestServer/LocalAccessURL\n"} +{"Time":"2023-03-29T13:37:32.905523425Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLocalAccessURL3554694382/002 server --in-memory --http-address :0 --access-url http://localhost:3000/ --cache-dir /tmp/TestServerLocalAccessURL3554694382/001\n"} +{"Time":"2023-03-29T13:37:32.909203431Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw"} +{"Time":"2023-03-29T13:37:32.909214782Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"=== CONT TestServer/BuiltinPostgresURLRaw\n"} +{"Time":"2023-03-29T13:37:32.90987112Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgresURLRaw2301128244/001 server postgres-builtin-url --raw-url\n"} +{"Time":"2023-03-29T13:37:32.910387857Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL"} +{"Time":"2023-03-29T13:37:32.910393909Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":"=== CONT TestServer/BuiltinPostgresURL\n"} +{"Time":"2023-03-29T13:37:32.911031385Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerBuiltinPostgresURL2022412164/001 server postgres-builtin-url\n"} +{"Time":"2023-03-29T13:37:32.911696996Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple"} +{"Time":"2023-03-29T13:37:32.911705024Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":"=== CONT TestServer/Logging/Multiple\n"} +{"Time":"2023-03-29T13:37:32.912435053Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingMultiple1018156314/004 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingMultiple1018156314/001/coder-logging-test-2240709984 --log-json /tmp/TestServerLoggingMultiple1018156314/002/coder-logging-test-2164710923 --log-stackdriver /tmp/TestServerLoggingMultiple1018156314/003/coder-logging-test-3557853095\n"} +{"Time":"2023-03-29T13:37:32.912514796Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver"} +{"Time":"2023-03-29T13:37:32.912520309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":"=== CONT TestServer/Logging/Stackdriver\n"} +{"Time":"2023-03-29T13:37:32.913204422Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingStackdriver1654522233/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-stackdriver /tmp/TestServerLoggingStackdriver1654522233/001/coder-logging-test-3531177805\n"} +{"Time":"2023-03-29T13:37:32.913286393Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON"} +{"Time":"2023-03-29T13:37:32.913292549Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":"=== CONT TestServer/Logging/JSON\n"} +{"Time":"2023-03-29T13:37:32.913937207Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingJSON1509288451/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-json /tmp/TestServerLoggingJSON1509288451/001/coder-logging-test-115410787\n"} +{"Time":"2023-03-29T13:37:32.913982029Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human"} +{"Time":"2023-03-29T13:37:32.913985447Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":"=== CONT TestServer/Logging/Human\n"} +{"Time":"2023-03-29T13:37:32.914664441Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerLoggingHuman1910502850/002 server --verbose --in-memory --http-address :0 --access-url http://example.com --log-human /tmp/TestServerLoggingHuman1910502850/001/coder-logging-test-2040592756\n"} +{"Time":"2023-03-29T13:37:32.915201663Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42891\n"} +{"Time":"2023-03-29T13:37:32.915334373Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled"} +{"Time":"2023-03-29T13:37:32.91533902Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":"=== CONT TestServer/RateLimit/Disabled\n"} +{"Time":"2023-03-29T13:37:32.915962046Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitDisabled1912095220/001 server --in-memory --http-address :0 --access-url http://example.com --api-rate-limit -1\n"} +{"Time":"2023-03-29T13:37:32.916390927Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:35065\n"} +{"Time":"2023-03-29T13:37:32.917528951Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stderr: 2023-03-29 13:37:32.917 [WARN]\t\u003cgithub.com/coder/coder/v2/cli/server.go:310\u003e\t(*RootCmd).Server.func1\tstart telemetry exporter ...\n"} +{"Time":"2023-03-29T13:37:32.917535354Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" \"error\": default exporter:\n"} +{"Time":"2023-03-29T13:37:32.917538568Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" github.com/coder/coder/v2/coderd/tracing.TracerProvider\n"} +{"Time":"2023-03-29T13:37:32.917543903Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" /home/mafredri/src/coder/coder/coderd/tracing/exporter.go:51\n"} +{"Time":"2023-03-29T13:37:32.917547458Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" - create otlp exporter:\n"} +{"Time":"2023-03-29T13:37:32.917552386Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" github.com/coder/coder/v2/coderd/tracing.DefaultExporter\n"} +{"Time":"2023-03-29T13:37:32.917557328Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" /home/mafredri/src/coder/coder/coderd/tracing/exporter.go:109\n"} +{"Time":"2023-03-29T13:37:32.917562236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" - context canceled\n"} +{"Time":"2023-03-29T13:37:32.917576569Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42093\n"} +{"Time":"2023-03-29T13:37:32.917619611Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} +{"Time":"2023-03-29T13:37:32.917642615Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:32.920130044Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:32.920155751Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:32.920178993Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:32.920200709Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:32.920249847Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== PAUSE TestServer/DeprecatedAddress/HTTP\n"} +{"Time":"2023-03-29T13:37:32.92025399Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP"} +{"Time":"2023-03-29T13:37:32.920269801Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS"} +{"Time":"2023-03-29T13:37:32.920274896Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== RUN TestServer/DeprecatedAddress/TLS\n"} +{"Time":"2023-03-29T13:37:32.920279669Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== PAUSE TestServer/DeprecatedAddress/TLS\n"} +{"Time":"2023-03-29T13:37:32.920282197Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS"} +{"Time":"2023-03-29T13:37:32.92570047Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== PAUSE TestServer/TLSRedirect/NoTLSListener\n"} +{"Time":"2023-03-29T13:37:32.92570807Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} +{"Time":"2023-03-29T13:37:32.925713393Z","Action":"run","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} +{"Time":"2023-03-29T13:37:32.92571595Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== RUN TestServer/TLSRedirect/NoHTTPListener\n"} +{"Time":"2023-03-29T13:37:32.925720434Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== PAUSE TestServer/TLSRedirect/NoHTTPListener\n"} +{"Time":"2023-03-29T13:37:32.925722986Z","Action":"pause","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} +{"Time":"2023-03-29T13:37:32.92724642Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"Started HTTP listener at http://[::]:39671\"\n"} +{"Time":"2023-03-29T13:37:32.927965116Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"Started HTTP listener at http://[::]:42445\"\n"} +{"Time":"2023-03-29T13:37:32.928006932Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.927: cmd: \"WARN: The access URL http://localhost:3000/ isn't externally reachable, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} +{"Time":"2023-03-29T13:37:32.928023919Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:32.92802928Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:32.928042009Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \"View the Web UI: http://localhost:3000/\\r\"\n"} +{"Time":"2023-03-29T13:37:32.928061275Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:32.928077795Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:32.928: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:32.973554406Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" server_test.go:173: 2023-03-29 13:37:32.973: cmd: matched newline = \"postgres://coder@localhost:43211/coder?sslmode=disable\u0026password=Xha7Pt7Mcuv0IlkT\"\n"} +{"Time":"2023-03-29T13:37:32.973585539Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:83: 2023-03-29 13:37:32.973: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:32.973602051Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:32.973653232Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:110: 2023-03-29 13:37:32.973: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:32.973673734Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:111: 2023-03-29 13:37:32.973: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:32.973681952Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:113: 2023-03-29 13:37:32.973: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:32.973745487Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.973755467Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:32.973767632Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.973787295Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:32.973794335Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:76: 2023-03-29 13:37:32.973: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.973897477Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" server_test.go:161: 2023-03-29 13:37:32.973: cmd: matched \"psql\" = \" psql\"\n"} +{"Time":"2023-03-29T13:37:32.973911816Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:83: 2023-03-29 13:37:32.973: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:32.97395369Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.973: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:32.973977688Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:110: 2023-03-29 13:37:32.973: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:32.973985059Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:111: 2023-03-29 13:37:32.973: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:32.974011895Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:113: 2023-03-29 13:37:32.973: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:32.974059281Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.974066822Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.974: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:32.974073474Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.974079891Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:74: 2023-03-29 13:37:32.974: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:32.974111815Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:76: 2023-03-29 13:37:32.974: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:32.976190183Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:32.976 [DEBUG]\t\u003cgithub.com/coder/coder/v2/cli/server.go:260\u003e\t(*RootCmd).Server.func1\tstarted debug logging\n"} +{"Time":"2023-03-29T13:37:32.976499482Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:45725\n"} +{"Time":"2023-03-29T13:37:32.977583615Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:32.977594677Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed"} +{"Time":"2023-03-29T13:37:32.977598319Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":"=== CONT TestServer/RateLimit/Changed\n"} +{"Time":"2023-03-29T13:37:32.979536902Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerRateLimitChanged2140102987/001 server --in-memory --http-address :0 --access-url http://example.com --api-rate-limit 100\n"} +{"Time":"2023-03-29T13:37:32.981248381Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:45133\n"} +{"Time":"2023-03-29T13:37:32.982290561Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:32.982: cmd: \"Started HTTP listener at http://0.0.0.0:37181\"\n"} +{"Time":"2023-03-29T13:37:32.982961159Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" server_test.go:718: 2023-03-29 13:37:32.982: cmd: matched \"Started HTTP listener\" = \"Started HTTP listener\"\n"} +{"Time":"2023-03-29T13:37:32.983105329Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" server_test.go:719: 2023-03-29 13:37:32.983: cmd: matched \"http://0.0.0.0:\" = \" at http://0.0.0.0:\"\n"} +{"Time":"2023-03-29T13:37:32.983250515Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:32.983: cmd: \"Started HTTP listener at http://[::]:33561\"\n"} +{"Time":"2023-03-29T13:37:32.984671213Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" server_test.go:738: 2023-03-29 13:37:32.983: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:32.984712571Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" server_test.go:739: 2023-03-29 13:37:32.983: cmd: matched \"http://[::]:\" = \" http://[::]:\"\n"} +{"Time":"2023-03-29T13:37:32.984733017Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:32.996108891Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:32.996314264Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.00125555Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.001437292Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.002347544Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.00471704Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.004816922Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} +{"Time":"2023-03-29T13:37:33.004828798Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.008304441Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.008334151Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.008344183Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.008351448Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.008401366Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} +{"Time":"2023-03-29T13:37:33.00852168Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} +{"Time":"2023-03-29T13:37:33.008558749Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP"} +{"Time":"2023-03-29T13:37:33.008572474Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"=== CONT TestServer/DeprecatedAddress/HTTP\n"} +{"Time":"2023-03-29T13:37:33.009297224Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerDeprecatedAddressHTTP1174595269/002 server --in-memory --address :0 --access-url http://example.com --cache-dir /tmp/TestServerDeprecatedAddressHTTP1174595269/001\n"} +{"Time":"2023-03-29T13:37:33.011200842Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" server_test.go:196: 2023-03-29 13:37:33.011: cmd: matched \"this may cause unexpected problems when creating workspaces\" = \"Started HTTP listener at http://[::]:42445\\r\\nWARN: The access URL http://localhost:3000/ isn't externally reachable, this may cause unexpected problems when creating workspaces\"\n"} +{"Time":"2023-03-29T13:37:33.011256139Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" server_test.go:197: 2023-03-29 13:37:33.011: cmd: matched \"View the Web UI: http://localhost:3000/\" = \". Generate a unique *.try.coder.app URL by not specifying an access URL.\\r\\n \\r\\r\\n \\r\\nView the Web UI: http://localhost:3000/\"\n"} +{"Time":"2023-03-29T13:37:33.011375838Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} +{"Time":"2023-03-29T13:37:33.01139606Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.013674142Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.013696745Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.013708678Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.013717271Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.013756177Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} +{"Time":"2023-03-29T13:37:33.013807024Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.013 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} +{"Time":"2023-03-29T13:37:33.013861318Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} +{"Time":"2023-03-29T13:37:33.014354405Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:121: 2023-03-29 13:37:33.014: cmd: \"postgres://coder@localhost:43211/coder?sslmode=disable\u0026password=Xha7Pt7Mcuv0IlkT\"\n"} +{"Time":"2023-03-29T13:37:33.014367303Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":" ptytest.go:102: 2023-03-29 13:37:33.014: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.01451535Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Output":"--- PASS: TestServer/BuiltinPostgresURLRaw (0.11s)\n"} +{"Time":"2023-03-29T13:37:33.014525519Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURLRaw","Elapsed":0.11} +{"Time":"2023-03-29T13:37:33.014534922Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK"} +{"Time":"2023-03-29T13:37:33.014543883Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":"=== CONT TestServer/TLSRedirect/OK\n"} +{"Time":"2023-03-29T13:37:33.01571179Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectOK4195649967/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectOK4195649967/002 --http-address :0 --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectOK4195649967/001/1898764516 --tls-key-file /tmp/TestServerTLSRedirectOK4195649967/001/3656697468 --wildcard-access-url *.example.com --access-url https://example.com --redirect-to-access-url\n"} +{"Time":"2023-03-29T13:37:33.015887089Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.015: cmd: \" psql \\\"postgres://coder@localhost:43265/coder?sslmode=disable\u0026password=qZX0YVm9trLHmHzY\\\" \"\n"} +{"Time":"2023-03-29T13:37:33.015903823Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.015: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.016045291Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Output":"--- PASS: TestServer/BuiltinPostgresURL (0.11s)\n"} +{"Time":"2023-03-29T13:37:33.01632566Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgresURL","Elapsed":0.11} +{"Time":"2023-03-29T13:37:33.016345189Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.022419375Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.099478164Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.138846249Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.137: cmd: \"Started TLS/HTTPS listener at https://[::]:46747\"\n"} +{"Time":"2023-03-29T13:37:33.138887737Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} +{"Time":"2023-03-29T13:37:33.138894754Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} +{"Time":"2023-03-29T13:37:33.138900199Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} +{"Time":"2023-03-29T13:37:33.138905607Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} +{"Time":"2023-03-29T13:37:33.138911333Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.141820899Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.140 [DEBUG]\t(coderd.metrics_cache)\t\u003cgithub.com/coder/coder/v2/coderd/metricscache/metricscache.go:272\u003e\t(*Cache).run\tdeployment stats metrics refreshed\t{\"took\": \"23.786µs\", \"interval\": \"30s\"}\n"} +{"Time":"2023-03-29T13:37:33.141862791Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\t(*Server).connect\tconnected\n"} +{"Time":"2023-03-29T13:37:33.141871378Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\t(*Server).connect\tconnected\n"} +{"Time":"2023-03-29T13:37:33.14187713Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} +{"Time":"2023-03-29T13:37:33.141883292Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} +{"Time":"2023-03-29T13:37:33.141893432Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} +{"Time":"2023-03-29T13:37:33.141898548Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} +{"Time":"2023-03-29T13:37:33.141959656Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stderr: 2023-03-29 13:37:33.141 [DEBUG]\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\t(*Server).closeWithError\tclosing server with error\t{\"error\": null}\n"} +{"Time":"2023-03-29T13:37:33.142091685Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} +{"Time":"2023-03-29T13:37:33.142184362Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.142408919Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stderr: \u001b[1;mWARN: \u001b[0mThe access URL \u001b[;mhttp://example.com\u001b[0m could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\n"} +{"Time":"2023-03-29T13:37:33.142501883Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.147218812Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.147251166Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.14725864Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.147298554Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.147355456Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 3...\n"} +{"Time":"2023-03-29T13:37:33.14745485Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 3\n"} +{"Time":"2023-03-29T13:37:33.148482198Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey"} +{"Time":"2023-03-29T13:37:33.148502985Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"=== CONT TestServer/TLSInvalid/MismatchedCertAndKey\n"} +{"Time":"2023-03-29T13:37:33.149452866Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/002/2775674587\n"} +{"Time":"2023-03-29T13:37:33.149984351Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:38873\n"} +{"Time":"2023-03-29T13:37:33.150363114Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCertAndKey978167281/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/002/2775674587]\n"} +{"Time":"2023-03-29T13:37:33.150581402Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Output":"--- PASS: TestServer/TLSInvalid/MismatchedCertAndKey (0.00s)\n"} +{"Time":"2023-03-29T13:37:33.15059771Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCertAndKey","Elapsed":0} +{"Time":"2023-03-29T13:37:33.150605526Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount"} +{"Time":"2023-03-29T13:37:33.150609996Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"=== CONT TestServer/TLSInvalid/MismatchedCount\n"} +{"Time":"2023-03-29T13:37:33.151854633Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidMismatchedCount803880522/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCount803880522/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089 --tls-cert-file /tmp/TestServerTLSInvalid1610620518/002/3269350839\n"} +{"Time":"2023-03-29T13:37:33.152410162Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:37839\n"} +{"Time":"2023-03-29T13:37:33.15252017Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidMismatchedCount803880522/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081 --tls-key-file /tmp/TestServerTLSInvalid1610620518/001/1816833089 --tls-cert-file /tmp/TestServerTLSInvalid1610620518/002/3269350839]\n"} +{"Time":"2023-03-29T13:37:33.152732054Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Output":"--- PASS: TestServer/TLSInvalid/MismatchedCount (0.00s)\n"} +{"Time":"2023-03-29T13:37:33.152746399Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/MismatchedCount","Elapsed":0} +{"Time":"2023-03-29T13:37:33.152754347Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey"} +{"Time":"2023-03-29T13:37:33.152758935Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"=== CONT TestServer/TLSInvalid/NoKey\n"} +{"Time":"2023-03-29T13:37:33.153794977Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSInvalidNoKey281486761/002 server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoKey281486761/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081\n"} +{"Time":"2023-03-29T13:37:33.154207106Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:43607\n"} +{"Time":"2023-03-29T13:37:33.15427222Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":" server_test.go:344: args: [server --in-memory --http-address :0 --access-url http://example.com --cache-dir /tmp/TestServerTLSInvalidNoKey281486761/001 --tls-enable --tls-cert-file /tmp/TestServerTLSInvalid1610620518/001/3088514081]\n"} +{"Time":"2023-03-29T13:37:33.154468443Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Output":"--- PASS: TestServer/TLSInvalid/NoKey (0.00s)\n"} +{"Time":"2023-03-29T13:37:33.154623549Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid/NoKey","Elapsed":0} +{"Time":"2023-03-29T13:37:33.154633176Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid","Output":"--- PASS: TestServer/TLSInvalid (0.00s)\n"} +{"Time":"2023-03-29T13:37:33.154761857Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSInvalid","Elapsed":0} +{"Time":"2023-03-29T13:37:33.154770493Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.154: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} +{"Time":"2023-03-29T13:37:33.439719632Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.43976961Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.439791036Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"View the Web UI: http://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.439807711Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.43982432Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.439851264Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.439869598Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.439886994Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.439905518Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.439924649Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.439: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.439941905Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:83: 2023-03-29 13:37:33.439: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.4399588Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.439: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.440230934Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.440: cmd: \"Started HTTP listener at http://[::]:45645\"\n"} +{"Time":"2023-03-29T13:37:33.440246712Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.440: cmd: \"Started TLS/HTTPS listener at https://[::]:33779\"\n"} +{"Time":"2023-03-29T13:37:33.440251896Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:634: 2023-03-29 13:37:33.440: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:33.440278535Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:635: 2023-03-29 13:37:33.440: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.440295931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:635: 2023-03-29 13:37:33.440: cmd: matched newline = \" http://[::]:45645\"\n"} +{"Time":"2023-03-29T13:37:33.440327613Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:641: 2023-03-29 13:37:33.440: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} +{"Time":"2023-03-29T13:37:33.440339171Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:642: 2023-03-29 13:37:33.440: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.440353544Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" server_test.go:642: 2023-03-29 13:37:33.440: cmd: matched newline = \" https://[::]:33779\"\n"} +{"Time":"2023-03-29T13:37:33.462318671Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.155: cmd: \"WARN: Redirect HTTP to HTTPS is deprecated, please use Redirect to Access URL instead.\"\n"} +{"Time":"2023-03-29T13:37:33.462349606Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.462356521Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Started HTTP listener at http://[::]:38281\"\n"} +{"Time":"2023-03-29T13:37:33.462372929Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"WARN: --tls-redirect-http-to-https is deprecated, please use --redirect-to-access-url instead\\r\"\n"} +{"Time":"2023-03-29T13:37:33.462395287Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Started TLS/HTTPS listener at https://[::]:37895\"\n"} +{"Time":"2023-03-29T13:37:33.46242925Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.462438148Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.462469497Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.462484536Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.462637037Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.462649797Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:33.462659463Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.462670357Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:33.462694313Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:121: 2023-03-29 13:37:33.462: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.462718576Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:110: 2023-03-29 13:37:33.462: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.46272687Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:111: 2023-03-29 13:37:33.462: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.462736639Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:113: 2023-03-29 13:37:33.462: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.462758116Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.462: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:33.462768617Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.462788026Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:74: 2023-03-29 13:37:33.462: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:33.462795774Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:76: 2023-03-29 13:37:33.462: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.462816156Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":" ptytest.go:102: 2023-03-29 13:37:33.462: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.462931778Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Output":"--- PASS: TestServer/CanListenUnspecifiedv4 (0.60s)\n"} +{"Time":"2023-03-29T13:37:33.462940935Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv4","Elapsed":0.6} +{"Time":"2023-03-29T13:37:33.462948149Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener"} +{"Time":"2023-03-29T13:37:33.462952114Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"=== CONT TestServer/TLSRedirect/NoHTTPListener\n"} +{"Time":"2023-03-29T13:37:33.464080755Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoHTTPListener857312755/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoHTTPListener857312755/002 --http-address --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoHTTPListener857312755/001/774178655 --tls-key-file /tmp/TestServerTLSRedirectNoHTTPListener857312755/001/2109956146 --wildcard-access-url *.example.com --access-url https://example.com\n"} +{"Time":"2023-03-29T13:37:33.464227163Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.464240384Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.464252515Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.46428589Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:33.464: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.472563896Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.155: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} +{"Time":"2023-03-29T13:37:33.472612391Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.47263698Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.472648847Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"View the Web UI: http://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.472703374Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.472714667Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.473028818Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.473041801Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.473048085Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.473053454Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.47305943Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.473064898Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:33.473070019Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.473075028Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:33.473080237Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:121: 2023-03-29 13:37:33.472: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.47308794Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:488: 2023-03-29 13:37:33.472: cmd: matched \"Started HTTP listener at\" = \"WARN: Redirect HTTP to HTTPS is deprecated, please use Redirect to Access URL instead.\\r\\n \\r\\r\\nStarted HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:33.473094939Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:489: 2023-03-29 13:37:33.472: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.473099786Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:489: 2023-03-29 13:37:33.472: cmd: matched newline = \" http://[::]:38281\"\n"} +{"Time":"2023-03-29T13:37:33.473628418Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:493: 2023-03-29 13:37:33.473: cmd: matched \"Started TLS/HTTPS listener at \" = \"WARN: --tls-redirect-http-to-https is deprecated, please use --redirect-to-access-url instead\\r\\r\\nStarted TLS/HTTPS listener at \"\n"} +{"Time":"2023-03-29T13:37:33.473644808Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:494: 2023-03-29 13:37:33.473: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.47365119Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" server_test.go:494: 2023-03-29 13:37:33.473: cmd: matched newline = \"https://[::]:37895\"\n"} +{"Time":"2023-03-29T13:37:33.475250161Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.475281933Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.490892952Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:33.492145943Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:83: 2023-03-29 13:37:33.491: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.492183748Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.491: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.492192673Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:110: 2023-03-29 13:37:33.492: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.492199945Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:111: 2023-03-29 13:37:33.492: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.492206118Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:113: 2023-03-29 13:37:33.492: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.492296422Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.492316694Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.492: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:33.49232562Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.492355439Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:74: 2023-03-29 13:37:33.492: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:33.492364574Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:76: 2023-03-29 13:37:33.492: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.49240481Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":" ptytest.go:102: 2023-03-29 13:37:33.492: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.495511552Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Output":"--- PASS: TestServer/CanListenUnspecifiedv6 (0.63s)\n"} +{"Time":"2023-03-29T13:37:33.495557907Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/CanListenUnspecifiedv6","Elapsed":0.63} +{"Time":"2023-03-29T13:37:33.495569713Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener"} +{"Time":"2023-03-29T13:37:33.495575692Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"=== CONT TestServer/TLSRedirect/NoTLSListener\n"} +{"Time":"2023-03-29T13:37:33.495582515Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoTLSListener2050465310/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoTLSListener2050465310/002 --http-address :0 --access-url https://example.com\n"} +{"Time":"2023-03-29T13:37:33.514163923Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.51646695Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: View the Web UI: https://example.com\n"} +{"Time":"2023-03-29T13:37:33.532093856Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.532820236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.533254024Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.533887464Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Output":"--- PASS: TestServer/Logging/CreatesFile (0.69s)\n"} +{"Time":"2023-03-29T13:37:33.580391994Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/CreatesFile","Elapsed":0.69} +{"Time":"2023-03-29T13:37:33.580437708Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.194: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.580458446Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.580471806Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.58048911Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.580504524Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.580522972Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:33.5805328Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.580555757Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:33.580587561Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.580: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.580846451Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Output":"--- PASS: TestServer/Logging/JSON (0.67s)\n"} +{"Time":"2023-03-29T13:37:33.580862096Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/JSON","Elapsed":0.67} +{"Time":"2023-03-29T13:37:33.580868926Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect"} +{"Time":"2023-03-29T13:37:33.580873653Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"=== CONT TestServer/TLSRedirect/NoRedirect\n"} +{"Time":"2023-03-29T13:37:33.582048889Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoRedirect2668740580/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoRedirect2668740580/002 --http-address :0 --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoRedirect2668740580/001/1517171254 --tls-key-file /tmp/TestServerTLSRedirectNoRedirect2668740580/001/1491051903 --wildcard-access-url *.example.com --access-url https://example.com\n"} +{"Time":"2023-03-29T13:37:33.582187252Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard"} +{"Time":"2023-03-29T13:37:33.582197387Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"=== CONT TestServer/TLSRedirect/NoRedirectWithWildcard\n"} +{"Time":"2023-03-29T13:37:33.583144917Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/003 server --in-memory --cache-dir /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/002 --http-address --tls-enable --tls-address :0 --tls-cert-file /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/001/2297363344 --tls-key-file /tmp/TestServerTLSRedirectNoRedirectWithWildcard3241718280/001/3868867528 --wildcard-access-url *.example.com --access-url https://example.com --redirect-to-access-url\n"} +{"Time":"2023-03-29T13:37:33.609797366Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Output":"--- PASS: TestServer/TracerNoLeak (0.75s)\n"} +{"Time":"2023-03-29T13:37:33.610858133Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TracerNoLeak","Elapsed":0.75} +{"Time":"2023-03-29T13:37:33.6108818Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.202: cmd: \"WARN: Address is deprecated, please use HTTP Address and TLS Address instead.\"\n"} +{"Time":"2023-03-29T13:37:33.610892881Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.610900074Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"Started HTTP listener at http://[::]:32777\"\n"} +{"Time":"2023-03-29T13:37:33.610935322Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.610944309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"View the Web UI: http://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.610972945Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.610991889Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.610: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.61104088Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.611: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.611050128Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.611098802Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.611: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.611114878Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.611: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.611120793Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.611: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.611180989Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.611193294Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:33.611200866Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.611204553Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.611: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:33.611207462Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.611: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.611215565Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.611: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.611336071Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Output":"--- PASS: TestServer/LocalAccessURL (0.71s)\n"} +{"Time":"2023-03-29T13:37:33.613044416Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/LocalAccessURL","Elapsed":0.71} +{"Time":"2023-03-29T13:37:33.613054355Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 1...\n"} +{"Time":"2023-03-29T13:37:33.613144221Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 1\n"} +{"Time":"2023-03-29T13:37:33.613176406Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" server_test.go:799: 2023-03-29 13:37:33.613: cmd: matched \"is deprecated\" = \"WARN: Address is deprecated\"\n"} +{"Time":"2023-03-29T13:37:33.613666866Z","Action":"cont","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS"} +{"Time":"2023-03-29T13:37:33.613682333Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"=== CONT TestServer/DeprecatedAddress/TLS\n"} +{"Time":"2023-03-29T13:37:33.614665673Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" clitest.go:67: invoking command: coder --global-config /tmp/TestServerDeprecatedAddressTLS1194868532/003 server --in-memory --address :0 --access-url https://example.com --tls-enable --tls-cert-file /tmp/TestServerDeprecatedAddressTLS1194868532/001/3357512070 --tls-key-file /tmp/TestServerDeprecatedAddressTLS1194868532/001/2886385591 --cache-dir /tmp/TestServerDeprecatedAddressTLS1194868532/002\n"} +{"Time":"2023-03-29T13:37:33.614774341Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Shutting down provisioner daemon 2...\n"} +{"Time":"2023-03-29T13:37:33.614835489Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Gracefully shut down provisioner daemon 2\n"} +{"Time":"2023-03-29T13:37:33.614847064Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.615151651Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.251: cmd: \"Started HTTP listener at http://[::]:46789\"\n"} +{"Time":"2023-03-29T13:37:33.615187666Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"WARN: The access URL https://foobarbaz.mydomain could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} +{"Time":"2023-03-29T13:37:33.615200461Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.615214043Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.615230151Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"View the Web UI: https://foobarbaz.mydomain\\r\"\n"} +{"Time":"2023-03-29T13:37:33.615243576Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.61525094Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.615: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.616015109Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.617106937Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.251: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.617129585Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.617140564Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.617159456Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.617293213Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" server_test.go:219: 2023-03-29 13:37:33.617: cmd: matched \"this may cause unexpected problems when creating workspaces\" = \"Started HTTP listener at http://[::]:46789\\r\\nWARN: The access URL https://foobarbaz.mydomain could not be resolved, this may cause unexpected problems when creating workspaces\"\n"} +{"Time":"2023-03-29T13:37:33.617419153Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" server_test.go:220: 2023-03-29 13:37:33.617: cmd: matched \"View the Web UI: https://foobarbaz.mydomain\" = \". Generate a unique *.try.coder.app URL by not specifying an access URL.\\r\\n \\r\\r\\n \\r\\nView the Web UI: https://foobarbaz.mydomain\"\n"} +{"Time":"2023-03-29T13:37:33.617702539Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Output":"--- PASS: TestServer/Logging/Human (0.70s)\n"} +{"Time":"2023-03-29T13:37:33.617717314Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Human","Elapsed":0.7} +{"Time":"2023-03-29T13:37:33.617728397Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.346: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.617738582Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"View the Web UI: https://google.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.617745792Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.617755568Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.617: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.617776141Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" server_test.go:238: 2023-03-29 13:37:33.617: cmd: matched \"View the Web UI: https://google.com\" = \"Started HTTP listener at http://[::]:39671\\r\\n \\r\\nView the Web UI: https://google.com\"\n"} +{"Time":"2023-03-29T13:37:33.618700109Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.618: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.618717448Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.618729015Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.618: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.618738942Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.618: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.618748331Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.618: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.618809556Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.618823389Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:33.618833326Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.618840112Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.618: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:33.61884905Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.618: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.618860551Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.618: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.618993236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Output":"--- PASS: TestServer/NoWarningWithRemoteAccessURL (0.72s)\n"} +{"Time":"2023-03-29T13:37:33.620193889Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/NoWarningWithRemoteAccessURL","Elapsed":0.72} +{"Time":"2023-03-29T13:37:33.620216262Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.620558208Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \"Started TLS/HTTPS listener at https://[::]:40599\"\n"} +{"Time":"2023-03-29T13:37:33.62057844Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.620586258Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.620: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.620613734Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:641: 2023-03-29 13:37:33.620: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} +{"Time":"2023-03-29T13:37:33.620652863Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:642: 2023-03-29 13:37:33.620: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.620669386Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" server_test.go:642: 2023-03-29 13:37:33.620: cmd: matched newline = \" https://[::]:40599\"\n"} +{"Time":"2023-03-29T13:37:33.623941782Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:33.634109465Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.634: cmd: \"Started HTTP listener at http://[::]:44615\"\n"} +{"Time":"2023-03-29T13:37:33.6341392Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:634: 2023-03-29 13:37:33.634: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:33.634159059Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:635: 2023-03-29 13:37:33.634: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.634168084Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" server_test.go:635: 2023-03-29 13:37:33.634: cmd: matched newline = \" http://[::]:44615\"\n"} +{"Time":"2023-03-29T13:37:33.639592274Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \"WARN: Address is deprecated, please use HTTP Address and TLS Address instead.\"\n"} +{"Time":"2023-03-29T13:37:33.639622715Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.639633384Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.639: cmd: \"Started TLS/HTTPS listener at https://[::]:44869\"\n"} +{"Time":"2023-03-29T13:37:33.642427153Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \"Started TLS/HTTPS listener at https://[::]:43889\"\n"} +{"Time":"2023-03-29T13:37:33.642448651Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.642456925Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.642: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.642468331Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:641: 2023-03-29 13:37:33.642: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} +{"Time":"2023-03-29T13:37:33.642477804Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:642: 2023-03-29 13:37:33.642: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.642487898Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" server_test.go:642: 2023-03-29 13:37:33.642: cmd: matched newline = \" https://[::]:43889\"\n"} +{"Time":"2023-03-29T13:37:33.646526946Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"Started HTTP listener at http://[::]:33323\"\n"} +{"Time":"2023-03-29T13:37:33.646552176Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"Started TLS/HTTPS listener at https://[::]:36951\"\n"} +{"Time":"2023-03-29T13:37:33.64656429Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.646572476Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.646: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.646580011Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:634: 2023-03-29 13:37:33.646: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:33.646591361Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:635: 2023-03-29 13:37:33.646: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.646616475Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:635: 2023-03-29 13:37:33.646: cmd: matched newline = \" http://[::]:33323\"\n"} +{"Time":"2023-03-29T13:37:33.646662584Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:641: 2023-03-29 13:37:33.646: cmd: matched \"Started TLS/HTTPS listener at\" = \"Started TLS/HTTPS listener at\"\n"} +{"Time":"2023-03-29T13:37:33.646681881Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:642: 2023-03-29 13:37:33.646: cmd: ReadLine ctx has no deadline, using 10s\n"} +{"Time":"2023-03-29T13:37:33.646699362Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" server_test.go:642: 2023-03-29 13:37:33.646: cmd: matched newline = \" https://[::]:36951\"\n"} +{"Time":"2023-03-29T13:37:33.648933788Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_active_users_duration_hour The number of users that have been active within the last hour.\n"} +{"Time":"2023-03-29T13:37:33.648967031Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_active_users_duration_hour gauge\n"} +{"Time":"2023-03-29T13:37:33.648980231Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_concurrent_requests The number of concurrent API requests.\n"} +{"Time":"2023-03-29T13:37:33.649053919Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_concurrent_requests gauge\n"} +{"Time":"2023-03-29T13:37:33.649069592Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_api_concurrent_requests 0\n"} +{"Time":"2023-03-29T13:37:33.649078578Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_concurrent_websockets The total number of concurrent API websockets.\n"} +{"Time":"2023-03-29T13:37:33.64908451Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_concurrent_websockets gauge\n"} +{"Time":"2023-03-29T13:37:33.64908947Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_api_concurrent_websockets 0\n"} +{"Time":"2023-03-29T13:37:33.649096688Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_api_workspace_latest_build_total The latest workspace builds with a status.\n"} +{"Time":"2023-03-29T13:37:33.649103792Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_api_workspace_latest_build_total gauge\n"} +{"Time":"2023-03-29T13:37:33.649110998Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_authz_authorize_duration_seconds Duration of the 'Authorize' call in seconds. Only counts calls that succeed.\n"} +{"Time":"2023-03-29T13:37:33.649125082Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_authz_authorize_duration_seconds histogram\n"} +{"Time":"2023-03-29T13:37:33.649136372Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.0005\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649158836Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.001\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649167411Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.002\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649174438Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.003\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649184378Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.005\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649205265Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.01\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649213251Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.02\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649222908Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.035\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649235415Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.05\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649253778Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.075\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649261752Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.1\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649271274Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.25\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649292314Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"0.75\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649300333Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"1\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649310057Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_bucket{allowed=\"true\",le=\"+Inf\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649320729Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_sum{allowed=\"true\"} 0.002876051\n"} +{"Time":"2023-03-29T13:37:33.649345041Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_authorize_duration_seconds_count{allowed=\"true\"} 2\n"} +{"Time":"2023-03-29T13:37:33.649356377Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP coderd_authz_prepare_authorize_duration_seconds Duration of the 'PrepareAuthorize' call in seconds.\n"} +{"Time":"2023-03-29T13:37:33.649363746Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE coderd_authz_prepare_authorize_duration_seconds histogram\n"} +{"Time":"2023-03-29T13:37:33.649370497Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.0005\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649391953Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.001\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649399779Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.002\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649410888Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.003\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649428841Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.005\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649438526Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.01\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649445746Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.02\"} 0\n"} +{"Time":"2023-03-29T13:37:33.64947999Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.035\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649486523Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.05\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649643599Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.075\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649652811Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.1\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649659776Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.25\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649677202Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"0.75\"} 0\n"} +{"Time":"2023-03-29T13:37:33.649684812Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"1\"} 0\n"} +{"Time":"2023-03-29T13:37:33.64970109Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_bucket{le=\"+Inf\"} 0\n"} +{"Time":"2023-03-29T13:37:33.64971819Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_sum 0\n"} +{"Time":"2023-03-29T13:37:33.649725513Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned coderd_authz_prepare_authorize_duration_seconds_count 0\n"} +{"Time":"2023-03-29T13:37:33.649741363Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.\n"} +{"Time":"2023-03-29T13:37:33.649751815Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_gc_duration_seconds summary\n"} +{"Time":"2023-03-29T13:37:33.649770366Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0\"} 1.6651e-05\n"} +{"Time":"2023-03-29T13:37:33.649779436Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.25\"} 3.0073e-05\n"} +{"Time":"2023-03-29T13:37:33.649795479Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.5\"} 3.3851e-05\n"} +{"Time":"2023-03-29T13:37:33.649803042Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"0.75\"} 5.0874e-05\n"} +{"Time":"2023-03-29T13:37:33.649822842Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds{quantile=\"1\"} 0.000164674\n"} +{"Time":"2023-03-29T13:37:33.649830516Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds_sum 0.000461803\n"} +{"Time":"2023-03-29T13:37:33.64984149Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_gc_duration_seconds_count 9\n"} +{"Time":"2023-03-29T13:37:33.649859074Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_goroutines Number of goroutines that currently exist.\n"} +{"Time":"2023-03-29T13:37:33.649876364Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_goroutines gauge\n"} +{"Time":"2023-03-29T13:37:33.649883909Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_goroutines 400\n"} +{"Time":"2023-03-29T13:37:33.649893852Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_info Information about the Go environment.\n"} +{"Time":"2023-03-29T13:37:33.649915539Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_info gauge\n"} +{"Time":"2023-03-29T13:37:33.649923065Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_info{version=\"go1.20\"} 1\n"} +{"Time":"2023-03-29T13:37:33.649934513Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.\n"} +{"Time":"2023-03-29T13:37:33.64994537Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_alloc_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.649964236Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_alloc_bytes 4.4139992e+07\n"} +{"Time":"2023-03-29T13:37:33.649974501Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.\n"} +{"Time":"2023-03-29T13:37:33.649985399Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_alloc_bytes_total counter\n"} +{"Time":"2023-03-29T13:37:33.650002195Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_alloc_bytes_total 1.07033304e+08\n"} +{"Time":"2023-03-29T13:37:33.650019066Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.\n"} +{"Time":"2023-03-29T13:37:33.650026662Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_buck_hash_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650037208Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_buck_hash_sys_bytes 1.487772e+06\n"} +{"Time":"2023-03-29T13:37:33.650056379Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_frees_total Total number of frees.\n"} +{"Time":"2023-03-29T13:37:33.650063678Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_frees_total counter\n"} +{"Time":"2023-03-29T13:37:33.650079718Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_frees_total 341416\n"} +{"Time":"2023-03-29T13:37:33.650087192Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.\n"} +{"Time":"2023-03-29T13:37:33.65010648Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_gc_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650113893Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_gc_sys_bytes 9.376592e+06\n"} +{"Time":"2023-03-29T13:37:33.650132561Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.\n"} +{"Time":"2023-03-29T13:37:33.650140278Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_alloc_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650152649Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_alloc_bytes 4.4139992e+07\n"} +{"Time":"2023-03-29T13:37:33.650314526Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.\n"} +{"Time":"2023-03-29T13:37:33.650323426Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_idle_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650332952Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_idle_bytes 4.481024e+06\n"} +{"Time":"2023-03-29T13:37:33.65035073Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.\n"} +{"Time":"2023-03-29T13:37:33.650358078Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_inuse_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650374519Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_inuse_bytes 4.6473216e+07\n"} +{"Time":"2023-03-29T13:37:33.650392405Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_objects Number of allocated objects.\n"} +{"Time":"2023-03-29T13:37:33.650400167Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_objects gauge\n"} +{"Time":"2023-03-29T13:37:33.650411Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_objects 198877\n"} +{"Time":"2023-03-29T13:37:33.650427198Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.\n"} +{"Time":"2023-03-29T13:37:33.650443875Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_released_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.6504512Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_released_bytes 172032\n"} +{"Time":"2023-03-29T13:37:33.650466769Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.\n"} +{"Time":"2023-03-29T13:37:33.650476593Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_heap_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650493555Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_heap_sys_bytes 5.095424e+07\n"} +{"Time":"2023-03-29T13:37:33.650501064Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.\n"} +{"Time":"2023-03-29T13:37:33.650517983Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_last_gc_time_seconds gauge\n"} +{"Time":"2023-03-29T13:37:33.650530998Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_last_gc_time_seconds 1.680097053302355e+09\n"} +{"Time":"2023-03-29T13:37:33.65054228Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_lookups_total Total number of pointer lookups.\n"} +{"Time":"2023-03-29T13:37:33.650552934Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_lookups_total counter\n"} +{"Time":"2023-03-29T13:37:33.650563901Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_lookups_total 0\n"} +{"Time":"2023-03-29T13:37:33.650584173Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mallocs_total Total number of mallocs.\n"} +{"Time":"2023-03-29T13:37:33.650591833Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mallocs_total counter\n"} +{"Time":"2023-03-29T13:37:33.650607986Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mallocs_total 540293\n"} +{"Time":"2023-03-29T13:37:33.650615529Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.\n"} +{"Time":"2023-03-29T13:37:33.650641182Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mcache_inuse_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650649185Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mcache_inuse_bytes 1200\n"} +{"Time":"2023-03-29T13:37:33.650655792Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.\n"} +{"Time":"2023-03-29T13:37:33.650675584Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mcache_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650682964Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mcache_sys_bytes 15600\n"} +{"Time":"2023-03-29T13:37:33.650699492Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.\n"} +{"Time":"2023-03-29T13:37:33.65070695Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mspan_inuse_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650725284Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mspan_inuse_bytes 415680\n"} +{"Time":"2023-03-29T13:37:33.650732919Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.\n"} +{"Time":"2023-03-29T13:37:33.650742233Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_mspan_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650753796Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_mspan_sys_bytes 440640\n"} +{"Time":"2023-03-29T13:37:33.650773086Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.\n"} +{"Time":"2023-03-29T13:37:33.650780844Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_next_gc_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650791619Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_next_gc_bytes 5.744056e+07\n"} +{"Time":"2023-03-29T13:37:33.650939729Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.\n"} +{"Time":"2023-03-29T13:37:33.650948462Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_other_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650960125Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_other_sys_bytes 407532\n"} +{"Time":"2023-03-29T13:37:33.65097098Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.\n"} +{"Time":"2023-03-29T13:37:33.650989112Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_stack_inuse_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.650999328Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_stack_inuse_bytes 3.506176e+06\n"} +{"Time":"2023-03-29T13:37:33.651015975Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.\n"} +{"Time":"2023-03-29T13:37:33.651023745Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_stack_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.651042622Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_stack_sys_bytes 3.506176e+06\n"} +{"Time":"2023-03-29T13:37:33.651050141Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_memstats_sys_bytes Number of bytes obtained from system.\n"} +{"Time":"2023-03-29T13:37:33.651066559Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_memstats_sys_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.65107676Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_memstats_sys_bytes 6.6188552e+07\n"} +{"Time":"2023-03-29T13:37:33.651096334Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP go_threads Number of OS threads created.\n"} +{"Time":"2023-03-29T13:37:33.651104041Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE go_threads gauge\n"} +{"Time":"2023-03-29T13:37:33.651114838Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned go_threads 11\n"} +{"Time":"2023-03-29T13:37:33.651133818Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.\n"} +{"Time":"2023-03-29T13:37:33.651141836Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_cpu_seconds_total counter\n"} +{"Time":"2023-03-29T13:37:33.651152615Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_cpu_seconds_total 0.47\n"} +{"Time":"2023-03-29T13:37:33.651169215Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_max_fds Maximum number of open file descriptors.\n"} +{"Time":"2023-03-29T13:37:33.651188139Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_max_fds gauge\n"} +{"Time":"2023-03-29T13:37:33.651196288Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_max_fds 1.048576e+06\n"} +{"Time":"2023-03-29T13:37:33.651207299Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_open_fds Number of open file descriptors.\n"} +{"Time":"2023-03-29T13:37:33.651218057Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_open_fds gauge\n"} +{"Time":"2023-03-29T13:37:33.651236861Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_open_fds 144\n"} +{"Time":"2023-03-29T13:37:33.651248494Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_resident_memory_bytes Resident memory size in bytes.\n"} +{"Time":"2023-03-29T13:37:33.651257364Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_resident_memory_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.651280196Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_resident_memory_bytes 1.14364416e+08\n"} +{"Time":"2023-03-29T13:37:33.65128834Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_start_time_seconds Start time of the process since unix epoch in seconds.\n"} +{"Time":"2023-03-29T13:37:33.651296824Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_start_time_seconds gauge\n"} +{"Time":"2023-03-29T13:37:33.651307674Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_start_time_seconds 1.68009705209e+09\n"} +{"Time":"2023-03-29T13:37:33.651326547Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_virtual_memory_bytes Virtual memory size in bytes.\n"} +{"Time":"2023-03-29T13:37:33.651334348Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_virtual_memory_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.651345305Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_virtual_memory_bytes 1.4835712e+09\n"} +{"Time":"2023-03-29T13:37:33.651361504Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.\n"} +{"Time":"2023-03-29T13:37:33.651378854Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE process_virtual_memory_max_bytes gauge\n"} +{"Time":"2023-03-29T13:37:33.651386339Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned process_virtual_memory_max_bytes 1.8446744073709552e+19\n"} +{"Time":"2023-03-29T13:37:33.651397458Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.\n"} +{"Time":"2023-03-29T13:37:33.65149956Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE promhttp_metric_handler_requests_in_flight gauge\n"} +{"Time":"2023-03-29T13:37:33.65150712Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_in_flight 1\n"} +{"Time":"2023-03-29T13:37:33.651512875Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.\n"} +{"Time":"2023-03-29T13:37:33.651517405Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned # TYPE promhttp_metric_handler_requests_total counter\n"} +{"Time":"2023-03-29T13:37:33.651608377Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"200\"} 0\n"} +{"Time":"2023-03-29T13:37:33.651617771Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"500\"} 0\n"} +{"Time":"2023-03-29T13:37:33.651624722Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" server_test.go:981: scanned promhttp_metric_handler_requests_total{code=\"503\"} 0\n"} +{"Time":"2023-03-29T13:37:33.653302095Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.687811194Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.68784324Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.687847743Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.687859388Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.687: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.69314768Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" server_test.go:829: 2023-03-29 13:37:33.690: cmd: matched \"is deprecated\" = \"WARN: Address is deprecated\"\n"} +{"Time":"2023-03-29T13:37:33.699837388Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.700125946Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.700416667Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.701833349Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Output":"--- PASS: TestServer/RateLimit/Default (0.85s)\n"} +{"Time":"2023-03-29T13:37:33.792395824Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Default","Elapsed":0.85} +{"Time":"2023-03-29T13:37:33.792432021Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.792443805Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.796165422Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:83: 2023-03-29 13:37:33.795: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.796198633Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.796: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.797173408Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.797427041Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.79757722Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.797913033Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.797928952Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.803483718Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.803533703Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.803541349Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.803549183Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.80355496Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.803560722Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.803565907Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:33.803571719Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.803577128Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:33.803582995Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:121: 2023-03-29 13:37:33.799: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.803588238Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:110: 2023-03-29 13:37:33.799: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.803593211Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:111: 2023-03-29 13:37:33.799: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.803598107Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:113: 2023-03-29 13:37:33.799: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.807382663Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.807: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.807425699Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:33.807: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.812449918Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.812479278Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.81249279Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.812540743Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.812: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.81937956Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.819501503Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.819: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:33.819519256Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.819527309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:74: 2023-03-29 13:37:33.819: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:33.819534022Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:76: 2023-03-29 13:37:33.819: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:33.819605916Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":" ptytest.go:102: 2023-03-29 13:37:33.819: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:33.819682321Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Output":"--- PASS: TestServer/RemoteAccessURL (0.92s)\n"} +{"Time":"2023-03-29T13:37:33.819757496Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RemoteAccessURL","Elapsed":0.92} +{"Time":"2023-03-29T13:37:33.819772079Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.819781749Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \"View the Web UI: https://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:33.819797518Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:33.819813792Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:33.819: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:33.851914311Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.85194979Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.852148613Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Output":"--- PASS: TestServer/Prometheus (1.00s)\n"} +{"Time":"2023-03-29T13:37:33.855235903Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Prometheus","Elapsed":1} +{"Time":"2023-03-29T13:37:33.855263447Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.855284404Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.855351311Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.85648797Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Output":"--- PASS: TestServer/GitHubOAuth (1.01s)\n"} +{"Time":"2023-03-29T13:37:33.898898347Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/GitHubOAuth","Elapsed":1.01} +{"Time":"2023-03-29T13:37:33.898943644Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.898966965Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.899910542Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.899951915Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:33.899979591Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:33.931576217Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.931632315Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.932359012Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Output":"--- PASS: TestServer/RateLimit/Disabled (1.02s)\n"} +{"Time":"2023-03-29T13:37:33.932605839Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Disabled","Elapsed":1.02} +{"Time":"2023-03-29T13:37:33.932638521Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:33.944423479Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.944456273Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.944471028Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.944486505Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.944506728Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.944: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.948894392Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:33.949085454Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Output":"--- PASS: TestServer/Telemetry (1.09s)\n"} +{"Time":"2023-03-29T13:37:33.973592223Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Telemetry","Elapsed":1.09} +{"Time":"2023-03-29T13:37:33.973627583Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:33.982109361Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Output":"--- PASS: TestServer/TLSValid (1.09s)\n"} +{"Time":"2023-03-29T13:37:33.982145968Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValid","Elapsed":1.09} +{"Time":"2023-03-29T13:37:33.982166462Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:83: 2023-03-29 13:37:33.982: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:33.982185903Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:33.982: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:33.983908041Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:33.983932298Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.983950164Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:33.983971383Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:121: 2023-03-29 13:37:33.983: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.983987252Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:110: 2023-03-29 13:37:33.983: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.984001811Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:111: 2023-03-29 13:37:33.983: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:33.984029981Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:113: 2023-03-29 13:37:33.983: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:33.999767444Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:33.999792066Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:33.999806103Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:33.999825199Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:33.999838052Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:33.999: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.000132942Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:34.000152725Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:34.013522575Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.013539719Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.013: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.013545396Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.013549166Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.013: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.013552799Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.013: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.013557098Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":" ptytest.go:102: 2023-03-29 13:37:34.013: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.013685528Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Output":"--- PASS: TestServer/DeprecatedAddress/HTTP (1.01s)\n"} +{"Time":"2023-03-29T13:37:34.024907745Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/HTTP","Elapsed":1.01} +{"Time":"2023-03-29T13:37:34.024925201Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:83: 2023-03-29 13:37:34.024: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.024929754Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.024: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.037436741Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:34.046649783Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.04666228Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.046671065Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.046674499Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:121: 2023-03-29 13:37:34.046: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.046678741Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:110: 2023-03-29 13:37:34.046: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.046682976Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:111: 2023-03-29 13:37:34.046: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.046687631Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:113: 2023-03-29 13:37:34.046: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.048234545Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:34.048465929Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.048473751Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.048: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.04848652Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.048494431Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:74: 2023-03-29 13:37:34.048: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.0485018Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:76: 2023-03-29 13:37:34.048: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.048515549Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":" ptytest.go:102: 2023-03-29 13:37:34.048: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.048685756Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Output":"--- PASS: TestServer/TLSRedirect/NoRedirectWithWildcard (0.47s)\n"} +{"Time":"2023-03-29T13:37:34.049232577Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirectWithWildcard","Elapsed":0.47} +{"Time":"2023-03-29T13:37:34.049241005Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:34.049926527Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Output":"--- PASS: TestServer/RateLimit/Changed (1.07s)\n"} +{"Time":"2023-03-29T13:37:34.049934686Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit/Changed","Elapsed":1.07} +{"Time":"2023-03-29T13:37:34.049940803Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit","Output":"--- PASS: TestServer/RateLimit (0.00s)\n"} +{"Time":"2023-03-29T13:37:34.050192839Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/RateLimit","Elapsed":0} +{"Time":"2023-03-29T13:37:34.05020025Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.050204931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.050237731Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.050243867Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.05027121Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:83: 2023-03-29 13:37:34.050: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.050278957Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.050: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.051736931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.05174611Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.051751453Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.051758881Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.051780431Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.05178826Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.051870799Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.051881957Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.051887542Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.05189248Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:110: 2023-03-29 13:37:34.051: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.05189708Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:111: 2023-03-29 13:37:34.051: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.05190198Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:113: 2023-03-29 13:37:34.051: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.051911515Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.051922383Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.051927984Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.051938866Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.051946554Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.051962503Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.051971415Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.0519782Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.051987362Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.051: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.052007059Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:110: 2023-03-29 13:37:34.051: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.052015346Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:111: 2023-03-29 13:37:34.052: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.052021784Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:113: 2023-03-29 13:37:34.052: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.052400141Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.052410137Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.052420866Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.052427625Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.052440372Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.052448298Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.052457892Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.052465595Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.052483713Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:121: 2023-03-29 13:37:34.052: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.052491345Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:110: 2023-03-29 13:37:34.052: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.052498064Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:111: 2023-03-29 13:37:34.052: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.052506921Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:113: 2023-03-29 13:37:34.052: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.078632301Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.07865445Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.078658395Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.078664194Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.078667573Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.078670569Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":" ptytest.go:102: 2023-03-29 13:37:34.078: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.078838607Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Output":"--- PASS: TestServer/TLSRedirect/OK (1.06s)\n"} +{"Time":"2023-03-29T13:37:34.078885902Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/OK","Elapsed":1.06} +{"Time":"2023-03-29T13:37:34.078892321Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.078897167Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.078901364Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.078912845Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.078: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.078917725Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.078: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.07894293Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":" ptytest.go:102: 2023-03-29 13:37:34.078: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.079092731Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Output":"--- PASS: TestServer/TLSRedirect/NoHTTPListener (0.62s)\n"} +{"Time":"2023-03-29T13:37:34.079144047Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoHTTPListener","Elapsed":0.62} +{"Time":"2023-03-29T13:37:34.079152217Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.079158662Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.079: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.079162915Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.079168988Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:74: 2023-03-29 13:37:34.079: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.079178829Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:76: 2023-03-29 13:37:34.079: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.079196269Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":" ptytest.go:102: 2023-03-29 13:37:34.079: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.079336643Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Output":"--- PASS: TestServer/TLSRedirect/NoTLSListener (0.59s)\n"} +{"Time":"2023-03-29T13:37:34.091089368Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoTLSListener","Elapsed":0.59} +{"Time":"2023-03-29T13:37:34.091112345Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:83: 2023-03-29 13:37:34.091: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.091119428Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.091: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.115772917Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.115801947Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.11581297Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.115819506Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.115824758Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.115830066Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.11583724Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.115844144Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.115860103Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.115888103Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:110: 2023-03-29 13:37:34.115: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.115903904Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:111: 2023-03-29 13:37:34.115: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.115919206Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:113: 2023-03-29 13:37:34.115: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.115976431Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.115986313Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.115997881Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.11602101Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.115: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.116029108Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:121: 2023-03-29 13:37:34.116: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.116476692Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.116491796Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.116: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.116497774Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.116504918Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:74: 2023-03-29 13:37:34.116: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.1165175Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:76: 2023-03-29 13:37:34.116: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.116539123Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":" ptytest.go:102: 2023-03-29 13:37:34.116: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.116717402Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Output":"--- PASS: TestServer/TLSAndHTTP (1.24s)\n"} +{"Time":"2023-03-29T13:37:34.117404728Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSAndHTTP","Elapsed":1.24} +{"Time":"2023-03-29T13:37:34.117418357Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:83: 2023-03-29 13:37:34.117: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.117441857Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.117475322Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:110: 2023-03-29 13:37:34.117: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.117484444Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:111: 2023-03-29 13:37:34.117: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.117494423Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:113: 2023-03-29 13:37:34.117: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.11754208Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.117551844Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.117570608Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.117578465Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.117597311Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:76: 2023-03-29 13:37:34.117: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.117616074Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":" ptytest.go:102: 2023-03-29 13:37:34.117: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.11776518Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Output":"--- PASS: TestServer/DeprecatedAddress/TLS (0.50s)\n"} +{"Time":"2023-03-29T13:37:34.117776019Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress/TLS","Elapsed":0.5} +{"Time":"2023-03-29T13:37:34.117782763Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress","Output":"--- PASS: TestServer/DeprecatedAddress (0.06s)\n"} +{"Time":"2023-03-29T13:37:34.117841805Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/DeprecatedAddress","Elapsed":0.06} +{"Time":"2023-03-29T13:37:34.117849931Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:83: 2023-03-29 13:37:34.117: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.117859828Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.117: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.118127485Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:83: 2023-03-29 13:37:34.118: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:34.118138813Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:34.118170526Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:110: 2023-03-29 13:37:34.118: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.11817918Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:111: 2023-03-29 13:37:34.118: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.118194579Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:113: 2023-03-29 13:37:34.118: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.11825734Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.118277979Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.118286381Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.118291513Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:74: 2023-03-29 13:37:34.118: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.118295899Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:76: 2023-03-29 13:37:34.118: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.11830286Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":" ptytest.go:102: 2023-03-29 13:37:34.118: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.118448813Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Output":"--- PASS: TestServer/TLSValidMultiple (1.23s)\n"} +{"Time":"2023-03-29T13:37:34.118485143Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSValidMultiple","Elapsed":1.23} +{"Time":"2023-03-29T13:37:34.118492964Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:34.118500337Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:34.118505085Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.118511668Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:34.118536832Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.118542137Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:34.118548654Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.118562305Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:34.118568736Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:121: 2023-03-29 13:37:34.118: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:34.1185733Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:110: 2023-03-29 13:37:34.118: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.118577677Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:111: 2023-03-29 13:37:34.118: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:34.118583972Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:113: 2023-03-29 13:37:34.118: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:34.347394026Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.347481519Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.347: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:34.347503045Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.347521875Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:74: 2023-03-29 13:37:34.347: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:34.347538956Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:76: 2023-03-29 13:37:34.347: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:34.347563965Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":" ptytest.go:102: 2023-03-29 13:37:34.347: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:34.347597239Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Output":"--- PASS: TestServer/TLSRedirect/NoRedirect (0.77s)\n"} +{"Time":"2023-03-29T13:37:34.347618369Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect/NoRedirect","Elapsed":0.77} +{"Time":"2023-03-29T13:37:34.347639094Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect","Output":"--- PASS: TestServer/TLSRedirect (0.05s)\n"} +{"Time":"2023-03-29T13:37:37.495996215Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/TLSRedirect","Elapsed":0.05} +{"Time":"2023-03-29T13:37:37.496041088Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Started HTTP listener at http://[::]:42403\n"} +{"Time":"2023-03-29T13:37:37.497561163Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: View the Web UI: http://example.com\n"} +{"Time":"2023-03-29T13:37:37.854158017Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: ==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\n"} +{"Time":"2023-03-29T13:37:37.871207973Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: \u001b[1mInterrupt caught, gracefully exiting. Use ctrl+\\ to force quit\u001b[0m\n"} +{"Time":"2023-03-29T13:37:37.871239014Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Shutting down API server...\n"} +{"Time":"2023-03-29T13:37:37.871296925Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Gracefully shut down API server\n"} +{"Time":"2023-03-29T13:37:37.871384307Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Waiting for WebSocket connections to close...\n"} +{"Time":"2023-03-29T13:37:37.871872118Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Done waiting for WebSocket connections\n"} +{"Time":"2023-03-29T13:37:37.872659674Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Stopping built-in PostgreSQL...\n"} +{"Time":"2023-03-29T13:37:37.974547475Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":" clitest.go:50: stdout: Stopped built-in PostgreSQL\n"} +{"Time":"2023-03-29T13:37:38.01812179Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Output":"--- PASS: TestServer/BuiltinPostgres (5.17s)\n"} +{"Time":"2023-03-29T13:37:46.072262917Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/BuiltinPostgres","Elapsed":5.17} +{"Time":"2023-03-29T13:37:46.072311252Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"Started HTTP listener at http://[::]:35645\"\n"} +{"Time":"2023-03-29T13:37:46.072335279Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"WARN: The access URL http://example.com could not be resolved, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL by not specifying an access URL.\"\n"} +{"Time":"2023-03-29T13:37:46.07241558Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.072459905Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:46.07251014Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.072: cmd: \"View the Web UI: http://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:46.072679873Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" server_test.go:1240: 2023-03-29 13:37:46.072: cmd: matched \"Started HTTP listener at\" = \"Started HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:46.078543671Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:46.078573522Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:46.07859364Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:46.07861453Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"ERROR: Unexpected error, shutting down server: context deadline exceeded\"\n"} +{"Time":"2023-03-29T13:37:46.078631014Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078647037Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:46.078658003Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078668373Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:46.078678662Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078702364Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 3...\"\n"} +{"Time":"2023-03-29T13:37:46.078719655Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078730465Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 3\"\n"} +{"Time":"2023-03-29T13:37:46.078744589Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078763734Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 1...\"\n"} +{"Time":"2023-03-29T13:37:46.07878276Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078801865Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 1\"\n"} +{"Time":"2023-03-29T13:37:46.07881665Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.078826759Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Shutting down provisioner daemon 2...\"\n"} +{"Time":"2023-03-29T13:37:46.078840612Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.07885439Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \"Gracefully shut down provisioner daemon 2\"\n"} +{"Time":"2023-03-29T13:37:46.07887537Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.078: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.081392321Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:46.081408574Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.081421854Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:46.081431192Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:46.081449657Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:121: 2023-03-29 13:37:46.081: cmd: \"WARN: Graceful shutdown timed out\\r\"\n"} +{"Time":"2023-03-29T13:37:46.14910839Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:83: 2023-03-29 13:37:46.149: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:46.149142371Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:46.149157567Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:110: 2023-03-29 13:37:46.149: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:46.149166448Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:111: 2023-03-29 13:37:46.149: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:46.149175898Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:113: 2023-03-29 13:37:46.149: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:46.149187205Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:46.14919623Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:46.149207373Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:46.149215685Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:74: 2023-03-29 13:37:46.149: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:46.149223347Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:76: 2023-03-29 13:37:46.149: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:46.149234369Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":" ptytest.go:102: 2023-03-29 13:37:46.149: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:46.149426722Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Output":"--- PASS: TestServer/Logging/Multiple (13.24s)\n"} +{"Time":"2023-03-29T13:37:59.1117031Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Multiple","Elapsed":13.24} +{"Time":"2023-03-29T13:37:59.111755068Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.111: cmd: \"2023-03-29 13:37:59.110 [DEBUG]\\t\u003cgithub.com/coder/coder/v2/cli/server.go:260\u003e\\t(*RootCmd).Server.func1\\tstarted debug logging\"\n"} +{"Time":"2023-03-29T13:37:59.111775176Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.111: cmd: \"Started HTTP listener at http://[::]:40007\"\n"} +{"Time":"2023-03-29T13:37:59.111795675Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" server_test.go:1204: 2023-03-29 13:37:59.111: cmd: matched \"Started HTTP listener at\" = \"2023-03-29 13:37:59.110 [DEBUG]\\t\u003cgithub.com/coder/coder/v2/cli/server.go:260\u003e\\t(*RootCmd).Server.func1\\tstarted debug logging\\r\\nStarted HTTP listener at\"\n"} +{"Time":"2023-03-29T13:37:59.123488003Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:59.123536759Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \"View the Web UI: http://example.com\\r\"\n"} +{"Time":"2023-03-29T13:37:59.123550652Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \" \"\n"} +{"Time":"2023-03-29T13:37:59.123559998Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.123: cmd: \"==\u003e Logs will stream in below (press ctrl+c to gracefully exit):\\r\"\n"} +{"Time":"2023-03-29T13:37:59.144165093Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.123 [DEBUG]\\t(coderd.metrics_cache)\\t\u003cgithub.com/coder/coder/v2/coderd/metricscache/metricscache.go:272\u003e\\t(*Cache).run\\tdeployment stats metrics refreshed\\t{\\\"took\\\": \\\"20.37µs\\\", \\\"interval\\\": \\\"30s\\\"}\"\n"} +{"Time":"2023-03-29T13:37:59.144212142Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} +{"Time":"2023-03-29T13:37:59.1442281Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} +{"Time":"2023-03-29T13:37:59.14427036Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.139 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:200\u003e\\t(*Server).connect\\tconnected\"\n"} +{"Time":"2023-03-29T13:37:59.14428344Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.143 [DEBUG]\\t(coderd.metrics_cache)\\t\u003cgithub.com/coder/coder/v2/coderd/metricscache/metricscache.go:272\u003e\\t(*Cache).run\\ttemplate daus metrics refreshed\\t{\\\"took\\\": \\\"3.61474ms\\\", \\\"interval\\\": \\\"1h0m0s\\\"}\"\n"} +{"Time":"2023-03-29T13:37:59.14429578Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Interrupt caught, gracefully exiting. Use ctrl+\\\\ to force quit\"\n"} +{"Time":"2023-03-29T13:37:59.14430588Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down API server...\"\n"} +{"Time":"2023-03-29T13:37:59.144315009Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144324164Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down API server\"\n"} +{"Time":"2023-03-29T13:37:59.144339556Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144624294Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 1...\"\n"} +{"Time":"2023-03-29T13:37:59.144639861Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.14465833Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} +{"Time":"2023-03-29T13:37:59.14468626Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 1\"\n"} +{"Time":"2023-03-29T13:37:59.144695878Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144705145Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 2...\"\n"} +{"Time":"2023-03-29T13:37:59.144718072Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144727731Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} +{"Time":"2023-03-29T13:37:59.144750279Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 2\"\n"} +{"Time":"2023-03-29T13:37:59.144764838Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.14477793Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Shutting down provisioner daemon 3...\"\n"} +{"Time":"2023-03-29T13:37:59.144787313Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144797136Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"2023-03-29 13:37:59.144 [DEBUG]\\t\u003cgithub.com/coder/coder/provisionerd/provisionerd.go:553\u003e\\t(*Server).closeWithError\\tclosing server with error\\t{\\\"error\\\": null}\"\n"} +{"Time":"2023-03-29T13:37:59.144810893Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Gracefully shut down provisioner daemon 3\"\n"} +{"Time":"2023-03-29T13:37:59.144821417Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144842079Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Waiting for WebSocket connections to close...\"\n"} +{"Time":"2023-03-29T13:37:59.144855916Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.144867744Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \"Done waiting for WebSocket connections\"\n"} +{"Time":"2023-03-29T13:37:59.14488065Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:121: 2023-03-29 13:37:59.144: cmd: \" \\r\"\n"} +{"Time":"2023-03-29T13:37:59.146012139Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:83: 2023-03-29 13:37:59.145: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:37:59.146025303Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.145: cmd: closing pty\n"} +{"Time":"2023-03-29T13:37:59.14606956Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:110: 2023-03-29 13:37:59.146: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:59.146083103Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:111: 2023-03-29 13:37:59.146: cmd: closing out\n"} +{"Time":"2023-03-29T13:37:59.146095911Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:113: 2023-03-29 13:37:59.146: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:37:59.146143558Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:59.146156843Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.146: cmd: closing logw\n"} +{"Time":"2023-03-29T13:37:59.146169893Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:59.146182763Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:74: 2023-03-29 13:37:59.146: cmd: closing logr\n"} +{"Time":"2023-03-29T13:37:59.146191645Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:76: 2023-03-29 13:37:59.146: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:37:59.146205122Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":" ptytest.go:102: 2023-03-29 13:37:59.146: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:37:59.146368404Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Output":"--- PASS: TestServer/Logging/Stackdriver (26.23s)\n"} +{"Time":"2023-03-29T13:37:59.146391543Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging/Stackdriver","Elapsed":26.23} +{"Time":"2023-03-29T13:37:59.146412558Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging","Output":"--- PASS: TestServer/Logging (0.00s)\n"} +{"Time":"2023-03-29T13:37:59.146438143Z","Action":"pass","Package":"github.com/coder/coder/v2/cli","Test":"TestServer/Logging","Elapsed":0} +{"Time":"2023-03-29T13:37:59.1464552Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Test":"TestServer","Output":"--- FAIL: TestServer (0.05s)\n"} +{"Time":"2023-03-29T13:37:59.146474821Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Test":"TestServer","Elapsed":0.05} +{"Time":"2023-03-29T13:37:59.146491309Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Output":"FAIL\n"} +{"Time":"2023-03-29T13:37:59.158021068Z","Action":"output","Package":"github.com/coder/coder/v2/cli","Output":"FAIL\tgithub.com/coder/coder/v2/cli\t26.514s\n"} +{"Time":"2023-03-29T13:37:59.158054855Z","Action":"fail","Package":"github.com/coder/coder/v2/cli","Elapsed":26.514} +{"Time":"2023-03-29T13:38:02.724238056Z","Action":"start","Package":"github.com/coder/coder/v2/cli/cliui"} +{"Time":"2023-03-29T13:38:02.754440648Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth"} +{"Time":"2023-03-29T13:38:02.75448054Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":"=== RUN TestGitAuth\n"} +{"Time":"2023-03-29T13:38:02.754486705Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":"=== PAUSE TestGitAuth\n"} +{"Time":"2023-03-29T13:38:02.754490044Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth"} +{"Time":"2023-03-29T13:38:02.754493443Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt"} +{"Time":"2023-03-29T13:38:02.754496272Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt","Output":"=== RUN TestPrompt\n"} +{"Time":"2023-03-29T13:38:02.754504892Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt","Output":"=== PAUSE TestPrompt\n"} +{"Time":"2023-03-29T13:38:02.754507539Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt"} +{"Time":"2023-03-29T13:38:02.754510534Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth"} +{"Time":"2023-03-29T13:38:02.754514471Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":"=== CONT TestGitAuth\n"} +{"Time":"2023-03-29T13:38:02.754642422Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt"} +{"Time":"2023-03-29T13:38:02.754653067Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt","Output":"=== CONT TestPrompt\n"} +{"Time":"2023-03-29T13:38:02.754658206Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success"} +{"Time":"2023-03-29T13:38:02.754660941Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":"=== RUN TestPrompt/Success\n"} +{"Time":"2023-03-29T13:38:02.754664503Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":"=== PAUSE TestPrompt/Success\n"} +{"Time":"2023-03-29T13:38:02.754666941Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success"} +{"Time":"2023-03-29T13:38:02.754671476Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm"} +{"Time":"2023-03-29T13:38:02.754673908Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== RUN TestPrompt/Confirm\n"} +{"Time":"2023-03-29T13:38:02.754676919Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== PAUSE TestPrompt/Confirm\n"} +{"Time":"2023-03-29T13:38:02.754683157Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm"} +{"Time":"2023-03-29T13:38:02.754688172Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip"} +{"Time":"2023-03-29T13:38:02.754690617Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":"=== RUN TestPrompt/Skip\n"} +{"Time":"2023-03-29T13:38:02.754693754Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":"=== PAUSE TestPrompt/Skip\n"} +{"Time":"2023-03-29T13:38:02.754696128Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip"} +{"Time":"2023-03-29T13:38:02.754700672Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON"} +{"Time":"2023-03-29T13:38:02.754703008Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":"=== RUN TestPrompt/JSON\n"} +{"Time":"2023-03-29T13:38:02.754718094Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":"=== PAUSE TestPrompt/JSON\n"} +{"Time":"2023-03-29T13:38:02.754723349Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON"} +{"Time":"2023-03-29T13:38:02.754728958Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON"} +{"Time":"2023-03-29T13:38:02.754731492Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== RUN TestPrompt/BadJSON\n"} +{"Time":"2023-03-29T13:38:02.754734435Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== PAUSE TestPrompt/BadJSON\n"} +{"Time":"2023-03-29T13:38:02.754736902Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON"} +{"Time":"2023-03-29T13:38:02.754748953Z","Action":"run","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON"} +{"Time":"2023-03-29T13:38:02.754751439Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== RUN TestPrompt/MultilineJSON\n"} +{"Time":"2023-03-29T13:38:02.754755982Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== PAUSE TestPrompt/MultilineJSON\n"} +{"Time":"2023-03-29T13:38:02.754760728Z","Action":"pause","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON"} +{"Time":"2023-03-29T13:38:02.754764892Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success"} +{"Time":"2023-03-29T13:38:02.754767252Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":"=== CONT TestPrompt/Success\n"} +{"Time":"2023-03-29T13:38:02.754976869Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON"} +{"Time":"2023-03-29T13:38:02.754982653Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"=== CONT TestPrompt/MultilineJSON\n"} +{"Time":"2023-03-29T13:38:02.755108229Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON"} +{"Time":"2023-03-29T13:38:02.755113844Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":"=== CONT TestPrompt/BadJSON\n"} +{"Time":"2023-03-29T13:38:02.755212757Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON"} +{"Time":"2023-03-29T13:38:02.755218041Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":"=== CONT TestPrompt/JSON\n"} +{"Time":"2023-03-29T13:38:02.755315155Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip"} +{"Time":"2023-03-29T13:38:02.755318778Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":"=== CONT TestPrompt/Skip\n"} +{"Time":"2023-03-29T13:38:02.755513491Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:83: 2023-03-29 13:38:02.755: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.755529621Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.755: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.755596722Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.755: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.755601928Z","Action":"cont","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm"} +{"Time":"2023-03-29T13:38:02.755604522Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":"=== CONT TestPrompt/Confirm\n"} +{"Time":"2023-03-29T13:38:02.756154509Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:110: 2023-03-29 13:38:02.756: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.756161274Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:111: 2023-03-29 13:38:02.756: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.756179269Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:113: 2023-03-29 13:38:02.756: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.756195571Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.75620977Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.756222494Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.756250235Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.756263435Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:102: 2023-03-29 13:38:02.756: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.75631973Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:83: 2023-03-29 13:38:02.756: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.756334455Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.756398184Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed pty: pty: closed\n"} +{"Time":"2023-03-29T13:38:02.75641208Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.756425561Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.756442572Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:74: 2023-03-29 13:38:02.756: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.756457245Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:76: 2023-03-29 13:38:02.756: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.756473084Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":" ptytest.go:102: 2023-03-29 13:38:02.756: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.756487964Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Output":"--- PASS: TestPrompt/Skip (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.756674486Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Skip","Elapsed":0} +{"Time":"2023-03-29T13:38:02.756683362Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" prompt_test.go:51: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} +{"Time":"2023-03-29T13:38:02.756700414Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" prompt_test.go:52: 2023-03-29 13:38:02.756: cmd: stdin: \"yes\\r\"\n"} +{"Time":"2023-03-29T13:38:02.756759525Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" prompt_test.go:108: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} +{"Time":"2023-03-29T13:38:02.75678767Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" prompt_test.go:109: 2023-03-29 13:38:02.756: cmd: stdin: \"{}\\r\"\n"} +{"Time":"2023-03-29T13:38:02.756838147Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" prompt_test.go:124: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} +{"Time":"2023-03-29T13:38:02.756862647Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" prompt_test.go:125: 2023-03-29 13:38:02.756: cmd: stdin: \"{a\\r\"\n"} +{"Time":"2023-03-29T13:38:02.756932142Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" prompt_test.go:140: 2023-03-29 13:38:02.756: cmd: matched \"Example\" = \"\u003e Example\"\n"} +{"Time":"2023-03-29T13:38:02.756958031Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" prompt_test.go:141: 2023-03-29 13:38:02.756: cmd: stdin: \"{\\n\\\"test\\\": \\\"wow\\\"\\n}\\r\"\n"} +{"Time":"2023-03-29T13:38:02.757013878Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.756: cmd: \"You must authenticate with GitHub to create a workspace with this template. Visit:\"\n"} +{"Time":"2023-03-29T13:38:02.757025551Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} +{"Time":"2023-03-29T13:38:02.757047114Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\thttps://example.com/gitauth/github?redirect=%2Fgitauth%3Fnotify\"\n"} +{"Time":"2023-03-29T13:38:02.757065197Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} +{"Time":"2023-03-29T13:38:02.757096029Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\r\\r⠈⠁ Waiting for Git authentication...\\rSuccessfully authenticated with GitHub!\"\n"} +{"Time":"2023-03-29T13:38:02.757108294Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\"\n"} +{"Time":"2023-03-29T13:38:02.757140128Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:53: 2023-03-29 13:38:02.757: cmd: matched \"You must authenticate with\" = \"You must authenticate with\"\n"} +{"Time":"2023-03-29T13:38:02.757190596Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:54: 2023-03-29 13:38:02.757: cmd: matched \"https://example.com/gitauth/github\" = \" GitHub to create a workspace with this template. Visit:\\r\\n\\r\\n\\thttps://example.com/gitauth/github\"\n"} +{"Time":"2023-03-29T13:38:02.757264811Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" gitauth_test.go:55: 2023-03-29 13:38:02.757: cmd: matched \"Successfully authenticated with GitHub\" = \"?redirect=%2Fgitauth%3Fnotify\\r\\n\\r\\n\\r\\r⠈⠁ Waiting for Git authentication...\\rSuccessfully authenticated with GitHub\"\n"} +{"Time":"2023-03-29T13:38:02.757294284Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:83: 2023-03-29 13:38:02.757: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.757307619Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.757350699Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:110: 2023-03-29 13:38:02.757: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.757369646Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:111: 2023-03-29 13:38:02.757: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.757388269Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:113: 2023-03-29 13:38:02.757: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.757437516Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.7574545Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.757468757Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.757483649Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.757496041Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.757513203Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":" ptytest.go:102: 2023-03-29 13:38:02.757: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.757518992Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Output":"--- PASS: TestGitAuth (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.75757314Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestGitAuth","Elapsed":0} +{"Time":"2023-03-29T13:38:02.757576987Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" prompt_test.go:34: 2023-03-29 13:38:02.757: cmd: matched \"Example\" = \"\u003e Example\"\n"} +{"Time":"2023-03-29T13:38:02.757605985Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" prompt_test.go:35: 2023-03-29 13:38:02.757: cmd: stdin: \"hello\\r\"\n"} +{"Time":"2023-03-29T13:38:02.757679461Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\u003e Example hello\"\n"} +{"Time":"2023-03-29T13:38:02.757731096Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:83: 2023-03-29 13:38:02.757: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.757745488Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.757786052Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:110: 2023-03-29 13:38:02.757: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.757793961Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:111: 2023-03-29 13:38:02.757: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.757809024Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:113: 2023-03-29 13:38:02.757: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.757853587Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.757869751Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.757888281Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.757896143Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:74: 2023-03-29 13:38:02.757: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.757912615Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:76: 2023-03-29 13:38:02.757: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.757929309Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":" ptytest.go:102: 2023-03-29 13:38:02.757: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.757934794Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Output":"--- PASS: TestPrompt/Success (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.757963355Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Success","Elapsed":0} +{"Time":"2023-03-29T13:38:02.757966707Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\u003e Example {\"\n"} +{"Time":"2023-03-29T13:38:02.757981822Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"\\\"test\\\": \\\"wow\\\"\"\n"} +{"Time":"2023-03-29T13:38:02.757994456Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.757: cmd: \"}\"\n"} +{"Time":"2023-03-29T13:38:02.75807554Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.758091845Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.758122927Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758135875Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.758148587Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758193703Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758208689Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.75822251Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758236906Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.758250264Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758266392Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.758271916Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Output":"--- PASS: TestPrompt/MultilineJSON (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.758311206Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/MultilineJSON","Elapsed":0} +{"Time":"2023-03-29T13:38:02.758314623Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example {a\"\n"} +{"Time":"2023-03-29T13:38:02.75836333Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.758378803Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.758418274Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758425803Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.75844102Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758482492Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758498572Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.758513045Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758526569Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.75853994Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758557098Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.758562364Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Output":"--- PASS: TestPrompt/BadJSON (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.758589722Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/BadJSON","Elapsed":0} +{"Time":"2023-03-29T13:38:02.758593068Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example {}\"\n"} +{"Time":"2023-03-29T13:38:02.758640512Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.75865573Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.75868581Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758697594Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:111: 2023-03-29 13:38:02.758: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.758712004Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:113: 2023-03-29 13:38:02.758: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.758753059Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758789238Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.75880265Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758821412Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.758835398Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:76: 2023-03-29 13:38:02.758: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.758851842Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":" ptytest.go:102: 2023-03-29 13:38:02.758: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.758857116Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Output":"--- PASS: TestPrompt/JSON (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.758897163Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/JSON","Elapsed":0} +{"Time":"2023-03-29T13:38:02.758900525Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:121: 2023-03-29 13:38:02.758: cmd: \"\u003e Example (yes/no) yes\"\n"} +{"Time":"2023-03-29T13:38:02.758967291Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:83: 2023-03-29 13:38:02.758: cmd: closing tpty: close\n"} +{"Time":"2023-03-29T13:38:02.758981151Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.758: cmd: closing pty\n"} +{"Time":"2023-03-29T13:38:02.759023005Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:110: 2023-03-29 13:38:02.758: cmd: copy done: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.759035878Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:111: 2023-03-29 13:38:02.759: cmd: closing out\n"} +{"Time":"2023-03-29T13:38:02.759048644Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:113: 2023-03-29 13:38:02.759: cmd: closed out: read /dev/ptmx: file already closed\n"} +{"Time":"2023-03-29T13:38:02.759094323Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed pty: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.759115364Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.759: cmd: closing logw\n"} +{"Time":"2023-03-29T13:38:02.75913071Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed logw: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.759144071Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:74: 2023-03-29 13:38:02.759: cmd: closing logr\n"} +{"Time":"2023-03-29T13:38:02.75915741Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:76: 2023-03-29 13:38:02.759: cmd: closed logr: \u003cnil\u003e\n"} +{"Time":"2023-03-29T13:38:02.759174685Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":" ptytest.go:102: 2023-03-29 13:38:02.759: cmd: closed tpty\n"} +{"Time":"2023-03-29T13:38:02.759180019Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Output":"--- PASS: TestPrompt/Confirm (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.759187539Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt/Confirm","Elapsed":0} +{"Time":"2023-03-29T13:38:02.75919072Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt","Output":"--- PASS: TestPrompt (0.00s)\n"} +{"Time":"2023-03-29T13:38:02.759194742Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Test":"TestPrompt","Elapsed":0} +{"Time":"2023-03-29T13:38:02.759198362Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Output":"PASS\n"} +{"Time":"2023-03-29T13:38:02.761021961Z","Action":"output","Package":"github.com/coder/coder/v2/cli/cliui","Output":"ok \tgithub.com/coder/coder/v2/cli/cliui\t0.037s\n"} +{"Time":"2023-03-29T13:38:02.761046557Z","Action":"pass","Package":"github.com/coder/coder/v2/cli/cliui","Elapsed":0.037} diff --git a/scripts/clidocgen/gen.go b/scripts/clidocgen/gen.go index ac50b511ca..98fdb388c2 100644 --- a/scripts/clidocgen/gen.go +++ b/scripts/clidocgen/gen.go @@ -12,8 +12,8 @@ import ( "github.com/acarl005/stripansi" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/cli/clibase" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/cli/clibase" "github.com/coder/flog" ) diff --git a/scripts/clidocgen/main.go b/scripts/clidocgen/main.go index 7d6f6d9c7f..961797b02d 100644 --- a/scripts/clidocgen/main.go +++ b/scripts/clidocgen/main.go @@ -7,8 +7,8 @@ import ( "sort" "strings" - "github.com/coder/coder/cli/clibase" - "github.com/coder/coder/enterprise/cli" + "github.com/coder/coder/v2/cli/clibase" + "github.com/coder/coder/v2/enterprise/cli" "github.com/coder/flog" ) diff --git a/scripts/dbgen/main.go b/scripts/dbgen/main.go index 8a7976e321..dfc4778e30 100644 --- a/scripts/dbgen/main.go +++ b/scripts/dbgen/main.go @@ -526,7 +526,7 @@ func loadInterfaceFuncs(f *dst.File, interfaceName string) ([]querierFunction, e if !ident.IsExported() { continue } - ident.Path = "github.com/coder/coder/coderd/database" + ident.Path = "github.com/coder/coder/v2/coderd/database" } } diff --git a/scripts/migrate-ci/main.go b/scripts/migrate-ci/main.go index 636067cf8d..918fee8176 100644 --- a/scripts/migrate-ci/main.go +++ b/scripts/migrate-ci/main.go @@ -4,8 +4,8 @@ import ( "database/sql" "fmt" - "github.com/coder/coder/coderd/database/migrations" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database/migrations" + "github.com/coder/coder/v2/cryptorand" ) func main() { diff --git a/scripts/rbacgen/main.go b/scripts/rbacgen/main.go index ee06a49f21..d237227f69 100644 --- a/scripts/rbacgen/main.go +++ b/scripts/rbacgen/main.go @@ -81,7 +81,7 @@ func allResources(pkg *packages.Package) []string { names := pkg.Types.Scope().Names() for _, name := range names { obj, ok := pkg.Types.Scope().Lookup(name).(*types.Var) - if ok && obj.Type().String() == "github.com/coder/coder/coderd/rbac.Object" { + if ok && obj.Type().String() == "github.com/coder/coder/v2/coderd/rbac.Object" { resources = append(resources, obj.Name()) } } diff --git a/scripts/rules.go b/scripts/rules.go index 1c26b80704..2154cc828a 100644 --- a/scripts/rules.go +++ b/scripts/rules.go @@ -29,7 +29,7 @@ import ( // explaining why it's ok and a nolint. func dbauthzAuthorizationContext(m dsl.Matcher) { m.Import("context") - m.Import("github.com/coder/coder/coderd/database/dbauthz") + m.Import("github.com/coder/coder/v2/coderd/database/dbauthz") m.Match( `dbauthz.$f($c)`, @@ -69,10 +69,10 @@ func xerrors(m dsl.Matcher) { // //nolint:unused,deadcode,varnamelen func databaseImport(m dsl.Matcher) { - m.Import("github.com/coder/coder/coderd/database") + m.Import("github.com/coder/coder/v2/coderd/database") m.Match("database.$_"). Report("Do not import any database types into codersdk"). - Where(m.File().PkgPath.Matches("github.com/coder/coder/codersdk")) + Where(m.File().PkgPath.Matches("github.com/coder/coder/v2/codersdk")) } // doNotCallTFailNowInsideGoroutine enforces not calling t.FailNow or @@ -122,7 +122,7 @@ func doNotCallTFailNowInsideGoroutine(m dsl.Matcher) { func useStandardTimeoutsAndDelaysInTests(m dsl.Matcher) { m.Import("github.com/stretchr/testify/require") m.Import("github.com/stretchr/testify/assert") - m.Import("github.com/coder/coder/testutil") + m.Import("github.com/coder/coder/v2/testutil") m.Match(`context.WithTimeout($ctx, $duration)`). Where(m.File().Imports("testing") && !m.File().PkgPath.Matches("testutil$") && !m["duration"].Text.Matches("^testutil\\.")). @@ -203,7 +203,7 @@ func InTx(m dsl.Matcher) { // and ends with punctuation. // There are ways around the linter, but this should work in the common cases. func HttpAPIErrorMessage(m dsl.Matcher) { - m.Import("github.com/coder/coder/coderd/httpapi") + m.Import("github.com/coder/coder/v2/coderd/httpapi") isNotProperError := func(v dsl.Var) bool { return v.Type.Is("string") && @@ -236,7 +236,7 @@ func HttpAPIErrorMessage(m dsl.Matcher) { // HttpAPIReturn will report a linter violation if the http function is not // returned after writing a response to the client. func HttpAPIReturn(m dsl.Matcher) { - m.Import("github.com/coder/coder/coderd/httpapi") + m.Import("github.com/coder/coder/v2/coderd/httpapi") // Manually enumerate the httpapi function rather then a 'Where' condition // as this is a bit more efficient. diff --git a/site/site.go b/site/site.go index 6b63bd963c..4619bd5b04 100644 --- a/site/site.go +++ b/site/site.go @@ -34,13 +34,13 @@ import ( "golang.org/x/sync/singleflight" "golang.org/x/xerrors" - "github.com/coder/coder/buildinfo" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbauthz" - "github.com/coder/coder/coderd/httpapi" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" + "github.com/coder/coder/v2/buildinfo" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbauthz" + "github.com/coder/coder/v2/coderd/httpapi" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" ) // We always embed the error page HTML because it it doesn't need to be built, diff --git a/site/site_test.go b/site/site_test.go index de4e150618..1785898fca 100644 --- a/site/site_test.go +++ b/site/site_test.go @@ -22,14 +22,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/coderd/database/db2sdk" - "github.com/coder/coder/coderd/database/dbfake" - "github.com/coder/coder/coderd/database/dbgen" - "github.com/coder/coder/coderd/httpmw" - "github.com/coder/coder/codersdk" - "github.com/coder/coder/site" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/coderd/database/db2sdk" + "github.com/coder/coder/v2/coderd/database/dbfake" + "github.com/coder/coder/v2/coderd/database/dbgen" + "github.com/coder/coder/v2/coderd/httpmw" + "github.com/coder/coder/v2/codersdk" + "github.com/coder/coder/v2/site" + "github.com/coder/coder/v2/testutil" ) func TestInjection(t *testing.T) { diff --git a/site/src/api/typesGenerated.ts b/site/src/api/typesGenerated.ts index ccb37bc923..f470cee78e 100644 --- a/site/src/api/typesGenerated.ts +++ b/site/src/api/typesGenerated.ts @@ -321,7 +321,7 @@ export interface DERPServerConfig { readonly region_id: number readonly region_code: string readonly region_name: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly stun_addresses: string[] readonly relay_url: string } @@ -355,9 +355,9 @@ export interface DeploymentValues { readonly derp?: DERP readonly prometheus?: PrometheusConfig readonly pprof?: PprofConfig - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly proxy_trusted_headers?: string[] - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly proxy_trusted_origins?: string[] readonly cache_directory?: string readonly in_memory_database?: boolean @@ -369,7 +369,7 @@ export interface DeploymentValues { readonly trace?: TraceConfig readonly secure_auth_cookie?: boolean readonly strict_transport_security?: number - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly strict_transport_security_options?: string[] readonly ssh_keygen_algorithm?: string readonly metrics_cache_refresh_interval?: number @@ -379,7 +379,7 @@ export interface DeploymentValues { readonly scim_api_key?: string readonly provisioner?: ProvisionerConfig readonly rate_limit?: RateLimitConfig - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly experiments?: string[] readonly update_check?: boolean readonly max_token_lifetime?: number @@ -391,7 +391,7 @@ export interface DeploymentValues { readonly disable_session_expiry_refresh?: boolean readonly disable_password_auth?: boolean readonly support?: SupportConfig - // Named type "github.com/coder/coder/cli/clibase.Struct[[]github.com/coder/coder/codersdk.GitAuthConfig]" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Struct[[]github.com/coder/coder/v2/codersdk.GitAuthConfig]" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly git_auth?: any readonly config_ssh?: SSHConfig @@ -400,10 +400,10 @@ export interface DeploymentValues { readonly proxy_health_status_interval?: number readonly enable_terraform_debug_mode?: boolean readonly user_quiet_hours_schedule?: UserQuietHoursScheduleConfig - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.YAMLConfigPath") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.YAMLConfigPath") readonly config?: string readonly write_config?: boolean - // Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.HostPort" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly address?: any } @@ -554,7 +554,7 @@ export interface LinkConfig { // From codersdk/deployment.go export interface LoggingConfig { - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly log_filter: string[] readonly human: string readonly json: string @@ -588,9 +588,9 @@ export interface OAuth2Config { export interface OAuth2GithubConfig { readonly client_id: string readonly client_secret: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly allowed_orgs: string[] - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly allowed_teams: string[] readonly allow_signups: boolean readonly allow_everyone: boolean @@ -618,31 +618,31 @@ export interface OIDCConfig { readonly client_secret: string readonly client_key_file: string readonly client_cert_file: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly email_domain: string[] readonly issuer_url: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly scopes: string[] readonly ignore_email_verified: boolean readonly username_field: string readonly email_field: string - // Named type "github.com/coder/coder/cli/clibase.Struct[map[string]string]" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Struct[map[string]string]" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly auth_url_params: any readonly ignore_user_info: boolean readonly group_auto_create: boolean - // Named type "github.com/coder/coder/cli/clibase.Regexp" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Regexp" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly group_regex_filter: any readonly groups_field: string - // Named type "github.com/coder/coder/cli/clibase.Struct[map[string]string]" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Struct[map[string]string]" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly group_mapping: any readonly user_role_field: string - // Named type "github.com/coder/coder/cli/clibase.Struct[map[string][]string]" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Struct[map[string][]string]" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly user_role_mapping: any - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly user_roles_default: string[] readonly sign_in_text: string readonly icon_url: string @@ -700,7 +700,7 @@ export interface PatchWorkspaceProxy { // From codersdk/deployment.go export interface PprofConfig { readonly enable: boolean - // Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.HostPort" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly address: any } @@ -708,7 +708,7 @@ export interface PprofConfig { // From codersdk/deployment.go export interface PrometheusConfig { readonly enable: boolean - // Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.HostPort" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly address: any readonly collect_agent_stats: boolean @@ -822,7 +822,7 @@ export interface Role { // From codersdk/deployment.go export interface SSHConfig { readonly DeploymentName: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly SSHConfigOptions: string[] } @@ -857,7 +857,7 @@ export interface SessionCountDeploymentStats { // From codersdk/deployment.go export interface SupportConfig { - // Named type "github.com/coder/coder/cli/clibase.Struct[[]github.com/coder/coder/codersdk.LinkConfig]" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.Struct[[]github.com/coder/coder/v2/codersdk.LinkConfig]" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly links: any } @@ -870,15 +870,15 @@ export interface SwaggerConfig { // From codersdk/deployment.go export interface TLSConfig { readonly enable: boolean - // Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any" + // Named type "github.com/coder/coder/v2/cli/clibase.HostPort" unknown, using "any" // eslint-disable-next-line @typescript-eslint/no-explicit-any -- External type readonly address: any readonly redirect_http: boolean - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly cert_file: string[] readonly client_auth: string readonly client_ca_file: string - // This is likely an enum in an external package ("github.com/coder/coder/cli/clibase.StringArray") + // This is likely an enum in an external package ("github.com/coder/coder/v2/cli/clibase.StringArray") readonly key_file: string[] readonly min_version: string readonly client_cert_file: string diff --git a/tailnet/conn.go b/tailnet/conn.go index 2968feb35d..62865ea4db 100644 --- a/tailnet/conn.go +++ b/tailnet/conn.go @@ -43,8 +43,8 @@ import ( "tailscale.com/wgengine/wgcfg/nmcfg" "cdr.dev/slog" - "github.com/coder/coder/coderd/database" - "github.com/coder/coder/cryptorand" + "github.com/coder/coder/v2/coderd/database" + "github.com/coder/coder/v2/cryptorand" ) const ( diff --git a/tailnet/conn_test.go b/tailnet/conn_test.go index db526bfd3d..7554c94cec 100644 --- a/tailnet/conn_test.go +++ b/tailnet/conn_test.go @@ -11,9 +11,9 @@ import ( "cdr.dev/slog" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/tailnet/tailnettest" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/tailnet/tailnettest" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) { diff --git a/tailnet/coordinator.go b/tailnet/coordinator.go index de0248527f..866633ed54 100644 --- a/tailnet/coordinator.go +++ b/tailnet/coordinator.go @@ -21,7 +21,7 @@ import ( "tailscale.com/types/key" "cdr.dev/slog" - "github.com/coder/coder/coderd/util/slice" + "github.com/coder/coder/v2/coderd/util/slice" ) // Coordinator exchanges nodes with agents to establish connections. diff --git a/tailnet/coordinator_test.go b/tailnet/coordinator_test.go index 300a89ad5f..1435af3688 100644 --- a/tailnet/coordinator_test.go +++ b/tailnet/coordinator_test.go @@ -18,8 +18,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/coder/coder/tailnet" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/tailnet" + "github.com/coder/coder/v2/testutil" ) func TestCoordinator(t *testing.T) { diff --git a/tailnet/derpmap_test.go b/tailnet/derpmap_test.go index 07d1b11255..cdcea8e236 100644 --- a/tailnet/derpmap_test.go +++ b/tailnet/derpmap_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "tailscale.com/tailcfg" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/tailnet" ) func TestNewDERPMap(t *testing.T) { diff --git a/tailnet/tailnettest/multiagentmock.go b/tailnet/tailnettest/multiagentmock.go index e6bde4f8c2..affa2ea63d 100644 --- a/tailnet/tailnettest/multiagentmock.go +++ b/tailnet/tailnettest/multiagentmock.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - tailnet "github.com/coder/coder/tailnet" + tailnet "github.com/coder/coder/v2/tailnet" gomock "github.com/golang/mock/gomock" uuid "github.com/google/uuid" ) diff --git a/tailnet/tailnettest/tailnettest.go b/tailnet/tailnettest/tailnettest.go index 16fc92591c..a231fb4eb0 100644 --- a/tailnet/tailnettest/tailnettest.go +++ b/tailnet/tailnettest/tailnettest.go @@ -18,7 +18,7 @@ import ( "tailscale.com/types/nettype" "cdr.dev/slog/sloggers/slogtest" - "github.com/coder/coder/tailnet" + "github.com/coder/coder/v2/tailnet" ) //go:generate mockgen -destination ./multiagentmock.go -package tailnettest github.com/coder/coder/tailnet MultiAgentConn diff --git a/tailnet/tailnettest/tailnettest_test.go b/tailnet/tailnettest/tailnettest_test.go index fda818a1ce..4d551de764 100644 --- a/tailnet/tailnettest/tailnettest_test.go +++ b/tailnet/tailnettest/tailnettest_test.go @@ -5,7 +5,7 @@ import ( "go.uber.org/goleak" - "github.com/coder/coder/tailnet/tailnettest" + "github.com/coder/coder/v2/tailnet/tailnettest" ) func TestMain(m *testing.M) { diff --git a/testutil/eventually_test.go b/testutil/eventually_test.go index c3e8cabf71..e986c1c121 100644 --- a/testutil/eventually_test.go +++ b/testutil/eventually_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/goleak" - "github.com/coder/coder/testutil" + "github.com/coder/coder/v2/testutil" ) func TestMain(m *testing.M) {