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/07 16:10:16 UTC
[GitHub] [trafficcontrol] zrhoffman opened a new issue #5116: TestDeliveryServices: unable to get keys on cdn sslkeytransfer: 500 Internal Server Error
zrhoffman opened a new issue #5116:
URL: https://github.com/apache/trafficcontrol/issues/5116
<!--
************ STOP!! ************
If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
guidelines at https://www.apache.org/security/ regarding vulnerability disclosure.
- For *SUPPORT QUESTIONS*, use the Traffic Control slack (https://s.apache.org/atc-slack)
or Traffic Control mailing lists (https://trafficcontrol.apache.org/mailing_lists).
- Before submitting, please **SEARCH GITHUB** for a similar issue or PR.
-->
## I'm submitting a ...
<!-- delete all those that don't apply -->
<!--- security vulnerability (STOP!! - see above)-->
- bug report
## Traffic Control components affected ...
<!-- delete all those that don't apply -->
- Traffic Ops (API tests)
## Current behavior:
<!-- Describe how the bug manifests -->
The `TestDeliveryServices` API test fails when run by itself
## Expected behavior:
<!-- Describe what the behavior would be without the bug -->
All API tests should pass
## Minimal reproduction of the problem with instructions:
<!--
If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and
include the applicable TC version.
-->
In the `traffic_ops/testing/api` directory:
1. Start Traffic Ops
2. Configure `traffic-ops-test.conf`
3.
```shell script
go test ./v3 -test.v -cfg=../conf/traffic-ops-test.conf -fixtures=tc-fixtures.json -test.run '^TestMain$|^TestDeliveryServices$'
```
## Anything else:
<!--
e.g. stacktraces, related issues, suggestions how to fix (feel free to delete
this section)
-->
* Tested at c9ea0910ec
* Logs:
```go
INFO: traffic_ops_test.go:71: 2020-10-07T08:39:17.080421522-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 TestDeliveryServices
cdns_test.go:89: Response: {[{cdn was created. success}]}
cdns_test.go:89: Response: {[{cdn was created. success}]}
cdns_test.go:89: Response: {[{cdn was created. success}]}
cdns_test.go:89: Response: {[{cdn was created. success}]}
cdns_test.go:89: Response: {[{cdn was created. success}]}
types_test.go:87: ---- CreateTestTypes ----
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
user_test.go:101: Response: {[{user was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
parameters_test.go:75: Response: {[{param was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
profiles_test.go:162: Response: {[{profile was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
statuses_test.go:96: Response: {[{status was created. success}]}
divisions_test.go:115: Response: {[{division was created. success}]}
divisions_test.go:115: Response: {[{division was created. success}]}
regions_test.go:89: Response: {[{region was created. success}]}
regions_test.go:89: Response: {[{region was created. success}]}
phys_locations_test.go:90: Response: {[{physLocation was created. success}]}
phys_locations_test.go:90: Response: {[{physLocation was created. success}]}
phys_locations_test.go:90: Response: {[{physLocation was created. success}]}
servers_test.go:245: Response: atlanta-edge-01 {[{Server created success}]}
servers_test.go:245: Response: cdn2-test-edge {[{Server created success}]}
servers_test.go:245: Response: influxdb02 {[{Server created success}]}
servers_test.go:245: Response: atlanta-router-01 {[{Server created success}]}
servers_test.go:245: Response: atlanta-edge-03 {[{Server created success}]}
servers_test.go:245: Response: atlanta-edge-14 {[{Server created success}]}
servers_test.go:245: Response: atlanta-edge-15 {[{Server created success}]}
servers_test.go:245: Response: atlanta-mid-16 {[{Server created success}]}
servers_test.go:245: Response: atlanta-org-1 {[{Server created success}]}
servers_test.go:245: Response: atlanta-org-2 {[{Server created success}]}
servers_test.go:245: Response: atlanta-mid-01 {[{Server created success}]}
servers_test.go:245: Response: rascal01 {[{Server created success}]}
servers_test.go:245: Response: edge1-cdn2 {[{Server created success}]}
servers_test.go:245: Response: riak {[{Server created success}]}
servers_test.go:245: Response: denver-mso-org-01 {[{Server created success}]}
servers_test.go:245: Response: edge1-cdn1-cg3 {[{Server created success}]}
servers_test.go:245: Response: edge2-cdn1-cg3 {[{Server created success}]}
servers_test.go:245: Response: topology-edge-01 {[{Server created success}]}
servers_test.go:245: Response: topology-edge-02 {[{Server created success}]}
servers_test.go:245: Response: topology-mid-04 {[{Server created success}]}
servers_test.go:245: Response: dtrc-mid-01 {[{Server created success}]}
servers_test.go:245: Response: dtrc-mid-02 {[{Server created success}]}
servers_test.go:245: Response: dtrc-mid-03 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-01 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-02 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-03 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-04 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-05 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-06 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-07 {[{Server created success}]}
servers_test.go:245: Response: dtrc-edge-08 {[{Server created success}]}
servers_test.go:245: Response: dtrc-mid-04 {[{Server 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}]}}
deliveryservices_test.go:80: unable to get keys on cdn sslkeytransfer: 500 Internal Server Error[500] - Error requesting Traffic Ops https://localhost:6443/api/3.0/cdns/name/sslkeytransfer/sslkeys {"alerts":[{"text":"Internal Server Error","level":"error"}]}
types_test.go:187: ---- DeleteTestTypes ----
--- FAIL: TestDeliveryServices (10.23s)
FAIL
FAIL github.com/apache/trafficcontrol/traffic_ops/testing/api/v3 10.564s
FAIL
```
* Might be fixed by #5083
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
----------------------------------------------------------------
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
[GitHub] [trafficcontrol] mattjackson220 closed issue #5116: TestDeliveryServices: unable to get keys on cdn sslkeytransfer: 500 Internal Server Error
Posted by GitBox <gi...@apache.org>.
mattjackson220 closed issue #5116:
URL: https://github.com/apache/trafficcontrol/issues/5116
----------------------------------------------------------------
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
[GitHub] [trafficcontrol] mattjackson220 closed issue #5116: TestDeliveryServices: unable to get keys on cdn sslkeytransfer: 500 Internal Server Error
Posted by GitBox <gi...@apache.org>.
mattjackson220 closed issue #5116:
URL: https://github.com/apache/trafficcontrol/issues/5116
----------------------------------------------------------------
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