pycontribs / jenkinsapi

A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
http://pypi.python.org/pypi/jenkinsapi
MIT License
857 stars 483 forks source link

`safe_restart(wait_for_reboot=True)` raises JenkinsAPIException while a long running job hasn't completed. #844

Closed yanksyoon closed 1 year ago

yanksyoon commented 1 year ago
ISSUE TYPE
Jenkinsapi VERSION

0.3.13 (I believe all versions are affected.)

Jenkins VERSION

2.387 (I believe all versions are affected.)

SUMMARY

In client.safe_restart(wait_for_reboot=True), when there is a long running job (hence the safeRestart) and safe_restart is called, the Jenkins will return a 200 status but with an error message saying system will shut down. However, the 200 status is not expected in the def __jenkins_is_unavailable, since the code assumes that the Jenkins will shut down immediately.

EXPECTED RESULTS

The client.safe_restart(wait_for_reboot=True) does not throw JenkinsAPIException and waits for the jenkins to wait for the job and reboot successfully.

ACTUAL RESULTS
USEFUL INFORMATION
  1. Register a long running job on Jenkins
    sleep(60);
    echo "that was a good nap!"
  2. call jenkinsapi.safe_restart(wait_for_reboot=True)
  3. The exception will be thrown
 Operation failed. url=http://localhost:8080/, headers=None, status=200, text=b'\n  \n  <!DOCTYPE html><html><head resURL="/static/b2516f5c" data-rooturl="" data-resurl="/static/b2516f5c" data-extensions-available="true" data-unit-test="false" data-imagesurl="/static/b2516f5c/images" data-crumb-header="Jenkins-Crumb" data-crumb-value="ea1acd130aef9573b7bf59cf331cf8aa8ab6608bcbabed105f71ba9d09417f64">\n    \n    \n\n    <title>Dashboard [Jenkins]</title><link rel="stylesheet" href="/static/b2516f5c/jsbundles/styles.css" type="text/css"><link rel="stylesheet" href="/static/b2516f5c/css/responsive-grid.css" type="text/css"><link rel="icon" href="/static/b2516f5c/favicon.svg" type="image/svg+xml"><link sizes="any" rel="alternate icon" href="/static/b2516f5c/favicon.ico"><link sizes="180x180" rel="apple-touch-icon" href="/static/b2516f5c/apple-touch-icon.png"><link color="#191717" rel="mask-icon" href="/static/b2516f5c/mask-icon.svg"><meta name="theme-color" content="#ffffff"><script src="/static/b2516f5c/scripts/prototype.js" type="text/javascript"></script><script src="/static/b2516f5c/scripts/behavior.js" type="text/javascript"></script><script src=\'/adjuncts/b2516f5c/org/kohsuke/stapler/bind.js\' type=\'text/javascript\'></script><script src="/static/b2516f5c/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/b2516f5c/scripts/yui/dom/dom-min.js"></script><script src="/static/b2516f5c/scripts/yui/event/event-min.js"></script><script src="/static/b2516f5c/scripts/yui/animation/animation-min.js"></script><script src="/static/b2516f5c/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/b2516f5c/scripts/yui/container/container-min.js"></script><script src="/static/b2516f5c/scripts/yui/connection/connection-min.js"></script><script src="/static/b2516f5c/scripts/yui/datasource/datasource-min.js"></script><script src="/static/b2516f5c/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/b2516f5c/scripts/yui/menu/menu-min.js"></script><script src="/static/b2516f5c/scripts/yui/element/element-min.js"></script><script src="/static/b2516f5c/scripts/yui/button/button-min.js"></script><script src="/static/b2516f5c/scripts/yui/storage/storage-min.js"></script><script src="/static/b2516f5c/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/b2516f5c/scripts/sortable.js" type="text/javascript"></script><link rel="stylesheet" href="/static/b2516f5c/scripts/yui/container/assets/container.css" type="text/css"><link rel="stylesheet" href="/static/b2516f5c/scripts/yui/container/assets/skins/sam/container.css" type="text/css"><link rel="stylesheet" href="/static/b2516f5c/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css"><link rel="search" href="/opensearch.xml" type="application/opensearchdescription+xml" title="Jenkins"><meta name="ROBOTS" content="INDEX,NOFOLLOW"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="alternate" href="/rssAll" title="Jenkins:all (all builds)" type="application/atom+xml"><link rel="alternate" href="/rssAll?flavor=rss20" title="Jenkins:all (all builds) (RSS 2.0)" type="application/rss+xml"><link rel="alternate" href="/rssFailed" title="Jenkins:all (failed builds)" type="application/atom+xml"><link rel="alternate" href="/rssFailed?flavor=rss20" title="Jenkins:all (failed builds) (RSS 2.0)" type="application/rss+xml"><script src="/static/b2516f5c/scripts/yui/cookie/cookie-min.js"></script><script id="screenResolution-script" data-use-secure-cookie="false"></script><script src=\'/adjuncts/b2516f5c/hudson/model/View/screen-resolution.js\' type=\'text/javascript\'></script><script src="/static/b2516f5c/jsbundles/vendors.js" type="text/javascript"></script><script src="/static/b2516f5c/jsbundles/page-init.js" type="text/javascript"></script><script src="/static/b2516f5c/jsbundles/sortable-drag-drop.js" type="text/javascript"></script><script defer="true" src="/static/b2516f5c/jsbundles/app.js" type="text/javascript"></script></head><body data-model-type="hudson.model.AllView" id="jenkins" class="yui-skin-sam two-column jenkins-2.387" data-version="2.387"><a href="#skip2content" class="skiplink">Skip to content</a><header id="page-header" class="page-header"><div class="page-header__brand"><div class="logo"><a id="jenkins-home-link" href="/"><img src="/static/b2516f5c/images/svgs/logo.svg" alt="[Jenkins]" id="jenkins-head-icon"><img src="/static/b2516f5c/images/title.svg" alt="Jenkins" width="139" id="jenkins-name-icon" height="34"></a></div><a href="/" class="page-header__brand-link"><img src="/static/b2516f5c/images/svgs/logo.svg" alt="[Jenkins]" class="page-header__brand-image"><span class="page-header__brand-name">Jenkins</span></a></div><div class="searchbox hidden-xs"><form role="search" method="get" name="search" action="/search/" style="position:relative;" class="no-json"><div id="search-box-sizer"></div><div id="searchform"><input role="searchbox" name="q" placeholder="Search" id="search-box" class="main-search__input"><span class="main-search__icon-leading"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path d="M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M338.29 338.29L448 448"/></svg></span><a href="https://www.jenkins.io/redirect/search-box" class="main-search__icon-trailing"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 40a216 216 0 10216 216A216 216 0 00256 40z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="38"/><path d="M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="38"/><circle cx="250" cy="360" r="25" fill="currentColor"/></svg></a><div id="search-box-completion" data-search-url="/search/"></div><script src=\'/adjuncts/b2516f5c/jenkins/views/JenkinsHeader/search-box.js\' type=\'text/javascript\'></script></div></form></div><div class="login page-header__hyperlinks"><div id="visible-am-insertion" class="page-header__am-wrapper"></div><div id="visible-sec-am-insertion" class="page-header__am-wrapper"></div><a href="/user/admin" class="model-link"><svg class="icon-md" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path fill="currentColor" d="M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm126.42 327.25a4 4 0 01-6.14-.32 124.27 124.27 0 00-32.35-29.59C321.37 329 289.11 320 256 320s-65.37 9-90.83 25.34a124.24 124.24 0 00-32.35 29.58 4 4 0 01-6.14.32A175.32 175.32 0 0180 259c-1.63-97.31 78.22-178.76 175.57-179S432 158.81 432 256a175.32 175.32 0 01-46.68 119.25z"/><path fill="currentColor" d="M256 144c-19.72 0-37.55 7.39-50.22 20.82s-19 32-17.57 51.93C191.11 256 221.52 288 256 288s64.83-32 67.79-71.24c1.48-19.74-4.8-38.14-17.68-51.82C293.39 151.44 275.59 144 256 144z"/></svg><span class="hidden-xs hidden-sm">admin</span></a><a href="/logout"><svg class="icon-md" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path d="M304 336v40a40 40 0 01-40 40H104a40 40 0 01-40-40V136a40 40 0 0140-40h152c22.09 0 48 17.91 48 40v40M368 336l80-80-80-80M176 256h256" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg><span class="hidden-xs hidden-sm">log out</span></a></div></header><script src="/static/b2516f5c/jsbundles/keyboard-shortcuts.js" type="text/javascript"></script><script src=\'/adjuncts/b2516f5c/lib/layout/breadcrumbs.js\' type=\'text/javascript\'></script><div id="breadcrumbBar" class="jenkins-breadcrumbs" aria-label="breadcrumb"><ol class="jenkins-breadcrumbs__list" id="breadcrumbs"><li class="jenkins-breadcrumbs__list-item"><a href="/" class="model-link">Dashboard</a></li><li href="/" class="children"></li></ol></div><div id="breadcrumb-menu-target"></div><div id="page-body" class="app-page-body app-page-body--two-column clear"><div id="side-panel" class="app-page-body__sidebar"><div id="tasks"><div class="task "><span class="task-link-wrapper ">\n            \n            <a href="/view/all/newJob" class="task-link "><span class="task-icon-link"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288M400 256H112"/></svg></span><span class="task-link-text">New Item</span></a></span></div><div class="task "><span class="task-link-wrapper ">\n            \n            <a href="/asynchPeople/" class="task-link "><span class="task-icon-link"><svg class="icon-user icon-md" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><path d="M402 168c-2.93 40.67-33.1 72-66 72s-63.12-31.32-66-72c-3-42.31 26.37-72 66-72s69 30.46 66 72z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M336 304c-65.17 0-127.84 32.37-143.54 95.41-2.08 8.34 3.15 16.59 11.72 16.59h263.65c8.57 0 13.77-8.25 11.72-16.59C463.85 335.36 401.18 304 336 304z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path d="M200 185.94c-2.34 32.48-26.72 58.06-53 58.06s-50.7-25.57-53-58.06C91.61 152.15 115.34 128 147 128s55.39 24.77 53 57.94z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path d="M206 306c-18.05-8.27-37.93-11.45-59-11.45-52 0-102.1 25.85-114.65 76.2-1.65 6.66 2.53 13.25 9.37 13.25H154" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32"/></svg></span><span class="task-link-text">People</span></a></span></div><div class="task "><span class="task-link-wrapper ">\n            \n            <a href="/view/all/builds" class="task-link "><span class="task-icon-link"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path d="M384 80H128c-26 0-43 14-48 40L48 272v112a48.14 48.14 0 0048 48h320a48.14 48.14 0 0048-48V272l-32-152c-5-27-23-40-48-40z" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 272h144M320 272h144M192 272a64 64 0 00128 0M144 144h224M128 208h256"/></svg></span><span class="task-link-text">Build History</span></a></span></div><div class="task "><span class="task-link-wrapper ">\n            \n            <a href="/manage" class="task-link "><span class="task-icon-link"><?xml version="1.0" encoding="UTF-8"?>\n<svg aria-hidden="true" width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g transform="translate(50.378500, 42.000000)" stroke="currentColor" stroke-width="32">\n            <path d="M211.9115,150.31 C185.005783,147.652748 159.332619,162.189611 147.769706,186.628874 C136.206793,211.068138 141.24875,240.137201 160.366525,259.254975 C179.484299,278.37275 208.553362,283.414707 232.992626,271.851794 C257.431889,260.288881 271.968752,234.615717 269.3115,207.71 C266.263249,177.360931 242.260569,153.358251 211.9115,150.31 L211.9115,150.31 Z M410.9165,277.125 C411.707607,281.564887 410.903766,286.141508 408.647035,290.04607 L372.853966,351.97469 C370.607176,355.862053 367.040281,358.81433 362.8015,360.295 C358.482479,361.803699 353.868429,362.272089 349.334332,361.662103 L320.522752,357.785994 C299.879684,355.00882 279.988607,366.61094 272.243485,385.946453 L261.688643,412.296365 C259.969284,416.588704 257.239668,420.402837 253.7315,423.415 C250.285888,426.373452 245.894629,428 241.353189,428 L169.796876,428 C165.308275,428 160.960823,426.431216 157.5065,423.565 C153.996701,420.652754 151.25415,416.924675 149.518855,412.70702 L138.358864,385.582532 C130.453683,366.368896 110.519057,354.968685 89.9503733,357.89869 L61.8696222,361.898788 C57.3434346,362.543543 52.7286498,362.09476 48.4115003,360.59 C44.1729946,359.112652 40.6059709,356.162306 38.3598585,352.276117 L2.56596537,290.34607 C0.309233973,286.441508 -0.494606827,281.864887 0.296500273,277.425 C1.10103427,272.909758 2.99390287,268.65863 5.81124857,265.039618 L23.4896432,242.330895 C36.4067894,225.738218 36.3997393,202.490855 23.4725314,185.906016 L5.73914207,163.155131 C2.93726987,159.560495 1.06449867,155.330725 0.286500273,150.84 C-0.479118527,146.420732 0.330889273,141.87293 2.57525137,137.989769 L38.3890342,76.0253095 C40.6358245,72.1379474 44.2027191,69.1856702 48.4415003,67.705 C52.7614677,66.1959703 57.3747149,65.7192136 61.9119868,66.3128907 L91.2373143,70.1499486 C111.792442,72.839474 131.546967,61.2195013 139.18365,41.9470371 L149.578712,15.7133384 C151.281675,11.4156234 154.004147,7.5964633 157.5115,4.585 C160.957112,1.6265481 165.348371,0 169.889811,0 L241.446124,0 C245.934725,0 250.282177,1.5687841 253.7365,4.435 C257.245602,7.3466683 259.982278,11.0789954 261.704008,15.3012287 L272.612929,42.053395 C280.490247,61.3711009 300.470109,72.8820729 321.133157,70.007291 L349.370217,66.0787615 C353.899388,65.4486329 358.513486,65.904939 362.8315,67.41 C367.070006,68.8873483 370.637029,71.837694 372.883142,75.7238833 L408.677035,137.65393 C410.933766,141.558492 411.737607,146.135113 410.9465,150.575 C410.140427,155.098876 408.314604,159.379748 405.607548,163.092841 L385.561411,190.588825 C373.755974,206.781577 374.583692,228.954539 387.563545,244.222054 L405.168289,264.929585 C408.130553,268.41394 410.114244,272.622543 410.9165,277.125 Z"></path>\n        </g>\n    </g>\n</svg></span><span class="task-link-text">Manage Jenkins</span></a></span></div><div class="task "><span class="task-link-wrapper ">\n            \n            <a href="/me/my-views" class="task-link "><span class="task-icon-link"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><rect x="48" y="64" width="416" height="384" rx="48" ry="48" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32"/><path fill="currentColor" d="M397.82 64H114.18C77.69 64 48 94.15 48 131.2V176h16c0-16 16-32 32-32h320c16 0 32 16 32 32h16v-44.8c0-37.05-29.69-67.2-66.18-67.2z"/></svg>\n</span><span class="task-link-text">My Views</span></a></span></div></div><div id="buildQueue" class="container-fluid pane-frame track-mouse expanded"><div class="row"><div class="col-xs-24 pane-header"><span class="pane-header-title">Build Queue</span><a href="/toggleCollapse?paneId=buildQueue" title="collapse" class="collapse"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M112 184l144 144 144-144"/></svg></a></div></div><div class="row pane-content"><table class="pane "><script src=\'/adjuncts/b2516f5c/lib/form/link/link.js\' type=\'text/javascript\'></script><tr><td class="pane" colspan="2" style="white-space: normal;">\n          Jenkins is going to shut down. No further builds will be performed.\n          <a href="/cancelQuietDown" class="post ">(cancel)</a></td></tr></table></div></div><div data-id="buildQueue" class="widget-refresh-reference" data-url="/ajaxBuildQueue"></div><script src=\'/adjuncts/b2516f5c/lib/hudson/widget-refresh.js\' type=\'text/javascript\'></script><div id="executors" class="container-fluid pane-frame track-mouse expanded"><div class="row"><div class="col-xs-24 pane-header"><span class="pane-header-title"><a href=\'/computer/\'>Build Executor Status</a></span><a href="/toggleCollapse?paneId=executors" title="collapse" class="collapse"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M112 184l144 144 144-144"/></svg></a></div></div><div class="row pane-content"><table class="pane "><colgroup><col width="30"><col width="200*"><col width="24"></colgroup><tr></tr><tr><th class="pane" colspan="4"><a href="/manage/computer/jenkins%2Dagent%2D0/" class="jenkins-link--with-icon model-link inside"><?xml version="1.0" encoding="UTF-8"?>\n<svg aria-hidden="true" width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <title></title>\n    <g  stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linejoin="round">\n        <g  transform="translate(32.000000, 64.000000)" stroke="currentColor" stroke-width="32">\n            <rect  x="0" y="0" width="448" height="320" rx="32"></rect>\n            <polygon  stroke-linecap="round" fill-rule="nonzero" points="272 384 264 320 184 320 176 384"></polygon>\n            <line x1="336" y1="384" x2="112" y2="384"  stroke-linecap="round"></line>\n        </g>\n    </g>\n</svg><span style="margin-left: 1ch;">jenkins-agent-0</span></a><span style="float: right; font-weight: normal;"></span></th></tr><tr><td class="pane" align="right" style="vertical-align: top">1</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">2</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">3</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">4</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">5</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">6</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">7</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">8</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">9</td><td class="pane"><div style="white-space: normal"><a href="/job/long%20running%20job/">long running job</a><table tooltip="Started 16 sec ago&lt;br&gt; Estimated remaining time: N/A" style="cursor:pointer" href="/job/long%20running%20job/3/console" class="progress-bar red"><tbody><tr><td style="width:99%;" class="progress-bar-done"></td><td style="width:1%" class="progress-bar-left"></td></tr></tbody></table></div></td><td class="pane"><a style="display: block;" href="/job/long%20running%20job/3/" class="model-link inside"><wbr>#3</a></td><td class="pane" align="center" valign="middle"><a data-confirm="Are you sure you want to abort long running job #3?" href="/manage/computer/jenkins%2Dagent%2D0/executors/8/stopBuild?runExtId=long+running+job%233" class="stop-button-link"><img src="/static/b2516f5c/images/svgs/stop.svg" alt="terminate this build" style="width: 16px; height: 16px; " class="icon-stop icon-sm"></a></td></tr><tr><td class="pane" align="right" style="vertical-align: top">10</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">11</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">12</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">13</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">14</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">15</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr><tr><td class="pane" align="right" style="vertical-align: top">16</td><td class="pane">Idle</td><td class="pane"></td><td class="pane"></td></tr></table></div></div><div data-id="executors" class="widget-refresh-reference" data-url="/ajaxExecutors"></div></div><div id="main-panel"><div id="shutdown-msg">Jenkins is going to shut down\n        </div><a name="skip2content"></a><div id="view-message"><div id="systemmessage"></div><div id="description" class="jenkins-!-margin-bottom-0"><div></div><div class="jenkins-buttons-row jenkins-buttons-row--invert"><script src=\'/adjuncts/b2516f5c/lib/hudson/editable-description.js\' type=\'text/javascript\'></script><a id="description-link" href="editDescription" class="jenkins-button jenkins-button--tertiary"><span class="leading-icon"><?xml version="1.0" encoding="UTF-8"?>\n<svg aria-hidden="true" width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <title></title>\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <path d="M399.608914,57 C413.784791,57 427.960684,62.4078333 438.776426,73.2235621 C449.592141,84.0392638 455,98.2149574 455,112.390686 C455,126.566468 449.592105,140.742274 438.776426,151.558078 L438.776426,151.558078 L191.040603,399.293596 C182.232434,408.101755 171.575528,414.840664 159.841736,419.022244 L159.841736,419.022244 L58.9309718,454.983885 C58.3980325,455.005817 57.9083807,454.793595 57.5574476,454.442654 C57.2063668,454.091565 56.9941379,453.601684 57.0161199,453.068522 L57.0161199,453.068522 L92.977296,352.157786 C97.1588787,340.423838 103.897856,329.766792 112.706129,320.958529 L112.706129,320.958529 L360.441401,73.2235621 C371.257143,62.4078333 385.433036,57 399.608914,57 Z" stroke="currentColor" stroke-width="32" fill-rule="nonzero"></path>\n        <polyline fill="currentColor" transform="translate(362.692388, 154.192388) rotate(45.000000) translate(-362.692388, -154.192388) " points="308.192388 138.192388 359.945436 138.192388 417.192388 138.192388 417.192388 170.192388 360.652543 170.192388 308.192388 170.192388"></polyline>\n    </g>\n</svg></span>Add description</a></div></div></div><div class="dashboard"><div id="projectstatus-tabBar"><div class="tabBarFrame  "><div class="tabBar"><div class="tab active"><input name="tab-group-1686885343499" checked="checked" id="tab-1686885343499-" type="radio"><a href="/" class="">All</a></div><div class="tab"><a tooltip="New View" href="/newView" class="addTab" aria-label="New View"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288M400 256H112"/></svg></a></div></div><div class="tabBarBaseline"></div></div></div><table id="projectstatus" class="jenkins-table  sortable"><thead><tr><th tooltip="Status of the last build" class="jenkins-table__cell--tight">S</th><th tooltip="Weather report showing aggregated status of recent builds" class="jenkins-table__cell--tight">W</th><th initialSortDir="down">Name</th><th>Last Success</th><th>Last Failure</th><th>Last Duration</th><th class="jenkins-table__cell--tight" data-sort-disable="true"></th></tr></thead><tr id="job_long running job" class=" job-status-red-anime"><td data="1" class="jenkins-table__cell--tight jenkins-table__icon"><div class="jenkins-table__cell__button-wrapper"><span style="width: 24px; height: 24px; " class="build-status-icon__wrapper icon-red-anime icon-md"><span class="build-status-icon__outer"><svg viewBox="0 0 24 24" tooltip="In progress" focusable="false" class="svg-icon "><use href="/images/build-status/build-status-sprite.svg#build-status-in-progress"></use></svg></span><svg viewBox="0 0 24 24" tooltip="In progress" focusable="false" class="svg-icon icon-red-anime icon-md"><use href="/static/b2516f5c/images/build-status/build-status-sprite.svg#last-failed"></use></svg></span></div></td><td data="0" class="jenkins-table__cell--tight jenkins-table__icon healthReport" data-html-tooltip="&lt;div class=&quot;jenkins-tooltip--table-wrapper&quot;&gt;&lt;table class=&quot;jenkins-table&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class=&quot;jenkins-!-padding-left-0&quot; align=&quot;center&quot;&gt;W&lt;/th&gt;&lt;th align=&quot;left&quot;&gt;Description&lt;/th&gt;&lt;th align=&quot;right&quot;&gt;%&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;jenkins-table__cell--tight jenkins-table__icon&quot;&gt;&lt;div class=&quot;jenkins-table__cell__button-wrapper&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; width=&quot;512&quot; height=&quot;512&quot; viewBox=&quot;0 0 512 512&quot; fill=&quot;none&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; stroke-width=&quot;36px&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;&gt;\n  &lt;path d=&quot;M208 304L192 400H240V480L320 368H272L288 304&quot; stroke=&quot;var(--yellow)&quot; /&gt;\n  &lt;path d=&quot;M404.33 152.89H392.2C384.71 84.85 326.14 32 256 32C227.819 31.9729 200.322 40.6756 177.289 56.9116C154.255 73.1476 136.817 96.1198 127.37 122.67H122.8C72.86 122.67 32 163.47 32 213.33C32 263.2 72.86 304 122.8 304H404.33C446 304 480 270 480 228.44C480 186.89 446 152.89 404.33 152.89Z&quot; stroke=&quot;var(--text-color-secondary)&quot; /&gt;\n  &lt;path d=&quot;M120 352L96 400M136 432L120 464M400 352L376 400M416 432L400 464&quot; stroke=&quot;var(--cyan)&quot;/&gt;\n&lt;/svg&gt;\n&lt;/div&gt;&lt;/td&gt;&lt;td align=&quot;left&quot;&gt;Build stability: All recent builds failed.&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;"><div class="jenkins-table__cell__button-wrapper"><a href="job/long%20running%20job/lastBuild" class="build-health-link jenkins-table__button"><svg aria-hidden="true" width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg" stroke-width="36px" stroke-linecap="round" stroke-linejoin="round">\n  <path d="M208 304L192 400H240V480L320 368H272L288 304" stroke="var(--yellow)" />\n  <path d="M404.33 152.89H392.2C384.71 84.85 326.14 32 256 32C227.819 31.9729 200.322 40.6756 177.289 56.9116C154.255 73.1476 136.817 96.1198 127.37 122.67H122.8C72.86 122.67 32 163.47 32 213.33C32 263.2 72.86 304 122.8 304H404.33C446 304 480 270 480 228.44C480 186.89 446 152.89 404.33 152.89Z" stroke="var(--text-color-secondary)" />\n  <path d="M120 352L96 400M136 432L120 464M400 352L376 400M416 432L400 464" stroke="var(--cyan)"/>\n</svg>\n</a></div></td><td><a href="job/long%20running%20job/" class="jenkins-table__link model-link inside"><span>long running job</span></a></td><td data="-">N/A</td><td data="2023-06-16T03:14:54Z">\n        48 sec\n        <a href="job/long%20running%20job/lastFailedBuild/" class="jenkins-table__link jenkins-table__badge model-link inside">#2</a></td><td data="35">35 ms</td><td class="jenkins-table__cell--tight"><div class="jenkins-table__cell__button-wrapper"><span data-notification="Build scheduled" data-id="id323" class="build-button-column-icon-reference-holder" data-url="job/long%20running%20job/build?delay=0sec"></span><a tooltip="Schedule a Build for long running job" id="id323" href="job/long%20running%20job/build?delay=0sec" class="jenkins-table__button jenkins-!-build-color"><span class=""><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title></title><path d="M112,111V401c0,17.44,17,28.52,31,20.16l247.9-148.37c12.12-7.25,12.12-26.33,0-33.58L143,90.84C129,82.48,112,93.56,112,111Z" style="fill:none;stroke:currentColor;stroke-miterlimit:10;stroke-width:32px"/></svg></span><script src=\'/adjuncts/b2516f5c/hudson/views/BuildButtonColumn/icon.js\' type=\'text/javascript\'></script></a></div></td></tr></table><div><div class="jenkins-icon-size"><div class="jenkins-icon-size__items jenkins-buttons-row"><span>Icon:</span><ol><li><a tooltip="Small" href="/iconSize?16x16" class="jenkins-button jenkins-button--tertiary">\n                S<span class="jenkins-visually-hidden">mall</span></a></li><li><a tooltip="Medium" href="/iconSize?24x24" class="jenkins-button jenkins-button--tertiary">\n                M<span class="jenkins-visually-hidden">edium</span></a></li><li tooltip="Large" class="jenkins-icon-size__items-item">\n              L<span class="jenkins-visually-hidden">arge</span></li></ol></div><div id="rss-bar" class="jenkins-buttons-row jenkins-buttons-row--invert"><a href="/legend" class="jenkins-button jenkins-button--tertiary">Icon legend</a><a href="rssAll" class="jenkins-button jenkins-button--tertiary"><svg aria-hidden="true" width="460px" height="460px" viewBox="0 0 460 460" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(56.440081, 56.222063)" stroke="currentColor"><path d="M51.8355914,263.237609 C60.9709503,263.260732 69.2414786,266.967806 75.2384778,272.952922 C81.2358437,278.938404 84.9594026,287.202208 85.0001926,296.338927 C84.9725106,305.421743 81.2764727,313.639618 75.3166433,319.590173 C69.3466112,325.550914 61.1050301,329.236566 52.0036901,329.237536 C42.9023476,329.238505 34.6599806,325.554606 28.6886687,319.595137 C22.7173419,313.635654 19.017079,305.400589 18.9999666,296.299365 C18.9829135,287.198016 22.6522367,278.949119 28.6011501,272.967262 C34.5402452,266.995277 42.7514145,263.282855 51.8355914,263.237609 Z" stroke-width="38" fill-rule="nonzero"></path><path d="M15.5639188,0 C189.695661,18.9886079 327.916779,157.508264 346.44594,331.777403" stroke-width="40" stroke-linecap="round"></path><path d="M16.5639188,121.777403 C126.781388,133.796328 214.269067,221.472967 225.997183,331.777403" stroke-width="40" stroke-linecap="round"></path></g></g></svg><span>Atom feed for all</span></a><a href="rssFailed" class="jenkins-button jenkins-button--tertiary"><svg aria-hidden="true" width="460px" height="460px" viewBox="0 0 460 460" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(56.440081, 56.222063)" stroke="currentColor"><path d="M51.8355914,263.237609 C60.9709503,263.260732 69.2414786,266.967806 75.2384778,272.952922 C81.2358437,278.938404 84.9594026,287.202208 85.0001926,296.338927 C84.9725106,305.421743 81.2764727,313.639618 75.3166433,319.590173 C69.3466112,325.550914 61.1050301,329.236566 52.0036901,329.237536 C42.9023476,329.238505 34.6599806,325.554606 28.6886687,319.595137 C22.7173419,313.635654 19.017079,305.400589 18.9999666,296.299365 C18.9829135,287.198016 22.6522367,278.949119 28.6011501,272.967262 C34.5402452,266.995277 42.7514145,263.282855 51.8355914,263.237609 Z" stroke-width="38" fill-rule="nonzero"></path><path d="M15.5639188,0 C189.695661,18.9886079 327.916779,157.508264 346.44594,331.777403" stroke-width="40" stroke-linecap="round"></path><path d="M16.5639188,121.777403 C126.781388,133.796328 214.269067,221.472967 225.997183,331.777403" stroke-width="40" stroke-linecap="round"></path></g></g></svg><span>Atom feed for failures</span></a><a href="rssLatest" class="jenkins-button jenkins-button--tertiary"><svg aria-hidden="true" width="460px" height="460px" viewBox="0 0 460 460" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(56.440081, 56.222063)" stroke="currentColor"><path d="M51.8355914,263.237609 C60.9709503,263.260732 69.2414786,266.967806 75.2384778,272.952922 C81.2358437,278.938404 84.9594026,287.202208 85.0001926,296.338927 C84.9725106,305.421743 81.2764727,313.639618 75.3166433,319.590173 C69.3466112,325.550914 61.1050301,329.236566 52.0036901,329.237536 C42.9023476,329.238505 34.6599806,325.554606 28.6886687,319.595137 C22.7173419,313.635654 19.017079,305.400589 18.9999666,296.299365 C18.9829135,287.198016 22.6522367,278.949119 28.6011501,272.967262 C34.5402452,266.995277 42.7514145,263.282855 51.8355914,263.237609 Z" stroke-width="38" fill-rule="nonzero"></path><path d="M15.5639188,0 C189.695661,18.9886079 327.916779,157.508264 346.44594,331.777403" stroke-width="40" stroke-linecap="round"></path><path d="M16.5639188,121.777403 C126.781388,133.796328 214.269067,221.472967 225.997183,331.777403" stroke-width="40" stroke-linecap="round"></path></g></g></svg><span>Atom feed for just latest builds</span></a></div></div></div></div></div></div><footer class="page-footer"><div class="container-fluid"><div class="page-footer__flex-row"><div class="page-footer__footer-id-placeholder" id="footer"></div><link rel=\'stylesheet\' href=\'/adjuncts/b2516f5c/jenkins/management/AdministrativeMonitorsDecorator/resources.css\' type=\'text/css\' /><script src=\'/adjuncts/b2516f5c/jenkins/management/AdministrativeMonitorsDecorator/resources.js\' type=\'text/javascript\'></script><div id="visible-am-container" class="am-container"><a id="visible-am-button" href="#" title="There are 2 active administrative monitors." class="am-button" data-href="/administrativeMonitorsApi/nonSecurityPopupContent"><svg class="icon-md" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path d="M427.68 351.43C402 320 383.87 304 383.87 217.35 383.87 138 343.35 109.73 310 96c-4.43-1.82-8.6-6-9.95-10.55C294.2 65.54 277.8 48 256 48s-38.21 17.55-44 37.47c-1.35 4.6-5.52 8.71-9.95 10.53-33.39 13.75-73.87 41.92-73.87 121.35C128.13 304 110 320 84.32 351.43 73.68 364.45 83 384 101.61 384h308.88c18.51 0 27.77-19.61 17.19-32.57zM320 384v16a64 64 0 01-128 0v-16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg><div class="am-monitor__indicator-mobile"></div><span class="am-monitor__count">2</span></a><div id="visible-am-list" class="am-list"></div></div><div id="visible-sec-am-container" class="am-container"><a id="visible-sec-am-button" href="#" title="There are 1 active security administrative monitors." class="am-button security-am" data-href="/administrativeMonitorsApi/securityPopupContent"><svg class="icon-md" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 512 512"><title></title><path d="M250.26 155.39l5.74 122 5.73-121.95a5.74 5.74 0 00-5.79-6h0a5.74 5.74 0 00-5.68 5.95z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path fill="currentColor" d="M256 380.25a20 20 0 1120-20 20 20 0 01-20 20z"/><path d="M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>\n<div class="am-monitor__indicator-mobile"></div><span class="am-monitor__count">1</span></a><div id="visible-sec-am-list" class="am-list"></div></div><div class="page-footer__links rest_api hidden-xs"><a href="api/">REST API</a></div><div class="page-footer__links page-footer__links--white jenkins_ver"><a rel="noopener noreferrer" href="https://www.jenkins.io/" target="_blank">Jenkins 2.387</a></div></div></div></footer></body></html>'