Skip to content

uffd: unregister empty and removed huge pages from UFFD missing pages tracking#2974

Draft
bchalios wants to merge 4 commits into
mainfrom
uffd_unregister_zeros
Draft

uffd: unregister empty and removed huge pages from UFFD missing pages tracking#2974
bchalios wants to merge 4 commits into
mainfrom
uffd_unregister_zeros

Conversation

@bchalios

Copy link
Copy Markdown
Contributor

What

Unregister huge pages from UFFD in two cases:

  • At sandbox start-up: all pages for all ranges with backing build Id that points to nil
  • On demand: pages for which we receive a UFFD_EVENT_REMOVE event

Also, add tests that ensure that everything works as expected

Why

UFFD handling for known zero pages (ranges with nil block ID) and pages that the guest has deallocated essentially boils down to providing a zero page. This is adds overhead in page fault handling (round-trip: guest -> host kernel ->orchestrator -> host kernel -> guest). Un-registering those pages from UFFD trims down the round trip to: guest -> host kernel -> guest.

This introduces real overhead to page fault handling. Using a simple dd-like command that touches 1GiB on my laptop shows a throughput of ~1.3GiB/sec on main vs ~2.0GiB/sec with the changes introduced here.

How

We know the initially empty pages, so we unregister them before starting the sandbox. We also unregister all pages for which we receive a UFFD_EVENT_REMOVE. The catch is we use UFFD asynchronous write protection to track dirty pages. So, after unregistering the pages we re-register them, this time using only UFFDIO_REGISTER_MODE_WP. This way we keep accurate dirty-page info without handling zero pages.

Note: this doesn't work with anonymous 4K pages. As, userfaultfd documentation mentions:

For anonymous memory, ioctl(UFFDIO_WRITEPROTECT) will ignore none ptes (e.g. when pages are missing and not populated). For file-backed memories like shmem and hugetlbfs, none ptes will be write protected just like a present pte. In other words, there will be a userfaultfd write fault message generated when writing to a missing page on file typed memories, as long as the page range was write-protected before. Such a message will not be generated on anonymous memories by default.

So, at the moment, this behaviour is restricted in 4K pages only

bchalios added 4 commits June 10, 2026 17:24
Add bindings for the UFFDIO_REGISTER and UFFDIO_UNREGISTER ioctls. We
will use these to unregister zero huge pages and re-register them only
for WP bit tracking.

Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
Currently, when we receive a UFFD_EVENT_REMOVE we mark the page as
removed so subsequent page faults know that they should provide the zero
page.

In the case of huge pages we can avoid handling subsequent page faults
all together, by unregistering the removed region for missing events
from UFFD. However, we want the WP asynchronous tracking to keep working
because we rely on it to get a correct diff when we later snapshot the sandbox.

We can achieve that by unregistering the region, registering it again
with UFFDIO_REGISTER_MODE_WP (no _MODE_MISSING) and write-protecting it
again. Re-registering with UFFDIO_REGISTER_MODE_WP is enough to ensure
that we will get UFFD_EVENT_REMOVE in the future (so we will mark again
the page for WP tracking) and, hence, an accurate view of the dirty
memory.

We can't do the same for 4K pages. Freeing anonymous 4K pages zaps the
page table entry and we lose the ability to do WP tracking.

Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
When using huge pages to back guest memory we can register memory
regions just for WP tracking. This avoids the round trip to user space
(UFFD handler in orchestrator) to handle page faults that we know in
advance that we will handle simply by providing zeros.

Use the dropMissingEventsTracking method that we introduced in previous
commit to unregister all ranges for which that backing build ID is nil.

Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
Add an OTEL metric for tracking UFFD unregistering operations. The
metric is a TimerFactory triplet tracking latency histogram (ms), number
of bytes unregistered and number of unregister operations.

The metric is tagged by a source attribute that indicates whether the
operation was triggerred due to unregistering empty pages (should be
once during startup) or due to a UFFD_EVENT_REMOVE event.

Also add a test that ensures the metric works as expected.

Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
@cla-bot cla-bot Bot added the cla-signed label Jun 10, 2026
@bchalios bchalios force-pushed the uffd_unregister_zeros branch from 28f3cea to 191671f Compare June 10, 2026 15:36
@cursor

cursor Bot commented Jun 10, 2026

Copy link
Copy Markdown

PR Summary

Cursor Bugbot is generating a summary for commit 191671f. Configure here.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

❌ 116 Tests Failed:

Tests completed Failed Passed Skipped
1619 116 1503 4
View the top 3 failed test(s) by shortest run time
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowAllDomainsWildcard
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowAllDomainsWildcard
=== PAUSE TestEgressFirewallAllowAllDomainsWildcard
=== CONT  TestEgressFirewallAllowAllDomainsWildcard
    sandbox_network_out_test.go:604: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowAllDomainsWildcard (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowAllDuplicate
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowAllDuplicate
=== PAUSE TestEgressFirewallAllowAllDuplicate
=== CONT  TestEgressFirewallAllowAllDuplicate
    sandbox_network_out_test.go:474: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowAllDuplicate (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowAndBlockCombination
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowAndBlockCombination
=== PAUSE TestEgressFirewallAllowAndBlockCombination
=== CONT  TestEgressFirewallAllowAndBlockCombination
    sandbox_network_out_test.go:214: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowAndBlockCombination (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowCIDRRange
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowCIDRRange
=== PAUSE TestEgressFirewallAllowCIDRRange
=== CONT  TestEgressFirewallAllowCIDRRange
    sandbox_network_out_test.go:164: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowCIDRRange (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowDomainAndIP
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowDomainAndIP
=== PAUSE TestEgressFirewallAllowDomainAndIP
=== CONT  TestEgressFirewallAllowDomainAndIP
    sandbox_network_out_test.go:657: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowDomainAndIP (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowDomainThroughBlockedInternet
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowDomainThroughBlockedInternet
=== PAUSE TestEgressFirewallAllowDomainThroughBlockedInternet
=== CONT  TestEgressFirewallAllowDomainThroughBlockedInternet
    sandbox_network_out_test.go:525: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowDomainThroughBlockedInternet (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowOverridesBlock
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowOverridesBlock
=== PAUSE TestEgressFirewallAllowOverridesBlock
=== CONT  TestEgressFirewallAllowOverridesBlock
    sandbox_network_out_test.go:331: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowOverridesBlock (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowSpecificIP
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowSpecificIP
=== PAUSE TestEgressFirewallAllowSpecificIP
=== CONT  TestEgressFirewallAllowSpecificIP
    sandbox_network_out_test.go:113: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowSpecificIP (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowWildcardDomainThroughBlockedInternet
Stack Traces | 0s run time
=== RUN   TestEgressFirewallAllowWildcardDomainThroughBlockedInternet
=== PAUSE TestEgressFirewallAllowWildcardDomainThroughBlockedInternet
=== CONT  TestEgressFirewallAllowWildcardDomainThroughBlockedInternet
    sandbox_network_out_test.go:551: Network test template was not built successfully
--- FAIL: TestEgressFirewallAllowWildcardDomainThroughBlockedInternet (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallBlockCIDRRange
Stack Traces | 0s run time
=== RUN   TestEgressFirewallBlockCIDRRange
=== PAUSE TestEgressFirewallBlockCIDRRange
=== CONT  TestEgressFirewallBlockCIDRRange
    sandbox_network_out_test.go:189: Network test template was not built successfully
--- FAIL: TestEgressFirewallBlockCIDRRange (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallBlockSpecificIP
Stack Traces | 0s run time
=== RUN   TestEgressFirewallBlockSpecificIP
=== PAUSE TestEgressFirewallBlockSpecificIP
=== CONT  TestEgressFirewallBlockSpecificIP
    sandbox_network_out_test.go:139: Network test template was not built successfully
--- FAIL: TestEgressFirewallBlockSpecificIP (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallDNSSpoofingNeutralized
Stack Traces | 0s run time
=== RUN   TestEgressFirewallDNSSpoofingNeutralized
=== PAUSE TestEgressFirewallDNSSpoofingNeutralized
=== CONT  TestEgressFirewallDNSSpoofingNeutralized
    sandbox_network_out_test.go:849: Network test template was not built successfully
--- FAIL: TestEgressFirewallDNSSpoofingNeutralized (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallDomainCaseInsensitive
Stack Traces | 0s run time
=== RUN   TestEgressFirewallDomainCaseInsensitive
=== PAUSE TestEgressFirewallDomainCaseInsensitive
=== CONT  TestEgressFirewallDomainCaseInsensitive
    sandbox_network_out_test.go:631: Network test template was not built successfully
--- FAIL: TestEgressFirewallDomainCaseInsensitive (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallDomainPersistsAfterResume
Stack Traces | 0s run time
=== RUN   TestEgressFirewallDomainPersistsAfterResume
=== PAUSE TestEgressFirewallDomainPersistsAfterResume
=== CONT  TestEgressFirewallDomainPersistsAfterResume
    sandbox_network_out_test.go:713: Network test template was not built successfully
--- FAIL: TestEgressFirewallDomainPersistsAfterResume (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallEmptyConfig
Stack Traces | 0s run time
=== RUN   TestEgressFirewallEmptyConfig
=== PAUSE TestEgressFirewallEmptyConfig
=== CONT  TestEgressFirewallEmptyConfig
    sandbox_network_out_test.go:283: Network test template was not built successfully
--- FAIL: TestEgressFirewallEmptyConfig (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallExactDomainMatchVsSubdomain
Stack Traces | 0s run time
=== RUN   TestEgressFirewallExactDomainMatchVsSubdomain
=== PAUSE TestEgressFirewallExactDomainMatchVsSubdomain
=== CONT  TestEgressFirewallExactDomainMatchVsSubdomain
    sandbox_network_out_test.go:578: Network test template was not built successfully
--- FAIL: TestEgressFirewallExactDomainMatchVsSubdomain (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallHTTPDomainFiltering
Stack Traces | 0s run time
=== RUN   TestEgressFirewallHTTPDomainFiltering
=== PAUSE TestEgressFirewallHTTPDomainFiltering
=== CONT  TestEgressFirewallHTTPDomainFiltering
    sandbox_network_out_test.go:761: Network test template was not built successfully
--- FAIL: TestEgressFirewallHTTPDomainFiltering (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallHTTPSByIPNoHostname
Stack Traces | 0s run time
=== RUN   TestEgressFirewallHTTPSByIPNoHostname
=== PAUSE TestEgressFirewallHTTPSByIPNoHostname
=== CONT  TestEgressFirewallHTTPSByIPNoHostname
    sandbox_network_out_test.go:686: Network test template was not built successfully
--- FAIL: TestEgressFirewallHTTPSByIPNoHostname (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallMultipleAllowedIPs
Stack Traces | 0s run time
=== RUN   TestEgressFirewallMultipleAllowedIPs
=== PAUSE TestEgressFirewallMultipleAllowedIPs
=== CONT  TestEgressFirewallMultipleAllowedIPs
    sandbox_network_out_test.go:357: Network test template was not built successfully
--- FAIL: TestEgressFirewallMultipleAllowedIPs (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallPersistsAfterResume
Stack Traces | 0s run time
=== RUN   TestEgressFirewallPersistsAfterResume
=== PAUSE TestEgressFirewallPersistsAfterResume
=== CONT  TestEgressFirewallPersistsAfterResume
    sandbox_network_out_test.go:240: Network test template was not built successfully
--- FAIL: TestEgressFirewallPersistsAfterResume (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallPrivateIPRangesAlwaysBlocked
Stack Traces | 0s run time
=== RUN   TestEgressFirewallPrivateIPRangesAlwaysBlocked
=== PAUSE TestEgressFirewallPrivateIPRangesAlwaysBlocked
=== CONT  TestEgressFirewallPrivateIPRangesAlwaysBlocked
    sandbox_network_out_test.go:413: Network test template was not built successfully
--- FAIL: TestEgressFirewallPrivateIPRangesAlwaysBlocked (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallRegularIPThenAllowAll
Stack Traces | 0s run time
=== RUN   TestEgressFirewallRegularIPThenAllowAll
=== PAUSE TestEgressFirewallRegularIPThenAllowAll
=== CONT  TestEgressFirewallRegularIPThenAllowAll
    sandbox_network_out_test.go:499: Network test template was not built successfully
--- FAIL: TestEgressFirewallRegularIPThenAllowAll (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallUDPAllowedIP
Stack Traces | 0s run time
=== RUN   TestEgressFirewallUDPAllowedIP
=== PAUSE TestEgressFirewallUDPAllowedIP
=== CONT  TestEgressFirewallUDPAllowedIP
    sandbox_network_out_test.go:791: Network test template was not built successfully
--- FAIL: TestEgressFirewallUDPAllowedIP (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallWithInternetAccessFalse
Stack Traces | 0s run time
=== RUN   TestEgressFirewallWithInternetAccessFalse
=== PAUSE TestEgressFirewallWithInternetAccessFalse
=== CONT  TestEgressFirewallWithInternetAccessFalse
    sandbox_network_out_test.go:384: Network test template was not built successfully
--- FAIL: TestEgressFirewallWithInternetAccessFalse (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestInternetAccessResumedSbx
Stack Traces | 0s run time
=== RUN   TestInternetAccessResumedSbx
=== PAUSE TestInternetAccessResumedSbx
=== CONT  TestInternetAccessResumedSbx
--- FAIL: TestInternetAccessResumedSbx (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestNoNetworkConfig_SSHWorks
Stack Traces | 0s run time
=== RUN   TestNoNetworkConfig_SSHWorks
=== PAUSE TestNoNetworkConfig_SSHWorks
=== CONT  TestNoNetworkConfig_SSHWorks
    sandbox_network_out_test.go:903: Network test template was not built successfully
--- FAIL: TestNoNetworkConfig_SSHWorks (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxConnect
Stack Traces | 0s run time
=== RUN   TestSandboxConnect
=== PAUSE TestSandboxConnect
=== CONT  TestSandboxConnect
--- FAIL: TestSandboxConnect (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxKill
Stack Traces | 0s run time
=== RUN   TestSandboxKill
=== PAUSE TestSandboxKill
=== CONT  TestSandboxKill
--- FAIL: TestSandboxKill (0.00s)
Executing command curl in sandbox i9bb8beqarhxgxk6cie59
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxPause
Stack Traces | 0s run time
=== RUN   TestSandboxPause
=== PAUSE TestSandboxPause
=== CONT  TestSandboxPause
--- FAIL: TestSandboxPause (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxResume
Stack Traces | 0s run time
=== RUN   TestSandboxResume
=== PAUSE TestSandboxResume
=== CONT  TestSandboxResume
--- FAIL: TestSandboxResume (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateConcurrentOperations
Stack Traces | 0s run time
=== RUN   TestSnapshotTemplateConcurrentOperations
=== PAUSE TestSnapshotTemplateConcurrentOperations
=== CONT  TestSnapshotTemplateConcurrentOperations
--- FAIL: TestSnapshotTemplateConcurrentOperations (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreate
Stack Traces | 0s run time
=== RUN   TestSnapshotTemplateCreate
=== PAUSE TestSnapshotTemplateCreate
=== CONT  TestSnapshotTemplateCreate
--- FAIL: TestSnapshotTemplateCreate (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreateSandbox
Stack Traces | 0s run time
=== RUN   TestSnapshotTemplateCreateSandbox
=== PAUSE TestSnapshotTemplateCreateSandbox
=== CONT  TestSnapshotTemplateCreateSandbox
--- FAIL: TestSnapshotTemplateCreateSandbox (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateDelete
Stack Traces | 0s run time
=== RUN   TestSnapshotTemplateDelete
=== PAUSE TestSnapshotTemplateDelete
=== CONT  TestSnapshotTemplateDelete
--- FAIL: TestSnapshotTemplateDelete (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateList
Stack Traces | 0s run time
=== RUN   TestSnapshotTemplateList
=== PAUSE TestSnapshotTemplateList
=== CONT  TestSnapshotTemplateList
--- FAIL: TestSnapshotTemplateList (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestWithNetworkConfig_SSHWorks
Stack Traces | 0s run time
=== RUN   TestWithNetworkConfig_SSHWorks
=== PAUSE TestWithNetworkConfig_SSHWorks
=== CONT  TestWithNetworkConfig_SSHWorks
    sandbox_network_out_test.go:938: Network test template was not built successfully
--- FAIL: TestWithNetworkConfig_SSHWorks (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV
Stack Traces | 0s run time
=== RUN   TestTemplateBuildENV
=== PAUSE TestTemplateBuildENV
=== CONT  TestTemplateBuildENV
--- FAIL: TestTemplateBuildENV (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplate
Stack Traces | 0s run time
=== RUN   TestTemplateBuildFromTemplate
=== PAUSE TestTemplateBuildFromTemplate
=== CONT  TestTemplateBuildFromTemplate
--- FAIL: TestTemplateBuildFromTemplate (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateBaseCommandsInheritance
Stack Traces | 0s run time
=== RUN   TestTemplateBuildFromTemplateBaseCommandsInheritance
=== PAUSE TestTemplateBuildFromTemplateBaseCommandsInheritance
=== CONT  TestTemplateBuildFromTemplateBaseCommandsInheritance
--- FAIL: TestTemplateBuildFromTemplateBaseCommandsInheritance (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateCommandOverride
Stack Traces | 0s run time
=== RUN   TestTemplateBuildFromTemplateCommandOverride
=== PAUSE TestTemplateBuildFromTemplateCommandOverride
=== CONT  TestTemplateBuildFromTemplateCommandOverride
--- FAIL: TestTemplateBuildFromTemplateCommandOverride (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateLayered
Stack Traces | 0s run time
=== RUN   TestTemplateBuildFromTemplateLayered
=== PAUSE TestTemplateBuildFromTemplateLayered
=== CONT  TestTemplateBuildFromTemplateLayered
--- FAIL: TestTemplateBuildFromTemplateLayered (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildRUN
Stack Traces | 0s run time
=== RUN   TestTemplateBuildRUN
=== PAUSE TestTemplateBuildRUN
=== CONT  TestTemplateBuildRUN
--- FAIL: TestTemplateBuildRUN (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWORKDIR
Stack Traces | 0s run time
=== RUN   TestTemplateBuildWORKDIR
=== PAUSE TestTemplateBuildWORKDIR
=== CONT  TestTemplateBuildWORKDIR
--- FAIL: TestTemplateBuildWORKDIR (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWithDifferentSourceImages
Stack Traces | 0s run time
=== RUN   TestTemplateBuildWithDifferentSourceImages
=== PAUSE TestTemplateBuildWithDifferentSourceImages
=== CONT  TestTemplateBuildWithDifferentSourceImages
--- FAIL: TestTemplateBuildWithDifferentSourceImages (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/orchestrator::TestSandboxFilesystemPauseResumeIntegrity
Stack Traces | 0s run time
=== RUN   TestSandboxFilesystemPauseResumeIntegrity
=== PAUSE TestSandboxFilesystemPauseResumeIntegrity
=== CONT  TestSandboxFilesystemPauseResumeIntegrity
--- FAIL: TestSandboxFilesystemPauseResumeIntegrity (0.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxConnect/concurrent_connects_-_not_returning_early
Stack Traces | 2.63s run time
=== RUN   TestSandboxConnect/concurrent_connects_-_not_returning_early
=== PAUSE TestSandboxConnect/concurrent_connects_-_not_returning_early
=== CONT  TestSandboxConnect/concurrent_connects_-_not_returning_early
    sandbox_connect_test.go:180: 
        	Error Trace:	.../api/sandboxes/sandbox_connect_test.go:180
        	Error:      	Received unexpected error:
        	            	get sandbox - unexpected state: paused
        	Test:       	TestSandboxConnect/concurrent_connects_-_not_returning_early
--- FAIL: TestSandboxConnect/concurrent_connects_-_not_returning_early (2.63s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxRapidSnapshotForkChain
Stack Traces | 3.19s run time
=== RUN   TestSandboxRapidSnapshotForkChain
=== PAUSE TestSandboxRapidSnapshotForkChain
=== CONT  TestSandboxRapidSnapshotForkChain
    sandbox_rapid_pause_resume_test.go:43: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/sandbox_rapid_pause_resume_test.go:43
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxRapidSnapshotForkChain
--- FAIL: TestSandboxRapidSnapshotForkChain (3.19s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox
Stack Traces | 3.41s run time
=== RUN   TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox
=== PAUSE TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox
=== CONT  TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox
    sandbox_kill_test.go:125: 
        	Error Trace:	.../api/sandboxes/sandbox_kill_test.go:125
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox
--- FAIL: TestSandboxKill/start_and_kill_a_subsequently_paused_sandbox (3.41s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreate/create_snapshot_with_name
Stack Traces | 3.92s run time
=== RUN   TestSnapshotTemplateCreate/create_snapshot_with_name
=== PAUSE TestSnapshotTemplateCreate/create_snapshot_with_name
=== CONT  TestSnapshotTemplateCreate/create_snapshot_with_name
    snapshot_template_test.go:68: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:68
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreate/create_snapshot_with_name
--- FAIL: TestSnapshotTemplateCreate/create_snapshot_with_name (3.92s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxConnect/connect_with_paused_sandbox
Stack Traces | 4.01s run time
=== RUN   TestSandboxConnect/connect_with_paused_sandbox
=== PAUSE TestSandboxConnect/connect_with_paused_sandbox
=== CONT  TestSandboxConnect/connect_with_paused_sandbox
    sandbox_connect_test.go:33: 
        	Error Trace:	.../api/sandboxes/sandbox_connect_test.go:33
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxConnect/connect_with_paused_sandbox
--- FAIL: TestSandboxConnect/connect_with_paused_sandbox (4.01s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name
Stack Traces | 4.2s run time
=== RUN   TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name
=== PAUSE TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name
=== CONT  TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name
    snapshot_template_test.go:169: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:169
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name
--- FAIL: TestSnapshotTemplateDelete/delete_unnamed_snapshot_by_name (4.20s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name
Stack Traces | 4.33s run time
=== RUN   TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name
=== PAUSE TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name
=== CONT  TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name
    snapshot_template_test.go:221: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:221
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name
--- FAIL: TestSnapshotTemplateCreateSandbox/create_sandbox_from_unnamed_snapshot_using_name (4.33s)
github.com/e2b-dev/infra/tests/integration/internal/tests/envd::TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
Stack Traces | 4.4s run time
=== RUN   TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
=== PAUSE TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
=== CONT  TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
    auth_test.go:243: 
        	Error Trace:	.../tests/envd/auth_test.go:243
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
    auth_test.go:255: 
        	Error Trace:	.../tests/envd/auth_test.go:255
        	Error:      	Not equal: 
        	            	expected: 401
        	            	actual  : 502
        	Test:       	TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken
    auth_test.go:44: Response: {"alias":"base","clientID":"6532622b","envdAccessToken":"2e902c01f9a5a05e7f9d0fc486ca8b2366cad06962ce20b910ae2c00d7f64726","envdVersion":"0.6.3","sandboxID":"imw6aokf0wd9x094ddepm","templateID":"2j6ly824owf4awgai1xo"}
--- FAIL: TestAccessAuthorizedPathWithResumedSandboxWithoutAccessToken (4.40s)
github.com/e2b-dev/infra/tests/integration/internal/tests/envd::TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken
Stack Traces | 4.51s run time
=== RUN   TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken
=== PAUSE TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken
=== CONT  TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken
    auth_test.go:186: 
        	Error Trace:	.../tests/envd/auth_test.go:186
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken
    auth_test.go:44: Response: {"alias":"base","clientID":"6532622b","envdAccessToken":"2dcb5f6ba62c08d695a32ff77247bc89c8745e9da7cb05409afa84b43d7a6a67","envdVersion":"0.6.3","sandboxID":"im1z2kcig2k4lptnjex96","templateID":"2j6ly824owf4awgai1xo"}
--- FAIL: TestAccessAuthorizedPathWithResumedSandboxWithValidAccessToken (4.51s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestInternetAccessResumedSbx/deny_internet_access
Stack Traces | 4.62s run time
=== RUN   TestInternetAccessResumedSbx/deny_internet_access
=== PAUSE TestInternetAccessResumedSbx/deny_internet_access
=== CONT  TestInternetAccessResumedSbx/deny_internet_access
    sandbox_internet_test.go:89: 
        	Error Trace:	.../api/sandboxes/sandbox_internet_test.go:89
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestInternetAccessResumedSbx/deny_internet_access
        	Messages:   	Expected status code 200 OK, got 500
--- FAIL: TestInternetAccessResumedSbx/deny_internet_access (4.62s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestInternetAccessResumedSbx/allow_internet_access
Stack Traces | 4.71s run time
=== RUN   TestInternetAccessResumedSbx/allow_internet_access
=== PAUSE TestInternetAccessResumedSbx/allow_internet_access
=== CONT  TestInternetAccessResumedSbx/allow_internet_access
    sandbox_internet_test.go:89: 
        	Error Trace:	.../api/sandboxes/sandbox_internet_test.go:89
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestInternetAccessResumedSbx/allow_internet_access
        	Messages:   	Expected status code 200 OK, got 500
--- FAIL: TestInternetAccessResumedSbx/allow_internet_access (4.71s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxResume/concurrent_resumes
Stack Traces | 4.72s run time
=== RUN   TestSandboxResume/concurrent_resumes
=== PAUSE TestSandboxResume/concurrent_resumes
=== CONT  TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:62: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:62
        	            				.../pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93
        	            				.../hostedtoolcache/go/1.26.3.../src/runtime/asm_amd64.s:1771
        	Error:      	[]int{201, 409} does not contain 500
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:62: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:62
        	            				.../pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93
        	            				.../hostedtoolcache/go/1.26.3.../src/runtime/asm_amd64.s:1771
        	Error:      	[]int{201, 409} does not contain 500
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:62: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:62
        	            				.../pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93
        	            				.../hostedtoolcache/go/1.26.3.../src/runtime/asm_amd64.s:1771
        	Error:      	[]int{201, 409} does not contain 500
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:62: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:62
        	            				.../pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93
        	            				.../hostedtoolcache/go/1.26.3.../src/runtime/asm_amd64.s:1771
        	Error:      	[]int{201, 409} does not contain 500
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:62: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:62
        	            				.../pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93
        	            				.../hostedtoolcache/go/1.26.3.../src/runtime/asm_amd64.s:1771
        	Error:      	[]int{201, 409} does not contain 500
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:79: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:79
        	Error:      	Not equal: 
        	            	expected: "running"
        	            	actual  : "paused"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,2 @@
        	            	-(api.SandboxState) (len=7) "running"
        	            	+(api.SandboxState) (len=6) "paused"
        	            	 
        	Test:       	TestSandboxResume/concurrent_resumes
    sandbox_resume_test.go:82: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:82
        	Error:      	Should be true
        	Test:       	TestSandboxResume/concurrent_resumes
        	Messages:   	at least one resume should succeed
--- FAIL: TestSandboxResume/concurrent_resumes (4.72s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create
Stack Traces | 4.91s run time
=== RUN   TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create
=== PAUSE TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create
=== CONT  TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create
    snapshot_template_test.go:283: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:283
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create
--- FAIL: TestSnapshotTemplateCreateSandbox/overwritten_snapshot_build_is_served_immediately_on_sandbox_create (4.91s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxPause/regular_pause
Stack Traces | 4.98s run time
=== RUN   TestSandboxPause/regular_pause
=== PAUSE TestSandboxPause/regular_pause
=== CONT  TestSandboxPause/regular_pause
    sandbox_pause_test.go:40: 
        	Error Trace:	.../api/sandboxes/sandbox_pause_test.go:40
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxPause/regular_pause
--- FAIL: TestSandboxPause/regular_pause (4.98s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag
Stack Traces | 5.06s run time
=== RUN   TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag
=== PAUSE TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag
=== CONT  TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag
    snapshot_template_test.go:90: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:90
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag
--- FAIL: TestSnapshotTemplateCreate/create_snapshot_with_name_and_tag (5.06s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateDelete/delete_named_snapshot_by_name
Stack Traces | 5.62s run time
=== RUN   TestSnapshotTemplateDelete/delete_named_snapshot_by_name
=== PAUSE TestSnapshotTemplateDelete/delete_named_snapshot_by_name
=== CONT  TestSnapshotTemplateDelete/delete_named_snapshot_by_name
    snapshot_template_test.go:189: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:189
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateDelete/delete_named_snapshot_by_name
--- FAIL: TestSnapshotTemplateDelete/delete_named_snapshot_by_name (5.62s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name
Stack Traces | 6.62s run time
=== RUN   TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name
=== PAUSE TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name
=== CONT  TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name
    snapshot_template_test.go:250: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:250
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name
--- FAIL: TestSnapshotTemplateCreateSandbox/create_sandbox_from_named_snapshot_using_name (6.62s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestEnvdAccessTokenAutoResumeViaProxy
Stack Traces | 6.7s run time
=== RUN   TestEnvdAccessTokenAutoResumeViaProxy
=== PAUSE TestEnvdAccessTokenAutoResumeViaProxy
=== CONT  TestEnvdAccessTokenAutoResumeViaProxy
    traffic_access_token_test.go:358: 
        	Error Trace:	.../tests/proxies/traffic_access_token_test.go:358
        	Error:      	Not equal: 
        	            	expected: 204
        	            	actual  : 502
        	Test:       	TestEnvdAccessTokenAutoResumeViaProxy
--- FAIL: TestEnvdAccessTokenAutoResumeViaProxy (6.70s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID
Stack Traces | 6.76s run time
=== RUN   TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID
=== PAUSE TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID
=== CONT  TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID
    snapshot_template_test.go:146: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:146
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID
--- FAIL: TestSnapshotTemplateList/list_snapshots_filtered_by_sandbox_ID (6.76s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation
Stack Traces | 6.8s run time
=== RUN   TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation
=== PAUSE TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation
=== CONT  TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation
    snapshot_template_test.go:424: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:424
        	Error:      	Not equal: 
        	            	expected: 204
        	            	actual  : 404
        	Test:       	TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation
        	Messages:   	pause during snapshotting should wait and succeed, body: {"code":404,"message":"Sandbox \"ipbnw1t7vdqfxh2nsmth1\" doesn't exist or you don't have access to it"}
    snapshot_template_test.go:398: snapshot response: 500
--- FAIL: TestSnapshotTemplateConcurrentOperations/pause_during_snapshot_creation (6.80s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateCreate/create_snapshot_without_name
Stack Traces | 6.97s run time
=== RUN   TestSnapshotTemplateCreate/create_snapshot_without_name
=== PAUSE TestSnapshotTemplateCreate/create_snapshot_without_name
=== CONT  TestSnapshotTemplateCreate/create_snapshot_without_name
    snapshot_template_test.go:56: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:56
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateCreate/create_snapshot_without_name
--- FAIL: TestSnapshotTemplateCreate/create_snapshot_without_name (6.97s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestSandboxAutoResumeViaExec
Stack Traces | 7s run time
=== RUN   TestSandboxAutoResumeViaExec
=== PAUSE TestSandboxAutoResumeViaExec
=== CONT  TestSandboxAutoResumeViaExec
    auto_resume_test.go:56: Command [ls] output: event:{start:{pid:1264}}
Executing command ls in sandbox itdyij8nlet04xug4mr7g
    auto_resume_test.go:56: Command [ls] output: event:{end:{exited:true status:"exit status 0"}}
    auto_resume_test.go:56: Command [ls] completed successfully in sandbox i4rw6zkbrlld2r5xm9n3p
    auto_resume_test.go:70: 
        	Error Trace:	.../tests/proxies/auto_resume_test.go:70
        	Error:      	Received unexpected error:
        	            	failed to execute command ls in sandbox i4rw6zkbrlld2r5xm9n3p: unavailable: HTTP status 502 Bad Gateway
        	Test:       	TestSandboxAutoResumeViaExec
--- FAIL: TestSandboxAutoResumeViaExec (7.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSnapshotTemplateList/list_snapshots
Stack Traces | 7.4s run time
=== RUN   TestSnapshotTemplateList/list_snapshots
=== PAUSE TestSnapshotTemplateList/list_snapshots
=== CONT  TestSnapshotTemplateList/list_snapshots
    snapshot_template_test.go:123: 
        	Error Trace:	.../api/sandboxes/snapshot_template_test.go:37
        	            				.../api/sandboxes/snapshot_template_test.go:123
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSnapshotTemplateList/list_snapshots
--- FAIL: TestSnapshotTemplateList/list_snapshots (7.40s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxAutoPausePauseResume
Stack Traces | 7.43s run time
=== RUN   TestSandboxAutoPausePauseResume
=== PAUSE TestSandboxAutoPausePauseResume
=== CONT  TestSandboxAutoPausePauseResume
    sandbox_auto_pause_test.go:51: 
        	Error Trace:	.../api/sandboxes/sandbox_auto_pause_test.go:51
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxAutoPausePauseResume
--- FAIL: TestSandboxAutoPausePauseResume (7.43s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout
Stack Traces | 8.28s run time
=== RUN   TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout
=== PAUSE TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout
=== CONT  TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout
    auto_resume_test.go:203: Command [ls] output: event:{start:{pid:1264}}
    auto_resume_test.go:203: Command [ls] output: event:{end:{exited:true status:"exit status 0"}}
    auto_resume_test.go:203: Command [ls] completed successfully in sandbox iudu10i3euo0m6k1j17um
    auto_resume_test.go:213: 
        	Error Trace:	.../tests/proxies/auto_resume_test.go:213
        	Error:      	Received unexpected error:
        	            	failed to execute command ls in sandbox iudu10i3euo0m6k1j17um: unavailable: HTTP status 502 Bad Gateway
        	Test:       	TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout
--- FAIL: TestSandboxAutoResumeWithoutExplicitTimeoutUsesMinimumTimeout (8.28s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestMaskRequestHostAPIParameter
Stack Traces | 8.52s run time
=== RUN   TestMaskRequestHostAPIParameter
=== PAUSE TestMaskRequestHostAPIParameter
=== CONT  TestMaskRequestHostAPIParameter
    mask_request_host_test.go:38: Command [apt-get] output: event:{start:{pid:1264}}
    mask_request_host_test.go:38: Command [apt-get] output: event:{data:{stdout:"Hit:1 http://deb.debian.org/debian bookworm InRelease\nHit:2 http://deb.debian.org/debian bookworm-updates InRelease\n"}}
    mask_request_host_test.go:38: Command [apt-get] output: event:{data:{stdout:"Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease\n"}}
    mask_request_host_test.go:38: Command [apt-get] output: event:{data:{stdout:"Reading package lists..."}}
    mask_request_host_test.go:38: Command [apt-get] output: event:{data:{stdout:"\n"}}
    mask_request_host_test.go:38: Command [apt-get] output: event:{end:{exited:true status:"exit status 0"}}
    mask_request_host_test.go:38: Command [apt-get] completed successfully in sandbox i9d08ky83esafffdbg6a5
Executing command apt-get in sandbox i9d08ky83esafffdbg6a5 (user: root)
    mask_request_host_test.go:40: Command [apt-get] output: event:{start:{pid:1365}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Reading package lists..."}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Building dependency tree..."}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"\nReading state information..."}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"The following NEW packages will be installed:\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"  netcat-traditional\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"0 upgraded, 1 newly installed, 0 to remove and 155 not upgraded.\nNeed to get 67.9 kB of archives.\nAfter this operation, 146 kB of additional disk space will be used.\nGet:1 http://deb.debian.org/debian bookworm/main amd64 netcat-traditional amd64 1.10-47 [67.9 kB]\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stderr:"debconf: delaying package configuration, since apt-utils is not installed\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Fetched 67.9 kB in 0s (1614 kB/s)\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Selecting previously unselected package netcat-traditional.\r\n(Reading database ... \r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 70%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 75%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 80%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 85%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 90%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 95%\r"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"(Reading database ... 100%\r(Reading database ... 26062 files and directories currently installed.)\r\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Preparing to unpack .../netcat-traditional_1.10-47_amd64.deb ...\r\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Unpacking netcat-traditional (1.10-47) ...\r\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"Setting up netcat-traditional (1.10-47) ...\r\n"}}
Executing command ls in sandbox iju0q1kna7y7xmxntyrv5
    mask_request_host_test.go:40: Command [apt-get] output: event:{data:{stdout:"update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto mode\r\n"}}
    mask_request_host_test.go:40: Command [apt-get] output: event:{end:{exited:true status:"exit status 0"}}
    mask_request_host_test.go:40: Command [apt-get] completed successfully in sandbox i9d08ky83esafffdbg6a5
Executing command /bin/bash in sandbox i9d08ky83esafffdbg6a5 (user: root)
    mask_request_host_test.go:47: Command [/bin/bash] output: event:{start:{pid:1393}}
    mask_request_host_test.go:73: 
        	Error Trace:	.../tests/proxies/mask_request_host_test.go:73
        	Error:      	Received unexpected error:
        	            	failed to execute command cat in sandbox i9d08ky83esafffdbg6a5: unavailable: HTTP status 502 Bad Gateway
        	Test:       	TestMaskRequestHostAPIParameter
--- FAIL: TestMaskRequestHostAPIParameter (8.52s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout
Stack Traces | 8.75s run time
=== RUN   TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout
=== PAUSE TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout
=== CONT  TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout
Executing command ls in sandbox iudu10i3euo0m6k1j17um
    auto_resume_test.go:254: Command [ls] output: event:{start:{pid:1264}}
    auto_resume_test.go:254: Command [ls] output: event:{end:{exited:true status:"exit status 0"}}
    auto_resume_test.go:254: Command [ls] completed successfully in sandbox iab8hpzhgpzqdvgywfkir
Executing command ls in sandbox iudu10i3euo0m6k1j17um
    auto_resume_test.go:264: 
        	Error Trace:	.../tests/proxies/auto_resume_test.go:264
        	Error:      	Received unexpected error:
        	            	failed to execute command ls in sandbox iab8hpzhgpzqdvgywfkir: unavailable: HTTP status 502 Bad Gateway
        	Test:       	TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout
--- FAIL: TestSandboxAutoResumeUsesInitialTimeoutNotUpdatedTimeout (8.75s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxResume/regular_resume
Stack Traces | 10.1s run time
=== RUN   TestSandboxResume/regular_resume
=== PAUSE TestSandboxResume/regular_resume
=== CONT  TestSandboxResume/regular_resume
    sandbox_resume_test.go:42: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:42
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxResume/regular_resume
--- FAIL: TestSandboxResume/regular_resume (10.07s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxResume/concurrent_resumes_-_not_returning_early
Stack Traces | 10.3s run time
=== RUN   TestSandboxResume/concurrent_resumes_-_not_returning_early
=== PAUSE TestSandboxResume/concurrent_resumes_-_not_returning_early
=== CONT  TestSandboxResume/concurrent_resumes_-_not_returning_early
    sandbox_resume_test.go:171: 
        	Error Trace:	.../api/sandboxes/sandbox_resume_test.go:171
        	Error:      	Received unexpected error:
        	            	get sandbox - unexpected state: paused
        	Test:       	TestSandboxResume/concurrent_resumes_-_not_returning_early
--- FAIL: TestSandboxResume/concurrent_resumes_-_not_returning_early (10.28s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxAutoPauseResumePersisted
Stack Traces | 11.9s run time
=== RUN   TestSandboxAutoPauseResumePersisted
=== PAUSE TestSandboxAutoPauseResumePersisted
=== CONT  TestSandboxAutoPauseResumePersisted
    sandbox_auto_pause_test.go:99: 
        	Error Trace:	.../api/sandboxes/sandbox_auto_pause_test.go:99
        	Error:      	Not equal: 
        	            	expected: 200
        	            	actual  : 502
        	Test:       	TestSandboxAutoPauseResumePersisted
--- FAIL: TestSandboxAutoPauseResumePersisted (11.88s)
github.com/e2b-dev/infra/tests/integration/internal/tests/orchestrator::TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause
Stack Traces | 12.4s run time
=== RUN   TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause
=== PAUSE TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause
=== CONT  TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause
Executing command bash in sandbox ibzbi40bvf1ix0627xoq7 (user: root)
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{start:{pid:1264}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] completed successfully in sandbox izy69gbus1i5j5vyv6cg2
Executing command bash in sandbox izy69gbus1i5j5vyv6cg2 (user: root)
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{start:{pid:1270}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{data:{stdout:"a1032207670ae79148e0d88a8da11beb70f200ac23dbcb9a443e2e1d71a06e8e\n"}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] completed successfully in sandbox izy69gbus1i5j5vyv6cg2
Executing command bash in sandbox izy69gbus1i5j5vyv6cg2 (user: root)
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{start:{pid:1276}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{data:{stdout:"12582912\n"}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:55: Command [bash] completed successfully in sandbox izy69gbus1i5j5vyv6cg2
    filesystem_pause_resume_integrity_test.go:55: 
        	Error Trace:	.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:169
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:199
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:55
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause
--- FAIL: TestSandboxFilesystemPauseResumeIntegrity/zeroed_ranges_and_truncate_survive_pause (12.39s)
github.com/e2b-dev/infra/tests/integration/internal/tests/orchestrator::TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause
Stack Traces | 13.2s run time
=== RUN   TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause
=== PAUSE TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause
=== CONT  TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause
Executing command bash in sandbox ipa7qgrymz6og1it83yiz (user: root)
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{start:{pid:1264}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] completed successfully in sandbox ibzbi40bvf1ix0627xoq7
Executing command bash in sandbox ibzbi40bvf1ix0627xoq7 (user: root)
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{start:{pid:1270}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{data:{stdout:"68733113af49d9f3d9c4f7360642109bb8ffd6ffbcaf1bc79b4ad27f6a0eb629\n"}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] completed successfully in sandbox ibzbi40bvf1ix0627xoq7
Executing command bash in sandbox ibzbi40bvf1ix0627xoq7 (user: root)
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{start:{pid:1276}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{data:{stdout:"261095424\n"}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:43: Command [bash] completed successfully in sandbox ibzbi40bvf1ix0627xoq7
Executing command bash in sandbox ib4gbgalnx3nkzvwf5lem (user: root)
    filesystem_pause_resume_integrity_test.go:43: 
        	Error Trace:	.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:128
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:137
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:43
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause
--- FAIL: TestSandboxFilesystemPauseResumeIntegrity/scattered_write_hash_survives_pause (13.21s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestSandboxResumeWithSecuredEnvd
Stack Traces | 15.4s run time
=== RUN   TestSandboxResumeWithSecuredEnvd
=== PAUSE TestSandboxResumeWithSecuredEnvd
=== CONT  TestSandboxResumeWithSecuredEnvd
    sandbox_test.go:102: 
        	Error Trace:	.../api/sandboxes/sandbox_test.go:102
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxResumeWithSecuredEnvd
--- FAIL: TestSandboxResumeWithSecuredEnvd (15.41s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestSandboxCreateWithAliasAndTag
Stack Traces | 15.9s run time
=== RUN   TestSandboxCreateWithAliasAndTag
=== PAUSE TestSandboxCreateWithAliasAndTag
=== CONT  TestSandboxCreateWithAliasAndTag
    template_tags_test.go:207: Build completed successfully
    template_tags_test.go:236: 
        	Error Trace:	.../api/templates/template_tags_test.go:236
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxCreateWithAliasAndTag
    template_tags_test.go:237: 
        	Error Trace:	.../api/templates/template_tags_test.go:237
        	Error:      	Expected value not to be nil.
        	Test:       	TestSandboxCreateWithAliasAndTag
    template_tags_test.go:228: Response: {"code":500,"message":"Failed to place sandbox"}
--- FAIL: TestSandboxCreateWithAliasAndTag (15.87s)
github.com/e2b-dev/infra/tests/integration/internal/tests/orchestrator::TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause
Stack Traces | 16.4s run time
=== RUN   TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause
=== PAUSE TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause
=== CONT  TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{start:{pid:1264}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] completed successfully in sandbox ib4gbgalnx3nkzvwf5lem
Executing command bash in sandbox ib4gbgalnx3nkzvwf5lem (user: root)
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{start:{pid:1269}}
Executing command bash in sandbox izy69gbus1i5j5vyv6cg2 (user: root)
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{data:{stdout:"9aeda0ca13e528c577f7436bdf406521ffbce63dde0d7ae17dc0aa0ea709fe89\n"}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] completed successfully in sandbox ib4gbgalnx3nkzvwf5lem
Executing command bash in sandbox ib4gbgalnx3nkzvwf5lem (user: root)
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{start:{pid:1276}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{data:{stdout:"67108864\n"}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] output: event:{end:{exited:true status:"exit status 0"}}
    filesystem_pause_resume_integrity_test.go:31: Command [bash] completed successfully in sandbox ib4gbgalnx3nkzvwf5lem
    filesystem_pause_resume_integrity_test.go:31: 
        	Error Trace:	.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:128
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:137
        	            				.../tests/orchestrator/filesystem_pause_resume_integrity_test.go:31
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause
--- FAIL: TestSandboxFilesystemPauseResumeIntegrity/contiguous_write_hash_survives_pause (16.42s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_with_PEM-style_dashes
Stack Traces | 16.4s run time
=== RUN   TestTemplateBuildENV/ENV_with_PEM-style_dashes
=== PAUSE TestTemplateBuildENV/ENV_with_PEM-style_dashes
=== CONT  TestTemplateBuildENV/ENV_with_PEM-style_dashes
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [info] Building template fw04hhzj9du756a7cazz/eb478b17-0e96-43bf-afcf-f723818f1d28
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [info] [builder 1/2] ENV PEM_HEADER -----BEGIN DATA----- [51a795499e20ee703f3c59f64db9b4d0bdf06887065fd04dcd41a8ed6b8c00fd]
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [info] [builder 2/2] RUN [[ "$PEM_HEADER" == "-----BEGIN DATA-----" ]] || exit 1 [f129d4de987a51a721eb52385adc3975e8c4d3c613a44dbc6e6596035dddddca]
    build_template_test.go:133: test-ubuntu-env-pem-dashes: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_with_PEM-style_dashes (16.44s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWithTagsAndSandboxCreation
Stack Traces | 16.8s run time
=== RUN   TestTemplateBuildWithTagsAndSandboxCreation
=== PAUSE TestTemplateBuildWithTagsAndSandboxCreation
=== CONT  TestTemplateBuildWithTagsAndSandboxCreation
    template_tags_test.go:433: Build completed successfully
    template_tags_test.go:460: 
        	Error Trace:	.../api/templates/template_tags_test.go:460
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestTemplateBuildWithTagsAndSandboxCreation
    template_tags_test.go:461: 
        	Error Trace:	.../api/templates/template_tags_test.go:461
        	Error:      	Expected value not to be nil.
        	Test:       	TestTemplateBuildWithTagsAndSandboxCreation
    template_tags_test.go:452: Response: {"code":500,"message":"Failed to place sandbox"}
--- FAIL: TestTemplateBuildWithTagsAndSandboxCreation (16.76s)
github.com/e2b-dev/infra/tests/integration/internal/tests/envd::TestCommandKillNextApp
Stack Traces | 17.2s run time
=== RUN   TestCommandKillNextApp
=== PAUSE TestCommandKillNextApp
=== CONT  TestCommandKillNextApp
Executing command /bin/bash in sandbox i1w873156w1pm3r141q0h
    process_test.go:30: Command [npx] output: event:{start:{pid:1264}}
    process_test.go:30: Command [npx] output: event:{data:{stderr:"npm"}}
    process_test.go:30: Command [npx] output: event:{data:{stderr:" WARN exec The following package was not found and will be installed: create-next-app@16.2.8\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"Creating a new Next.js app in .../home/user/nextapp.\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"Using npm.\n\nInitializing project with template: app-tw \n\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"\nInstalling dependencies:\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"- next\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"- react\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"- react-dom\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"\nInstalling devDependencies:\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"- @tailwindcss/postcss\n"}}
    process_test.go:30: Command [npx] output: event:{data:{stdout:"- @types/node\n- @types/react\n- @types/react-dom\n- eslint\n- eslint-config-next\n- tailwindcss\n- typescript\n\n"}}
    process_test.go:31: 
        	Error Trace:	.../tests/envd/process_test.go:31
        	Error:      	Received unexpected error:
        	            	failed to execute command npx in sandbox im6qyzfv627oaba1as1iw: invalid_argument: protocol error: incomplete envelope: unexpected EOF
        	Test:       	TestCommandKillNextApp
--- FAIL: TestCommandKillNextApp (17.17s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWORKDIR/WORKDIR_persistence
Stack Traces | 17.6s run time
=== RUN   TestTemplateBuildWORKDIR/WORKDIR_persistence
=== PAUSE TestTemplateBuildWORKDIR/WORKDIR_persistence
=== CONT  TestTemplateBuildWORKDIR/WORKDIR_persistence
    build_template_test.go:133: test-ubuntu-workdir-persistence: [info] Building template 7x0sywndueqxxtwlj9zl/7b10014f-8386-44a9-90a0-92f19cae8c40
    build_template_test.go:133: test-ubuntu-workdir-persistence: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-workdir-persistence: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-workdir-persistence: [info] [builder 1/2] WORKDIR /app [a78bed53b7795657fd4ed471d55364c5557fbc14d1afce4e0e3d9e384c5e66ca]
    build_template_test.go:133: test-ubuntu-workdir-persistence: [info] [builder 2/2] RUN [[ "$(pwd)" == "/app" ]] || exit 1 [e8528a05f1bb397e294ed2bb76a2401910f82b500fc36cdba5891039845a21de]
    build_template_test.go:133: test-ubuntu-workdir-persistence: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:428: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildWORKDIR/WORKDIR_persistence (17.58s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateBaseCommandsInheritance/Start_command_inherited_from_base_template_uses_original_base_context
Stack Traces | 17.8s run time
=== RUN   TestTemplateBuildFromTemplateBaseCommandsInheritance/Start_command_inherited_from_base_template_uses_original_base_context
=== PAUSE TestTemplateBuildFromTemplateBaseCommandsInheritance/Start_command_inherited_from_base_template_uses_original_base_context
=== CONT  TestTemplateBuildFromTemplateBaseCommandsInheritance/Start_command_inherited_from_base_template_uses_original_base_context
    build_template_test.go:133: test-ubuntu-base-with-start: [info] Building template kiz0irllhmgqhjew6jwn/643dbd37-f03f-4c8c-a497-122075e28d6d
    build_template_test.go:133: test-ubuntu-base-with-start: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-base-with-start: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-base-with-start: [info] [builder 1/2] ENV BASE_VAR base_value [6c6d3a9337a541e06a528bc8e8c51570f45dda79fee6e14abdcd61b0e8789ae4]
    build_template_test.go:133: test-ubuntu-base-with-start: [info] [builder 2/2] WORKDIR /app/base [7b302c462fbcf4dae68e83fc8e62e28c36694a0310185e92a5b4465149d1197d]
    build_template_test.go:133: test-ubuntu-base-with-start: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:758: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplateBaseCommandsInheritance/Start_command_inherited_from_base_template_uses_original_base_context (17.84s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_variable_persistence
Stack Traces | 18s run time
=== RUN   TestTemplateBuildENV/ENV_variable_persistence
=== PAUSE TestTemplateBuildENV/ENV_variable_persistence
=== CONT  TestTemplateBuildENV/ENV_variable_persistence
    build_template_test.go:133: test-ubuntu-env: [info] Building template vcqcm5enexxjxro1rkns/c04cd8cb-c831-4bd2-9f7b-b2e6628832cf
    build_template_test.go:133: test-ubuntu-env: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env: [info] [builder 1/2] ENV ENV_VAR Hello, World! [774a50a7db5ed308c13265fbd26aa36dcb1854ef7897e70f80a8660220411271]
    build_template_test.go:133: test-ubuntu-env: [info] [builder 2/2] RUN : "${ENV_VAR:?ENV_VAR is not set or empty}"; echo "$ENV_VAR" [44621cb4c69132221c90263b70c3097c603ce79843351534d826ffd76eda00ed]
    build_template_test.go:133: test-ubuntu-env: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_variable_persistence (18.00s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_blocks_command_substitution_with_dollar_paren
Stack Traces | 18.3s run time
=== RUN   TestTemplateBuildENV/ENV_blocks_command_substitution_with_dollar_paren
=== PAUSE TestTemplateBuildENV/ENV_blocks_command_substitution_with_dollar_paren
=== CONT  TestTemplateBuildENV/ENV_blocks_command_substitution_with_dollar_paren
    build_template_test.go:133: test-ubuntu-env-dollarparen: [info] Building template udafvx66w3bz0m30zrg4/7fda3016-5f6f-435c-ac52-8213a2f4385a
    build_template_test.go:133: test-ubuntu-env-dollarparen: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-dollarparen: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-dollarparen: [info] [builder 1/2] ENV LITERAL_CMD2 $(echo pwned) [17e88777d5c59804ca59504d4986fc4d2f5f7d84131add626f2207009ea96638]
    build_template_test.go:133: test-ubuntu-env-dollarparen: [info] [builder 2/2] RUN [[ "$LITERAL_CMD2" == '$(echo pwned)' ]] || exit 1 [5f0373d95acc9d72cbdaa8e72230f48a7cf6bd817c0ddab514ec2a8c0579969c]
    build_template_test.go:133: test-ubuntu-env-dollarparen: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_blocks_command_substitution_with_dollar_paren (18.31s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWithTagInAlias
Stack Traces | 18.4s run time
=== RUN   TestTemplateBuildWithTagInAlias
=== PAUSE TestTemplateBuildWithTagInAlias
=== CONT  TestTemplateBuildWithTagInAlias
    template_tags_test.go:475: Build completed successfully
    template_tags_test.go:503: 
        	Error Trace:	.../api/templates/template_tags_test.go:503
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestTemplateBuildWithTagInAlias
    template_tags_test.go:504: 
        	Error Trace:	.../api/templates/template_tags_test.go:504
        	Error:      	Expected value not to be nil.
        	Test:       	TestTemplateBuildWithTagInAlias
    template_tags_test.go:495: Response: {"code":500,"message":"Failed to place sandbox"}
--- FAIL: TestTemplateBuildWithTagInAlias (18.37s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_with_double_quotes
Stack Traces | 18.6s run time
=== RUN   TestTemplateBuildENV/ENV_with_double_quotes
=== PAUSE TestTemplateBuildENV/ENV_with_double_quotes
=== CONT  TestTemplateBuildENV/ENV_with_double_quotes
    build_template_test.go:133: test-ubuntu-env-quotes: [info] Building template su4ip02po6cxe2y7giwc/874fcd41-1cb5-417f-8fbc-d9f01604ba8e
    build_template_test.go:133: test-ubuntu-env-quotes: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-quotes: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-quotes: [info] [builder 1/2] ENV QUOTED_VAR say "hello" [db06706c1e7fd3773ff3d57f3462c0555ba734cc062844b04f9a8e9778fbc427]
    build_template_test.go:133: test-ubuntu-env-quotes: [info] [builder 2/2] RUN [[ "$QUOTED_VAR" == 'say "hello"' ]] || exit 1 [5366dc8a958b5e2054ff87a80ef90ca24b2dc0e476b7d1522bbd3e208ba177f6]
    build_template_test.go:133: test-ubuntu-env-quotes: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_with_double_quotes (18.55s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_with_single_quotes
Stack Traces | 18.6s run time
=== RUN   TestTemplateBuildENV/ENV_with_single_quotes
=== PAUSE TestTemplateBuildENV/ENV_with_single_quotes
=== CONT  TestTemplateBuildENV/ENV_with_single_quotes
    build_template_test.go:133: test-ubuntu-env-single-quotes: [info] Building template kxzjlwxpv2doy0hz2et9/497df274-eda1-48dc-a243-bd6767605c15
    build_template_test.go:133: test-ubuntu-env-single-quotes: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-single-quotes: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-single-quotes: [info] [builder 1/2] ENV SINGLE_QUOTED it's working [217e37df91b06ebaa0f4f33c3a7dfb371831ac3bc0925eae8791d7520c25aa24]
    build_template_test.go:133: test-ubuntu-env-single-quotes: [info] [builder 2/2] RUN [[ "$SINGLE_QUOTED" == "it's working" ]] || exit 1 [252f3f8f751f77570d641d433dff0f152d647ab2b1c1b196830f9112a1bb029b]
    build_template_test.go:133: test-ubuntu-env-single-quotes: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_with_single_quotes (18.55s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_with_multiline_value
Stack Traces | 18.7s run time
=== RUN   TestTemplateBuildENV/ENV_with_multiline_value
=== PAUSE TestTemplateBuildENV/ENV_with_multiline_value
=== CONT  TestTemplateBuildENV/ENV_with_multiline_value
    build_template_test.go:133: test-ubuntu-env-multiline: [info] Building template j4s6k51t2lxigc55rt5v/d22f38bc-325d-41ea-91e9-3a9108cc0841
    build_template_test.go:133: test-ubuntu-env-multiline: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-multiline: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-multiline: [info] [builder 1/2] ENV MULTILINE line1
        line2
        line3 [ce06ccffa244b3bd72719bb7bb59c87c77919d65aa0b2a9d8785dfada0f09127]
    build_template_test.go:133: test-ubuntu-env-multiline: [info] [builder 2/2] RUN [[ $(echo "$MULTILINE" | wc -l) -eq 3 ]] || exit 1 [8ff1f02823d77c295433c50d9d5808629913083ec46c0951e33e5e735d55c0c7]
    build_template_test.go:133: test-ubuntu-env-multiline: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_with_multiline_value (18.72s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestSandboxCreateWithTag
Stack Traces | 18.9s run time
=== RUN   TestSandboxCreateWithTag
=== PAUSE TestSandboxCreateWithTag
=== CONT  TestSandboxCreateWithTag
    template_tags_test.go:115: Build completed successfully
    template_tags_test.go:143: 
        	Error Trace:	.../api/templates/template_tags_test.go:143
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestSandboxCreateWithTag
    template_tags_test.go:144: 
        	Error Trace:	.../api/templates/template_tags_test.go:144
        	Error:      	Expected value not to be nil.
        	Test:       	TestSandboxCreateWithTag
    template_tags_test.go:135: Response: {"code":500,"message":"Failed to place sandbox"}
--- FAIL: TestSandboxCreateWithTag (18.91s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateCommandOverride/Start_command_override_in_derived_template
Stack Traces | 19.4s run time
=== RUN   TestTemplateBuildFromTemplateCommandOverride/Start_command_override_in_derived_template
=== PAUSE TestTemplateBuildFromTemplateCommandOverride/Start_command_override_in_derived_template
=== CONT  TestTemplateBuildFromTemplateCommandOverride/Start_command_override_in_derived_template
    build_template_test.go:133: test-ubuntu-base-override-start: [info] Building template yppvvs1lqxeb2njrrjgz/1dac6d23-fe7c-4ead-960f-4c1bb4ddc3cd
    build_template_test.go:133: test-ubuntu-base-override-start: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-base-override-start: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-base-override-start: [info] [builder 1/2] ENV BASE_VAR base_value [6c6d3a9337a541e06a528bc8e8c51570f45dda79fee6e14abdcd61b0e8789ae4]
    build_template_test.go:133: test-ubuntu-base-override-start: [info] [builder 2/2] WORKDIR /app/base [7b302c462fbcf4dae68e83fc8e62e28c36694a0310185e92a5b4465149d1197d]
    build_template_test.go:133: test-ubuntu-base-override-start: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:591: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplateCommandOverride/Start_command_override_in_derived_template (19.35s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_variable_recursive
Stack Traces | 19.5s run time
=== RUN   TestTemplateBuildENV/ENV_variable_recursive
=== PAUSE TestTemplateBuildENV/ENV_variable_recursive
=== CONT  TestTemplateBuildENV/ENV_variable_recursive
    build_template_test.go:133: test-ubuntu-env-recursive: [info] Building template p774mb1yr379vplqjg80/11e543ad-c070-44bb-8f58-680fdbe26adc
    build_template_test.go:133: test-ubuntu-env-recursive: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-recursive: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-recursive: [info] [builder 1/2] ENV PATH ${PATH}:/my/path [da9f898191080a90c61ed9a624be541a982fb2f908533776f8f66606179e8617]
    build_template_test.go:133: test-ubuntu-env-recursive: [info] [builder 2/2] RUN [[ "$PATH" == *:/my/path* ]] || exit 1 [3f7c9d632c3c8fd99a222efdca17b71b704a738cdb58fb02219d7e969fb10cea]
    build_template_test.go:133: test-ubuntu-env-recursive: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_variable_recursive (19.52s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_with_backslashes
Stack Traces | 19.6s run time
=== RUN   TestTemplateBuildENV/ENV_with_backslashes
=== PAUSE TestTemplateBuildENV/ENV_with_backslashes
=== CONT  TestTemplateBuildENV/ENV_with_backslashes
    build_template_test.go:133: test-ubuntu-env-backslash: [info] Building template htb4bgrlt2z4mxaelayz/6e7c1190-2150-4d2b-90ec-14f85a452e1d
    build_template_test.go:133: test-ubuntu-env-backslash: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-backslash: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-backslash: [info] [builder 1/2] ENV PATH_VAR path\to\file [c459fc430a1172dc5a86709f9336f68ae0e9b7c1dd2069f9ef1ff8967dd28090]
    build_template_test.go:133: test-ubuntu-env-backslash: [info] [builder 2/2] RUN [[ "$PATH_VAR" == 'path\to\file' ]] || exit 1 [0d1a3f661888e94e05c149dfe9b2e7cc3fd00507c5a14815a2812c62c076b667]
    build_template_test.go:133: test-ubuntu-env-backslash: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_with_backslashes (19.65s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildInstalledPackagesAvailable
Stack Traces | 19.9s run time
=== RUN   TestTemplateBuildInstalledPackagesAvailable
=== PAUSE TestTemplateBuildInstalledPackagesAvailable
=== CONT  TestTemplateBuildInstalledPackagesAvailable
    build_template_test.go:133: test-ubuntu-packages-available: [info] Building template 0gb3d3h052ry63xbzp7i/6531e961-69a5-4f8f-b187-72dfb624cdbb
    build_template_test.go:133: test-ubuntu-packages-available: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-packages-available: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-packages-available: [info] [builder 1/15] RUN dpkg-query -W -f='${Status}' systemd | grep -q 'install ok installed' [5ef8748f431012bf678861e4afe2b708171f7419eb552802e8da9d71dbf92a1b]
    build_template_test.go:133: test-ubuntu-packages-available: [info] [builder 2/15] RUN dpkg-query -W -f='${Status}' systemd-sysv | grep -q 'install ok installed' [2cfacf2d74d6a7e086c82e29ee39fddc9a713389a3971634031b56f446ce0964]
    build_template_test.go:133: test-ubuntu-packages-available: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:1060: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildInstalledPackagesAvailable (19.94s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateStartCommand
Stack Traces | 20.2s run time
=== RUN   TestTemplateBuildFromTemplateStartCommand
=== PAUSE TestTemplateBuildFromTemplateStartCommand
=== CONT  TestTemplateBuildFromTemplateStartCommand
    build_template_test.go:133: test-ubuntu-start-base: [info] Building template pqoty43ugpxnl6amy0g8/1ab9d254-b539-4a37-bb13-63ae314634c0
    build_template_test.go:133: test-ubuntu-start-base: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-start-base: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-start-base: [info] [builder 1/2] ENV START_ENV start_value [1197d445ae0ba7bada6dbfb2103764e55bf626b2ea893f8ffd61acd1eeeedb29]
    build_template_test.go:133: test-ubuntu-start-base: [info] [builder 2/2] WORKDIR /start/workdir [19e2d9543b44bd7a396f8f669efa7484918a5cffe74b4a610dc7a43aad2fdad7]
    build_template_test.go:133: test-ubuntu-start-base: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:700: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplateStartCommand (20.21s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWithTags
Stack Traces | 20.2s run time
=== RUN   TestTemplateBuildWithTags
=== PAUSE TestTemplateBuildWithTags
=== CONT  TestTemplateBuildWithTags
    template_tags_test.go:394: Build completed successfully
    template_tags_test.go:417: 
        	Error Trace:	.../api/templates/template_tags_test.go:417
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestTemplateBuildWithTags
        	Messages:   	Failed to create sandbox with tag: test-build-with-tags
    template_tags_test.go:417: 
        	Error Trace:	.../api/templates/template_tags_test.go:417
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestTemplateBuildWithTags
        	Messages:   	Failed to create sandbox with tag: test-build-with-tags
--- FAIL: TestTemplateBuildWithTags (20.22s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildENV/ENV_blocks_command_substitution_with_backticks
Stack Traces | 20.3s run time
=== RUN   TestTemplateBuildENV/ENV_blocks_command_substitution_with_backticks
=== PAUSE TestTemplateBuildENV/ENV_blocks_command_substitution_with_backticks
=== CONT  TestTemplateBuildENV/ENV_blocks_command_substitution_with_backticks
    build_template_test.go:133: test-ubuntu-env-backticks: [info] Building template wfi031up3b6rim5hoxci/724e4049-9553-4fde-9236-30326da7a0b6
    build_template_test.go:133: test-ubuntu-env-backticks: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-env-backticks: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-env-backticks: [info] [builder 1/2] ENV LITERAL_CMD `echo pwned` [b3288e03b81eb29ebde1f376f8f0652fbf6fae05d35ddc11427d8b33df0b3266]
    build_template_test.go:133: test-ubuntu-env-backticks: [info] [builder 2/2] RUN [[ "$LITERAL_CMD" == '`echo pwned`' ]] || exit 1 [462ea759f0fbeb5ef5524f891a2939d9677b9648fe87c137da402dec5a9cc8d5]
    build_template_test.go:133: test-ubuntu-env-backticks: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:373: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildENV/ENV_blocks_command_substitution_with_backticks (20.33s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestMultipleTagsOnSameTemplate
Stack Traces | 21s run time
=== RUN   TestMultipleTagsOnSameTemplate
=== PAUSE TestMultipleTagsOnSameTemplate
=== CONT  TestMultipleTagsOnSameTemplate
    template_tags_test.go:285: Build completed successfully
    template_tags_test.go:313: 
        	Error Trace:	.../api/templates/template_tags_test.go:313
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestMultipleTagsOnSameTemplate
        	Messages:   	Failed to create sandbox with tag: dev
    template_tags_test.go:313: 
        	Error Trace:	.../api/templates/template_tags_test.go:313
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestMultipleTagsOnSameTemplate
        	Messages:   	Failed to create sandbox with tag: staging
    template_tags_test.go:313: 
        	Error Trace:	.../api/templates/template_tags_test.go:313
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestMultipleTagsOnSameTemplate
        	Messages:   	Failed to create sandbox with tag: prod
    template_tags_test.go:313: 
        	Error Trace:	.../api/templates/template_tags_test.go:313
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestMultipleTagsOnSameTemplate
        	Messages:   	Failed to create sandbox with tag: v1.0.0
--- FAIL: TestMultipleTagsOnSameTemplate (21.04s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplate/Basic_fromTemplate_functionality
Stack Traces | 21.7s run time
=== RUN   TestTemplateBuildFromTemplate/Basic_fromTemplate_functionality
=== PAUSE TestTemplateBuildFromTemplate/Basic_fromTemplate_functionality
=== CONT  TestTemplateBuildFromTemplate/Basic_fromTemplate_functionality
    build_template_test.go:133: test-ubuntu-base-template: [info] Building template 7q3bmqzxvd2sn6jh2dny/04478bef-ae24-4d76-9fd3-ce25e8a9076c
    build_template_test.go:133: test-ubuntu-base-template: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-base-template: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-base-template: [info] [builder 1/2] ENV BASE_VAR base_value [6c6d3a9337a541e06a528bc8e8c51570f45dda79fee6e14abdcd61b0e8789ae4]
    build_template_test.go:133: test-ubuntu-base-template: [info] [builder 2/2] WORKDIR /app [f5a60cc023683761080db7e28a39532c8365405110c02670a71cfbfe980404fd]
    build_template_test.go:133: test-ubuntu-base-template: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:521: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplate/Basic_fromTemplate_functionality (21.66s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateLayered/Three-level_template_inheritance_with_ENV_accumulation
Stack Traces | 22.1s run time
=== RUN   TestTemplateBuildFromTemplateLayered/Three-level_template_inheritance_with_ENV_accumulation
=== PAUSE TestTemplateBuildFromTemplateLayered/Three-level_template_inheritance_with_ENV_accumulation
=== CONT  TestTemplateBuildFromTemplateLayered/Three-level_template_inheritance_with_ENV_accumulation
    build_template_test.go:133: test-ubuntu-layered-base: [info] Building template nr0x87uk18gi4qn2ses2/d41fbd06-8043-407b-9424-f6667e3fdeac
    build_template_test.go:133: test-ubuntu-layered-base: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-layered-base: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-layered-base: [info] [builder 1/2] ENV LEVEL base [4fb3ed6310637d6bd1b865dec9dd7d933cdaf8473ece8ee8d43ec2d0b7e46e3f]
    build_template_test.go:133: test-ubuntu-layered-base: [info] [builder 2/2] ENV BASE_VAR base_value [b95b08fd3f8607d9e36547a585dfdc41204586d55f037054bd84a1a4ac737c28]
    build_template_test.go:133: test-ubuntu-layered-base: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:844: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplateLayered/Three-level_template_inheritance_with_ENV_accumulation (22.12s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildCache
Stack Traces | 22.2s run time
=== RUN   TestTemplateBuildCache
=== PAUSE TestTemplateBuildCache
=== CONT  TestTemplateBuildCache
    build_template_test.go:133: test-ubuntu-cache: [info] Building template 5nhj5ximdzqt17up65uv/8fe61dcf-75e4-4189-94dc-4fa76c6f6957
    build_template_test.go:133: test-ubuntu-cache: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-cache: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-cache: [info] [builder 1/2] ENV ENV_VAR Hello, World! [774a50a7db5ed308c13265fbd26aa36dcb1854ef7897e70f80a8660220411271]
    build_template_test.go:133: test-ubuntu-cache: [info] [builder 2/2] RUN : "${ENV_VAR:?ENV_VAR is not set or empty}"; echo "$ENV_VAR" [44621cb4c69132221c90263b70c3097c603ce79843351534d826ffd76eda00ed]
    build_template_test.go:133: test-ubuntu-cache: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:451: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildCache (22.24s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFromTemplateInheritance
Stack Traces | 25.6s run time
=== RUN   TestTemplateBuildFromTemplateInheritance
=== PAUSE TestTemplateBuildFromTemplateInheritance
=== CONT  TestTemplateBuildFromTemplateInheritance
    build_template_test.go:133: test-ubuntu-inheritance-base: [info] Building template y0yi8buevkjw5dir8cei/fc6696e0-b5dc-47f0-8523-22c1d50dc29e
    build_template_test.go:133: test-ubuntu-inheritance-base: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-inheritance-base: [info] CACHED [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-inheritance-base: [info] [builder 1/3] ENV BASE_ENV inherited_value [74ed7dcdb406eadbafcf439f5368c3cea28a178a3205252d016eff37eb5f8cd6]
    build_template_test.go:133: test-ubuntu-inheritance-base: [info] [builder 2/3] ENV OVERRIDE_VAR base_value [251cf7b40d192977fee30afe7442ce1281368ce025b80e610da494b15067cd27]
    build_template_test.go:133: test-ubuntu-inheritance-base: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:654: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFromTemplateInheritance (25.57s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestDeleteTemplate
Stack Traces | 27.8s run time
=== RUN   TestDeleteTemplate
=== PAUSE TestDeleteTemplate
=== CONT  TestDeleteTemplate
    build_template_test.go:133: test-to-delete: [info] Building template nyez3fok2dyhtblxz2u3/481889d3-0165-4b6e-a3e1-a36e5db7a489
    build_template_test.go:133: test-to-delete: [info] CACHED [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-to-delete: [info] [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-to-delete: [info] [builder 1/1] RUN echo 'Hello, World!' [fee4392ea8b74715fa4dc3ee06a32c86fad386a78b32dd7036ea57170ab70553]
    build_template_test.go:133: test-to-delete: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    delete_template_test.go:18: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestDeleteTemplate (27.75s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestAssignmentOrderingAfterTagReassignment
Stack Traces | 28.8s run time
=== RUN   TestAssignmentOrderingAfterTagReassignment
=== PAUSE TestAssignmentOrderingAfterTagReassignment
=== CONT  TestAssignmentOrderingAfterTagReassignment
    template_tags_test.go:589: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestAssignmentOrderingAfterTagReassignment (28.83s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestAssignmentOrderingLatestWins
Stack Traces | 52.5s run time
=== RUN   TestAssignmentOrderingLatestWins
=== PAUSE TestAssignmentOrderingLatestWins
=== CONT  TestAssignmentOrderingLatestWins
    template_tags_test.go:522: Build completed successfully
    template_tags_test.go:538: Build completed successfully
    template_tags_test.go:558: Sandbox creation failed status=500 body={"code":500,"message":"Failed to place sandbox"}
    template_tags_test.go:558: Sandbox creation={Body:[123 34 99 111 100 101 34 58 53 48 48 44 34 109 101 115 115 97 103 101 34 58 34 70 97 105 108 101 100 32 116 111 32 112 108 97 99 101 32 115 97 110 100 98 111 120 34 125] HTTPResponse:0x3c0704eeab40 JSON201:<nil> JSON400:<nil> JSON401:<nil> JSON500:0x3c0704e08258}
    template_tags_test.go:558: 
        	Error Trace:	.../internal/utils/sandbox.go:163
        	            				.../api/templates/template_tags_test.go:558
        	Error:      	Not equal: 
        	            	expected: 201
        	            	actual  : 500
        	Test:       	TestAssignmentOrderingLatestWins
--- FAIL: TestAssignmentOrderingLatestWins (52.49s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildWithDifferentSourceImages/Test_with_Ubuntu_24.04_base_image
Stack Traces | 56.3s run time
=== RUN   TestTemplateBuildWithDifferentSourceImages/Test_with_Ubuntu_24.04_base_image
=== PAUSE TestTemplateBuildWithDifferentSourceImages/Test_with_Ubuntu_24.04_base_image
=== CONT  TestTemplateBuildWithDifferentSourceImages/Test_with_Ubuntu_24.04_base_image
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Building template 4ib0qwo2fju2b9zb0t7z/818d561f-6fe7-4f79-bb24-350562559930
    build_template_test.go:133: test-ubuntu-24-04-source: [info] [base] FROM ubuntu:24.04 [b9371451a87d7d440003cda6ae89fcf7dc35fd82a96b9152fc15a4a8ca68de41]
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Base Docker image size: 30 MB
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Creating file system and pulling Docker image
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Uncompressing layer sha256:cb259a83ac3dd9fea0b394df41df2b298adf0df938fef5999475af18a751c257 30 MB
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Layers extracted
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib64, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Provisioning sandbox template
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Provisioning was successful, cleaning up
    build_template_test.go:133: test-ubuntu-24-04-source: [info] Sandbox template provisioned
    build_template_test.go:133: test-ubuntu-24-04-source: [info] [base] DEFAULT USER user [cb125e2be336996eb4cd2092304bf643543d9219489a9fec3aa8d72b141f0602]
    build_template_test.go:133: test-ubuntu-24-04-source: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:1004: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildWithDifferentSourceImages/Test_with_Ubuntu_24.04_base_image (56.33s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestUpdateTemplateVisibilityToPrivateWithAPIKey
Stack Traces | 56.8s run time
=== RUN   TestUpdateTemplateVisibilityToPrivateWithAPIKey
=== PAUSE TestUpdateTemplateVisibilityToPrivateWithAPIKey
=== CONT  TestUpdateTemplateVisibilityToPrivateWithAPIKey
    template_update_test.go:57: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestUpdateTemplateVisibilityToPrivateWithAPIKey (56.83s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestUpdateTemplateWithInvalidAPIKey
Stack Traces | 56.8s run time
=== RUN   TestUpdateTemplateWithInvalidAPIKey
=== PAUSE TestUpdateTemplateWithInvalidAPIKey
=== CONT  TestUpdateTemplateWithInvalidAPIKey
    template_update_test.go:107: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestUpdateTemplateWithInvalidAPIKey (56.84s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestUpdateTemplateWithSupabaseToken
Stack Traces | 56.9s run time
=== RUN   TestUpdateTemplateWithSupabaseToken
=== PAUSE TestUpdateTemplateWithSupabaseToken
=== CONT  TestUpdateTemplateWithSupabaseToken
    template_update_test.go:148: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestUpdateTemplateWithSupabaseToken (56.85s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateTagDeleteLatestNotAllowed
Stack Traces | 66s run time
=== RUN   TestTemplateTagDeleteLatestNotAllowed
=== PAUSE TestTemplateTagDeleteLatestNotAllowed
=== CONT  TestTemplateTagDeleteLatestNotAllowed
    template_tags_test.go:94: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateTagDeleteLatestNotAllowed (65.97s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestSandboxWithTrafficAccessTokenAutoResumeViaProxy
Stack Traces | 66.6s run time
=== RUN   TestSandboxWithTrafficAccessTokenAutoResumeViaProxy
=== PAUSE TestSandboxWithTrafficAccessTokenAutoResumeViaProxy
=== CONT  TestSandboxWithTrafficAccessTokenAutoResumeViaProxy
Executing command ls in sandbox i4rw6zkbrlld2r5xm9n3p
    traffic_access_token_test.go:263: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox is running but port is not open","port":8080,"code":502}
    traffic_access_token_test.go:263: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox is running but port is not open","port":8080,"code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
Executing command ls in sandbox iab8hpzhgpzqdvgywfkir
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
Executing command cat in sandbox ivxla2xufizamsjkdm26m (user: root)
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:290: [Status code: 502] Response body: {"sandboxId":"i0kbw0sjx7rvu6rgg795m","message":"The sandbox was not found","code":502}
    traffic_access_token_test.go:291: 
        	Error Trace:	.../tests/proxies/traffic_access_token_test.go:291
        	Error:      	Expected value not to be nil.
        	Test:       	TestSandboxWithTrafficAccessTokenAutoResumeViaProxy
--- FAIL: TestSandboxWithTrafficAccessTokenAutoResumeViaProxy (66.59s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestGPGKeyserverWorks
Stack Traces | 78.2s run time
=== RUN   TestGPGKeyserverWorks
=== PAUSE TestGPGKeyserverWorks
=== CONT  TestGPGKeyserverWorks
    sandbox_network_out_test.go:981: Network test template was not built successfully
--- FAIL: TestGPGKeyserverWorks (78.20s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestUpdateNetworkConfig
Stack Traces | 81.3s run time
=== RUN   TestUpdateNetworkConfig
=== PAUSE TestUpdateNetworkConfig
=== CONT  TestUpdateNetworkConfig
    sandbox_network_update_test.go:97: Network test template was not built successfully
--- FAIL: TestUpdateNetworkConfig (81.29s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallUDPAllowedCIDR
Stack Traces | 89.3s run time
=== RUN   TestEgressFirewallUDPAllowedCIDR
=== PAUSE TestEgressFirewallUDPAllowedCIDR
=== CONT  TestEgressFirewallUDPAllowedCIDR
    sandbox_network_out_test.go:817: Network test template was not built successfully
--- FAIL: TestEgressFirewallUDPAllowedCIDR (89.29s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes::TestEgressFirewallAllowAll
Stack Traces | 91.4s run time
=== RUN   TestEgressFirewallAllowAll
=== PAUSE TestEgressFirewallAllowAll
=== CONT  TestEgressFirewallAllowAll
    sandbox_network_out_test.go:31: Building custom template for network egress tests...
    template.go:43: network-egress-test: [info] Building template qniukg72jaqpt5j5l4e4/71c8b181-c648-46a4-85f4-1d7781d70b6d
    template.go:43: network-egress-test: [info] [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    template.go:43: network-egress-test: [info] Base Docker image size: 30 MB
    template.go:43: network-egress-test: [info] Creating file system and pulling Docker image
    template.go:43: network-egress-test: [info] Uncompressing layer sha256:40d16f30db405106ef8074779bdf41f012465c2a785bbeaa2eab9f2081099b47 30 MB
    template.go:43: network-egress-test: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    template.go:43: network-egress-test: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    template.go:43: network-egress-test: [info] Layers extracted
    template.go:43: network-egress-test: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib32, lib64, libx32, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    template.go:43: network-egress-test: [info] Provisioning sandbox template
    template.go:43: network-egress-test: [info] Provisioning was successful, cleaning up
    template.go:43: network-egress-test: [info] Sandbox template provisioned
    template.go:43: network-egress-test: [info] [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    template.go:43: network-egress-test: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    sandbox_network_out_test.go:33: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestEgressFirewallAllowAll (91.38s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildCOPY
Stack Traces | 93.6s run time
=== RUN   TestTemplateBuildCOPY
=== PAUSE TestTemplateBuildCOPY
=== CONT  TestTemplateBuildCOPY
    build_template_test.go:133: test-ubuntu-copy: [info] Building template d0rv5bzsqoo0neb7pg6q/73cfc01e-bf71-4548-96cc-c91a6c0b11f9
    build_template_test.go:133: test-ubuntu-copy: [info] [base] FROM ubuntu:24.04 [b9371451a87d7d440003cda6ae89fcf7dc35fd82a96b9152fc15a4a8ca68de41]
    build_template_test.go:133: test-ubuntu-copy: [info] Base Docker image size: 30 MB
    build_template_test.go:133: test-ubuntu-copy: [info] Creating file system and pulling Docker image
    build_template_test.go:133: test-ubuntu-copy: [info] Uncompressing layer sha256:cb259a83ac3dd9fea0b394df41df2b298adf0df938fef5999475af18a751c257 30 MB
    build_template_test.go:133: test-ubuntu-copy: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    build_template_test.go:133: test-ubuntu-copy: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    build_template_test.go:133: test-ubuntu-copy: [info] Layers extracted
    build_template_test.go:133: test-ubuntu-copy: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib64, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    build_template_test.go:133: test-ubuntu-copy: [info] Provisioning sandbox template
    build_template_test.go:133: test-ubuntu-copy: [info] Provisioning was successful, cleaning up
    build_template_test.go:133: test-ubuntu-copy: [info] Sandbox template provisioned
    build_template_test.go:133: test-ubuntu-copy: [info] [base] DEFAULT USER user [cb125e2be336996eb4cd2092304bf643543d9219489a9fec3aa8d72b141f0602]
    build_template_test.go:133: test-ubuntu-copy: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:1156: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildCOPY (93.59s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildRUN/Single_RUN_command
Stack Traces | 94.9s run time
=== RUN   TestTemplateBuildRUN/Single_RUN_command
=== PAUSE TestTemplateBuildRUN/Single_RUN_command
=== CONT  TestTemplateBuildRUN/Single_RUN_command
    build_template_test.go:133: test-ubuntu-run: [info] Building template z4glgzhja48z3ww8ad8k/aad1e3d5-847c-4a58-bdb6-646bb72448d4
    build_template_test.go:133: test-ubuntu-run: [info] [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-run: [info] Base Docker image size: 30 MB
    build_template_test.go:133: test-ubuntu-run: [info] Creating file system and pulling Docker image
    build_template_test.go:133: test-ubuntu-run: [info] Uncompressing layer sha256:40d16f30db405106ef8074779bdf41f012465c2a785bbeaa2eab9f2081099b47 30 MB
    build_template_test.go:133: test-ubuntu-run: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    build_template_test.go:133: test-ubuntu-run: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    build_template_test.go:133: test-ubuntu-run: [info] Layers extracted
    build_template_test.go:133: test-ubuntu-run: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib32, lib64, libx32, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    build_template_test.go:133: test-ubuntu-run: [info] Provisioning sandbox template
    build_template_test.go:133: test-ubuntu-run: [info] Provisioning was successful, cleaning up
    build_template_test.go:133: test-ubuntu-run: [info] Sandbox template provisioned
    build_template_test.go:133: test-ubuntu-run: [info] [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-run: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:166: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildRUN/Single_RUN_command (94.88s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestTemplateBuildFuseConfiguration
Stack Traces | 98.2s run time
=== RUN   TestTemplateBuildFuseConfiguration
=== PAUSE TestTemplateBuildFuseConfiguration
=== CONT  TestTemplateBuildFuseConfiguration
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Building template th2xtexybdevm0y3dplq/0310adfd-1f87-406a-b574-37bd8849e5d7
    build_template_test.go:133: test-ubuntu-fuse-config: [info] [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Base Docker image size: 30 MB
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Creating file system and pulling Docker image
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Uncompressing layer sha256:40d16f30db405106ef8074779bdf41f012465c2a785bbeaa2eab9f2081099b47 30 MB
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Layers extracted
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib32, lib64, libx32, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Provisioning sandbox template
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Provisioning was successful, cleaning up
    build_template_test.go:133: test-ubuntu-fuse-config: [info] Sandbox template provisioned
    build_template_test.go:133: test-ubuntu-fuse-config: [info] [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-ubuntu-fuse-config: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    build_template_test.go:1189: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestTemplateBuildFuseConfiguration (98.19s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestDeleteTemplateFromAnotherTeamAPIKey
Stack Traces | 99.1s run time
=== RUN   TestDeleteTemplateFromAnotherTeamAPIKey
=== PAUSE TestDeleteTemplateFromAnotherTeamAPIKey
=== CONT  TestDeleteTemplateFromAnotherTeamAPIKey
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Building template 1foom5d5trzjoux7otby/dc356a6f-77c6-47e9-829a-8d551e84b71a
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] [base] FROM ubuntu:22.04 [853db866ee97500d93b96c12372d9b297568ba646efed473c099998ba016e737]
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Base Docker image size: 30 MB
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Creating file system and pulling Docker image
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Uncompressing layer sha256:40d16f30db405106ef8074779bdf41f012465c2a785bbeaa2eab9f2081099b47 30 MB
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Uncompressing layer sha256:31f1c1abb4726f034a69364acb2cac5bbd410c9252256fb4bbabb4dbef306bf9 13 MB
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Uncompressing layer sha256:8c4b1b28875140ed3abacaf16ad0d696f6bef912f52d2148f261a23e3349465b 168 B
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Layers extracted
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Root filesystem structure: bin, boot, dev, etc, home, lib, lib32, lib64, libx32, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Provisioning sandbox template
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Provisioning was successful, cleaning up
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] Sandbox template provisioned
    build_template_test.go:133: test-to-delete-another-team-api-key: [info] [base] DEFAULT USER user [b97b5fcc78b0f792b4eba66f81f8a39fd3a6d714ef9c470af8d9c70526254cc5]
    build_template_test.go:133: test-to-delete-another-team-api-key: [error] Build failed: An internal error occurred. Please try again or contact support with the build ID.
    delete_template_test.go:89: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestDeleteTemplateFromAnotherTeamAPIKey (99.11s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestUpdateTemplateNotOwnedByTeam
Stack Traces | 101s run time
=== RUN   TestUpdateTemplateNotOwnedByTeam
=== PAUSE TestUpdateTemplateNotOwnedByTeam
=== CONT  TestUpdateTemplateNotOwnedByTeam
    template_update_test.go:205: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestUpdateTemplateNotOwnedByTeam (101.22s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestDeleteTemplateFromAnotherTeamAccessToken
Stack Traces | 104s run time
=== RUN   TestDeleteTemplateFromAnotherTeamAccessToken
=== PAUSE TestDeleteTemplateFromAnotherTeamAccessToken
=== CONT  TestDeleteTemplateFromAnotherTeamAccessToken
    delete_template_test.go:67: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestDeleteTemplateFromAnotherTeamAccessToken (104.43s)
github.com/e2b-dev/infra/tests/integration/internal/tests/api/templates::TestDeleteTemplateWithAccessToken
Stack Traces | 104s run time
=== RUN   TestDeleteTemplateWithAccessToken
=== PAUSE TestDeleteTemplateWithAccessToken
=== CONT  TestDeleteTemplateWithAccessToken
    delete_template_test.go:46: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestDeleteTemplateWithAccessToken (104.43s)
View the full list of 2 ❄️ flaky test(s)
github.com/e2b-dev/infra/tests/integration/internal/tests/orchestrator::TestSandboxMemoryIntegrity

Flake rate in main: 53.11% (Passed 989 times, Failed 1120 times)

Stack Traces | 39s run time
=== RUN   TestSandboxMemoryIntegrity
=== PAUSE TestSandboxMemoryIntegrity
=== CONT  TestSandboxMemoryIntegrity
    sandbox_memory_integrity_test.go:27: Build failed: {<nil> An internal error occurred. Please try again or contact support with the build ID. <nil>}
--- FAIL: TestSandboxMemoryIntegrity (39.04s)
github.com/e2b-dev/infra/tests/integration/internal/tests/proxies::TestSandboxAutoResumeViaProxy

Flake rate in main: 38.56% (Passed 983 times, Failed 617 times)

Stack Traces | 6.79s run time
=== RUN   TestSandboxAutoResumeViaProxy
=== PAUSE TestSandboxAutoResumeViaProxy
=== CONT  TestSandboxAutoResumeViaProxy
    auto_resume_test.go:118: 
        	Error Trace:	.../tests/proxies/auto_resume_test.go:118
        	Error:      	Not equal: 
        	            	expected: 200
        	            	actual  : 502
        	Test:       	TestSandboxAutoResumeViaProxy
        	Messages:   	expected server response after auto-resume
--- FAIL: TestSandboxAutoResumeViaProxy (6.79s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant