Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Got HTTP 500 when get waf policy state #314

@zhaoqin-github

Description

@zhaoqin-github

/wafpolicies/{id}/adcs/{adc_id} API may return HTTP 500, when ASG API has problem (eg. return 404)

1.  AssertionError                                 response code is 200                                                                                                                                                                  
                                                    expected response to have status code 200 but got 500                                                                                                                                 
                                                    at assertion:0 in test-script                                                                                                                                                         
                                                    inside "deploy-declaration / wait-wafpolicy-upload"                                                       
2019-09-02 08:34:27.000000000 +0000 f5-asg: {"source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:34:27 +0000] \"POST /mgmt/shared/TrustedASMPolicies HTTP/1.1\" 202 234","container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG"}
2019-09-02 08:34:28.000000000 +0000 f5-asg: {"container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG","source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:34:28 +0000] \"GET /mgmt/shared/TrustedASMPolicies/6e2f6a91-1ed3-433f-ae62-eb6ab0141a45?policyName=0fe7d950-13f5-4efc-82cb-ebc774aa35c1 HTTP/1.1\" 200 236"}
2019-09-02 08:34:38.000000000 +0000 f5-asg: {"source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:34:38 +0000] \"GET /mgmt/shared/TrustedASMPolicies/6e2f6a91-1ed3-433f-ae62-eb6ab0141a45?policyName=0fe7d950-13f5-4efc-82cb-ebc774aa35c1 HTTP/1.1\" 200 236","container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG"}
2019-09-02 08:34:49.000000000 +0000 f5-asg: {"container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG","source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:34:49 +0000] \"GET /mgmt/shared/TrustedASMPolicies/6e2f6a91-1ed3-433f-ae62-eb6ab0141a45?policyName=0fe7d950-13f5-4efc-82cb-ebc774aa35c1 HTTP/1.1\" 200 236"}
2019-09-02 08:34:59.000000000 +0000 f5-asg: {"source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:34:59 +0000] \"GET /mgmt/shared/TrustedASMPolicies/6e2f6a91-1ed3-433f-ae62-eb6ab0141a45?policyName=0fe7d950-13f5-4efc-82cb-ebc774aa35c1 HTTP/1.1\" 404 141","container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG"}
2019-09-02 08:36:50.000000000 +0000 f5-asg: {"source":"stdout","log":"172.18.0.9 - - [02/Sep/2019:08:36:50 +0000] \"GET /mgmt/shared/TrustedASMPolicies/6e2f6a91-1ed3-433f-ae62-eb6ab0141a45?policyName=0fe7d950-13f5-4efc-82cb-ebc774aa35c1 HTTP/1.1\" 200 425","container_id":"4fee6ec2ff716bc54f6abb2edc3fcd797c3e8ec0bb028da3ddaed95594b8785d","container_name":"/ASG"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions