# command: go test -count=1 -v ./... # working directory: repository root at 23bf613409fd836f2da7b2ba75827dc15d63c918 # toolchain: go version go1.27.4 darwin/arm64 # host: Darwin 27.2.0 arm64; macOS 27.2.1 # started: 2026-11-19T03:37:39Z # ---- combined stdout and stderr ---- === RUN TestUsageShowsAttribution --- PASS: TestUsageShowsAttribution (0.00s) === RUN TestVersionAndHelp --- PASS: TestVersionAndHelp (0.00s) === RUN TestKeygen --- PASS: TestKeygen (0.00s) === RUN TestTokenIssueAndInspect --- PASS: TestTokenIssueAndInspect (0.00s) === RUN TestLinkCommand --- PASS: TestLinkCommand (0.00s) === RUN TestReplayInitCommand --- PASS: TestReplayInitCommand (0.03s) === RUN TestServerConfigAndStartup --- PASS: TestServerConfigAndStartup (0.04s) === RUN TestClientAndDemoCommands --- PASS: TestClientAndDemoCommands (1.14s) PASS ok github.com/SingLinkLabs/singlink-protocol/cmd/singlink 1.770s === RUN TestAuditP04StopDuringPendingStart --- PASS: TestAuditP04StopDuringPendingStart (0.04s) === RUN TestCredentialsClearedOnStopAndFreshOnStart --- PASS: TestCredentialsClearedOnStopAndFreshOnStart (1.14s) === RUN TestStartSOCKS5ProbeAndExitIP --- PASS: TestStartSOCKS5ProbeAndExitIP (1.20s) === RUN TestStartErrorsAreReported --- PASS: TestStartErrorsAreReported (2.15s) === RUN TestStartWithCustomTransport --- PASS: TestStartWithCustomTransport (1.76s) === RUN TestStopInvalidatesOldTransportCompletion --- PASS: TestStopInvalidatesOldTransportCompletion (1.06s) === RUN TestStopCancelsPendingHandshake --- PASS: TestStopCancelsPendingHandshake (0.00s) === RUN TestOldErrorCannotOverwriteNewLifecycle --- PASS: TestOldErrorCannotOverwriteNewLifecycle (0.00s) === RUN TestStopClientOwnsPendingAndActiveGeneration --- PASS: TestStopClientOwnsPendingAndActiveGeneration (0.00s) PASS ok github.com/SingLinkLabs/singlink-protocol/engine 7.900s ? github.com/SingLinkLabs/singlink-protocol/ffi [no test files] === RUN TestCapabilityDeniedFlightsDoNotConsumeReplayCapacity --- PASS: TestCapabilityDeniedFlightsDoNotConsumeReplayCapacity (0.06s) === RUN TestRefusedFlightReplaysGoToFallback --- PASS: TestRefusedFlightReplaysGoToFallback (0.08s) === RUN TestStatusOnlyMarkBlocksLaterAdmission --- PASS: TestStatusOnlyMarkBlocksLaterAdmission (1.02s) === RUN TestNoDestinationOperationBeforeReplayCheck --- PASS: TestNoDestinationOperationBeforeReplayCheck (2.08s) === RUN TestPreAdmissionIsConfigOnly --- PASS: TestPreAdmissionIsConfigOnly (0.00s) === RUN TestStatusMarksBoundedAndExpiring --- PASS: TestStatusMarksBoundedAndExpiring (0.00s) === RUN TestRefusalFloodDoesNotSilenceOtherSubjects --- PASS: TestRefusalFloodDoesNotSilenceOtherSubjects (0.47s) === RUN TestRefusedReplayAcrossProcessesNeverExecutes --- PASS: TestRefusedReplayAcrossProcessesNeverExecutes (1.18s) === RUN TestPolicyFingerprint --- PASS: TestPolicyFingerprint (0.00s) === RUN TestAttributionNamesOriginalAuthor --- PASS: TestAttributionNamesOriginalAuthor (0.00s) === RUN TestNoticeCarriesAttribution --- PASS: TestNoticeCarriesAttribution (0.00s) === RUN TestSourceFilesKeepCopyrightHeader --- PASS: TestSourceFilesKeepCopyrightHeader (0.01s) === RUN TestAuditCryptographicControls --- PASS: TestAuditCryptographicControls (0.00s) === RUN TestAuditP01ReplayRejectedAcrossInstances --- PASS: TestAuditP01ReplayRejectedAcrossInstances (6.36s) === RUN TestAuditP02OversizedRevocationRetainsLastGood --- PASS: TestAuditP02OversizedRevocationRetainsLastGood (0.50s) === RUN TestAuditP02CorrectedRevocationClosesLiveSession --- PASS: TestAuditP02CorrectedRevocationClosesLiveSession (1.89s) === RUN TestAuditP03NAT64EquivalentPolicy --- PASS: TestAuditP03NAT64EquivalentPolicy (0.00s) === RUN TestAuditP05EarlyBytesShareSubjectBucket --- PASS: TestAuditP05EarlyBytesShareSubjectBucket (1.58s) === RUN TestRevocation --- PASS: TestRevocation (1.64s) === RUN TestReplayAcrossRestart --- PASS: TestReplayAcrossRestart (1.97s) === RUN TestTruncationIsAnError --- PASS: TestTruncationIsAnError (0.85s) === RUN TestProbeTimingIsUniform --- PASS: TestProbeTimingIsUniform (0.01s) === RUN TestSmallOrderDeviceKeys --- PASS: TestSmallOrderDeviceKeys (0.00s) === RUN TestRekey --- PASS: TestRekey (0.00s) === RUN TestKeyRotation --- PASS: TestKeyRotation (1.03s) === RUN TestDestinationPolicy --- PASS: TestDestinationPolicy (0.00s) === RUN TestRateLimitSurvivesReconnect --- PASS: TestRateLimitSurvivesReconnect (0.00s) === RUN TestGuard --- PASS: TestGuard (0.00s) === RUN TestProxyProtocolV2 --- PASS: TestProxyProtocolV2 (0.00s) === RUN TestLinkErrorsDoNotLeakSecrets --- PASS: TestLinkErrorsDoNotLeakSecrets (0.00s) === RUN TestUDPDropsUnsolicitedPackets --- PASS: TestUDPDropsUnsolicitedPackets (1.23s) === RUN TestF04CryptoSlotReleasedOnPanic --- PASS: TestF04CryptoSlotReleasedOnPanic (0.06s) === RUN TestDraftConstantsAndDiagnostic --- PASS: TestDraftConstantsAndDiagnostic (0.00s) === RUN TestDraft3FlightGoesToFallbackUnchanged --- PASS: TestDraft3FlightGoesToFallbackUnchanged (0.02s) === RUN TestClientReportsDraftOrKeyMismatch --- PASS: TestClientReportsDraftOrKeyMismatch (0.75s) === RUN TestEarlyPayloadSharesSubjectBudget --- PASS: TestEarlyPayloadSharesSubjectBudget (0.02s) === RUN TestEarlyPayloadUnlimitedAndPartialWrite --- PASS: TestEarlyPayloadUnlimitedAndPartialWrite (0.00s) === RUN TestNAT64EquivalentPolicies --- PASS: TestNAT64EquivalentPolicies (0.00s) === RUN TestNAT64CachedPolicyIsRechecked --- PASS: TestNAT64CachedPolicyIsRechecked (0.00s) === RUN TestIANASpecialPurposeBlocksDenied --- PASS: TestIANASpecialPurposeBlocksDenied (0.00s) === RUN TestF03SpecialPurposeIPv6 --- PASS: TestF03SpecialPurposeIPv6 (0.00s) === RUN TestZonedAddressRefused --- PASS: TestZonedAddressRefused (0.00s) === RUN TestIPv4TranslatedEquivalentPolicy --- PASS: TestIPv4TranslatedEquivalentPolicy (0.00s) === RUN TestPrivateACLPolicy --- PASS: TestPrivateACLPolicy (0.00s) === RUN TestFutureFlightRejectedAcrossRestart --- PASS: TestFutureFlightRejectedAcrossRestart (0.36s) === RUN TestF01AdmittedThenExpiredReplaySingleProcess --- PASS: TestF01AdmittedThenExpiredReplaySingleProcess (3.85s) === RUN TestF01AdmittedThenExpiredReplayAcrossProcesses --- PASS: TestF01AdmittedThenExpiredReplayAcrossProcesses (5.04s) === RUN TestF01ExpiredInWindowAnsweredOnceAcrossProcesses --- PASS: TestF01ExpiredInWindowAnsweredOnceAcrossProcesses (3.03s) === RUN TestF01DurablyMarkedFlightGetsNoStatusOnlyAnswer --- PASS: TestF01DurablyMarkedFlightGetsNoStatusOnlyAnswer (0.59s) === RUN TestF01PolicyRefusalOfAdmittedFlightAcrossProcesses --- PASS: TestF01PolicyRefusalOfAdmittedFlightAcrossProcesses (1.16s) === RUN TestF01StatusOnlyLookupFailureFailsClosed --- PASS: TestF01StatusOnlyLookupFailureFailsClosed (0.41s) === RUN TestF01ConcurrentExpiredCopiesAnsweredOnce --- PASS: TestF01ConcurrentExpiredCopiesAnsweredOnce (2.80s) === RUN TestF01MayHaveBeenAdmitted --- PASS: TestF01MayHaveBeenAdmitted (0.00s) === RUN TestReplayStoreHasIsReadOnly --- PASS: TestReplayStoreHasIsReadOnly (0.04s) === RUN TestF01RefusalsWithoutAnswerDoNotReadStore --- PASS: TestF01RefusalsWithoutAnswerDoNotReadStore (2.52s) === RUN TestReplayStoreRestartAndCapacity --- PASS: TestReplayStoreRestartAndCapacity (0.03s) === RUN TestReplayStoreIndependentInstancesAtomic --- PASS: TestReplayStoreIndependentInstancesAtomic (0.09s) === RUN TestReplayStoreLockCancellation --- PASS: TestReplayStoreLockCancellation (0.03s) === RUN TestReplayStoreGCAndClockRollbackFailClosed --- PASS: TestReplayStoreGCAndClockRollbackFailClosed (0.02s) === RUN TestReplayStoreMissingCorruptAndPermissionsFailClosed --- PASS: TestReplayStoreMissingCorruptAndPermissionsFailClosed (0.01s) === RUN TestReplayStoreContainsOnlyOpaqueSecurityState --- PASS: TestReplayStoreContainsOnlyOpaqueSecurityState (0.01s) === RUN TestReplayStoreSurvivesAbruptProcessExit --- PASS: TestReplayStoreSurvivesAbruptProcessExit (0.12s) === RUN TestReplayStoreHelperProcess --- PASS: TestReplayStoreHelperProcess (0.00s) === RUN TestReplayStoreConcurrentProcesses --- PASS: TestReplayStoreConcurrentProcesses (0.05s) === RUN TestReplayStorePruneErasesOnlyExpiredMarks --- PASS: TestReplayStorePruneErasesOnlyExpiredMarks (0.07s) === RUN TestReplayTagIsKeyedAndStable --- PASS: TestReplayTagIsKeyedAndStable (0.00s) === RUN TestSharedReplayStoreMixedAcceptanceWindows --- PASS: TestSharedReplayStoreMixedAcceptanceWindows (0.61s) === RUN TestUnsupportedReplayWindowRefusesStartup --- PASS: TestUnsupportedReplayWindowRefusesStartup (0.01s) === RUN TestRevocationFailuresRetainLastGood --- PASS: TestRevocationFailuresRetainLastGood (0.02s) === RUN TestInvalidInitialRevocationListRefusesStartup --- PASS: TestInvalidInitialRevocationListRefusesStartup (0.01s) === RUN TestRevocationDuringAdmissionClosesSession --- PASS: TestRevocationDuringAdmissionClosesSession (0.54s) === RUN TestKeysAndTokenRoundTrip --- PASS: TestKeysAndTokenRoundTrip (0.02s) === RUN TestLinkRoundTrip --- PASS: TestLinkRoundTrip (0.02s) === RUN TestTCPRelayTLSAndRaw --- PASS: TestTCPRelayTLSAndRaw (0.56s) === RUN TestServerSpeaksFirst --- PASS: TestServerSpeaksFirst (0.78s) === RUN TestHalfClose --- PASS: TestHalfClose (0.55s) === RUN TestUDPRelay --- PASS: TestUDPRelay (0.03s) === RUN TestPermissions --- PASS: TestPermissions (25.98s) === RUN TestRateLimit --- PASS: TestRateLimit (3.99s) === RUN TestProbeGoesToFallbackImmediately --- PASS: TestProbeGoesToFallbackImmediately (0.35s) === RUN TestUnauthenticatedGoesToFallback --- PASS: TestUnauthenticatedGoesToFallback (1.31s) === RUN TestReplayIsRejected --- PASS: TestReplayIsRejected (1.06s) === RUN TestConcurrentStreams --- PASS: TestConcurrentStreams (0.69s) === RUN FuzzDecodeAddr === RUN FuzzDecodeAddr/seed#0 === RUN FuzzDecodeAddr/seed#1 === RUN FuzzDecodeAddr/seed#2 --- PASS: FuzzDecodeAddr (0.00s) --- PASS: FuzzDecodeAddr/seed#0 (0.00s) --- PASS: FuzzDecodeAddr/seed#1 (0.00s) --- PASS: FuzzDecodeAddr/seed#2 (0.00s) === RUN FuzzParseHeader === RUN FuzzParseHeader/seed#0 --- PASS: FuzzParseHeader (0.00s) --- PASS: FuzzParseHeader/seed#0 (0.00s) === RUN FuzzParseToken === RUN FuzzParseToken/seed#0 --- PASS: FuzzParseToken (0.00s) --- PASS: FuzzParseToken/seed#0 (0.00s) === RUN FuzzParseLink === RUN FuzzParseLink/seed#0 === RUN FuzzParseLink/seed#1 --- PASS: FuzzParseLink (0.00s) --- PASS: FuzzParseLink/seed#0 (0.00s) --- PASS: FuzzParseLink/seed#1 (0.00s) === RUN FuzzParseFirstFlight === RUN FuzzParseFirstFlight/seed#0 === RUN FuzzParseFirstFlight/seed#1 --- PASS: FuzzParseFirstFlight (0.00s) --- PASS: FuzzParseFirstFlight/seed#0 (0.00s) --- PASS: FuzzParseFirstFlight/seed#1 (0.00s) === RUN FuzzReadFrame === RUN FuzzReadFrame/seed#0 --- PASS: FuzzReadFrame (0.00s) --- PASS: FuzzReadFrame/seed#0 (0.00s) PASS ok github.com/SingLinkLabs/singlink-protocol/singlink 79.905s === RUN TestSOCKS5ConnectAndUDP --- PASS: TestSOCKS5ConnectAndUDP (1.04s) === RUN TestCloseWithOpenConnect --- PASS: TestCloseWithOpenConnect (0.53s) === RUN TestAuth --- PASS: TestAuth (0.02s) === RUN TestHTTPProxy --- PASS: TestHTTPProxy (1.56s) === RUN TestUDPAssociateBoundToDeclaredPort === RUN TestUDPAssociateBoundToDeclaredPort/auth=false === RUN TestUDPAssociateBoundToDeclaredPort/auth=true --- PASS: TestUDPAssociateBoundToDeclaredPort (4.38s) --- PASS: TestUDPAssociateBoundToDeclaredPort/auth=false (2.14s) --- PASS: TestUDPAssociateBoundToDeclaredPort/auth=true (2.23s) === RUN TestUDPAssociateDeclaredPortWildcardIP --- PASS: TestUDPAssociateDeclaredPortWildcardIP (1.59s) === RUN TestUDPAssociateUndeclaredRefusedWithAuth --- PASS: TestUDPAssociateUndeclaredRefusedWithAuth (0.05s) === RUN TestUDPAssociateUndeclaredWithoutAuthFirstPortWins --- PASS: TestUDPAssociateUndeclaredWithoutAuthFirstPortWins (1.13s) === RUN TestHTTPProxyForwardsOnlyTheAuthenticatedRequest --- PASS: TestHTTPProxyForwardsOnlyTheAuthenticatedRequest (1.44s) === RUN TestUDPAssociateDestinationInRequestIsUndeclared === RUN TestUDPAssociateDestinationInRequestIsUndeclared/auth=false === RUN TestUDPAssociateDestinationInRequestIsUndeclared/auth=true --- PASS: TestUDPAssociateDestinationInRequestIsUndeclared (1.94s) --- PASS: TestUDPAssociateDestinationInRequestIsUndeclared/auth=false (1.91s) --- PASS: TestUDPAssociateDestinationInRequestIsUndeclared/auth=true (0.02s) === RUN TestHTTPProxyOneResponseThenClose --- PASS: TestHTTPProxyOneResponseThenClose (0.55s) PASS ok github.com/SingLinkLabs/singlink-protocol/socks5 14.529s # ---- end of output ---- # exit status: 0 # finished: 2026-11-19T03:39:01Z