Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-7958

Fix test_pod_with_container_network SI and test_pod_with_container_bridge_network test

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Marathon 1.6.322
    • Component/s: Build & CI
    • Labels:
      None

      Description

      It seems that something changed in mesos API, network_infos was expected to be on first container_status.

      If it is valid, we should change our test...

      [{'id': 'container-net-pod-47fa751f34464eab8a75ff292370dcd6.instance-a29be715-de9c-11e7-acaa-02941a674571.nginx', 'name': 'nginx', 'framework_id': '18a70b19-6a1a-4d72-a148-ceb3d27aa50b-0001', 'executor_id': 'instance-container-net-pod-47fa751f34464eab8a75ff292370dcd6.a29be715-de9c-11e7-acaa-02941a674571', 'slave_id': '18a70b19-6a1a-4d72-a148-ceb3d27aa50b-S1', 'state': 'TASK_RUNNING', 'resources': {'disk': 0.0, 'mem': 128.0, 'gpus': 0.0, 'cpus': 1.0}, 'role': 'slave_public', 'statuses': [{'state': 'TASK_STARTING', 'timestamp': 1513015000.23278, 'container_status': {'container_id': {'value': '1310e64c-354f-43d6-b8d0-a3828812c5c3', 'parent': {'value': 'c1572a4d-b266-4d27-81ed-2a76990a754d'}}}}, {'state': 'TASK_RUNNING', 'timestamp': 1513015000.49167, 'container_status': {'container_id': {'value': '1310e64c-354f-43d6-b8d0-a3828812c5c3', 'parent': {'value': 'c1572a4d-b266-4d27-81ed-2a76990a754d'}}, 'network_infos': [{'labels': [{'key': 'DCOS_SPACE', 'value': '/container-net-pod-47fa751f34464eab8a75ff292370dcd6'}], 'ip_addresses': [{'protocol': 'IPv4', 'ip_address': '9.0.4.3'}], 'name': 'dcos'}]}}], 'discovery': {'visibility': 'FRAMEWORK', 'name': 'container-net-pod-47fa751f34464eab8a75ff292370dcd6', 'ports': {'ports': [{'number': 80, 'name': 'web', 'protocol': 'http', 'labels': {'labels': [{'key': 'network-scope', 'value': 'container'}, {'key': 'network-name', 'value': 'dcos'}]}}]}}, 'container': {'type': 'MESOS', 'mesos': {'image': {'type': 'DOCKER', 'docker': {'name': 'nginx'}, 'cached': True}}}}]
      

        Attachments

          Activity

            People

            • Assignee:
              alenavarkockova Alena Varkockova
              Reporter:
              alenavarkockova Alena Varkockova
              Team:
              Orchestration Team
              Watchers:
              Alena Varkockova
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: