go-test
checks.x86_64-linux.go-test
· build #24
· raw
unpackPhase
1unpacking source archive /nix/store/4y2dah802icbqzhal894dmp8d9alpnfm-source2source root is sourcebuildPhase
3? github.com/numtide/nix-auth [no test files]4=== RUN TestSetTokenBasicOperations5=== RUN TestSetTokenBasicOperations/set_new_token_with_arguments6=== RUN TestSetTokenBasicOperations/set_new_token_interactively7=== RUN TestSetTokenBasicOperations/replace_existing_token_with_force_flag8=== RUN TestSetTokenBasicOperations/cancel_replacement_of_existing_token9=== RUN TestSetTokenBasicOperations/accept_replacement_of_existing_token10--- PASS: TestSetTokenBasicOperations (0.00s)11 --- PASS: TestSetTokenBasicOperations/set_new_token_with_arguments (0.00s)12 --- PASS: TestSetTokenBasicOperations/set_new_token_interactively (0.00s)13 --- PASS: TestSetTokenBasicOperations/replace_existing_token_with_force_flag (0.00s)14 --- PASS: TestSetTokenBasicOperations/cancel_replacement_of_existing_token (0.00s)15 --- PASS: TestSetTokenBasicOperations/accept_replacement_of_existing_token (0.00s)16=== RUN TestSetTokenProviderValidation17=== RUN TestSetTokenProviderValidation/validate_token_with_specified_provider18=== RUN TestSetTokenProviderValidation/fail_validation_with_specified_provider19=== RUN TestSetTokenProviderValidation/unknown_provider_specified20--- PASS: TestSetTokenProviderValidation (0.00s)21 --- PASS: TestSetTokenProviderValidation/validate_token_with_specified_provider (0.00s)22 --- PASS: TestSetTokenProviderValidation/fail_validation_with_specified_provider (0.00s)23 --- PASS: TestSetTokenProviderValidation/unknown_provider_specified (0.00s)24=== RUN TestSetTokenErrorCases25=== RUN TestSetTokenErrorCases/empty_token_from_arguments26=== RUN TestSetTokenErrorCases/empty_token_from_stdin27=== RUN TestSetTokenErrorCases/auto-detect_provider_and_warn_on_validation_failure28--- PASS: TestSetTokenErrorCases (0.00s)29 --- PASS: TestSetTokenErrorCases/empty_token_from_arguments (0.00s)30 --- PASS: TestSetTokenErrorCases/empty_token_from_stdin (0.00s)31 --- PASS: TestSetTokenErrorCases/auto-detect_provider_and_warn_on_validation_failure (0.00s)32=== RUN TestSetTokenCommandFlags33--- PASS: TestSetTokenCommandFlags (0.00s)34=== RUN TestSetTokenCommandArgs35=== RUN TestSetTokenCommandArgs/no_arguments36=== RUN TestSetTokenCommandArgs/one_argument_(host_only)37=== RUN TestSetTokenCommandArgs/two_arguments_(host_and_token)38=== RUN TestSetTokenCommandArgs/three_arguments_(too_many)39--- PASS: TestSetTokenCommandArgs (0.00s)40 --- PASS: TestSetTokenCommandArgs/no_arguments (0.00s)41 --- PASS: TestSetTokenCommandArgs/one_argument_(host_only) (0.00s)42 --- PASS: TestSetTokenCommandArgs/two_arguments_(host_and_token) (0.00s)43 --- PASS: TestSetTokenCommandArgs/three_arguments_(too_many) (0.00s)44=== RUN TestRunStatus45=== RUN TestRunStatus/no_tokens_configured46=== RUN TestRunStatus/single_github_token_valid47=== RUN TestRunStatus/multiple_tokens_with_one_invalid48=== RUN TestRunStatus/unknown_provider49--- PASS: TestRunStatus (0.00s)50 --- PASS: TestRunStatus/no_tokens_configured (0.00s)51 --- PASS: TestRunStatus/single_github_token_valid (0.00s)52 --- PASS: TestRunStatus/multiple_tokens_with_one_invalid (0.00s)53 --- PASS: TestRunStatus/unknown_provider (0.00s)54=== RUN TestStatusCommandIntegration55--- PASS: TestStatusCommandIntegration (0.00s)56PASS57ok github.com/numtide/nix-auth/cmd 0.009s58=== RUN TestNixConfigIntegration_SetAndGetToken59=== RUN TestNixConfigIntegration_SetAndGetToken/set_github.com60=== RUN TestNixConfigIntegration_SetAndGetToken/set_gitlab.com61=== RUN TestNixConfigIntegration_SetAndGetToken/set_custom.example.com62=== RUN TestNixConfigIntegration_SetAndGetToken/get_github.com63=== RUN TestNixConfigIntegration_SetAndGetToken/get_gitlab.com64=== RUN TestNixConfigIntegration_SetAndGetToken/get_custom.example.com65--- PASS: TestNixConfigIntegration_SetAndGetToken (0.00s)66 --- PASS: TestNixConfigIntegration_SetAndGetToken/set_github.com (0.00s)67 --- PASS: TestNixConfigIntegration_SetAndGetToken/set_gitlab.com (0.00s)68 --- PASS: TestNixConfigIntegration_SetAndGetToken/set_custom.example.com (0.00s)69 --- PASS: TestNixConfigIntegration_SetAndGetToken/get_github.com (0.00s)70 --- PASS: TestNixConfigIntegration_SetAndGetToken/get_gitlab.com (0.00s)71 --- PASS: TestNixConfigIntegration_SetAndGetToken/get_custom.example.com (0.00s)72=== RUN TestNixConfigIntegration_RemoveToken73--- PASS: TestNixConfigIntegration_RemoveToken (0.00s)74=== RUN TestNixConfigIntegration_MigrationFromExisting75Migrating tokens to secure file: /build/TestNixConfigIntegration_MigrationFromExisting547451471/001/access-tokens.conf76Created backup: /build/TestNixConfigIntegration_MigrationFromExisting547451471/001/nix.conf.backup-20261009-19515877--- PASS: TestNixConfigIntegration_MigrationFromExisting (0.00s)78=== RUN TestDefaultUserConfigPath79=== RUN TestDefaultUserConfigPath/default_path_when_no_env_vars_set80=== RUN TestDefaultUserConfigPath/NIX_USER_CONF_FILES_single_file81=== RUN TestDefaultUserConfigPath/NIX_USER_CONF_FILES_multiple_files82=== RUN TestDefaultUserConfigPath/NIX_USER_CONF_FILES_empty_first_element83=== RUN TestDefaultUserConfigPath/XDG_CONFIG_HOME_set84=== RUN TestDefaultUserConfigPath/NIX_USER_CONF_FILES_takes_precedence_over_XDG_CONFIG_HOME85--- PASS: TestDefaultUserConfigPath (0.00s)86 --- PASS: TestDefaultUserConfigPath/default_path_when_no_env_vars_set (0.00s)87 --- PASS: TestDefaultUserConfigPath/NIX_USER_CONF_FILES_single_file (0.00s)88 --- PASS: TestDefaultUserConfigPath/NIX_USER_CONF_FILES_multiple_files (0.00s)89 --- PASS: TestDefaultUserConfigPath/NIX_USER_CONF_FILES_empty_first_element (0.00s)90 --- PASS: TestDefaultUserConfigPath/XDG_CONFIG_HOME_set (0.00s)91 --- PASS: TestDefaultUserConfigPath/NIX_USER_CONF_FILES_takes_precedence_over_XDG_CONFIG_HOME (0.00s)92=== RUN TestNixConfig_SetAndGetToken93=== RUN TestNixConfig_SetAndGetToken/set_github.com_token94=== RUN TestNixConfig_SetAndGetToken/set_gitlab.com_token95=== RUN TestNixConfig_SetAndGetToken/set_custom_host96--- PASS: TestNixConfig_SetAndGetToken (0.00s)97 --- PASS: TestNixConfig_SetAndGetToken/set_github.com_token (0.00s)98 --- PASS: TestNixConfig_SetAndGetToken/set_gitlab.com_token (0.00s)99 --- PASS: TestNixConfig_SetAndGetToken/set_custom_host (0.00s)100=== RUN TestNixConfig_UpdateExistingToken101Migrating tokens to secure file: /build/TestNixConfig_UpdateExistingToken1235607078/001/access-tokens.conf102Created backup: /build/TestNixConfig_UpdateExistingToken1235607078/001/nix.conf.backup-20261009-195158103--- PASS: TestNixConfig_UpdateExistingToken (0.00s)104=== RUN TestNixConfig_RemoveToken105--- PASS: TestNixConfig_RemoveToken (0.00s)106=== RUN TestNixConfig_RemoveLastToken107Migrating tokens to secure file: /build/TestNixConfig_RemoveLastToken1887378834/001/access-tokens.conf108Created backup: /build/TestNixConfig_RemoveLastToken1887378834/001/nix.conf.backup-20261009-195158109--- PASS: TestNixConfig_RemoveLastToken (0.00s)110=== RUN TestNixConfig_Backup111Migrating tokens to secure file: /build/TestNixConfig_Backup870195299/001/access-tokens.conf112Created backup: /build/TestNixConfig_Backup870195299/001/nix.conf.backup-20261009-195158113--- PASS: TestNixConfig_Backup (0.00s)114=== RUN TestNixConfig_EmptyFile115Created backup: /build/TestNixConfig_EmptyFile1495086298/001/nix.conf.backup-20261009-195158116--- PASS: TestNixConfig_EmptyFile (0.00s)117=== RUN TestNixConfig_NonExistentFile118--- PASS: TestNixConfig_NonExistentFile (0.00s)119=== RUN TestNixConfig_InvalidTokenFormat120=== RUN TestNixConfig_InvalidTokenFormat/missing_equals_in_token_pair121=== RUN TestNixConfig_InvalidTokenFormat/invalid_token_format122=== RUN TestNixConfig_InvalidTokenFormat/valid_format123--- PASS: TestNixConfig_InvalidTokenFormat (0.00s)124 --- PASS: TestNixConfig_InvalidTokenFormat/missing_equals_in_token_pair (0.00s)125 --- PASS: TestNixConfig_InvalidTokenFormat/invalid_token_format (0.00s)126 --- PASS: TestNixConfig_InvalidTokenFormat/valid_format (0.00s)127=== RUN TestNixConfig_PreservesWhitespaceAndComments128Migrating tokens to secure file: /build/TestNixConfig_PreservesWhitespaceAndComments1418213892/001/access-tokens.conf129Created backup: /build/TestNixConfig_PreservesWhitespaceAndComments1418213892/001/nix.conf.backup-20261009-195158130--- PASS: TestNixConfig_PreservesWhitespaceAndComments (0.00s)131=== RUN TestNixConfig_ConcurrentAccess132--- PASS: TestNixConfig_ConcurrentAccess (0.00s)133=== RUN TestExpandTilde134=== RUN TestExpandTilde/~/config/nix.conf135=== RUN TestExpandTilde//absolute/path136=== RUN TestExpandTilde/relative/path137=== RUN TestExpandTilde/~138=== RUN TestExpandTilde/~user/path139--- PASS: TestExpandTilde (0.00s)140 --- PASS: TestExpandTilde/~/config/nix.conf (0.00s)141 --- PASS: TestExpandTilde//absolute/path (0.00s)142 --- PASS: TestExpandTilde/relative/path (0.00s)143 --- PASS: TestExpandTilde/~ (0.00s)144 --- PASS: TestExpandTilde/~user/path (0.00s)145=== RUN TestNixConfig_SortedOutput146--- PASS: TestNixConfig_SortedOutput (0.00s)147=== RUN TestNixConfig_PreservesExactFormatting148Migrating tokens to secure file: /build/TestNixConfig_PreservesExactFormatting46179752/001/access-tokens.conf149Created backup: /build/TestNixConfig_PreservesExactFormatting46179752/001/nix.conf.backup-20261009-195158150--- PASS: TestNixConfig_PreservesExactFormatting (0.00s)151=== RUN TestNixConfig_PreservesComplexIndentation152Migrating tokens to secure file: /build/TestNixConfig_PreservesComplexIndentation1625282105/001/access-tokens.conf153Created backup: /build/TestNixConfig_PreservesComplexIndentation1625282105/001/nix.conf.backup-20261009-195158154--- PASS: TestNixConfig_PreservesComplexIndentation (0.00s)155=== RUN TestParser156=== RUN TestParser/preserves_exact_formatting157=== RUN TestParser/parses_included_files158=== RUN TestParser/finds_setting_lines159--- PASS: TestParser (0.00s)160 --- PASS: TestParser/preserves_exact_formatting (0.00s)161 --- PASS: TestParser/parses_included_files (0.00s)162 --- PASS: TestParser/finds_setting_lines (0.00s)163PASS164ok github.com/numtide/nix-auth/internal/nixconf 0.010s165=== RUN TestDetect_Integration166=== RUN TestDetect_Integration/no_matching_API_returns_unknown167--- PASS: TestDetect_Integration (0.00s)168 --- PASS: TestDetect_Integration/no_matching_API_returns_unknown (0.00s)169=== RUN TestRegistry170--- PASS: TestRegistry (0.00s)171=== RUN TestDetect172=== RUN TestDetect/detect_github.com173=== RUN TestDetect/no_matching_provider_returns_unknown174=== RUN TestDetect/empty_registry_returns_unknown175--- PASS: TestDetect (0.00s)176 --- PASS: TestDetect/detect_github.com (0.00s)177 --- PASS: TestDetect/no_matching_provider_returns_unknown (0.00s)178 --- PASS: TestDetect/empty_registry_returns_unknown (0.00s)179PASS180ok github.com/numtide/nix-auth/internal/provider 0.004s181=== RUN TestMaskToken182=== RUN TestMaskToken/empty_token183=== RUN TestMaskToken/very_short_token184=== RUN TestMaskToken/token_exactly_15_chars185=== RUN TestMaskToken/token_exactly_16_chars186=== RUN TestMaskToken/GitHub_OAuth_token187=== RUN TestMaskToken/GitHub_personal_access_token188=== RUN TestMaskToken/GitHub_server_token189=== RUN TestMaskToken/GitHub_fine-grained_PAT190=== RUN TestMaskToken/GitLab_personal_access_token191=== RUN TestMaskToken/GitLab_OAuth_access_token192=== RUN TestMaskToken/GitLab_refresh_token193=== RUN TestMaskToken/Gitea_token194=== RUN TestMaskToken/unknown_token_type195=== RUN TestMaskToken/random_long_token196--- PASS: TestMaskToken (0.00s)197 --- PASS: TestMaskToken/empty_token (0.00s)198 --- PASS: TestMaskToken/very_short_token (0.00s)199 --- PASS: TestMaskToken/token_exactly_15_chars (0.00s)200 --- PASS: TestMaskToken/token_exactly_16_chars (0.00s)201 --- PASS: TestMaskToken/GitHub_OAuth_token (0.00s)202 --- PASS: TestMaskToken/GitHub_personal_access_token (0.00s)203 --- PASS: TestMaskToken/GitHub_server_token (0.00s)204 --- PASS: TestMaskToken/GitHub_fine-grained_PAT (0.00s)205 --- PASS: TestMaskToken/GitLab_personal_access_token (0.00s)206 --- PASS: TestMaskToken/GitLab_OAuth_access_token (0.00s)207 --- PASS: TestMaskToken/GitLab_refresh_token (0.00s)208 --- PASS: TestMaskToken/Gitea_token (0.00s)209 --- PASS: TestMaskToken/unknown_token_type (0.00s)210 --- PASS: TestMaskToken/random_long_token (0.00s)211=== RUN TestMaskTokenSecurity212=== RUN TestMaskTokenSecurity/unicode_token213=== RUN TestMaskTokenSecurity/consistent_mask_length214--- PASS: TestMaskTokenSecurity (0.00s)215 --- PASS: TestMaskTokenSecurity/unicode_token (0.00s)216 --- PASS: TestMaskTokenSecurity/consistent_mask_length (0.00s)217PASS218ok github.com/numtide/nix-auth/internal/ui 0.002s219? github.com/numtide/nix-auth/internal/version [no test files]