<jupyter_start><jupyter_text>Marathon Build Loops  Integration Tests<jupyter_code>import logging
import os
from commons import JenkinsJob
from IPython.display import HTML, display


user, password = os.environ['AUTH'].split(":")

jobs = ["marathon-sandbox/job/marathon-loop-1.5", "marathon-sandbox/job/marathon-loop-1.6",
        "marathon-sandbox/job/marathon-loop-1.7", "marathon-sandbox/job/marathon-loop-master", ]

for j in jobs:
    job = JenkinsJob("jenkins.mesosphere.com/service/jenkins/view/Marathon/job", j, user, password)

    case_table = await job.unique_errors_table('html')
    error_table = await job.names_table('html')

    display(HTML('<h1>{}</h1>'.format(j)))
    display(HTML(error_table))
    display(HTML(case_table))<jupyter_output><empty_output><jupyter_text>System Integration Tests<jupyter_code>import os
from commons import JenkinsJob
from IPython.display import HTML, display


user, password = os.environ['AUTH'].split(":")

jobs = ["system-integration-tests/job/marathon-si-dcos-open/job/master",
        "system-integration-tests/job/marathon-si-dcos-permissive/job/master",
        "system-integration-tests/job/marathon-si-dcos-strict/job/master"]

for j in jobs:
    job = JenkinsJob("jenkins.mesosphere.com/service/jenkins/view/Marathon/job", j, user, password)

    case_table = await job.unique_errors_table('html')
    error_table = await job.names_table('html')

    display(HTML('<h1>{}</h1>'.format(j)))
    display(HTML(error_table))
    display(HTML(case_table))
import ipywidgets as widgets
import requests

from ddog import build_graph
from time import sleep

graph = build_graph('master')
sleep(5) # See http://andreafalzetti.github.io/blog/2017/04/17/datadog-png-snapshot-not-showing.html
widgets.Image(value=requests.get(graph['snapshot_url']).content, format='png')<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup