You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/15 16:41:22 UTC

[GitHub] [trafficcontrol] mitchell852 edited a comment on pull request #5128: strips out mids in the wrong cdn when requesting servers for a ds

mitchell852 edited a comment on pull request #5128:
URL: https://github.com/apache/trafficcontrol/pull/5128#issuecomment-708838464


   > Servers API tests fail
   > 
   > ```go
   > [user@computer api]$ time go test ./v3 -test.v -cfg=../conf/traffic-ops-test.conf -fixtures=tc-fixtures.json -test.run '^TestServers$'
   > INFO: traffic_ops_test.go:71: 2020-10-14T17:00:48.15509479-06:00: Using Config values:
   > 			   TO Config File:       ../conf/traffic-ops-test.conf
   > 			   TO Fixtures:          tc-fixtures.json
   > 			   TO URL:               https://localhost:6443
   > 			   TO Session Timeout In Secs:  60
   > 			   DB Server:            localhost
   > 			   DB User:              traffic_ops
   > 			   DB Name:              traffic_ops
   > 			   DB Ssl:               false
   >                UseIMS:               true
   > === RUN   TestServers
   >     cdns_test.go:89: Response:  {[{cdn was created. success}]}
   ...
   >     phys_locations_test.go:91: Response:  {[{physLocation was created. success}]}
   >     phys_locations_test.go:91: Response:  {[{physLocation was created. success}]}
   >     phys_locations_test.go:91: Response:  {[{physLocation was created. success}]}
   >     topologies_test.go:56: Response:  &{{a topology my-topology [{0 parentCachegroup [] <nil>} {0 secondaryCachegroup [] <nil>} {0 cachegroup3 [0 1] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{another topology another-topology [{0 parentCachegroup [] <nil>} {0 cachegroup1 [0] <nil>} {0 secondaryCachegroup [] <nil>} {0 cachegroup2 [2] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{A topology with secondary parents secondary-parents [{0 parentCachegroup [] <nil>} {0 cachegroup1 [0 2] <nil>} {0 secondaryCachegroup [] <nil>} {0 fallback1 [2 0] <nil>} {0 fallback2 [2 0] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{A 4-tier topology 4-tiers [{0 parentCachegroup [] <nil>} {0 parentCachegroup2 [0] <nil>} {0 cachegroup1 [1] <nil>} {0 secondaryCachegroup [1 0] <nil>} {0 fallback1 [3] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{This topology stems from 2 ancestors forked-topology [{0 topology-edge-cg-01 [2] <nil>} {0 topology-edge-cg-02 [6] <nil>} {0 topology-mid-cg-01 [3] <nil>} {0 topology-mid-cg-02 [4] <nil>} {0 topology-mid-cg-03 [5] <nil>} {0 topology-mid-cg-04 [] <nil>} {0 topology-mid-cg-05 [7] <nil>} {0 topology-mid-cg-06 [8] <nil>} {0 topology-mid-cg-07 [] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{a topology top-for-ds-req [{0 dtrc1 [] <nil>} {0 dtrc2 [0] <nil>} {0 dtrc3 [0] <nil>}] <nil>} {[{topology was created. success}]}}
   >     topologies_test.go:56: Response:  &{{a topology top-for-ds-req2 [{0 dtrc1 [] <nil>} {0 dtrc2 [0] <nil>}] <nil>} {[{topology was created. success}]}}
   >     servers_test.go:246: Response:  atlanta-edge-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  cdn2-test-edge   {[{Server created success}]}
   >     servers_test.go:246: Response:  influxdb02   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-router-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-edge-03   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-edge-14   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-edge-15   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-mid-16   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-mid-17   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-org-1   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-org-2   {[{Server created success}]}
   >     servers_test.go:246: Response:  atlanta-mid-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  rascal01   {[{Server created success}]}
   >     servers_test.go:246: Response:  edge1-cdn2   {[{Server created success}]}
   >     servers_test.go:246: Response:  riak   {[{Server created success}]}
   >     servers_test.go:246: Response:  denver-mso-org-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  edge1-cdn1-cg3   {[{Server created success}]}
   >     servers_test.go:246: Response:  edge2-cdn1-cg3   {[{Server created success}]}
   >     servers_test.go:246: Response:  topology-edge-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  topology-edge-02   {[{Server created success}]}
   >     servers_test.go:246: Response:  topology-mid-04   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-mid-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-mid-02   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-mid-03   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-01   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-02   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-03   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-04   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-05   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-06   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-07   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-edge-08   {[{Server created success}]}
   >     servers_test.go:246: Response:  dtrc-mid-04   {[{Server created success}]}
   >     servers_test.go:753: type change update alerts: {Alerts:[]}
   >     servers_to_deliveryservice_assignment_test.go:74: alerts: {Alerts:[{Text:successfully assigned dses to server Level:success}]}
   >     servers_to_deliveryservice_assignment_test.go:77: response: [{DeliveryServiceNullableV14:{DeliveryServiceNullableV13:{DeliveryServiceNullableV12:{DeliveryServiceNullableV11:{Active:0xc002038478 AnonymousBlockingEnabled:0xc002038479 CacheURL:0xc00224cd00 CCRDNSTTL:0xc0020384a0 CDNID:0xc0020384b0 CDNName:0xc00224cd10 CheckPath:0xc00224cd20 DisplayName:0xc00224cd30 DNSBypassCNAME:<nil> DNSBypassIP:0xc00224cd40 DNSBypassIP6:0xc00224cd50 DNSBypassTTL:0xc0020384d0 DSCP:0xc0020384e0 EdgeHeaderRewrite:0xc00224cd70 GeoLimit:0xc0020384f0 GeoLimitCountries:0xc00224cd90 GeoLimitRedirectURL:<nil> GeoProvider:0xc0020384f8 GlobalMaxMBPS:0xc002038500 GlobalMaxTPS:0xc002038508 HTTPBypassFQDN:0xc00224cda0 ID:0xc002038510 InfoURL:0xc00224cdb0 InitialDispersion:0xc002038520 IPV6RoutingEnabled:0xc002038528 LastUpdated:0001-01-01 00:00:00 +0000 UTC LogsEnabled:0xc002038529 LongDesc:0xc00224cdc0 LongDesc1:0xc00224cde0 LongDesc2:0xc00224cdf0 MatchList:0xc002234e00 MaxDNSAnswers:0xc002038538 MidHead
 erRewrite:0xc00224ce00 MissLat:0xc002038560 MissLong:0xc002038568 MultiSiteOrigin:0xc00203858a OriginShield:<nil> OrgServerFQDN:0xc00224ce10 ProfileDesc:<nil> ProfileID:<nil> ProfileName:<nil> Protocol:0xc002038590 QStringIgnore:0xc002038598 RangeRequestHandling:0xc0020385a0 RegexRemap:0xc00224ce20 RegionalGeoBlocking:0xc0020385af RemapText:0xc00224ce30 RoutingName:0xc00224ce40 Signed:true SSLKeyVersion:0xc0020385c8 TenantID:0xc0020385d0 Type:HTTP TypeID:0xc002038690 XMLID:0xc00224ce60 ExampleURLs:[http://ccr-ds1.ds1.test.cdn1.net https://ccr-ds1.ds1.test.cdn1.net]}} DeepCachingType:NEVER FQPacingRate:0xc0020386e8 SigningAlgorithm:0xc00224ce80 Tenant:0xc00224ce90 TRResponseHeaders:<nil> TRRequestHeaders:<nil>} ConsistentHashRegex:<nil> ConsistentHashQueryParams:[] MaxOriginConnections:0xc002038700} EcsEnabled:false RangeSliceBlockSize:<nil>}]
   >     servers_test.go:365: expected to get 1 server for Delivery Service: 322, actual: 2
   >     types_test.go:208: ---- DeleteTestTypes ----
   > --- FAIL: TestServers (11.69s)
   > FAIL
   > FAIL	github.com/apache/trafficcontrol/traffic_ops/testing/api/v3	12.020s
   > FAIL
   > ```
   
   so strange. all passed for me before. checking.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org