Skip to content

Migrate from github.com/jinzhu/gorm (v1) to gorm.io/gorm (v2) with PostgreSQL support#36

Open
ZPascal wants to merge 5 commits intocloudfoundry:mainfrom
ZPascal:migrate-gorm
Open

Migrate from github.com/jinzhu/gorm (v1) to gorm.io/gorm (v2) with PostgreSQL support#36
ZPascal wants to merge 5 commits intocloudfoundry:mainfrom
ZPascal:migrate-gorm

Conversation

@ZPascal
Copy link

@ZPascal ZPascal commented Aug 24, 2023

Migrate from github.com/jinzhu/gorm (v1) to gorm.io/gorm (v2) with PostgreSQL support

Summary

This PR upgrades the routing-api from GORM v1 (github.com/jinzhu/gorm) to GORM v2 (gorm.io/gorm) and adds full PostgreSQL support alongside the existing MySQL/MariaDB support. The migration issues in the database schema migrations were diagnosed and fixed with the assistance of Claude (Anthropic).


Motivation

  • GORM v1 is unmaintained. GORM v2 is the current stable release with active maintenance, better performance, and improved PostgreSQL compatibility.
  • The routing-api previously only worked reliably with MySQL/MariaDB. PostgreSQL support was broken due to dialect-specific SQL in schema migrations and incorrect column type mappings.
  • The github.com/lib/pq PostgreSQL driver has been replaced by the pgx driver (github.com/jackc/pgx/v5), which is the recommended modern driver for PostgreSQL in Go.

Changes

Core: GORM v1 → v2 Migration (db/client.go, db/db_sql.go)

  • Replaced all github.com/jinzhu/gorm imports with gorm.io/gorm
  • Replaced github.com/jinzhu/gorm/dialects/* with gorm.io/driver/mysql and gorm.io/driver/postgres
  • Updated NewSqlDB to use the new GORM v2 gorm.Open(dialector, &gorm.Config{}) API with explicit dialect selection
  • Updated connection pool setup: db.DB().SetMaxIdleConns(...)sqlDB, _ := db.DB(); sqlDB.SetMaxIdleConns(...)
  • Updated Client interface:
    • AddUniqueIndex(name string, columns ...string) (Client, error)AddUniqueIndex(name string, columns interface{}) error
    • RemoveIndex(name string) (Client, error)RemoveIndex(name string, columns interface{}) error
    • Update(attrs ...interface{})Update(column string, value interface{})
    • Dialect() gorm.DialectDialect() gorm.Dialector
    • Added ExecWithError(query string, args ...interface{}) error for migrations that need to handle SQL errors
    • Added Migrator() gorm.Migrator to expose GORM v2 migration utilities
    • HasTable(value interface{}) bool now uses db.Migrator().HasTable(value)
    • AutoMigrate(values ...interface{}) error now returns an error directly (GORM v2 changed the signature)
    • Fixed Exec to correctly pass variadic args: c.db.Exec(query, args)c.db.Exec(query, args...)
  • Renamed internal errors channel variable to errorList to avoid shadowing the errors package
  • Renamed clock variable to clockVar to avoid shadowing the clock package import
  • Fixed DeleteRouterGroup to use an explicit WHERE clause: GORM v2 requires conditions for Delete to prevent accidental full-table deletes

PostgreSQL Driver (cmd/routing-api/testrunner/db.go)

  • Replaced sql.Open("postgres", ...) with sql.Open("pgx", ...) — the pgx driver registers itself under the "pgx" driver name
  • Removed github.com/lib/pq import from db/db_suite_test.go

Schema Migrations: PostgreSQL Compatibility (diagnosed with Claude)

The migration code contained several MySQL-specific SQL constructs that failed on PostgreSQL. These were identified and fixed:

migration/migration.godropIndex() helper

Added a helper function to abstract the database-specific DROP INDEX syntax:

// MySQL:      DROP INDEX name ON table
// PostgreSQL: DROP INDEX IF EXISTS name
func dropIndex(sqlDB *db.SqlDB, indexName, tableName string) { ... }

migration/V2_update_rg_migration.go

  • Replaced GORM v1 AddUniqueIndex/RemoveIndex with raw SQL
  • MySQL uses name(191) length prefix for TEXT columns in indexes; PostgreSQL does not support this syntax
  • Added pre-migration validation to prevent duplicate router group names before creating the unique index

migration/V3_update_tcp_route_migration.go

  • Fixed incorrect sqlDB.Client.Model(...).AutoMigrate(...) call to sqlDB.Client.AutoMigrate(&models.TcpRouteMapping{})
  • In tests: replaced GORM DropColumn (which panicked in v2) with a direct ALTER TABLE ... DROP COLUMN SQL statement

migration/V4, V5, V6, V7 — Unique index recreation

Replaced GORM v1 AddUniqueIndex/RemoveIndex chain with explicit, dialect-aware SQL:

dropIndex(sqlDB, "idx_tcp_route", "tcp_routes") // dialect-aware DROP

if dialect == "mysql" {
    // MySQL requires (191) length prefix on TEXT columns
    "CREATE UNIQUE INDEX idx_tcp_route ON tcp_routes (router_group_guid(191), host_port, ...)"
} else {
    // PostgreSQL: standard syntax
    "CREATE UNIQUE INDEX idx_tcp_route ON tcp_routes (router_group_guid, host_port, ...)"
}

migration/V7_instance_id_defaults.go

Fixed instance_id column nullability change:

  • MySQL: MODIFY COLUMN instance_id varchar(255) DEFAULT NULL
  • PostgreSQL: ALTER COLUMN instance_id SET DEFAULT NULL

Fixed dialect detection: Dialect().GetName() (GORM v1) → Dialect().Name() (GORM v2)

migration/V8_host_tls_port_tcp_default_zero.go

  • Moved UPDATE tcp_routes SET host_tls_port = 0 WHERE host_tls_port IS NULL before the DROP INDEX to ensure data is correct before index recreation
  • Fixed ALTER COLUMN syntax per dialect:
    • MySQL: MODIFY COLUMN host_tls_port int DEFAULT 0
    • PostgreSQL: ALTER COLUMN host_tls_port SET DEFAULT 0
  • Added proper error handling (previously errors were silently ignored)

PostgreSQL Port Column Type Fix (diagnosed with Claude)

Root cause: GORM v2's DataTypeOf in the PostgreSQL driver maps Go types to SQL types based on field.Size:

// gorm.io/driver/postgres/postgres.go
case size <= 16: return "smallint"  // ← uint16 lands here! (size=16)
case size <= 32: return "integer"   // ← what we need for ports up to 65535

uint16 fields have field.Size = 16 in GORM, which maps to smallint (max 32767). Since TCP/UDP ports can be up to 65535, this caused pgx to fail with:

unable to encode 42424 into binary format for int2 (OID 21): 42424 is greater than maximum value for int2

Fix: Added size:32 to all port column GORM tags to force integer (int4) instead of smallint (int2):

// Before
HostPort     uint16 `gorm:"not null; type:int"`
ExternalPort uint16 `gorm:"not null; type:int"`

// After
HostPort     uint16 `gorm:"not null; type:int; size:32"`
ExternalPort uint16 `gorm:"not null; type:int; size:32"`

Affected files: models/tcp_route.go, models/route.go, migration/v0/models.go, migration/v5/models.go

Test Infrastructure

  • cmd/routing-api/testrunner/db.go: Added postgresAllocator using pgx driver
  • migration/migration_suite_test.go: Added BeforeSuite/AfterSuite/BeforeEach lifecycle for database allocation and reset, enabling the migration tests to run against a real database
  • db/db_sql_test.go:
    • All Client.Delete(&model{}) calls updated to Client.Where("guid = ?", ...).Delete(&Model{}) (GORM v2 requires explicit WHERE conditions)
    • Updated backupError string check from "Database unavailable..." to "database unavailable..." (lowercase)
    • Adjusted temporary-error test: increased timeout from 2.5s to 10s and simplified assertions to be robust against timing variations
  • db/fakes/fake_client.go: Regenerated to match updated Client interface

Testing

Integration tests

Both MySQL/MariaDB and PostgreSQL are tested. Run via:

# MySQL (default)
bash ./scripts/test-in-docker.bash routing-api

# PostgreSQL
DB=postgres bash ./scripts/test-in-docker.bash routing-api

Routing acceptance tests

I've used the following setup to handle the RATS on a local cf on kind environment.

RATS execution (verbose) | RUN 1
   API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
Creating shared domain tcp.127-0-0-1.nip.io as ccadmin...
OK

TIP: Domain 'tcp.127-0-0-1.nip.io' is shared with all orgs. Run 'cf domains' to view available domains.
HTTP Routing Tests
Running Suite: HTTP Routes Suite - /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes
=================================================================================================================================================
Random Seed: [1m1773992956 - will randomize all specs

Will run [1m1 of [1m1 specs
[38;5;243m------------------------------
[1m[BeforeSuite] 
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/http_routes_suite_test.go:50
[38;5;10m[BeforeSuite] PASSED [0.000 seconds]
[38;5;243m------------------------------
Registration [38;5;243mHTTP Route [1mcan register, list, subscribe to sse and unregister routes
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/registration_test.go:36
  [38;5;14m[SKIPPED] in [BeforeEach] - /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/http_routes_suite_test.go:56 [38;5;243m@ 03/20/26 08:49:16.626
[38;5;14mS [SKIPPED] [0.000 seconds]
[38;5;14m[1mTOP-LEVEL [BeforeEach] [38;5;243mRegistration HTTP Route [38;5;243mcan register, list, subscribe to sse and unregister routes
  [38;5;14m[BeforeEach] [38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/http_routes_suite_test.go:54
  [38;5;243m[It] /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/registration_test.go:36

  [38;5;14m[SKIPPED] Skipping this test because Config.IncludeHttpRoutes is set to `false`.
  [38;5;14mIn [1m[BeforeEach][38;5;14m at: [1m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes/http_routes_suite_test.go:56 [38;5;243m@ 03/20/26 08:49:16.626
[38;5;243m------------------------------

[38;5;10m[1mRan 0 of 1 Specs in 0.000 seconds
[38;5;10m[1mSUCCESS! -- [38;5;10m[1m0 Passed | [38;5;9m[1m0 Failed | [38;5;11m[1m0 Pending | [38;5;14m[1m1 Skipped
PASS
[38;5;10m[1mAfter-run-hook succeeded:
  [38;5;10m

Ginkgo ran 1 suite in 1m0.380469831s
Test Suite Passed
Sleeping for 60 seconds to allow any lingering connections to close before starting TCP routing tests...
TCP Routing Tests
Running Suite: TCP Routing - /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing
===========================================================================================================================================
Random Seed: [1m1773993076 - will randomize all specs

Will run [1m6 of [1m6 specs
[38;5;243m------------------------------
[1m[BeforeSuite] 
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_suite_test.go:50
  {"timestamp":"1773993077.004353762","source":"test","message":"test.uaa-client.started-fetching-token","log_level":0,"data":{"force-update":true,"session":"1"}}
  {"timestamp":"1773993077.114994287","source":"test","message":"test.uaa-client.successfully-fetched-token","log_level":0,"data":{"session":"1"}}
  {"timestamp":"1773993077.115018129","source":"test","message":"test.caching-token","log_level":0,"data":{}}
  {"timestamp":"1773993077.115030289","source":"test","message":"test.uaa-client.started-fetching-token","log_level":0,"data":{"force-update":true,"session":"2"}}
  {"timestamp":"1773993077.118953228","source":"test","message":"test.uaa-client.successfully-fetched-token","log_level":0,"data":{"session":"2"}}
  {"timestamp":"1773993077.118980408","source":"test","message":"test.caching-token","log_level":0,"data":{}}

  [2026-03-20 07:51:17.15 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:51:17.22 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:51:17.84 (UTC)]> cf create-quota CATS-1-QUOTA-b1dd2b8c97b542a5 -m 10G -i -1 -r 1000 -a -1 -s 100 --reserved-route-ports 20 --allow-paid-service-plans 
  Creating org quota CATS-1-QUOTA-b1dd2b8c97b542a5 as ccadmin...
  OK


  [2026-03-20 07:51:17.90 (UTC)]> cf create-org CATS-1-ORG-ab23ab0b1fee5fd8 
  Creating org CATS-1-ORG-ab23ab0b1fee5fd8 as ccadmin...
  OK

  TIP: Use 'cf target -o "CATS-1-ORG-ab23ab0b1fee5fd8"' to target new org

  [2026-03-20 07:51:17.96 (UTC)]> cf set-quota CATS-1-ORG-ab23ab0b1fee5fd8 CATS-1-QUOTA-b1dd2b8c97b542a5 
  Setting quota CATS-1-QUOTA-b1dd2b8c97b542a5 to org CATS-1-ORG-ab23ab0b1fee5fd8 as ccadmin...
  OK


  [2026-03-20 07:51:18.04 (UTC)]> cf create-space -o CATS-1-ORG-ab23ab0b1fee5fd8 CATS-1-SPACE-458e6aee22ddc5b5 
  Creating space CATS-1-SPACE-458e6aee22ddc5b5 in org CATS-1-ORG-ab23ab0b1fee5fd8 as ccadmin...
  OK

  Assigning role SpaceManager to user ccadmin in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as ccadmin...
  OK

  Assigning role SpaceDeveloper to user ccadmin in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as ccadmin...
  OK

  TIP: Use 'cf target -o "CATS-1-ORG-ab23ab0b1fee5fd8" -s "CATS-1-SPACE-458e6aee22ddc5b5"' to target new space

  [2026-03-20 07:51:18.68 (UTC)]> cf create-user CATS-1-USER-c21ac3691a239684 [REDACTED] 
  Creating user CATS-1-USER-c21ac3691a239684...
  OK

  TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'.

  [2026-03-20 07:51:19.19 (UTC)]> cf set-space-role CATS-1-USER-c21ac3691a239684 CATS-1-ORG-ab23ab0b1fee5fd8 CATS-1-SPACE-458e6aee22ddc5b5 SpaceManager 
  Assigning role SpaceManager to user CATS-1-USER-c21ac3691a239684 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as ccadmin...
  OK


  [2026-03-20 07:51:19.34 (UTC)]> cf set-space-role CATS-1-USER-c21ac3691a239684 CATS-1-ORG-ab23ab0b1fee5fd8 CATS-1-SPACE-458e6aee22ddc5b5 SpaceDeveloper 
  Assigning role SpaceDeveloper to user CATS-1-USER-c21ac3691a239684 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as ccadmin...
  OK


  [2026-03-20 07:51:19.49 (UTC)]> cf set-space-role CATS-1-USER-c21ac3691a239684 CATS-1-ORG-ab23ab0b1fee5fd8 CATS-1-SPACE-458e6aee22ddc5b5 SpaceAuditor 
  Assigning role SpaceAuditor to user CATS-1-USER-c21ac3691a239684 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as ccadmin...
  OK


  [2026-03-20 07:51:19.64 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:51:19.65 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:51:19.68 (UTC)]> cf auth CATS-1-USER-c21ac3691a239684 [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:51:19.82 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           CATS-1-USER-c21ac3691a239684
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:51:19.89 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:51:19.93 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:51:20.05 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:51:20.10 (UTC)]> cf router-groups 
  Getting router groups as ccadmin...

  name          type
  default-tcp   tcp

  [2026-03-20 07:51:20.14 (UTC)]> cf logout 
  Logging out ccadmin...
  OK

[38;5;10m[BeforeSuite] PASSED [3.168 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243mmultiple-app ports multiple external ports with multiple app ports [1mshould map first external port to the first app port
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:208

  [2026-03-20 07:51:20.17 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:51:20.21 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:51:20.34 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:51:20.40 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:51:20.46 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json760559580 


  [2026-03-20 07:51:20.48 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:51:20.51 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32012 has been created.
  OK


  [2026-03-20 07:51:20.72 (UTC)]> cf push RATS-1-APP-e38b7ff6392e06ae --no-start -p ../assets/tcp-sample-receiver/ -m 256M -b go_buildpack -c tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-e38b7ff6392e06ae to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 2.92 MiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-e38b7ff6392e06ae
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:51:30Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:51:30.39 (UTC)]> cf map-route RATS-1-APP-e38b7ff6392e06ae tcp.127-0-0-1.nip.io --port 32012 
  Mapping route tcp.127-0-0-1.nip.io:32012 to app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:51:30.74 (UTC)]> cf app RATS-1-APP-e38b7ff6392e06ae --guid 
  e594ffd6-f4b5-4d88-9795-8efa421b357e

  [2026-03-20 07:51:30.79 (UTC)]> cf curl /v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?ports=32012 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32012"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32012"},"next":null,"previous":null},"resources":[{"guid":"b1d9ce29-466e-40e1-b8a1-9537f13b3ba2","created_at":"2026-03-20T07:51:20Z","updated_at":"2026-03-20T07:51:20Z","protocol":"tcp","host":"","path":"","port":32012,"url":"tcp.127-0-0-1.nip.io:32012","destinations":[{"guid":"e255b6ab-fd37-45ad-b240-15d29ccd425a","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:51:30Z","updated_at":"2026-03-20T07:51:30Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:51:30.90 (UTC)]> cf curl /v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2/destinations -X PATCH -d {"destinations":[{"app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"port":3434,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"e1d63279-7240-4ec0-85a1-f53e13517bb2","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:51:31Z","updated_at":"2026-03-20T07:51:31Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2"}}}

  [2026-03-20 07:51:31.46 (UTC)]> cf curl /v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?ports=32012 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32012"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32012"},"next":null,"previous":null},"resources":[{"guid":"b1d9ce29-466e-40e1-b8a1-9537f13b3ba2","created_at":"2026-03-20T07:51:20Z","updated_at":"2026-03-20T07:51:20Z","protocol":"tcp","host":"","path":"","port":32012,"url":"tcp.127-0-0-1.nip.io:32012","destinations":[{"guid":"e1d63279-7240-4ec0-85a1-f53e13517bb2","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:51:31Z","updated_at":"2026-03-20T07:51:31Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b1d9ce29-466e-40e1-b8a1-9537f13b3ba2/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:51:31.57 (UTC)]> cf start RATS-1-APP-e38b7ff6392e06ae 
  Starting app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     Downloading app package...
     Downloaded app package (2.9M)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading build artifacts cache...
     Uploading droplet...
     Uploaded build artifacts cache (100.5M)
     Uploaded droplet (4.5M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792

  Starting app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-e38b7ff6392e06ae
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32012
  last uploaded:     Fri 20 Mar 08:52:02 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:52:14Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:52:14.50 (UTC)]> cf app RATS-1-APP-e38b7ff6392e06ae 
  Showing health and status for app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-e38b7ff6392e06ae
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32012
  last uploaded:     Fri 20 Mar 08:52:02 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:52:14Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:52:14.69 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32007 has been created.
  OK


  [2026-03-20 07:52:14.90 (UTC)]> cf map-route RATS-1-APP-e38b7ff6392e06ae tcp.127-0-0-1.nip.io --port 32007 
  Mapping route tcp.127-0-0-1.nip.io:32007 to app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:52:15.40 (UTC)]> cf app RATS-1-APP-e38b7ff6392e06ae --guid 
  e594ffd6-f4b5-4d88-9795-8efa421b357e

  [2026-03-20 07:52:15.45 (UTC)]> cf curl /v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?ports=32007 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32007"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32007"},"next":null,"previous":null},"resources":[{"guid":"a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e","created_at":"2026-03-20T07:52:14Z","updated_at":"2026-03-20T07:52:14Z","protocol":"tcp","host":"","path":"","port":32007,"url":"tcp.127-0-0-1.nip.io:32007","destinations":[{"guid":"6445304f-f3ae-4a11-b6e2-3fa16c15437e","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:52:15Z","updated_at":"2026-03-20T07:52:15Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:52:15.55 (UTC)]> cf curl /v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e/destinations -X PATCH -d {"destinations":[{"app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"port":3535,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"1f3a3abb-ba17-4ff0-83c8-620c0311e082","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:52:15Z","updated_at":"2026-03-20T07:52:15Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e"}}}

  [2026-03-20 07:52:15.93 (UTC)]> cf curl /v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?ports=32007 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32007"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/e594ffd6-f4b5-4d88-9795-8efa421b357e/routes?app_guids=e594ffd6-f4b5-4d88-9795-8efa421b357e\u0026page=1\u0026per_page=50\u0026ports=32007"},"next":null,"previous":null},"resources":[{"guid":"a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e","created_at":"2026-03-20T07:52:14Z","updated_at":"2026-03-20T07:52:14Z","protocol":"tcp","host":"","path":"","port":32007,"url":"tcp.127-0-0-1.nip.io:32007","destinations":[{"guid":"1f3a3abb-ba17-4ff0-83c8-620c0311e082","app":{"guid":"e594ffd6-f4b5-4d88-9795-8efa421b357e","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:52:15Z","updated_at":"2026-03-20T07:52:15Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/a69d5bc7-c162-4c4c-a2e5-dc3aaebfee0e/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:52:16.08 (UTC)]> cf restart RATS-1-APP-e38b7ff6392e06ae 
  Restarting app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Stopping app...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-e38b7ff6392e06ae
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32012, tcp.127-0-0-1.nip.io:32007
  last uploaded:     Fri 20 Mar 08:52:02 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory       disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:52:19Z   0.0%   0B of 256M   0B of 1G   0B/s of 0B/s   0.0%                        true
  {"timestamp":"1773993139.673118353","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32012,"Zone":""}}}
  {"timestamp":"1773993139.673308611","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32012,"Zone":""},"message":"Time is 673267121"}}
  {"timestamp":"1773993139.680730343","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32012,"Zone":""},"message":"server1(0.0.0.0:3434):Time is 673267121"}}

  [2026-03-20 07:52:19.68 (UTC)]> cf app RATS-1-APP-e38b7ff6392e06ae --guid 
  e594ffd6-f4b5-4d88-9795-8efa421b357e

  [2026-03-20 07:52:19.72 (UTC)]> cf logs RATS-1-APP-e38b7ff6392e06ae --recent 
  Retrieving logs for app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:51:20.76+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:51:20.76+0100 [API/0] OUT Created app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:51:20.77+0100 [API/0] OUT Applied manifest to app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e (---
     2026-03-20T08:51:20.77+0100 [API/0] OUT applications:
     2026-03-20T08:51:20.77+0100 [API/0] OUT - name: RATS-1-APP-e38b7ff6392e06ae
     2026-03-20T08:51:20.77+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:51:20.77+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-sample-receiver"
     2026-03-20T08:51:20.77+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:51:20.77+0100 [API/0] OUT   no-route: true
     2026-03-20T08:51:20.77+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:51:20.77+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:51:20.77+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:51:20.78+0100 [API/0] OUT   command: tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
     2026-03-20T08:51:20.78+0100 [API/0] OUT )
     2026-03-20T08:51:27.23+0100 [API/0] OUT Uploading app package for app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:51:31.70+0100 [API/0] OUT Creating build for app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:51:31.81+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:51:31.81+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:51:31.81+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:51:32.83+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:51:32.99+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:51:33.09+0100 [STG/0] OUT Downloaded app package (2.9M)
     2026-03-20T08:51:33.11+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:51:33.11+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:51:33.11+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:51:33.80+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:51:33.80+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:51:34.40+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:51:34.40+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:51:35.15+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:51:35.15+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:51:53.74+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:51:53.74+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:52:02.73+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:52:02.73+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:52:02.73+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:52:02.73+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:52:02.80+0100 [API/0] OUT Creating droplet for app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:52:03.58+0100 [STG/0] OUT Uploaded build artifacts cache (100.5M)
     2026-03-20T08:52:07.83+0100 [STG/0] OUT Uploaded droplet (4.5M)
     2026-03-20T08:52:07.83+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:52:08.50+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:52:08.50+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:52:08.56+0100 [API/0] OUT Staging complete for build f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:52:11.09+0100 [API/0] OUT Updated app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e ({:droplet_guid=>"a08ef4ed-eeff-426d-b4ea-7f758b330a69"})
     2026-03-20T08:52:11.12+0100 [API/0] OUT Creating revision for app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:52:11.13+0100 [API/0] OUT Starting app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:52:11.28+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 29be1b39-4699-4dcf-4544-0600
     2026-03-20T08:52:13.30+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 29be1b39-4699-4dcf-4544-0600
     2026-03-20T08:52:13.78+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:52:13.97+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:52:14.00+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:52:14.00+0100 [API/0] OUT Process became ready with guid e594ffd6-f4b5-4d88-9795-8efa421b357e payload: {"instance"=>"29be1b39-4699-4dcf-4544-0600", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"4dc93942-8f34-49b4-be6d-792967b4407c"}
     2026-03-20T08:52:14.00+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:52:14.00+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:52:14.00+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434
     2026-03-20T08:52:14.53+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance f466e3d6-3602-48cd-bae9-63f4e5c27792
     2026-03-20T08:52:16.18+0100 [API/0] OUT Stopping app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:52:16.21+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 29be1b39-4699-4dcf-4544-0600
     2026-03-20T08:52:16.27+0100 [API/0] OUT Starting app with guid e594ffd6-f4b5-4d88-9795-8efa421b357e
     2026-03-20T08:52:16.45+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance a6cefc46-a85c-4598-532e-00f0
     2026-03-20T08:52:17.08+0100 [CELL/SSHD/0] OUT Exit status 0
     2026-03-20T08:52:17.08+0100 [APP/PROC/WEB/0] OUT Exit status 143
     2026-03-20T08:52:17.08+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 29be1b39-4699-4dcf-4544-0600
     2026-03-20T08:52:17.98+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance a6cefc46-a85c-4598-532e-00f0
     2026-03-20T08:52:18.74+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:52:18.93+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:52:18.95+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:52:18.95+0100 [API/0] OUT Process became ready with guid e594ffd6-f4b5-4d88-9795-8efa421b357e payload: {"instance"=>"a6cefc46-a85c-4598-532e-00f0", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"dc7f20f2-f9ff-409a-938f-b95dc8512bca"}
     2026-03-20T08:52:18.95+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:52:18.96+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:52:18.96+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434

  [2026-03-20 07:52:19.79 (UTC)]> cf delete RATS-1-APP-e38b7ff6392e06ae -f -r 
  Deleting app RATS-1-APP-e38b7ff6392e06ae in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [65.898 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243msingle app port when multiple external ports are mapped to a single app port [1mroutes traffic from two external ports to the app
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:121

  [2026-03-20 07:52:26.06 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:52:26.10 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:52:26.26 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:52:26.34 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:52:26.38 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json3109757443 


  [2026-03-20 07:52:26.40 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:52:26.43 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32008 has been created.
  OK


  [2026-03-20 07:52:26.65 (UTC)]> cf push RATS-1-APP-e446d463986c7393 --no-start -b go_buildpack -p ../assets/tcp-droplet-receiver/ -m 256M -c tcp-droplet-receiver --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-e446d463986c7393 to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 1.52 KiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-e446d463986c7393
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-droplet-receiver --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:52:35Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:52:35.94 (UTC)]> cf map-route RATS-1-APP-e446d463986c7393 tcp.127-0-0-1.nip.io --port 32008 
  Mapping route tcp.127-0-0-1.nip.io:32008 to app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:52:36.32 (UTC)]> cf app RATS-1-APP-e446d463986c7393 --guid 
  68a5d2e7-a38a-457a-9933-cb14d4319625

  [2026-03-20 07:52:36.36 (UTC)]> cf curl /v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?ports=32008 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32008"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32008"},"next":null,"previous":null},"resources":[{"guid":"8ac88ab1-b7fe-4df1-9fce-0a0b6342f493","created_at":"2026-03-20T07:52:26Z","updated_at":"2026-03-20T07:52:26Z","protocol":"tcp","host":"","path":"","port":32008,"url":"tcp.127-0-0-1.nip.io:32008","destinations":[{"guid":"9e147f47-226e-4712-ade7-e3c513c42c73","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:52:36Z","updated_at":"2026-03-20T07:52:36Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:52:36.49 (UTC)]> cf curl /v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493/destinations -X PATCH -d {"destinations":[{"app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"port":3333,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"60bc6b83-a8d7-44b2-871b-c1990935271e","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:52:36Z","updated_at":"2026-03-20T07:52:36Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493"}}}

  [2026-03-20 07:52:36.76 (UTC)]> cf curl /v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?ports=32008 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32008"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32008"},"next":null,"previous":null},"resources":[{"guid":"8ac88ab1-b7fe-4df1-9fce-0a0b6342f493","created_at":"2026-03-20T07:52:26Z","updated_at":"2026-03-20T07:52:26Z","protocol":"tcp","host":"","path":"","port":32008,"url":"tcp.127-0-0-1.nip.io:32008","destinations":[{"guid":"60bc6b83-a8d7-44b2-871b-c1990935271e","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:52:36Z","updated_at":"2026-03-20T07:52:36Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8ac88ab1-b7fe-4df1-9fce-0a0b6342f493/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:52:36.87 (UTC)]> cf start RATS-1-APP-e446d463986c7393 
  Starting app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 7461cef0-e921-42d9-b335-3c71f7070d15
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 7461cef0-e921-42d9-b335-3c71f7070d15
     Downloading app package...
     Downloaded app package (1.5K)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading droplet...
     Uploading build artifacts cache...
     Uploaded build artifacts cache (99.9M)

  Starting app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-e446d463986c7393
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32008
  last uploaded:     Fri 20 Mar 08:52:57 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:53:04Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:53:04.69 (UTC)]> cf app RATS-1-APP-e446d463986c7393 
  Showing health and status for app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-e446d463986c7393
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32008
  last uploaded:     Fri 20 Mar 08:52:57 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:53:04Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:53:04.91 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32015 has been created.
  OK


  [2026-03-20 07:53:05.12 (UTC)]> cf map-route RATS-1-APP-e446d463986c7393 tcp.127-0-0-1.nip.io --port 32015 
  Mapping route tcp.127-0-0-1.nip.io:32015 to app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:53:05.62 (UTC)]> cf app RATS-1-APP-e446d463986c7393 --guid 
  68a5d2e7-a38a-457a-9933-cb14d4319625

  [2026-03-20 07:53:05.66 (UTC)]> cf curl /v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?ports=32015 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32015"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32015"},"next":null,"previous":null},"resources":[{"guid":"b3a923cc-5277-43d5-af7d-00303179780b","created_at":"2026-03-20T07:53:05Z","updated_at":"2026-03-20T07:53:05Z","protocol":"tcp","host":"","path":"","port":32015,"url":"tcp.127-0-0-1.nip.io:32015","destinations":[{"guid":"fe32fb61-7524-4177-9436-74ac1e84f455","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:53:05Z","updated_at":"2026-03-20T07:53:05Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:53:05.77 (UTC)]> cf curl /v3/routes/b3a923cc-5277-43d5-af7d-00303179780b/destinations -X PATCH -d {"destinations":[{"app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"port":3333,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"ce407d92-4bc5-4012-a382-e1e85fc30861","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:53:05Z","updated_at":"2026-03-20T07:53:05Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b"}}}

  [2026-03-20 07:53:06.22 (UTC)]> cf curl /v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?ports=32015 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32015"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/68a5d2e7-a38a-457a-9933-cb14d4319625/routes?app_guids=68a5d2e7-a38a-457a-9933-cb14d4319625\u0026page=1\u0026per_page=50\u0026ports=32015"},"next":null,"previous":null},"resources":[{"guid":"b3a923cc-5277-43d5-af7d-00303179780b","created_at":"2026-03-20T07:53:05Z","updated_at":"2026-03-20T07:53:05Z","protocol":"tcp","host":"","path":"","port":32015,"url":"tcp.127-0-0-1.nip.io:32015","destinations":[{"guid":"ce407d92-4bc5-4012-a382-e1e85fc30861","app":{"guid":"68a5d2e7-a38a-457a-9933-cb14d4319625","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:53:05Z","updated_at":"2026-03-20T07:53:05Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/b3a923cc-5277-43d5-af7d-00303179780b/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}
  {"timestamp":"1773993186.359875441","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32008,"Zone":""}}}
  {"timestamp":"1773993186.359948874","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32008,"Zone":""},"message":"Time is 359907629"}}
  {"timestamp":"1773993186.369143009","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32008,"Zone":""},"message":"server1:Time is 359907629"}}
  {"timestamp":"1773993186.369681120","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""}}}
  {"timestamp":"1773993186.369741678","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""},"message":"Time is 369701138"}}
  {"timestamp":"1773993186.375900745","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""},"message":"server1:Time is 369701138"}}

  [2026-03-20 07:53:06.37 (UTC)]> cf app RATS-1-APP-e446d463986c7393 --guid 
  68a5d2e7-a38a-457a-9933-cb14d4319625

  [2026-03-20 07:53:06.44 (UTC)]> cf logs RATS-1-APP-e446d463986c7393 --recent 
  Retrieving logs for app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:52:26.69+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:52:26.70+0100 [API/0] OUT Created app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:52:26.71+0100 [API/0] OUT Applied manifest to app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625 (---
     2026-03-20T08:52:26.71+0100 [API/0] OUT applications:
     2026-03-20T08:52:26.71+0100 [API/0] OUT - name: RATS-1-APP-e446d463986c7393
     2026-03-20T08:52:26.71+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:52:26.71+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-droplet-receiver"
     2026-03-20T08:52:26.71+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:52:26.71+0100 [API/0] OUT   no-route: true
     2026-03-20T08:52:26.71+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:52:26.71+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:52:26.71+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:52:26.71+0100 [API/0] OUT   command: tcp-droplet-receiver --serverId=server1
     2026-03-20T08:52:26.71+0100 [API/0] OUT )
     2026-03-20T08:52:32.82+0100 [API/0] OUT Uploading app package for app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:52:37.01+0100 [API/0] OUT Creating build for app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:52:37.12+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:52:37.12+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:52:37.12+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 7461cef0-e921-42d9-b335-3c71f7070d15
     2026-03-20T08:52:38.14+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 7461cef0-e921-42d9-b335-3c71f7070d15
     2026-03-20T08:52:38.53+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:52:38.54+0100 [STG/0] OUT Downloaded app package (1.5K)
     2026-03-20T08:52:38.56+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:52:38.56+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:52:38.56+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:52:39.22+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:52:39.22+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:52:39.82+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:52:39.82+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:52:40.53+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:52:40.53+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:52:48.77+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:52:48.77+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:52:56.99+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:52:56.99+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:52:56.99+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:52:56.99+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:52:57.02+0100 [API/0] OUT Creating droplet for app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:52:57.67+0100 [STG/0] OUT Uploaded build artifacts cache (99.9M)
     2026-03-20T08:53:00.04+0100 [STG/0] OUT Uploaded droplet (1.8M)
     2026-03-20T08:53:00.04+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:53:00.51+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 7461cef0-e921-42d9-b335-3c71f7070d15
     2026-03-20T08:53:00.51+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 7461cef0-e921-42d9-b335-3c71f7070d15
     2026-03-20T08:53:00.55+0100 [API/0] OUT Staging complete for build 7461cef0-e921-42d9-b335-3c71f7070d15
     2026-03-20T08:53:01.25+0100 [API/0] OUT Updated app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625 ({:droplet_guid=>"aa829e8d-bb67-4ab5-a0d8-e89a2082b162"})
     2026-03-20T08:53:01.28+0100 [API/0] OUT Creating revision for app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:53:01.29+0100 [API/0] OUT Starting app with guid 68a5d2e7-a38a-457a-9933-cb14d4319625
     2026-03-20T08:53:01.48+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance ba62d976-a0a2-4a35-50d2-0969
     2026-03-20T08:53:03.51+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance ba62d976-a0a2-4a35-50d2-0969
     2026-03-20T08:53:04.00+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:53:04.09+0100 [CELL/0] OUT Downloaded droplet (1.8M)
     2026-03-20T08:53:04.11+0100 [API/0] OUT Process became ready with guid 68a5d2e7-a38a-457a-9933-cb14d4319625 payload: {"instance"=>"ba62d976-a0a2-4a35-50d2-0969", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"30ff38a9-91cc-4796-96e6-26766dee2701"}
     2026-03-20T08:53:04.12+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:53:04.12+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:53:04.12+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3333

  [2026-03-20 07:53:06.57 (UTC)]> cf delete RATS-1-APP-e446d463986c7393 -f -r 
  Deleting app RATS-1-APP-e446d463986c7393 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [52.788 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243mmultiple-app ports single external port with multiple app ports [1mshould switch between ports
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:177

  [2026-03-20 07:53:18.85 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:53:18.90 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:53:19.04 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:53:19.09 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:53:19.13 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json482649430 


  [2026-03-20 07:53:19.16 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:53:19.19 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32002 has been created.
  OK


  [2026-03-20 07:53:19.40 (UTC)]> cf push RATS-1-APP-58614778bb07bd8e --no-start -p ../assets/tcp-sample-receiver/ -m 256M -b go_buildpack -c tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-58614778bb07bd8e to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 2.92 MiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-58614778bb07bd8e
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:53:26Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:53:26.04 (UTC)]> cf map-route RATS-1-APP-58614778bb07bd8e tcp.127-0-0-1.nip.io --port 32002 
  Mapping route tcp.127-0-0-1.nip.io:32002 to app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:53:26.39 (UTC)]> cf app RATS-1-APP-58614778bb07bd8e --guid 
  263651fa-4c38-4630-882e-cafdd0dfad75

  [2026-03-20 07:53:26.44 (UTC)]> cf curl /v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"8aeb7d53-dba3-4e20-b5b9-13f80e67ac37","created_at":"2026-03-20T07:53:19Z","updated_at":"2026-03-20T07:53:19Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"f3372450-1a98-4fbf-be5a-8590cda563cc","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:53:26.55 (UTC)]> cf curl /v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations -X PATCH -d {"destinations":[{"app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"port":3434,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"20ba0d63-20d5-4600-b350-4cf2a7c44893","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"}}}

  [2026-03-20 07:53:26.82 (UTC)]> cf curl /v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"8aeb7d53-dba3-4e20-b5b9-13f80e67ac37","created_at":"2026-03-20T07:53:19Z","updated_at":"2026-03-20T07:53:19Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"20ba0d63-20d5-4600-b350-4cf2a7c44893","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:53:26.93 (UTC)]> cf start RATS-1-APP-58614778bb07bd8e 
  Starting app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     Downloading app package...
     Downloaded app package (2.9M)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading droplet...
     Uploading build artifacts cache...
     Uploaded build artifacts cache (100.5M)
     Uploaded droplet (4.5M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da

  Starting app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-58614778bb07bd8e
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:53:58 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:54:06Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:54:07.04 (UTC)]> cf app RATS-1-APP-58614778bb07bd8e 
  Showing health and status for app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-58614778bb07bd8e
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:53:58 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:54:06Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:54:07.24 (UTC)]> cf app RATS-1-APP-58614778bb07bd8e --guid 
  263651fa-4c38-4630-882e-cafdd0dfad75

  [2026-03-20 07:54:07.30 (UTC)]> cf curl /v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"8aeb7d53-dba3-4e20-b5b9-13f80e67ac37","created_at":"2026-03-20T07:53:19Z","updated_at":"2026-03-20T07:53:19Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"20ba0d63-20d5-4600-b350-4cf2a7c44893","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:54:07.41 (UTC)]> cf curl /v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations -X PATCH -d {"destinations":[{"app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"port":3434,"protocol":"tcp"},{"app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"port":3535,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"20ba0d63-20d5-4600-b350-4cf2a7c44893","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"},{"guid":"51a6db83-df2b-4baf-a06f-bb2d5f702e2a","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:54:07Z","updated_at":"2026-03-20T07:54:07Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"}}}

  [2026-03-20 07:54:07.74 (UTC)]> cf curl /v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/263651fa-4c38-4630-882e-cafdd0dfad75/routes?app_guids=263651fa-4c38-4630-882e-cafdd0dfad75\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"8aeb7d53-dba3-4e20-b5b9-13f80e67ac37","created_at":"2026-03-20T07:53:19Z","updated_at":"2026-03-20T07:53:19Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"20ba0d63-20d5-4600-b350-4cf2a7c44893","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:53:26Z","updated_at":"2026-03-20T07:53:26Z"},{"guid":"51a6db83-df2b-4baf-a06f-bb2d5f702e2a","app":{"guid":"263651fa-4c38-4630-882e-cafdd0dfad75","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:54:07Z","updated_at":"2026-03-20T07:54:07Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8aeb7d53-dba3-4e20-b5b9-13f80e67ac37/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:54:07.84 (UTC)]> cf restart RATS-1-APP-58614778bb07bd8e 
  Restarting app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Stopping app...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-58614778bb07bd8e
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:53:58 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:54:11Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true
  {"timestamp":"1773993251.369490147","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993251.369575500","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 369526243"}}
  {"timestamp":"1773993251.377122879","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 369526243"}}
  {"timestamp":"1773993251.377518177","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993251.377556801","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 377533340"}}
  {"timestamp":"1773993251.380054951","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 377533340"}}
  {"timestamp":"1773993256.382425070","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993256.382505655","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 382474135"}}
  {"timestamp":"1773993256.384807110","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 382474135"}}
  {"timestamp":"1773993261.387449026","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993261.387521505","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 387486459"}}
  {"timestamp":"1773993261.389800787","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 387486459"}}
  {"timestamp":"1773993266.392384052","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993266.392433167","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 392408391"}}
  {"timestamp":"1773993266.394336224","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 392408391"}}
  {"timestamp":"1773993271.397447348","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993271.397537470","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 397487561"}}
  {"timestamp":"1773993271.399458885","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 397487561"}}
  {"timestamp":"1773993276.402437687","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993276.402503252","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 402471974"}}
  {"timestamp":"1773993276.407530308","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3434):Time is 402471974"}}
  {"timestamp":"1773993276.407705307","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993276.407749891","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 407721000"}}
  {"timestamp":"1773993276.409306765","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 407721000"}}

  [2026-03-20 07:54:36.40 (UTC)]> cf app RATS-1-APP-58614778bb07bd8e --guid 
  263651fa-4c38-4630-882e-cafdd0dfad75

  [2026-03-20 07:54:36.47 (UTC)]> cf logs RATS-1-APP-58614778bb07bd8e --recent 
  Retrieving logs for app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:53:19.45+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:53:19.45+0100 [API/0] OUT Created app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:53:19.46+0100 [API/0] OUT Applied manifest to app with guid 263651fa-4c38-4630-882e-cafdd0dfad75 (---
     2026-03-20T08:53:19.46+0100 [API/0] OUT applications:
     2026-03-20T08:53:19.46+0100 [API/0] OUT - name: RATS-1-APP-58614778bb07bd8e
     2026-03-20T08:53:19.46+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:53:19.46+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-sample-receiver"
     2026-03-20T08:53:19.46+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:53:19.46+0100 [API/0] OUT   no-route: true
     2026-03-20T08:53:19.46+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:53:19.46+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:53:19.46+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:53:19.46+0100 [API/0] OUT   command: tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
     2026-03-20T08:53:19.46+0100 [API/0] OUT )
     2026-03-20T08:53:22.92+0100 [API/0] OUT Uploading app package for app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:53:27.07+0100 [API/0] OUT Creating build for app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:53:27.18+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:53:27.19+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:53:27.19+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:53:28.20+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:53:28.76+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:53:28.85+0100 [STG/0] OUT Downloaded app package (2.9M)
     2026-03-20T08:53:28.88+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:53:28.88+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:53:28.88+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:53:29.49+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:53:29.49+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:53:30.09+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:53:30.09+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:53:30.81+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:53:30.81+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:53:50.27+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:53:50.27+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:53:58.74+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:53:58.74+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:53:58.74+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:53:58.74+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:53:58.79+0100 [API/0] OUT Creating droplet for app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:53:59.43+0100 [STG/0] OUT Uploaded build artifacts cache (100.5M)
     2026-03-20T08:54:00.80+0100 [STG/0] OUT Uploaded droplet (4.5M)
     2026-03-20T08:54:00.81+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:54:01.22+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:54:01.22+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:54:01.44+0100 [API/0] OUT Staging complete for build db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:54:03.40+0100 [API/0] OUT Updated app with guid 263651fa-4c38-4630-882e-cafdd0dfad75 ({:droplet_guid=>"d58ce7a8-1fc0-470a-8e36-c42ca48057dc"})
     2026-03-20T08:54:03.43+0100 [API/0] OUT Creating revision for app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:54:03.44+0100 [API/0] OUT Starting app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:54:03.68+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 2f93cff8-2ded-4095-5237-581d
     2026-03-20T08:54:05.20+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 2f93cff8-2ded-4095-5237-581d
     2026-03-20T08:54:05.59+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:54:05.77+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:54:05.79+0100 [API/0] OUT Process became ready with guid 263651fa-4c38-4630-882e-cafdd0dfad75 payload: {"instance"=>"2f93cff8-2ded-4095-5237-581d", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"29981e39-29a0-4b34-9c8b-444d150f9e63"}
     2026-03-20T08:54:05.79+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:54:05.80+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:54:05.80+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:54:05.80+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434
     2026-03-20T08:54:07.93+0100 [API/0] OUT Stopping app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:54:07.96+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 2f93cff8-2ded-4095-5237-581d
     2026-03-20T08:54:08.00+0100 [API/0] OUT Starting app with guid 263651fa-4c38-4630-882e-cafdd0dfad75
     2026-03-20T08:54:08.16+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 2c905cb7-ea4d-43df-43d5-a731
     2026-03-20T08:54:08.27+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance db6df1b1-9ddf-422d-83c5-225f4dbc21da
     2026-03-20T08:54:08.66+0100 [APP/PROC/WEB/0] OUT Exit status 143
     2026-03-20T08:54:08.66+0100 [CELL/SSHD/0] OUT Exit status 0
     2026-03-20T08:54:08.66+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 2f93cff8-2ded-4095-5237-581d
     2026-03-20T08:54:10.18+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 2c905cb7-ea4d-43df-43d5-a731
     2026-03-20T08:54:10.50+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:54:10.68+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:54:10.71+0100 [API/0] OUT Process became ready with guid 263651fa-4c38-4630-882e-cafdd0dfad75 payload: {"instance"=>"2c905cb7-ea4d-43df-43d5-a731", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"5c72c663-4af1-4fd0-89a6-69663cddc24c"}
     2026-03-20T08:54:10.71+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:54:10.71+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:54:10.71+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:54:10.71+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434
     2026-03-20T08:54:11.37+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 369526243
     2026-03-20T08:54:11.37+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF
     2026-03-20T08:54:11.37+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 377533340
     2026-03-20T08:54:11.38+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF
     2026-03-20T08:54:13.71+0100 [PROXY/0] OUT Exit status 137
     2026-03-20T08:54:15.20+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance 2f93cff8-2ded-4095-5237-581d
     2026-03-20T08:54:16.38+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 382474135
     2026-03-20T08:54:16.38+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF
     2026-03-20T08:54:21.38+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 387486459
     2026-03-20T08:54:21.39+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF
     2026-03-20T08:54:26.39+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 392408391
     2026-03-20T08:54:26.39+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF
     2026-03-20T08:54:31.39+0100 [APP/PROC/WEB/0] OUT server1(0.0.0.0:3535):Time is 397487561
     2026-03-20T08:54:31.39+0100 [APP/PROC/WEB/0] OUT Error on connection read: EOF

  [2026-03-20 07:54:36.58 (UTC)]> cf delete RATS-1-APP-58614778bb07bd8e -f -r 
  Deleting app RATS-1-APP-58614778bb07bd8e in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [90.005 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243mmultiple-app ports multiple external ports with multiple app ports [1mshould map second external port to the second app port
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:224

  [2026-03-20 07:54:48.86 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:54:48.89 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:54:49.07 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:54:49.14 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:54:49.18 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json1811407219 


  [2026-03-20 07:54:49.20 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:54:49.24 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32000 has been created.
  OK


  [2026-03-20 07:54:49.47 (UTC)]> cf push RATS-1-APP-df528e432fc7a7bf --no-start -p ../assets/tcp-sample-receiver/ -m 256M -b go_buildpack -c tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-df528e432fc7a7bf to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 2.92 MiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [=====================================================================================================================================================================================================] 100.00%
 2.92 MiB / 2.92 MiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-df528e432fc7a7bf
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:54:59Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:54:59.09 (UTC)]> cf map-route RATS-1-APP-df528e432fc7a7bf tcp.127-0-0-1.nip.io --port 32000 
  Mapping route tcp.127-0-0-1.nip.io:32000 to app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:54:59.46 (UTC)]> cf app RATS-1-APP-df528e432fc7a7bf --guid 
  12939889-0c5d-4665-98b0-a98f66ccbe12

  [2026-03-20 07:54:59.51 (UTC)]> cf curl /v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?ports=32000 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32000"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32000"},"next":null,"previous":null},"resources":[{"guid":"1fc81921-a921-4bcb-a982-077589302a64","created_at":"2026-03-20T07:54:49Z","updated_at":"2026-03-20T07:54:49Z","protocol":"tcp","host":"","path":"","port":32000,"url":"tcp.127-0-0-1.nip.io:32000","destinations":[{"guid":"3aed7d2a-0bca-490e-9007-b5c2aff9fc57","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:54:59Z","updated_at":"2026-03-20T07:54:59Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:54:59.62 (UTC)]> cf curl /v3/routes/1fc81921-a921-4bcb-a982-077589302a64/destinations -X PATCH -d {"destinations":[{"app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"port":3434,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"b029695b-5c60-4b08-9e19-20dab37a9d76","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:54:59Z","updated_at":"2026-03-20T07:54:59Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64"}}}

  [2026-03-20 07:54:59.89 (UTC)]> cf curl /v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?ports=32000 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32000"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32000"},"next":null,"previous":null},"resources":[{"guid":"1fc81921-a921-4bcb-a982-077589302a64","created_at":"2026-03-20T07:54:49Z","updated_at":"2026-03-20T07:54:49Z","protocol":"tcp","host":"","path":"","port":32000,"url":"tcp.127-0-0-1.nip.io:32000","destinations":[{"guid":"b029695b-5c60-4b08-9e19-20dab37a9d76","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":3434,"protocol":"tcp","created_at":"2026-03-20T07:54:59Z","updated_at":"2026-03-20T07:54:59Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/1fc81921-a921-4bcb-a982-077589302a64/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:54:59.99 (UTC)]> cf start RATS-1-APP-df528e432fc7a7bf 
  Starting app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance eccbabc9-a79f-4258-a063-7273030888fe
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance eccbabc9-a79f-4258-a063-7273030888fe
     Downloading app package...
     Downloaded app package (2.9M)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading droplet...
     Uploading build artifacts cache...
     Uploaded build artifacts cache (100.5M)
     Uploaded droplet (4.5M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance eccbabc9-a79f-4258-a063-7273030888fe
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance eccbabc9-a79f-4258-a063-7273030888fe

  Starting app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-df528e432fc7a7bf
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32000
  last uploaded:     Fri 20 Mar 08:55:32 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:55:39Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:55:39.97 (UTC)]> cf app RATS-1-APP-df528e432fc7a7bf 
  Showing health and status for app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-df528e432fc7a7bf
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32000
  last uploaded:     Fri 20 Mar 08:55:32 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:55:40Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:55:40.21 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32015 has been created.
  OK


  [2026-03-20 07:55:40.45 (UTC)]> cf map-route RATS-1-APP-df528e432fc7a7bf tcp.127-0-0-1.nip.io --port 32015 
  Mapping route tcp.127-0-0-1.nip.io:32015 to app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:55:40.97 (UTC)]> cf app RATS-1-APP-df528e432fc7a7bf --guid 
  12939889-0c5d-4665-98b0-a98f66ccbe12

  [2026-03-20 07:55:41.04 (UTC)]> cf curl /v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?ports=32015 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32015"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32015"},"next":null,"previous":null},"resources":[{"guid":"75eb3784-7d9c-4111-8eee-40958c92072e","created_at":"2026-03-20T07:55:40Z","updated_at":"2026-03-20T07:55:40Z","protocol":"tcp","host":"","path":"","port":32015,"url":"tcp.127-0-0-1.nip.io:32015","destinations":[{"guid":"0154f572-20c3-4894-81e7-2de244563304","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:55:40Z","updated_at":"2026-03-20T07:55:40Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:55:41.15 (UTC)]> cf curl /v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e/destinations -X PATCH -d {"destinations":[{"app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"port":3535,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"831148f0-453b-4260-9721-a1462cc69bdd","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:55:41Z","updated_at":"2026-03-20T07:55:41Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e"}}}

  [2026-03-20 07:55:41.55 (UTC)]> cf curl /v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?ports=32015 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32015"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/12939889-0c5d-4665-98b0-a98f66ccbe12/routes?app_guids=12939889-0c5d-4665-98b0-a98f66ccbe12\u0026page=1\u0026per_page=50\u0026ports=32015"},"next":null,"previous":null},"resources":[{"guid":"75eb3784-7d9c-4111-8eee-40958c92072e","created_at":"2026-03-20T07:55:40Z","updated_at":"2026-03-20T07:55:40Z","protocol":"tcp","host":"","path":"","port":32015,"url":"tcp.127-0-0-1.nip.io:32015","destinations":[{"guid":"831148f0-453b-4260-9721-a1462cc69bdd","app":{"guid":"12939889-0c5d-4665-98b0-a98f66ccbe12","process":{"type":"web"}},"weight":null,"port":3535,"protocol":"tcp","created_at":"2026-03-20T07:55:41Z","updated_at":"2026-03-20T07:55:41Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/75eb3784-7d9c-4111-8eee-40958c92072e/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:55:41.66 (UTC)]> cf restart RATS-1-APP-df528e432fc7a7bf 
  Restarting app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Stopping app...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-df528e432fc7a7bf
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32000, tcp.127-0-0-1.nip.io:32015
  last uploaded:     Fri 20 Mar 08:55:32 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:55:44Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true
  {"timestamp":"1773993345.189404726","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""}}}
  {"timestamp":"1773993345.189479828","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""},"message":"Time is 189440870"}}
  {"timestamp":"1773993345.197380066","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32015,"Zone":""},"message":"server1(0.0.0.0:3535):Time is 189440870"}}

  [2026-03-20 07:55:45.19 (UTC)]> cf app RATS-1-APP-df528e432fc7a7bf --guid 
  12939889-0c5d-4665-98b0-a98f66ccbe12

  [2026-03-20 07:55:45.24 (UTC)]> cf logs RATS-1-APP-df528e432fc7a7bf --recent 
  Retrieving logs for app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:54:49.52+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:54:49.52+0100 [API/0] OUT Created app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:54:49.53+0100 [API/0] OUT Applied manifest to app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12 (---
     2026-03-20T08:54:49.53+0100 [API/0] OUT applications:
     2026-03-20T08:54:49.53+0100 [API/0] OUT - name: RATS-1-APP-df528e432fc7a7bf
     2026-03-20T08:54:49.53+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:54:49.53+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-sample-receiver"
     2026-03-20T08:54:49.53+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:54:49.53+0100 [API/0] OUT   no-route: true
     2026-03-20T08:54:49.53+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:54:49.53+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:54:49.53+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:54:49.53+0100 [API/0] OUT   command: tcp-sample-receiver --address=0.0.0.0:3434,0.0.0.0:3535 --serverId=server1
     2026-03-20T08:54:49.53+0100 [API/0] OUT )
     2026-03-20T08:54:52.96+0100 [API/0] OUT Uploading app package for app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:00.13+0100 [API/0] OUT Creating build for app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:00.27+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:55:00.27+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:55:00.27+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:01.30+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:01.94+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:55:02.03+0100 [STG/0] OUT Downloaded app package (2.9M)
     2026-03-20T08:55:02.05+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:55:02.05+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:55:02.05+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:55:02.67+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:55:02.67+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:55:03.30+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:55:03.30+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:55:04.00+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:55:04.00+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:55:23.16+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:55:23.16+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:55:32.02+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:55:32.02+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:55:32.02+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:55:32.02+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:55:32.09+0100 [API/0] OUT Creating droplet for app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:32.72+0100 [STG/0] OUT Uploaded build artifacts cache (100.5M)
     2026-03-20T08:55:33.12+0100 [STG/0] OUT Uploaded droplet (4.5M)
     2026-03-20T08:55:33.12+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:55:33.59+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:33.59+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:33.71+0100 [API/0] OUT Staging complete for build eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:36.45+0100 [API/0] OUT Updated app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12 ({:droplet_guid=>"a8aa0328-702d-46f7-ba4e-a671ea25ea52"})
     2026-03-20T08:55:36.49+0100 [API/0] OUT Creating revision for app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:36.50+0100 [API/0] OUT Starting app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:36.74+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance bdef2a7d-6de0-4241-69b0-855a
     2026-03-20T08:55:39.26+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance bdef2a7d-6de0-4241-69b0-855a
     2026-03-20T08:55:39.50+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:55:39.63+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance eccbabc9-a79f-4258-a063-7273030888fe
     2026-03-20T08:55:39.68+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:55:39.71+0100 [API/0] OUT Process became ready with guid 12939889-0c5d-4665-98b0-a98f66ccbe12 payload: {"instance"=>"bdef2a7d-6de0-4241-69b0-855a", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"834aa75f-8827-47dc-bda1-fe31cbf62200"}
     2026-03-20T08:55:39.71+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:55:39.71+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:55:39.71+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:55:39.71+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434
     2026-03-20T08:55:41.75+0100 [API/0] OUT Stopping app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:41.78+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance bdef2a7d-6de0-4241-69b0-855a
     2026-03-20T08:55:41.82+0100 [API/0] OUT Starting app with guid 12939889-0c5d-4665-98b0-a98f66ccbe12
     2026-03-20T08:55:41.97+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 614cfcb0-79f9-4af3-5f40-73ca
     2026-03-20T08:55:42.10+0100 [CELL/SSHD/0] OUT Exit status 0
     2026-03-20T08:55:42.10+0100 [APP/PROC/WEB/0] OUT Exit status 143
     2026-03-20T08:55:42.11+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance bdef2a7d-6de0-4241-69b0-855a
     2026-03-20T08:55:43.50+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 614cfcb0-79f9-4af3-5f40-73ca
     2026-03-20T08:55:43.82+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:55:44.00+0100 [CELL/0] OUT Downloaded droplet (4.5M)
     2026-03-20T08:55:44.03+0100 [API/0] OUT Process became ready with guid 12939889-0c5d-4665-98b0-a98f66ccbe12 payload: {"instance"=>"614cfcb0-79f9-4af3-5f40-73ca", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"401524cb-ed62-472a-9eb3-46109a682b63"}
     2026-03-20T08:55:44.03+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:55:44.03+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:55:44.03+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3535
     2026-03-20T08:55:44.03+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3434

  [2026-03-20 07:55:45.31 (UTC)]> cf delete RATS-1-APP-df528e432fc7a7bf -f -r 
  Deleting app RATS-1-APP-df528e432fc7a7bf in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [65.726 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243msingle app port [1mmaps a single external port to an application's container port
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:51

  [2026-03-20 07:55:54.58 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:55:54.62 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:55:54.77 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:55:54.82 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:55:54.86 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json3672500429 


  [2026-03-20 07:55:54.88 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:55:54.92 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32010 has been created.
  OK


  [2026-03-20 07:55:55.14 (UTC)]> cf push RATS-1-APP-6253dd72a38071e3 --no-start -p ../assets/tcp-droplet-receiver/ -m 256M -b go_buildpack -c tcp-droplet-receiver --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-6253dd72a38071e3 to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 1.52 KiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-6253dd72a38071e3
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-droplet-receiver --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:56:07Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:56:07.47 (UTC)]> cf map-route RATS-1-APP-6253dd72a38071e3 tcp.127-0-0-1.nip.io --port 32010 
  Mapping route tcp.127-0-0-1.nip.io:32010 to app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:56:07.85 (UTC)]> cf app RATS-1-APP-6253dd72a38071e3 --guid 
  835027d4-7fa6-4307-8910-cc25dec874f6

  [2026-03-20 07:56:07.91 (UTC)]> cf curl /v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?ports=32010 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?app_guids=835027d4-7fa6-4307-8910-cc25dec874f6\u0026page=1\u0026per_page=50\u0026ports=32010"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?app_guids=835027d4-7fa6-4307-8910-cc25dec874f6\u0026page=1\u0026per_page=50\u0026ports=32010"},"next":null,"previous":null},"resources":[{"guid":"8e27bb63-6496-4307-ba23-8d1c70114269","created_at":"2026-03-20T07:55:55Z","updated_at":"2026-03-20T07:55:55Z","protocol":"tcp","host":"","path":"","port":32010,"url":"tcp.127-0-0-1.nip.io:32010","destinations":[{"guid":"e1ba38b9-9fb7-412e-9217-938e0a2d6acc","app":{"guid":"835027d4-7fa6-4307-8910-cc25dec874f6","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:56:07Z","updated_at":"2026-03-20T07:56:07Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:56:08.02 (UTC)]> cf curl /v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269/destinations -X PATCH -d {"destinations":[{"app":{"guid":"835027d4-7fa6-4307-8910-cc25dec874f6","process":{"type":"web"}},"port":3333,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"05cd4ebb-914a-4ac8-9358-0e4e12743365","app":{"guid":"835027d4-7fa6-4307-8910-cc25dec874f6","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:56:08Z","updated_at":"2026-03-20T07:56:08Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269"}}}

  [2026-03-20 07:56:08.27 (UTC)]> cf curl /v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?ports=32010 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?app_guids=835027d4-7fa6-4307-8910-cc25dec874f6\u0026page=1\u0026per_page=50\u0026ports=32010"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/835027d4-7fa6-4307-8910-cc25dec874f6/routes?app_guids=835027d4-7fa6-4307-8910-cc25dec874f6\u0026page=1\u0026per_page=50\u0026ports=32010"},"next":null,"previous":null},"resources":[{"guid":"8e27bb63-6496-4307-ba23-8d1c70114269","created_at":"2026-03-20T07:55:55Z","updated_at":"2026-03-20T07:55:55Z","protocol":"tcp","host":"","path":"","port":32010,"url":"tcp.127-0-0-1.nip.io:32010","destinations":[{"guid":"05cd4ebb-914a-4ac8-9358-0e4e12743365","app":{"guid":"835027d4-7fa6-4307-8910-cc25dec874f6","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:56:08Z","updated_at":"2026-03-20T07:56:08Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/8e27bb63-6496-4307-ba23-8d1c70114269/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:56:08.39 (UTC)]> cf start RATS-1-APP-6253dd72a38071e3 
  Starting app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance c851e51a-853a-477b-bac2-72ef76a79d25
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance c851e51a-853a-477b-bac2-72ef76a79d25
     Downloading app package...
     Downloaded app package (1.5K)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading droplet...
     Uploading build artifacts cache...
     Uploaded build artifacts cache (100M)
     Uploaded droplet (1.8M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance c851e51a-853a-477b-bac2-72ef76a79d25
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance c851e51a-853a-477b-bac2-72ef76a79d25

  Starting app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-6253dd72a38071e3
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32010
  last uploaded:     Fri 20 Mar 08:56:29 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:56:41Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:56:42.33 (UTC)]> cf app RATS-1-APP-6253dd72a38071e3 
  Showing health and status for app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-6253dd72a38071e3
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32010
  last uploaded:     Fri 20 Mar 08:56:29 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:56:41Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true
  {"timestamp":"1773993402.607432842","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""}}}
  {"timestamp":"1773993402.607571125","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""},"message":"Time is 607472698"}}
  {"timestamp":"1773993402.618684530","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""},"message":"server1:Time is 607472698"}}
  {"timestamp":"1773993402.620146513","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""}}}
  {"timestamp":"1773993402.620713711","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""},"message":"Time is 620178246"}}
  {"timestamp":"1773993402.622651100","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32010,"Zone":""},"message":"server1:Time is 620178246"}}

  [2026-03-20 07:56:42.62 (UTC)]> cf app RATS-1-APP-6253dd72a38071e3 --guid 
  835027d4-7fa6-4307-8910-cc25dec874f6

  [2026-03-20 07:56:42.69 (UTC)]> cf logs RATS-1-APP-6253dd72a38071e3 --recent 
  Retrieving logs for app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:55:55.19+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:55:55.19+0100 [API/0] OUT Created app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:55:55.20+0100 [API/0] OUT Applied manifest to app with guid 835027d4-7fa6-4307-8910-cc25dec874f6 (---
     2026-03-20T08:55:55.20+0100 [API/0] OUT applications:
     2026-03-20T08:55:55.20+0100 [API/0] OUT - name: RATS-1-APP-6253dd72a38071e3
     2026-03-20T08:55:55.20+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:55:55.20+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-droplet-receiver"
     2026-03-20T08:55:55.20+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:55:55.20+0100 [API/0] OUT   no-route: true
     2026-03-20T08:55:55.20+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:55:55.20+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:55:55.20+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:55:55.20+0100 [API/0] OUT   command: tcp-droplet-receiver --serverId=server1
     2026-03-20T08:55:55.20+0100 [API/0] OUT )
     2026-03-20T08:56:01.33+0100 [API/0] OUT Uploading app package for app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:56:08.53+0100 [API/0] OUT Creating build for app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:56:08.65+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:56:08.65+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:56:08.65+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance c851e51a-853a-477b-bac2-72ef76a79d25
     2026-03-20T08:56:10.68+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance c851e51a-853a-477b-bac2-72ef76a79d25
     2026-03-20T08:56:11.07+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:56:11.08+0100 [STG/0] OUT Downloaded app package (1.5K)
     2026-03-20T08:56:11.10+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:56:11.10+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:56:11.10+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:56:11.71+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:56:11.71+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:56:12.34+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:56:12.34+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:56:13.03+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:56:13.03+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:56:21.97+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:56:21.97+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:56:29.97+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:56:29.97+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:56:29.97+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:56:29.97+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:56:30.00+0100 [API/0] OUT Creating droplet for app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:56:30.67+0100 [STG/0] OUT Uploaded build artifacts cache (100M)
     2026-03-20T08:56:35.02+0100 [STG/0] OUT Uploaded droplet (1.8M)
     2026-03-20T08:56:35.02+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:56:36.31+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance c851e51a-853a-477b-bac2-72ef76a79d25
     2026-03-20T08:56:36.31+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance c851e51a-853a-477b-bac2-72ef76a79d25
     2026-03-20T08:56:36.46+0100 [API/0] OUT Staging complete for build c851e51a-853a-477b-bac2-72ef76a79d25
     2026-03-20T08:56:38.84+0100 [API/0] OUT Updated app with guid 835027d4-7fa6-4307-8910-cc25dec874f6 ({:droplet_guid=>"7c45a90f-75f6-4292-a968-5e97f0371332"})
     2026-03-20T08:56:38.87+0100 [API/0] OUT Creating revision for app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:56:38.88+0100 [API/0] OUT Starting app with guid 835027d4-7fa6-4307-8910-cc25dec874f6
     2026-03-20T08:56:39.04+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 8b6edbc1-cb66-4a0f-54fe-2da5
     2026-03-20T08:56:40.56+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 8b6edbc1-cb66-4a0f-54fe-2da5
     2026-03-20T08:56:40.94+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:56:41.05+0100 [CELL/0] OUT Downloaded droplet (1.8M)
     2026-03-20T08:56:41.08+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:56:41.08+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:56:41.08+0100 [API/0] OUT Process became ready with guid 835027d4-7fa6-4307-8910-cc25dec874f6 payload: {"instance"=>"8b6edbc1-cb66-4a0f-54fe-2da5", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"0bd83cda-11e1-4e07-baf6-0536c32f180c"}
     2026-03-20T08:56:41.09+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3333

  [2026-03-20 07:56:42.83 (UTC)]> cf delete RATS-1-APP-6253dd72a38071e3 -f -r 
  Deleting app RATS-1-APP-6253dd72a38071e3 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [54.756 seconds]
[38;5;243m------------------------------
Tcp Routing [38;5;243msingle app port single external port to two different apps [1mmaps single external port to both applications
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_test.go:88

  [2026-03-20 07:56:49.34 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:56:49.40 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:56:49.71 (UTC)]> cf target -o CATS-1-ORG-ab23ab0b1fee5fd8 -s CATS-1-SPACE-458e6aee22ddc5b5 
  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0
  user:           ccadmin
  org:            CATS-1-ORG-ab23ab0b1fee5fd8
  space:          CATS-1-SPACE-458e6aee22ddc5b5

  [2026-03-20 07:56:49.77 (UTC)]> cf org CATS-1-ORG-ab23ab0b1fee5fd8 --guid 
  2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7

  [2026-03-20 07:56:49.81 (UTC)]> cf curl /v3/organization_quotas/2e054c42-7dc8-42c5-930a-3bdf6a3fdcf7
   -X PATCH -d @/tmp/curl-json1954789461 


  [2026-03-20 07:56:49.83 (UTC)]> cf logout 
  Logging out ccadmin...
  OK


  [2026-03-20 07:56:49.87 (UTC)]> cf create-route tcp.127-0-0-1.nip.io 
  Creating route tcp.127-0-0-1.nip.io for org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Route tcp.127-0-0-1.nip.io:32002 has been created.
  OK


  [2026-03-20 07:56:50.12 (UTC)]> cf push RATS-1-APP-0798d90cde868361 --no-start -b go_buildpack -p ../assets/tcp-droplet-receiver/ -m 256M -c tcp-droplet-receiver --serverId=server1 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-0798d90cde868361 to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 1.52 KiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-0798d90cde868361
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-droplet-receiver --serverId=server1
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:56:59Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:56:59.56 (UTC)]> cf map-route RATS-1-APP-0798d90cde868361 tcp.127-0-0-1.nip.io --port 32002 
  Mapping route tcp.127-0-0-1.nip.io:32002 to app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:57:00.00 (UTC)]> cf app RATS-1-APP-0798d90cde868361 --guid 
  6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2

  [2026-03-20 07:57:00.04 (UTC)]> cf curl /v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?app_guids=6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?app_guids=6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"2b59a5fa-b34e-4259-8521-0d6ddb3ab961","created_at":"2026-03-20T07:56:50Z","updated_at":"2026-03-20T07:56:50Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"6f3004c5-6b85-4397-95f9-059b88fc79e2","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:56:59Z","updated_at":"2026-03-20T07:56:59Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:57:00.15 (UTC)]> cf curl /v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations -X PATCH -d {"destinations":[{"app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"port":3333,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"0ce79f8e-cfdf-493f-97fc-25d0d374de0c","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:00Z","updated_at":"2026-03-20T07:57:00Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"}}}

  [2026-03-20 07:57:00.46 (UTC)]> cf curl /v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?app_guids=6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2/routes?app_guids=6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"2b59a5fa-b34e-4259-8521-0d6ddb3ab961","created_at":"2026-03-20T07:56:50Z","updated_at":"2026-03-20T07:56:50Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"0ce79f8e-cfdf-493f-97fc-25d0d374de0c","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:00Z","updated_at":"2026-03-20T07:57:00Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:57:00.58 (UTC)]> cf start RATS-1-APP-0798d90cde868361 
  Starting app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     Downloading app package...
     Downloaded app package (1.5K)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading build artifacts cache...
     Uploading droplet...
     Uploaded build artifacts cache (100M)
     Uploaded droplet (1.8M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 374269f9-c650-4a88-805f-a543cd1ee404
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 374269f9-c650-4a88-805f-a543cd1ee404

  Starting app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...

  name:              RATS-1-APP-0798d90cde868361
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:57:21 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:57:27Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:57:28.65 (UTC)]> cf app RATS-1-APP-0798d90cde868361 
  Showing health and status for app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-0798d90cde868361
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:57:21 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:57:27Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:57:28.84 (UTC)]> cf push RATS-1-APP-c5da750c39dff678 --no-start -p ../assets/tcp-droplet-receiver/ -m 256M -b go_buildpack -c tcp-droplet-receiver --serverId=server2 --no-route -s cflinuxfs4 -u process 
  Pushing app RATS-1-APP-c5da750c39dff678 to org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  Packaging files to upload...
  Uploading files...
  
 0 B / 1.52 KiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [=====================================================================================================================================================================================================] 100.00%
 1.52 KiB / 1.52 KiB [==================================================================================================================================================================================================] 100.00% 1s

  Waiting for API to complete processing files...

  name:              RATS-1-APP-c5da750c39dff678
  requested state:   stopped
  routes:            
  last uploaded:     
  stack:             
  buildpacks:        

  type:            web
  sidecars:        
  instances:       0/1
  memory usage:    256M
  start command:   tcp-droplet-receiver --serverId=server2
       state   since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   down    2026-03-20T07:57:41Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s                               -

  [2026-03-20 07:57:41.14 (UTC)]> cf map-route RATS-1-APP-c5da750c39dff678 tcp.127-0-0-1.nip.io --port 32002 
  Mapping route tcp.127-0-0-1.nip.io:32002 to app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:57:41.51 (UTC)]> cf app RATS-1-APP-c5da750c39dff678 --guid 
  38de56fe-8b52-499c-947d-75349992f4c0

  [2026-03-20 07:57:41.56 (UTC)]> cf curl /v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?app_guids=38de56fe-8b52-499c-947d-75349992f4c0\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?app_guids=38de56fe-8b52-499c-947d-75349992f4c0\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"2b59a5fa-b34e-4259-8521-0d6ddb3ab961","created_at":"2026-03-20T07:56:50Z","updated_at":"2026-03-20T07:56:50Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"0ce79f8e-cfdf-493f-97fc-25d0d374de0c","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:00Z","updated_at":"2026-03-20T07:57:00Z"},{"guid":"c6b2bcfe-a19e-4fa8-a4dc-5a746019a7b4","app":{"guid":"38de56fe-8b52-499c-947d-75349992f4c0","process":{"type":"web"}},"weight":null,"port":8080,"protocol":"tcp","created_at":"2026-03-20T07:57:41Z","updated_at":"2026-03-20T07:57:41Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:57:41.66 (UTC)]> cf curl /v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations -X PATCH -d {"destinations":[{"app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"port":3333,"protocol":"tcp"},{"app":{"guid":"38de56fe-8b52-499c-947d-75349992f4c0","process":{"type":"web"}},"port":3333,"protocol":"tcp"}]} 
  {"destinations":[{"guid":"0ce79f8e-cfdf-493f-97fc-25d0d374de0c","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:00Z","updated_at":"2026-03-20T07:57:00Z"},{"guid":"e9da441e-a486-4e66-b5fe-951bc41436ca","app":{"guid":"38de56fe-8b52-499c-947d-75349992f4c0","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:41Z","updated_at":"2026-03-20T07:57:41Z"}],"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"route":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"}}}

  [2026-03-20 07:57:41.93 (UTC)]> cf curl /v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?ports=32002 
  {"pagination":{"total_results":1,"total_pages":1,"first":{"href":"https://api.127-0-0-1.nip.io/v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?app_guids=38de56fe-8b52-499c-947d-75349992f4c0\u0026page=1\u0026per_page=50\u0026ports=32002"},"last":{"href":"https://api.127-0-0-1.nip.io/v3/apps/38de56fe-8b52-499c-947d-75349992f4c0/routes?app_guids=38de56fe-8b52-499c-947d-75349992f4c0\u0026page=1\u0026per_page=50\u0026ports=32002"},"next":null,"previous":null},"resources":[{"guid":"2b59a5fa-b34e-4259-8521-0d6ddb3ab961","created_at":"2026-03-20T07:56:50Z","updated_at":"2026-03-20T07:56:50Z","protocol":"tcp","host":"","path":"","port":32002,"url":"tcp.127-0-0-1.nip.io:32002","destinations":[{"guid":"0ce79f8e-cfdf-493f-97fc-25d0d374de0c","app":{"guid":"6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:00Z","updated_at":"2026-03-20T07:57:00Z"},{"guid":"e9da441e-a486-4e66-b5fe-951bc41436ca","app":{"guid":"38de56fe-8b52-499c-947d-75349992f4c0","process":{"type":"web"}},"weight":null,"port":3333,"protocol":"tcp","created_at":"2026-03-20T07:57:41Z","updated_at":"2026-03-20T07:57:41Z"}],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"8f197a2a-95d5-4f2b-9032-659a1caea03d"}},"domain":{"data":{"guid":"a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}}},"links":{"self":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961"},"space":{"href":"https://api.127-0-0-1.nip.io/v3/spaces/8f197a2a-95d5-4f2b-9032-659a1caea03d"},"destinations":{"href":"https://api.127-0-0-1.nip.io/v3/routes/2b59a5fa-b34e-4259-8521-0d6ddb3ab961/destinations"},"domain":{"href":"https://api.127-0-0-1.nip.io/v3/domains/a5e21d9e-1506-4de3-a9d8-5ab1d17e7185"}},"options":{}}]}

  [2026-03-20 07:57:42.05 (UTC)]> cf start RATS-1-APP-c5da750c39dff678 
  Starting app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Staging app and tracing logs...
     Downloading go_buildpack...
     Downloaded go_buildpack
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     Downloading app package...
     Downloaded app package (1.5K)
     -----> Go Buildpack version 1.10.43
     -----> Installing godep 80
            Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     -----> Installing glide 0.13.3
            Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     -----> Installing dep 0.5.4
            Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     -----> Installing go 1.23.12
            Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
            [31;1m**WARNING** Installing package '.' (default)
     -----> Running: go install -tags cloudfoundry -buildmode pie .
     Exit status 0
     Uploading droplet, build artifacts cache...
     Uploading build artifacts cache...
     Uploading droplet...
     Uploaded build artifacts cache (100M)
     Uploaded droplet (1.8M)
     Uploading complete
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a

  Starting app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  Waiting for app to start...

  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...
  Instances starting...

  name:              RATS-1-APP-c5da750c39dff678
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:58:03 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:59:10Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true

  [2026-03-20 07:59:10.34 (UTC)]> cf app RATS-1-APP-c5da750c39dff678 
  Showing health and status for app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

  name:              RATS-1-APP-c5da750c39dff678
  requested state:   started
  routes:            tcp.127-0-0-1.nip.io:32002
  last uploaded:     Fri 20 Mar 08:58:03 CET 2026
  stack:             cflinuxfs4
  buildpacks:        
  	name           version   detect output   buildpack name
  	go_buildpack   1.10.43   go              go

  type:           web
  sidecars:       
  instances:      1/1
  memory usage:   256M
       state     since                  cpu    memory     disk       logging        cpu entitlement   details   ready
  #0   running   2026-03-20T07:59:10Z   0.0%   0B of 0B   0B of 0B   0B/s of 0B/s   0.0%                        true
  {"timestamp":"1773993550.530517578","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.530588865","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 530545822"}}
  {"timestamp":"1773993550.537436008","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 530545822"}}
  {"timestamp":"1773993550.538177729","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.538237810","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 538201509"}}
  {"timestamp":"1773993550.547436476","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 538201509"}}
  {"timestamp":"1773993550.548546553","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.548993111","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 548577348"}}
  {"timestamp":"1773993550.554731369","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 548577348"}}
  {"timestamp":"1773993550.555113554","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.555170059","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 555130316"}}
  {"timestamp":"1773993550.557685614","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 555130316"}}
  {"timestamp":"1773993550.557935715","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.557982206","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 557952639"}}
  {"timestamp":"1773993550.559885263","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 557952639"}}
  {"timestamp":"1773993550.560066462","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.560104132","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 560082078"}}
  {"timestamp":"1773993550.562697411","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 560082078"}}
  {"timestamp":"1773993550.562915802","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.562961340","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 562932753"}}
  {"timestamp":"1773993550.566132069","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 562932753"}}
  {"timestamp":"1773993550.566731691","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.566782713","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 566750450"}}
  {"timestamp":"1773993550.569074631","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 566750450"}}
  {"timestamp":"1773993550.569345951","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.569391012","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 569361756"}}
  {"timestamp":"1773993550.571714878","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 569361756"}}
  {"timestamp":"1773993550.571917295","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.571961641","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 571931807"}}
  {"timestamp":"1773993550.574161768","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 571931807"}}
  {"timestamp":"1773993550.574433327","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.574469090","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 574446180"}}
  {"timestamp":"1773993550.576605797","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 574446180"}}
  {"timestamp":"1773993550.576785088","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.576824427","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 576798883"}}
  {"timestamp":"1773993550.578733683","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 576798883"}}
  {"timestamp":"1773993550.578906775","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.578953028","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 578924324"}}
  {"timestamp":"1773993550.580724955","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 578924324"}}
  {"timestamp":"1773993550.580884457","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.580927849","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 580897709"}}
  {"timestamp":"1773993550.582718372","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 580897709"}}
  {"timestamp":"1773993550.582871199","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.582920551","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 582887237"}}
  {"timestamp":"1773993550.585094690","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 582887237"}}
  {"timestamp":"1773993550.585658073","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.585742474","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 585698462"}}
  {"timestamp":"1773993550.588276148","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 585698462"}}
  {"timestamp":"1773993550.588548660","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.588597775","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 588563715"}}
  {"timestamp":"1773993550.591303349","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 588563715"}}
  {"timestamp":"1773993550.591584206","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.591630936","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 591600596"}}
  {"timestamp":"1773993550.593358517","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 591600596"}}
  {"timestamp":"1773993550.593568563","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.593612432","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 593587639"}}
  {"timestamp":"1773993550.597137213","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 593587639"}}
  {"timestamp":"1773993550.597338915","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.597374678","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 597350751"}}
  {"timestamp":"1773993550.599211454","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server2:Time is 597350751"}}
  {"timestamp":"1773993550.599387646","source":"test","message":"test.connected","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""}}}
  {"timestamp":"1773993550.599426270","source":"test","message":"test.wrote-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"Time is 599401382"}}
  {"timestamp":"1773993550.601264238","source":"test","message":"test.read-message","log_level":1,"data":{"address":{"IP":"172.21.0.3","Port":32002,"Zone":""},"message":"server1:Time is 599401382"}}

  [2026-03-20 07:59:10.60 (UTC)]> cf app RATS-1-APP-c5da750c39dff678 --guid 
  38de56fe-8b52-499c-947d-75349992f4c0

  [2026-03-20 07:59:10.67 (UTC)]> cf logs RATS-1-APP-c5da750c39dff678 --recent 
  Retrieving logs for app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:57:28.88+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:57:28.89+0100 [API/0] OUT Created app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:57:28.90+0100 [API/0] OUT Applied manifest to app with guid 38de56fe-8b52-499c-947d-75349992f4c0 (---
     2026-03-20T08:57:28.90+0100 [API/0] OUT applications:
     2026-03-20T08:57:28.90+0100 [API/0] OUT - name: RATS-1-APP-c5da750c39dff678
     2026-03-20T08:57:28.90+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:57:28.90+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-droplet-receiver"
     2026-03-20T08:57:28.90+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:57:28.90+0100 [API/0] OUT   no-route: true
     2026-03-20T08:57:28.90+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:57:28.90+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:57:28.90+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:57:28.90+0100 [API/0] OUT   command: tcp-droplet-receiver --serverId=server2
     2026-03-20T08:57:28.90+0100 [API/0] OUT )
     2026-03-20T08:57:35.02+0100 [API/0] OUT Uploading app package for app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:57:42.18+0100 [API/0] OUT Creating build for app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:57:42.29+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:57:42.30+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:57:42.30+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:57:43.82+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:57:44.40+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:57:44.41+0100 [STG/0] OUT Downloaded app package (1.5K)
     2026-03-20T08:57:44.43+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:57:44.43+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:57:44.43+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:57:45.08+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:57:45.08+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:57:45.69+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:57:45.69+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:57:46.39+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:57:46.39+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:57:55.69+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:57:55.69+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:58:03.28+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:58:03.28+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:58:03.28+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:58:03.28+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:58:03.31+0100 [API/0] OUT Creating droplet for app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:58:06.60+0100 [STG/0] OUT Uploaded build artifacts cache (100M)
     2026-03-20T08:58:09.33+0100 [STG/0] OUT Uploaded droplet (1.8M)
     2026-03-20T08:58:09.33+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:58:09.53+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:58:09.53+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:58:09.57+0100 [API/0] OUT Staging complete for build 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:58:12.47+0100 [API/0] OUT Updated app with guid 38de56fe-8b52-499c-947d-75349992f4c0 ({:droplet_guid=>"e50d607c-fa84-49f1-aec6-42f39a741cbf"})
     2026-03-20T08:58:12.49+0100 [API/0] OUT Creating revision for app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:58:12.50+0100 [API/0] OUT Starting app with guid 38de56fe-8b52-499c-947d-75349992f4c0
     2026-03-20T08:58:15.56+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance 5a9a8f7f-ac44-49a4-9fb7-f31af7f9641a
     2026-03-20T08:59:07.50+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 2dc6e8d2-7f25-42bf-5fb8-cb3d
     2026-03-20T08:59:09.02+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 2dc6e8d2-7f25-42bf-5fb8-cb3d
     2026-03-20T08:59:09.42+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:59:09.51+0100 [CELL/0] OUT Downloaded droplet (1.8M)
     2026-03-20T08:59:09.54+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:59:09.54+0100 [API/0] OUT Process became ready with guid 38de56fe-8b52-499c-947d-75349992f4c0 payload: {"instance"=>"2dc6e8d2-7f25-42bf-5fb8-cb3d", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"1d92593b-1954-4ae9-86d7-cc24e643aa1d"}
     2026-03-20T08:59:09.54+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:59:09.54+0100 [APP/PROC/WEB/0] OUT server2:Listening on 0.0.0.0:3333

  [2026-03-20 07:59:10.98 (UTC)]> cf delete-route tcp.127-0-0-1.nip.io --port 32002 -f 
  This action impacts all apps using this route.
  Deleting this route will make apps unreachable via this route.
  Deleting route tcp.127-0-0-1.nip.io:32002...
  OK


  [2026-03-20 07:59:14.23 (UTC)]> cf delete RATS-1-APP-c5da750c39dff678 -f -r 
  Deleting app RATS-1-APP-c5da750c39dff678 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:59:20.33 (UTC)]> cf app RATS-1-APP-0798d90cde868361 --guid 
  6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2

  [2026-03-20 07:59:20.38 (UTC)]> cf logs RATS-1-APP-0798d90cde868361 --recent 
  Retrieving logs for app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...

     2026-03-20T08:56:50.18+0100 [API/0] OUT Added process: "web"
     2026-03-20T08:56:50.19+0100 [API/0] OUT Created app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:56:50.21+0100 [API/0] OUT Applied manifest to app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2 (---
     2026-03-20T08:56:50.21+0100 [API/0] OUT applications:
     2026-03-20T08:56:50.21+0100 [API/0] OUT - name: RATS-1-APP-0798d90cde868361
     2026-03-20T08:56:50.21+0100 [API/0] OUT   health-check-type: process
     2026-03-20T08:56:50.21+0100 [API/0] OUT   path: "/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/assets/tcp-droplet-receiver"
     2026-03-20T08:56:50.21+0100 [API/0] OUT   memory: 256M
     2026-03-20T08:56:50.21+0100 [API/0] OUT   no-route: true
     2026-03-20T08:56:50.21+0100 [API/0] OUT   stack: cflinuxfs4
     2026-03-20T08:56:50.21+0100 [API/0] OUT   buildpacks:
     2026-03-20T08:56:50.21+0100 [API/0] OUT   - go_buildpack
     2026-03-20T08:56:50.22+0100 [API/0] OUT   command: tcp-droplet-receiver --serverId=server1
     2026-03-20T08:56:50.22+0100 [API/0] OUT )
     2026-03-20T08:56:56.39+0100 [API/0] OUT Uploading app package for app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:57:00.75+0100 [API/0] OUT Creating build for app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:57:00.89+0100 [STG/0] OUT Downloading go_buildpack...
     2026-03-20T08:57:00.89+0100 [STG/0] OUT Downloaded go_buildpack
     2026-03-20T08:57:00.89+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:57:02.41+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:57:02.93+0100 [STG/0] OUT Downloading app package...
     2026-03-20T08:57:02.93+0100 [STG/0] OUT Downloaded app package (1.5K)
     2026-03-20T08:57:02.96+0100 [STG/0] OUT -----> Go Buildpack version 1.10.43
     2026-03-20T08:57:02.96+0100 [STG/0] OUT -----> Installing godep 80
     2026-03-20T08:57:02.96+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/godep/godep_80_linux_x64_cflinuxfs4_20fea317.tgz]
     2026-03-20T08:57:03.59+0100 [STG/0] OUT -----> Installing glide 0.13.3
     2026-03-20T08:57:03.59+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/glide/glide_0.13.3_linux_x64_cflinuxfs4_be64c2ea.tgz]
     2026-03-20T08:57:04.19+0100 [STG/0] OUT -----> Installing dep 0.5.4
     2026-03-20T08:57:04.19+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/dep/dep_0.5.4_linux_x64_cflinuxfs4_a4d7f7ea.tgz]
     2026-03-20T08:57:04.89+0100 [STG/0] OUT -----> Installing go 1.23.12
     2026-03-20T08:57:04.89+0100 [STG/0] OUT        Download [https://buildpacks.cloudfoundry.org/dependencies/go/go_1.23.12_linux_x64_cflinuxfs4_5c301e9c.tgz]
     2026-03-20T08:57:13.73+0100 [STG/0] OUT        [31;1m**WARNING** Installing package '.' (default)
     2026-03-20T08:57:13.73+0100 [STG/0] OUT -----> Running: go install -tags cloudfoundry -buildmode pie .
     2026-03-20T08:57:21.35+0100 [STG/0] OUT Exit status 0
     2026-03-20T08:57:21.35+0100 [STG/0] OUT Uploading droplet, build artifacts cache...
     2026-03-20T08:57:21.35+0100 [STG/0] OUT Uploading build artifacts cache...
     2026-03-20T08:57:21.35+0100 [STG/0] OUT Uploading droplet...
     2026-03-20T08:57:21.38+0100 [API/0] OUT Creating droplet for app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:57:22.03+0100 [STG/0] OUT Uploaded build artifacts cache (100M)
     2026-03-20T08:57:22.40+0100 [STG/0] OUT Uploaded droplet (1.8M)
     2026-03-20T08:57:22.40+0100 [STG/0] OUT Uploading complete
     2026-03-20T08:57:22.87+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 stopping instance 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:57:22.87+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 destroying container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:57:23.04+0100 [API/0] OUT Staging complete for build 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:57:25.06+0100 [API/0] OUT Updated app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2 ({:droplet_guid=>"453ad261-67a1-47d4-9676-6e7a3d93ab1a"})
     2026-03-20T08:57:25.23+0100 [API/0] OUT Creating revision for app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:57:25.24+0100 [API/0] OUT Starting app with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2
     2026-03-20T08:57:25.43+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 creating container for instance b074a7a3-00bd-4590-6cb7-09f5
     2026-03-20T08:57:26.46+0100 [CELL/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully created container for instance b074a7a3-00bd-4590-6cb7-09f5
     2026-03-20T08:57:27.07+0100 [CELL/0] OUT Downloading droplet...
     2026-03-20T08:57:27.44+0100 [CELL/0] OUT Downloaded droplet (1.8M)
     2026-03-20T08:57:27.47+0100 [APP/PROC/WEB/0] OUT Invoking pre-start scripts.
     2026-03-20T08:57:27.47+0100 [APP/PROC/WEB/0] OUT Invoking start command.
     2026-03-20T08:57:27.47+0100 [APP/PROC/WEB/0] OUT server1:Listening on 0.0.0.0:3333
     2026-03-20T08:57:27.47+0100 [API/0] OUT Process became ready with guid 6aad8ca6-2f4b-4f8f-b3d5-eefb16053be2 payload: {"instance"=>"b074a7a3-00bd-4590-6cb7-09f5", "index"=>0, "cell_id"=>"f9aa8762-291b-49b0-8606-430a1a653f92", "ready"=>true, "version"=>"4d8d9cb4-33f9-4494-8e7d-73533bdfa1ca"}
     2026-03-20T08:57:28.91+0100 [STG/0] OUT Cell f9aa8762-291b-49b0-8606-430a1a653f92 successfully destroyed container for instance 374269f9-c650-4a88-805f-a543cd1ee404
     2026-03-20T08:59:10.53+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53738
     2026-03-20T08:59:10.53+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53738: server1:Time is 530545822
     2026-03-20T08:59:10.53+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53738: EOF
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53752
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53752: server1:Time is 562932753
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53752: EOF
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53760
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53760: server1:Time is 566750450
     2026-03-20T08:59:10.56+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53760: EOF
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53762
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53762: server1:Time is 571931807
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53762: EOF
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53772
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53772: server1:Time is 574446180
     2026-03-20T08:59:10.57+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53772: EOF
     2026-03-20T08:59:10.58+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53784
     2026-03-20T08:59:10.59+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53784: server1:Time is 588563715
     2026-03-20T08:59:10.59+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53784: EOF
     2026-03-20T08:59:10.59+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53794
     2026-03-20T08:59:10.59+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53794: server1:Time is 591600596
     2026-03-20T08:59:10.59+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53794: EOF
     2026-03-20T08:59:10.60+0100 [APP/PROC/WEB/0] OUT Remote Address: 10.244.2.214:53802
     2026-03-20T08:59:10.60+0100 [APP/PROC/WEB/0] OUT Message to 10.244.2.214:53802: server1:Time is 599401382
     2026-03-20T08:59:10.60+0100 [APP/PROC/WEB/0] OUT Closing connection to 10.244.2.214:53802: EOF

  [2026-03-20 07:59:20.56 (UTC)]> cf delete RATS-1-APP-0798d90cde868361 -f -r 
  Deleting app RATS-1-APP-0798d90cde868361 in org CATS-1-ORG-ab23ab0b1fee5fd8 / space CATS-1-SPACE-458e6aee22ddc5b5 as CATS-1-USER-c21ac3691a239684...
  OK

[38;5;10m• [157.766 seconds]
[38;5;243m------------------------------
[1m[AfterSuite] 
[38;5;243m/home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing/tcp_routing_suite_test.go:75

  [2026-03-20 07:59:27.11 (UTC)]> cf logout 
  Logging out CATS-1-USER-c21ac3691a239684...
  OK


  [2026-03-20 07:59:27.13 (UTC)]> cf api api.127-0-0-1.nip.io --skip-ssl-validation 
  Setting API endpoint to api.127-0-0-1.nip.io...
  OK

  API endpoint:   https://api.127-0-0-1.nip.io
  API version:    3.213.0

  Not logged in. Use 'cf login' or 'cf login --sso' to log in.

  [2026-03-20 07:59:27.16 (UTC)]> cf auth ccadmin [REDACTED] 
  API endpoint: https://api.127-0-0-1.nip.io

  Authenticating...
  OK

  Use 'cf target' to view or set your target org and space.

  [2026-03-20 07:59:27.68 (UTC)]> cf delete-user -f CATS-1-USER-c21ac3691a239684 
  Deleting user CATS-1-USER-c21ac3691a239684 as ccadmin...
  OK


  [2026-03-20 07:59:30.86 (UTC)]> cf delete-org -f CATS-1-ORG-ab23ab0b1fee5fd8 
  Deleting org CATS-1-ORG-ab23ab0b1fee5fd8 as ccadmin...
  OK


  [2026-03-20 07:59:36.94 (UTC)]> cf delete-quota -f CATS-1-QUOTA-b1dd2b8c97b542a5 
  Deleting org quota CATS-1-QUOTA-b1dd2b8c97b542a5 as ccadmin...
  OK


  [2026-03-20 07:59:40.04 (UTC)]> cf logout 
  Logging out ccadmin...
  OK

[38;5;10m[AfterSuite] PASSED [12.958 seconds]
[38;5;243m------------------------------

[38;5;10m[1mRan 6 of 6 Specs in 503.065 seconds
[38;5;10m[1mSUCCESS! -- [38;5;10m[1m6 Passed | [38;5;9m[1m0 Failed | [38;5;11m[1m0 Pending | [38;5;14m[1m0 Skipped
PASS
[38;5;10m[1mAfter-run-hook succeeded:
  [38;5;10m

Ginkgo ran 1 suite in 9m23.435221813s
Test Suite Passed
Cleaning up test artifacts...
API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
This action impacts all orgs using this domain.
Deleting the domain will remove associated routes which will make apps with this domain, in any org, unreachable.
Deleting domain tcp.127-0-0-1.nip.io as ccadmin...
OK

Cleanup the orgs
Acceptance Tests Complete; exit status: 0
RATS execution | RUN 2
API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
Creating shared domain tcp.127-0-0-1.nip.io as ccadmin...
OK

TIP: Domain 'tcp.127-0-0-1.nip.io' is shared with all orgs. Run 'cf domains' to view available domains.
HTTP Routing Tests
Running Suite: HTTP Routes Suite - /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/http_routes
=================================================================================================================================================
Random Seed: [1m1773993696 - will randomize all specs

Will run [1m1 of [1m1 specs
[38;5;14mS

[38;5;10m[Ran 0 of 1 Specs in 0.000 seconds
[38;5;10m[SUCCESS! -- [38;5;10m[0 Passed | [38;5;9m[0 Failed | [38;5;11m[0 Pending | [38;5;14m[1 Skipped
PASS
[38;5;10m[After-run-hook succeeded:
  [38;5;10m

Ginkgo ran 1 suite in 1m0.466039203s
Test Suite Passed
Sleeping for 60 seconds to allow any lingering connections to close before starting TCP routing tests...
TCP Routing Tests
Running Suite: TCP Routing - /home/zpascal/Projekte/Upstream/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/tcp_routing
===========================================================================================================================================
Random Seed: [1m1773993816 - will randomize all specs

Will run [1m6 of [1m6 specs
[38;5;10m•[0m�[38;5;10m•[0m�[38;5;10m•[0m�[38;5;10m•[0m�[38;5;10m•[0m�[38;5;10m•

[38;5;10m[Ran 6 of 6 Specs in 418.192 seconds
[38;5;10m[SUCCESS! -- [38;5;10m[6 Passed | [38;5;9m[0 Failed | [38;5;11m[0 Pending | [38;5;14m[0 Skipped
PASS
[38;5;10m[After-run-hook succeeded:
  [38;5;10m

Ginkgo ran 1 suite in 7m58.576770242s
Test Suite Passed
Cleaning up test artifacts...
API endpoint:   https://api.127-0-0-1.nip.io
API version:    3.213.0
user:           ccadmin
org:            system
No space targeted, use 'cf target -s SPACE'
This action impacts all orgs using this domain.
Deleting the domain will remove associated routes which will make apps with this domain, in any org, unreachable.
Deleting domain tcp.127-0-0-1.nip.io as ccadmin...
OK

Cleanup the orgs
Acceptance Tests Complete; exit status: 0

Notes

  • MySQL/MariaDB support is fully preserved and unchanged in behavior.
  • The go.mod file is excluded from version control (added to .gitignore) as this repository uses a workspace-level go.mod managed by the BOSH release toolchain.
  • Migration diagnostic work was done with the assistance of Claude (claude-sonnet-4-6, Anthropic) via GitHub Copilot.
  • Connected PR

Related issues

fix: cloudfoundry/routing-release#164

Open points

  • Test it on an environment (We've got the release not deployed on our landscapes -> I'll deploy the version in a cf-on-kind setup)

@ZPascal ZPascal changed the title [WIP] Migrate to new Gorm version [WIP | Help needed] Migrate to new Gorm version Aug 24, 2023
@ZPascal ZPascal changed the title [WIP | Help needed] Migrate to new Gorm version Migrate to new Gorm version Mar 4, 2026
@ZPascal ZPascal changed the title Migrate to new Gorm version Migrate from github.com/jinzhu/gorm (v1) to gorm.io/gorm (v2) with PostgreSQL support Mar 6, 2026
@ZPascal ZPascal force-pushed the migrate-gorm branch 2 times, most recently from 9448b17 to 290a85e Compare March 6, 2026 08:07
@ameowlia
Copy link
Member

ameowlia commented Mar 9, 2026

Initial notes

  • Do all of these changes have to be in one PR? Can you do a PR with just the gorm v1-> v2 upgrade first? These are all big changes and it would easier to look at one chunk at a time.

  • Any change to logs and error messages is considered a breaking change. Please don't change the capitalization of things, etc.

  • Also it looks like AI(? possibly?) had some fun renaming things which makes the changes larger than necessary. Unless there is a clear reason to rename a variable, please keep them the same.

@ZPascal
Copy link
Author

ZPascal commented Mar 9, 2026

Initial notes

  • Do all of these changes have to be in one PR? Can you do a PR with just the gorm v1-> v2 upgrade first? These are all big changes and it would easier to look at one chunk at a time.
  • Any change to logs and error messages is considered a breaking change. Please don't change the capitalization of things, etc.
  • Also it looks like AI(? possibly?) had some fun renaming things which makes the changes larger than necessary. Unless there is a clear reason to rename a variable, please keep them the same.

Hi @ameowlia, thank you for the review:

  1. Sure, I'll cut a dedicated PR for the V1 to V2 migration and the PostgreSQL-related bug fix
  2. Sure, I can revert the changes, but it doesn't follow the Go style guideline of error strings.
  3. I usually rename variables to handle name conflicts with the used imports. It's a finding from my used linter/ IDE.

Should we handle 2 & 3 in separate PRs or completely ignore them?

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants