Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4571

test_metrics test_pod_application_metrics failed with 'Test should create 2 containers'

    Details

    • Sprint:
      Observability Team Sprint 35, Observability Team Sprint 36, Observability Team Sprint 37
    • Story Points:
      4
    • Transition Due Date:

      Description

      open_source_tests/test_metrics.py:762 (test_pod_application_metrics)
      dcos_api_session = <dcos_test_utils.enterprise.EnterpriseApiSession object at 0x7f8abc899c50>
      
      ...
      
          @retrying.retry(wait_fixed=2000, stop_max_delay=150000)
          def wait_for_container_metrics_propogation():
              response = dcos_api_session.metrics.get('/containers', node=agent_ip)
              assert response.status_code == 200
      >       assert len(response.json()) == num_containers, 'Test should create {} containers'.format(num_containers)
      E       AssertionError: Test should create 2 containers
      E       assert 4 == 2
      E        +  where 4 = len(['26d10c74-adf3-41c0-8ebd-e269abfe8166', 'b63bec33-c660-4778-8f92-22e0a8be330d', '83bd1018-91fd-4102-9b3c-c98fb558cc2c', '064c296b-d0ea-49d1-b9d8-f0aa8236cfbe'])
      E        +    where ['26d10c74-adf3-41c0-8ebd-e269abfe8166', 'b63bec33-c660-4778-8f92-22e0a8be330d', '83bd1018-91fd-4102-9b3c-c98fb558cc2c', '064c296b-d0ea-49d1-b9d8-f0aa8236cfbe'] = <bound method Response.json of <Response [200]>>()
      E        +      where <bound method Response.json of <Response [200]>> = <Response [200]>.json
      

        Attachments

          Activity

            People

            • Assignee:
              gracedo Grace Do
              Reporter:
              jp Jan-Philip Gehrcke
              Team:
              Observability Team
              Watchers:
              Alex Rukletsov, Branden Rolston, Charles Provencher, Deepak Goel, Dima Rozhkov, Gastón Kleiman, Gauri Powale, Gilbert Song, Grace Do, Greg Mann, Gustav Paul, James DeFelice, Jan-Philip Gehrcke, Jie Yu, Jonathan Giddy, Kevin Klues (Inactive), Lee Hambley (Inactive), Matthias Eichstedt, Mergebot, Orlando Hohmeier, Philip Norman, Senthil Kumaran, Sergey Urbanovich, Tim Weidner
            • Watchers:
              24 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: