Commit Graph

1415 Commits

Author SHA1 Message Date
Baptiste Mathus 9ce2d9bbb4
Merge pull request #320 from mandie722/JENKINS-53589_rm_plugin_dirs
[JENKINS-53589] delete exploded plugin dirs
2018-10-23 15:08:31 +02:00
Baptiste Mathus d59d7039ea
Merge branch 'master' into JENKINS-53589_rm_plugin_dirs 2018-10-23 14:23:37 +02:00
Baptiste Mathus 61e05ffb46
Merge pull request #330 from rtyler/script-security
Upgrade to the latest script-security
2018-10-23 13:59:51 +02:00
R. Tyler Croy 4274e887c1
Upgrade to the latest script-security 2018-10-22 10:25:50 -07:00
Mandie Smith b7ce28a7ca
Merge branch 'master' into JENKINS-53589_rm_plugin_dirs 2018-10-22 11:48:43 -04:00
Mandie Smith d1fd35b1ce
Merge pull request #329 from batmat/JENKINS-54175-npm-audit-fix
Add task for running 'npm audit fix' for both client and backend sides
2018-10-22 11:48:11 -04:00
Mandie Smith 4665e14921
Merge branch 'master' into JENKINS-53589_rm_plugin_dirs 2018-10-22 11:03:18 -04:00
Mandie Smith f8e207653a
Update to use fs-extra to get recursive rm, updated tests 2018-10-22 10:59:58 -04:00
Baptiste Mathus cf7ce65b36 Add task for running 'npm audit fix' for both client and backend sides 2018-10-21 15:39:05 +02:00
Baptiste Mathus ed22e19215
Merge pull request #328 from joschi/JENKINS-53551
[JENKINS-53551] Map log levels sent to Sentry
2018-10-21 11:31:09 +02:00
Jochen Schalanda 9c718e75cd
[JENKINS-53551] Map log levels sent to Sentry
Map java.util.logging levels to levels supported by Sentry.io.
2018-10-20 16:47:48 +02:00
R. Tyler Croy a4ded0e013
Merge pull request #327 from rtyler/new-plugins
Sync plugin updates with the Update Center
2018-10-19 12:55:22 -07:00
R. Tyler Croy 9803b1528c
Upgrade a number of plugins, most notably Configuration as Code and GitHub Branch Source
This is just a sync with the latest available in the update center
2018-10-19 12:17:21 -07:00
R. Tyler Croy 904ff0d8e1
Reference the (new) correct URL for the MANIFEST.MF in Artifactory
Prior to this, generated URLs were resulting in 404s for me. Must have been an
upgrade in Artifactory's hosted service offering that changed this behavior.
2018-10-19 12:15:55 -07:00
Baptiste Mathus 86debb6dec Merge branch 'master' into HEAD
# Conflicts:
#	distribution/client/src/lib/storage.ts
#	distribution/client/test/storage.test.ts
2018-10-18 11:24:12 +02:00
Baptiste Mathus 1fa99a8069
Merge pull request #326 from rtyler/new-core
Upgrade to the latest weekly core
2018-10-18 07:02:34 +02:00
R. Tyler Croy 18e0bdfa48
Upgrade to the latest weekly core 2018-10-17 19:22:30 -07:00
Baptiste Mathus a0fb8dcb6e
Merge pull request #323 from batmat/update-package-lock
Update package-lock.json files and add tasks for it on top level Makefile
2018-10-18 00:49:18 +02:00
Baptiste Mathus 921be21dcc
Merge branch 'master' into update-package-lock 2018-10-17 20:05:19 +02:00
Baptiste Mathus ae3cffc618
Merge pull request #325 from batmat/file-helper-sync
Make checkFileExists and touchFile sync
2018-10-17 20:04:47 +02:00
Baptiste Mathus fb6ba32621 Return a composed Promise with all deletes queued in
Was previously returning an array of calls to `fs.unlink`, which I think
was an array of undefined, and on which an `await` will not wait as
I think was intended.
2018-10-17 17:58:16 +02:00
Baptiste Mathus f41f19ee63 Do not mock anymore Downloader from update test 2018-10-17 17:40:23 +02:00
Baptiste Mathus c594d670de Change checkFileExists and touchFile from async to sync 2018-10-17 17:07:41 +02:00
Baptiste Mathus 94c58a4a8c Fix 'Cannot assign to 'level' because it is a constant or a read-only property.'
```
src/client.ts:186:10 - error TS2540: Cannot assign to 'level' because it is a constant or a read-only property.

186   logger.level = process.env.LOG_LEVEL || 'warn';
             ~~~~~

make: *** [Makefile:14: compile] Error 2
```

See https://github.com/Microsoft/TypeScript/issues/6751#issuecomment-269162714
and https://stackoverflow.com/questions/38818475/left-hand-side-of-assignment-expression-cannot-be-a-constant-or-a-read-only-prop/38833920#38833920
2018-10-17 14:01:09 +02:00
Baptiste Mathus 7eec987ca6 Update package-lock.json files and add tasks for it on top level Makefile 2018-10-17 13:50:26 +02:00
Mandie Smith 012399dfe5
Merge branch 'master' into JENKINS-53589_rm_plugin_dirs 2018-10-16 12:13:03 -04:00
Mandie Smith 7a4976c622
Updated test to put a file in the directory before deleting it 2018-10-16 12:12:05 -04:00
Mandie Smith 46247a5cb6
Added jest html report to help with test troubleshooting 2018-10-16 12:11:38 -04:00
Mandie Smith 3bba606ebb
Updated to include shell definition so that PATH would actually work, was getting error on not finding commands before that 2018-10-16 12:11:15 -04:00
Baptiste Mathus 2ee7011444
Merge pull request #321 from batmat/JENKINS-54056
[JENKINS-54056] Update Level Automated Rollback
2018-10-16 17:09:34 +02:00
Baptiste Mathus c8fad0ad33 Setting updateInProgress if null during a forced update
Added a warning because this isn't supposed to happen, as forced update
is supposed to be used only during a rollback, from a recursive call to
`applyUpdates`.
2018-10-16 13:16:40 +02:00
Baptiste Mathus ebace8026d Clarify that FIXME
Granted, that was cryptic.
2018-10-16 12:30:15 +02:00
Baptiste Mathus 3fbfe9848b Slightly condensing more for phone-sized screens :-P
For you @rtyler! :-)

```
``````````````````````````````````````````````````````````````````````  ```````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
``````````````````````````````````````````````````````````````````````````````` ``   `... `` `` ````````````````````.``````````````````````````````
``````````````````````````````````````````````````````````````````````````   '####+#+'++';'##;+.,````````````````````````````````````````````.`````
```````````````.``````````````````````````````````````````````````````` `,@#+++++#+++++++;:'+'+@,``.````````````````````````````````````````` `````
``````````````````````````````````````````````````````````````````````:@#++++##+#+'+++##++#+;.+##+'+;. ````````````````````````````````````````````
``````````````````````````````````````````````````````````````````` ;#+####+++#+##+##+#+#++#+++;'+##;;+':``````````````````````````````````````````
`````````````````````````````````````````````````````````````````.+#++++##+######++#+##+++##++'#+#+'+:':,' ````````````````````````````````````````
`````````````````````````````````````````````````````````````````#++#++########+##+####++++##+#++'':++;''`.````````````````````````````````````````
`````````````````````````````````````````````````````````````  @+#######++#+#+##########+#+##+##+'+++++... ````````````````````````````````````````
``````````````````````````````````````````````````````````` `+++#################+#####++++'##+##+#+#+++::'````````````````````````````````````````
```````````````````````````````````````````````````````````,'++######+#++#+##+#######+######++#++###+++#+,.```` ```````````````````````````````````
```````````````````````````````````````````````````````````#++########################++###+++######++'++;::`.`````````````````````````````````````
`````````````````````````````````````` ``````````````````:#++##++##++##++++##++#######++++++###'##+###++:++:.``````````````````````````````````````
````````````````````````````````````````````````````````'+++++++#+##+##+#+++#+#######+##+++###++####++'+;';;+`,````````````````````````````````````
```````````````````````````````````````````````````  ``:++++######+#+++#####+########+#######+###++#+#+++#+;'+'.` `````````````````````````````````
``````````````````````````````````` ``````````````````#+#+##########+++################+#########+##+++#+++#+':`,``````````````````````````````````
``````````````````````````````````````````` ````    ,:+###+#+#####+#++####+########+++++##++++#+#+++##+##+++'++'+``````````````````````````````````
``````````````````````````````````````````````` ```,,+#+#+++++++#+##+########++##+#++++##++++++##+++++##++#++++'+``````````````````````````````````
`````````````````````````````````````````` `  `` `:.+++#######+#++#+##+++####++#+++######+###'+##+'+####+#+++#++'.`````````````````````````````````
``````````````````````````````````````````````` `.;##+++###+##+#+####++++####+###+##+#######+##+###++++###+++++++;.````````````````````````````````
`````````````````````````````````````````````` ` .;+'+#+####++######+##+###+###+#######+++#+#+'####+#+'+#++#++++++; ```````````````````````````````
`````````````````````````````````````` ```````  .+#+++####+#+###++##++#+#######+++###++#+###+#'++##+#++++#++++++'',.```````````````````````````````
``````````````````````````````````````` ```````:#++#########+######++++#####+##++++##+#++##+++#'++###+++++#+###++@:.```````````````````````````````
```````````````````````````````````````````` ` @#++######++#+####+###+#++######+##+'##+##+#++';'+++#+#+++++#++++'@'````````````````````````````````
````````````````````````````````````````````  +++#####+++++##+##++++#+####+#++++++++#+++'++';'';;;'+''+''++#+++++#,````````````````````````````````
``````````````````````````````````````````````;'###++#++++++###+++#+++++#++#####++++++++'';';;:;;;;''';;'';++++++.+````````````````````````````````
`````````````````````````````````````` ````` `'++####+#'##+#++#+#+';''''++#++#++++++++';;::::;;;::;;;:;;;;;#+++++++````````````````````````````````
````````````````````````````````````` `````  `@#+####+#+#+###++++;;::,:;:::;''';;::::,:::::::,::,,:;:::;:;;'+++++'; ```````````````````````````````
``````````````````````````````````````` ``   ,+++++++'+#+#+++#+''':::,,,,;:::,,,::::,,:,,,,,,,,,,:::,:::;:::#++++++, ``````````````````````````````
```````````````````````````````````````````  ++++###+++#+#+#+++':;,:,:,.:::;:,:,::.,.,,,,..,,,,,::::::;;;;;;#+++++':```````````````````````````````
````````````````````````````````` ```` ``    :++++#+++###++##'+':::::;:,:,:,,,,,,,,,,,,,,.,.,,,,,:,,::::;:;;;+++''':```````````` ``````````````````
``````````````````````````````````````  ` ``;#+#####+++##+#+#+++::,:::,:::,:,,,:,,,,,,,,,,,,,`.,.,,,::::;::;:#++''+,```````````````````````````````
```````````````````````````````````````` ```;#+#####+++++#++'++;:;,:,,:,::,..,,.,,,,,.,.,,......,.,,,::,:;:;;#++++;`.` ````````````````````````````
`````````````````````````````````````` ```  :+#+#####++#+#####+':;;::,::,:,,,:,,,,,...,.,.`.....,,,,,,,:;:::;##+++;..``````````````````````````````
``````````````````````````````````````` ````+#+###+#####@##+##+;:,::::',,:,:,,..,,,,.,...`...`..,,,,.,,::;;;:+#+;'#````````````````````````````````
```````````````````````````````` ````````.`+'+#+##+######++##++::;:::::::,,,,,..,,`,....,,.....,,,,,,::::::;;++++#'.```````````````````````````````
``````````````````````````````````` ```` :+#+++#########+#####'';;;;::::::,.,.,,,,..,.,,.......,,,,:,::::;:::'++;:.````````````````````````````````
`````````````````````````````````````````+++++#+#############+''::::,::,::,....,,.,,,.......,....,,,:,:;;:,;:;++,``````````````````````````````````
````````````````````````````````````````.';+################++';,;::::,:,,,.:,,,.,..,,,,.,.,`..,.,:,.::;:,;;;'''+;.````````````````````````````````
````````````````````````````````````````.:;'##+++@##########+++;:,;,:::;::,:...,.,,:,,.,::::,::,,::::,,:::::;;'':` ````````````````````````````````
```````````````````````````````````   ` .`;+##+#+############+';;::::;:::::,:,,,,,.,..,.,........,,,,.,.::::;'+#; `````````````````````````````````
`````````````````````````````````` `` ```.+++##+#+########+##+'';;:::;::::,:,,:..,,.,,.,.,.,.:.,.:,,:,,,:::::@+:,``````````````````````````````````
````````````````````````````````````` `` :++######+##+######++'':;::::;:::::::,,.,,...,.....,,`..,.,,::,:,:;,'+,```````````````````````````````````
````````````````````````````````` ` ```` '''##+#++++++#+####+''';:::::,:::,,,:,::,::,::,,`...,....,:,,::::;;,;:,```````````````````````````````````
`````````````````````````````````````````;+'+###++++++##++##++';;:;:::,,::,:,.,,:,.,.....,,:,:,,,,.,..,,::::.#'````````````````````````````````````
`````````````````````````````````````` ``:+++###++##'++###+#+++;;,;::,,,:,,,:,,:.,,,.,...,,.,,.`...,,,,,,::;,:'``````` ````````````````````````````
``````````````````````````````````````````#++###++#'++'#++++++';:::,:,,:,:,,.,,,,,,,,.....,..,..`..,..,:,::;,:+````````````````````````````````````
`````````````````````````````````````    `#+++##++#+:+'#+#+#++';;::;:::.,::,,,,,,.,...,,...,.,,,..,,,,,:,,::,;`````````````````````````````````````
``````````````````````````````````````` `:###+##'++'++'+#++'#+':::,::,:::::,:::;.,:,.,,,.,,,,,:.,.,,,,,:.;;;,.`````````````````````````````````````
`````````````````````````````````````   :::'+#+##'';'''''##'++'::,::,:;,:;;;::;,+';;;,,,,:,.:::,.,,,:;::::'';``````````````````````````````````````
```````````````````` ````````````````   .,;++++#@'.:;'';'+###';::::::::,:';:';;':+'++'':::,,,:,,,::,:''++''+'  ````````````````````````````````````
`````````````````` ``````````````````   ,,'+'+##@'.;;'::''#+#+:::,::,,:,'';;;'+''';'++';:;;:,,,.,,'++'''+''+,``````````````````````````````````````
````````````````````````````````````   ``+:+++###+.:;;,:::+#:::::::::::,:,:+;;;+#'';',:';:::,,,,,''+#;+#'+':``` ```````````````````````````````````
``````````````` ````````````````   `` `...;+'++++#,,::,,;:;';;::::,:,:.;:::''###+`,:+;;;::,...,,;;.++##.;'#:```````````````````````````````````````
``````````````````````````````` ```  ```` `+++++##:,::.:,:;';;:;::::,..;,,:::.@#;``,:,::::,...,::`,,#@..,:;,```````````````````````````````````````
``````````````````````````````` ```  ` `..;++#+++++:,:';,:;'';:::,,,:;...,,`.;,`.,,;...:::,,..,::.```.::;,,,```````````````````````````````````````
`````````````````````````````````````````.,'++++++':.:;;,;;;;::::,:,..,::,.,,:,...,::,.;::,:,.,:;.::,::,,;::,``````````````````````````````````````
````````````````````````````````` `  ```` ,+++'+++''.,,',;;';'::::,,,:,,,,..:,,,,,,,,.::,:,,.,,,:::,:,:::,:;'``````````````````````````````````````
``````````````````````````````  `````` ``` +.+;+++#:,,.:,;:;;;:;;::,:,,,,..,..,,,,,..:,:,::,,,,::::,.:,,,,,:; `````````````````````````````````````
``````````````````````````  ` ```` ```  `  ``++;:#+:,,:,;;;;;;::;:::,.,.,...,,,.....,,,,:::,,,,::::,,,,,,,,:,` ````````````````````````````````````
```````````````````````` `` ` ` ` ````  `` :  +:,,+#;:,::;;;;;;::,::,.,,.....,,,,,,.,,,::,,,,.,::::,,.,,,,::;` ````````````````````````````````````
``````````````````````````````  `````  ` ` ` `+#;+++::,,:;;;;;;:,:;:,,:.,..,,,,,...,,,::::,,,,.:::::,,,,,:::'``````````````````````````````````````
````````````````````` ````` ``  ` ```` ``````.:'##++#.;::;;;;';;;:,,:,,,.......,..,.,,::::,,,..,::;,,.,,,,::;``````````````````````````````````````
````````` ````````````````` `````````` ` ` `., ++##;#;,;:;;;;';;:;::.,:.,,.....,,,,:,,,,::,,...::::::,.,::,:;``````````````````````````````````````
````````````````````````  ````````````      `.`. ,  +;;:::;;;;:;::::::,.,.:..,,::,,,:,,,,:,,,..,,;::::,,,:,:;``````````````````````````````````````
````````````````````````  `  `  ``````     `   .````';:;;;;;;;;;:::::::.:::,,,,,',.:::,,,:::..`,,::::;::::::.``````````````````````````````````````
``.`````````````````` ``````    ``````       `````  ';:;:::';;;::,:;:::,,,:,,::;...;:,,,,,,,,,.,:::::,::::::```````````````````````````````````````
```````````````````````      `  ```````      ```  ` ;;;;;;;;;;;;;:;;:;:,,,:::;:.,,.,;::,,::,`.`.::,::::::,;; ``````````````````````````````````````
````````````` ``````````  ` ``````````       `  `  +;;;:::;,;':;;;:;;:::::::';,:,,.,.:+'+;;:,,,,::;::;;::::````````````````````````````````````` ``
``````````````````````````````````` ``       `  ```;:;;:::::;;;;:::;;;;::::;::,,,,,..,,,,;':;::;.:;:'::;::.````````````````````````````````````````
`````````````````` ```````````` ``` ``        `   . ';;:;:::;';;;:,;:;,:;;:.,::,:.:,:,,:::;;':;':;;;:;;;;:   ``````````````````````````````````````
````````````` ``````` ``` `````                ```.`,;::;;::;';:;;:;;;::::,,:,:,,,:,,,,,,,::;:::;,;;;;;:;```````````` `````````````````````````````
```````````` `````  ```````````               `` ..``;;;:';:';;::::;';::::;:;::;,:,,,,,,,,::::::;:;;:,;:,` ````````````````````````````````````````
```````````````` ```````                    `  #.`````+;:;;:;;'::,::';:::::.,,+'':::,:,,:::,;::;:;:::::; ``````````````````````````````````````````
```````` ```` ```     ``                   ```+@```````';;;::;';:;::;':::,::,:.;+.;'',,,,..,.,:;,,;::::`````````````` `````````````````````````````
```````` ```````  `   ` ```                ` @+@.````` `;:';:'';,::::';::;:;..,,,:,``,.';';';::::,::::: ```````````````````````````````````````````
````````````````     `  `  `              ``#++# ````````,:;::'';::::;';:::,:,,,.,:.```.``:```;:::::::`` ``````````````````````````````````````````
````` ``````````    `   ````               +++++;`````````.;;:;;',;:;;;;::,,:,,,:.,,,:,:..+,+:,,:::::`` ```````````````````````````````````````````
````````` `` ````   `                    `.+++++# ``` `````+'':'':,;::;;:::,,:,,,,...,,:.::,,,.:::;' `  ```````````````````````````````````````````
`````````` ` ````    `                    #++++++@ `````````#;:;;;,.;:;;:,;::,,,,;:,`..`..,..,::,::`  `````````````````````````````````````````````
````````````` ```    `                  `#++++++++,````````` +;:;':;,::::;,:,,::,::;::,...`.,:::::;```   ``````````````````````````````````````````
`````````` ``````   `                   ++++++++#++` `` ``` ` +;:;;:,::;;:::,,,,,,:;:;:;:;::;;:'::```    ``````````````````````````````````````````
````````` ```````   `                  ;++#+++##+#+#  ` ```  ` '::';,.,;;:::,,,,,::;;;'';;;;''':;'` ``   ```` `````````````````````````````````````
`````````````````                      #+++###+++++#@  `  ``````:';';::;:::,:,:,,,,,,::::::;;::,:'`   ```````` ````````````````````````````````````
``````````````                       .#+++######+++#++ `   ` ` ``,;;;:,,;,;;:,:,,:,::.,,:,,:::,::;````````````````````````````````````` ``````````
``````````````                      ''#######+####+#++:`      `````+';:;;:;;:,,,,,:,,.::;,:;,.,,;. ````````````````````````````````````````````````
` `````````````` `              `  #+++###########++++'.    `` `  ` +;';;;;;:,:.,,.,,,..,,,,::,,;` ``   ` ````` ````````````` `` ``````````````````
````` ````````                   `#+#+############+#+++#``       ````;':';;';,,:::,.,..,.,.,::::+  `    ` ````````````````` ```````````````````````
 ````````  ```                  '+++#################+++#  ` `  ```````+;;;';;;:,:,:..,,,:,,,,,:.  `    ` ````````````` `````````````````````` ````
``````` ``````             `   #++++++###############+#++@   `  ` ``````,+;;':::,,,:,,,:::,::::;     `     `````````````````` `````````````````````
``` ``` `````                `#+++++###################+++# ``     ````````#;;;';;;;::,,::;::',`  `        ``````````   ````` `````````````````````
 `````                 ` `  :+++++####################+##++' `     ````````` :':;;;;;:;;:;;';  ``          ```````````  ```` ```     ``````````````
````` `                 ```#+++++########################+++.``    ``` ``````.`,+';;'+'+;'++' ` `     ````` `` ```````  ```` `        `````   `````
`````` ``              `  #++#++##########################++#``      ````````...`''';''` #+++#`       ```````` ```` ````   `````````````` ` ```````
``````                  ,#++++##+#########################+#+@ `  `   ````````````.':;#``@+++++, `                  ````   ```  ````````` ` ```````
```` `                 @++++###############################+'+#         ````````` ```;:`.'++++++: `                        ```  ```````````````````
```` `         `  `  ,##++##################################+++;`  ``   ` ````````` `#+:`:+++++++' `                    ``      ```````````````````
`` ` `          `   #+++++###################################+++. `  `        `` ````,'#` ++++++++:```                 ````     `````````` ````````
`````   `     `   ,#+++#####################################+#+#+ ``        `````````,++@ +++++++++, `        ```````` ```` ````````` `````````````
```` `          .#'++##########################################++@   `      ``````  `@++++#+++++++++`      `  `` `````````` `````````` ```    `````
  ``     ``   `+++#+#+##########################################++@ `       `````` ` +++++'++#++++++# `    `  ````````````` ````` ````````    `````
``  `        `@++++#############################################+#++```         ``  :++++++++++++++++@   `    ```````````````` `````````   ````````
            :++##################################################+++: `         ``  @++++++++++++++++++       ```````````````` ```    ``    ```````
``  `      ++++#################################################+##+#`     ` ` ``` `+++++++++++++++++++``     ```` ```` ` ````` `  ` ```````` `````
``` `     ++##########################################################     `````   ##+++++++++#++++++++@  `     `````` ``     `    ` ` `````  ` ```
 `  ` `  @+#########################################################++#       ```` ,@'#+++++++++++++++++:`      ```   `  `    ` ````` `````  ` ````
 ` ` ``;#+###########################################################++'```` ```  +'`.`++++++++#++++++++@ ``        ``  ``````   ``` ``````   `````
`` `  '+#+############################################################++`` `````  '++` ++++++++++++++++++;``    `````      ```  ````` ``````` `````
`    '+###############################################################++@ ```    ..'++.@#+++++++#++#+++++#      ```` `` ``````  ``` ``````    `  ``
    ,###+#########################@#####################################+.````   .,,+#`:++++++++++++++++++;`    ` ```` `          ````    `   `````
`   ##############################@####################################+#@  ` ``:,:,;;. ++++++++++#++++++'# `   ` `````  `        ````  ``    `````
   @#############################@#@####################################++'    ......`,`+++++++++#+++++++++:                 `     ``` ````  ``````
` ,#####################################################################+##   ..,,,....,:'+++++++##++++++++@       ```       `     ``` ` ``  ``````
` @#######################################################################+#,,::::......,:#+++++++##++++++++,`  `  `   ` ``  ```  ````````` ```````
 `+######################################@################################+;,:::::..``..,:++++++++##+##++++#+` ```  `   ``   ``      ````````` ````
 @######################@##############@#################################+:,::::::..``..,,++++++++###+##++++'#   ',`    ` ` ``` ``````````` ``````
 ############################################@###########################::::::::;,....,,:+++++++++#+';,,..:+#@ ,+@````  ```` ``` ````````````````
:+###########################@##########################################+::::::::;:,,..,::#+#+':::::::,,,...,'+.@+@  `` ` ` `   `  ````````````````
@####################################@@######################+##########;:::::::;;;::,::,.::::::::::::,,,,.,,,++++#  `` ` ` `   `  ``` ````````````
#######################################@###############################+::::::::;;;;;;;:...,:::::::;::,,,,.,,,;++++.  `   `           `    ```````
#######################################################################':::::;;;;;;;;;,,...,,::;;;;;;::,.....,:#+++'` `   `                ````` ``
#####################@#################################################;:,::,::;';;;;:,,....,:;;;;;;;::,.......#+++@ ` `  `     ```     ` ````   ``
##############@#######################################################+:::,,,,,,:::;;:,.....,:;;;;;';;:,,...,..;++++ ``  ``             ` `   ````
################+#####################################################;,:,,,,,..............,::;'''';;::,......;++++```` `````` ```     ` `     `
#############@##################@@####################################:,,,,,,,.................,,,:;';::,......,#+++'``` `````  ```           `````
####################@######@####@#@##################################':,,.....,.....................,:;;:,......;+++@ `` ```` ``                ```
###################@#################################################;:,......,,,,,,...................::,,,....;+++# ````` ````           `    ```
#####################@##@@#@#@######################################+::,,,,...,,,,,,,,..................,,::,,,.'++++ ``````````           `    ```
######################@#############################################'::,,,,..,,,,,,,,,,,.........`........,,::::#++++;` ````````       ```````  ```
#############@#####@#########@##@#######@###########################':::,,,.,.,,,,,,,,,.........``..........,,:,:#+++@ ``  ``         `````` ``````
@############@##########################@##########################+;:,,,,,,,.,,,,,,,,,,,.....,..............,,:,,#++# ` `````` ``````````` ``` ` `
#############@##@#################################################++;:,,,,,.,,..,:,,,,,,,,,,,,,,...,,,...,.,,,,:,.;+++,   ```   `      ``` ``  ```
##########@######################################################++;;:,...........,:;;:::::,,,,,,,,,,,,,,,,,,,:;,.:+++#`  `` `  `     ````  ``
###############################################################@,:';;:................,,:;'';:::,,::,,,,,,,,,,::,,'+++#  ``` ````` ``````    ``   `
#########@##################################################### ;';;;,....................,,:::;;;;;:::::::,,,;:::+++++`   ````````     ``      ```
############################################################## ;'';;;,..........................,,:;;;;'':;::,`.`;+++++,   `````   ````       `  ``
########################@###########@#####@#################@ .''';';:,.,,,...,,...................,::;''`.`+:`'#++++++@ ```````   `````````  ` ```
###############@##@##@##@##@@@@###@@@@###@#################@ `+;'''';:,,,,,,,,,,,,,,,.............,,,::;;'.,'##++++++++# ` ```````` ````````  `` `
##################@#@@@@@######@#####@##@##################.``#';;'';::,......,,,,,,,,,,,.........,,:,:::#`. #++++++++++.  ```````  ````   `` `` ``
###############@##########################################;``:'';;;';;:,.......,:,,,,,,,,,,.......,::::::' ..++#++++++++@ `  ````  ```     ```  ```
#########################################################@ ``#'';;'';';,.......,,,,,:,,,:,,,..,,,,:::::::':..`#+++++++++# ` `    ``````    ```  ```
##############################@##########################````@+';;'';;;:.........,:::;;::,,,,,,,,:::::::,+@`..@#+++++++++:`  `  ```  ````` ``
@###############@##########@###########################+;..` #+';''';;;:..............,::;;;;';;;:::,..:'++ ..:++++++++++@``      ` ``  `` ``
`+##########################@#########################++ ``` #+'';;''':,,.`.................,,:::;;'#++++++;,.`#++++++++++   ````` ```   ` ``   ` `
 ###################@@@##@##############@#############@ ```` #';;;;'';;,.....`...................,::+++++++@...#++++++++++:` ``  ```````  `   ``` `
 @#######@###########@@########@@##@#@@##############+,``````:';;;;;';;:.........................:::+++++++# ..`++++++++++@` ``` ``   ````      ```
 #####################@################@@############@ .````` ';:;;;'';:,,,,.....................,,+++++++++;,.`@#++++++++#````` ```````  ```` `  `
`:############@#@###########@########################:````````';::;;;'';::,,,,.,,......,...,.,..,,'+++++++++@`..++##++#+++#  ``` ```````  ```` ` `
``+#############+########@##@@########@############## `````````;:::;;;';;;::,,,,........,,,,,,,,;;#++++++++++`.. #+#+++++++````````````` `````````
` @######################@########################### `````````::::;;;;'''';;::,,....,,.,,,,,,::.,+++++#+++++@...@+++#+++++.```````````````````````
``######################@##########################++```````````:::;;;''''''';;;::,,.,,,,::::',.. +++++++++++# ..;+#+++++++.``````````````````  ``
``,+#################@@###@########################+'````````````,';;;''''''';;:::;;;:;'++++## ..`@#+##+++++++'...+++++++++.````  `` `` ```
`` ################################################+'``````````````;+''+';;'';;:,,::.:#++++++#:...'++++++++++++`` ###++++++.````  `` `` ```````` `
`` ++###############@@#########@#######@###########+;````````````````:#++';;'''';;:,;#+++###++@...`++##++++++++;,`@+#++++++`````` ``` `````````` ``
````####################@###@###@#@################+;``````````````..``.:'+'''++;;'+#########+#`.. #++++++++++++ .#+++++++# ` ``````````````````
``` ###############################################++```````````````......``````;##+##########++...@++++++++++++;.;#++++++@```  ```` ``````````````
``` @##############################################+# ```````````````````.```````:+##########+#@`..+#++++#++++++@` +##++++'`````````````````````
````;+#########################@########@##########+#```````````````````````````` @###########++..,;+++++##++++++,`###+++# ````````   ``````````
````.++###############@@############################+,````````````````````````````@+############@.,,########++++#@.#+++++@````````` ````````````
```` +#+#####################@######################+'``````````````````````````.:++############@`,,##+##+#+##++#+`:+++++, ```` ```` `````` ```````
`````@+##############################@##############++````````````````````````.. #+##############.,.####+#+++##++++`#+++'` ````` `` ```````````````
`````,+#################@###########@###############+'.`````````````````````...`:#+###############,`########+++++## #+++'` ```` ```````````````````
``````++++######################@@####@#############++;```````````````````..``. @#+##############@ .###########+##+;'+++' `````````````````````````
````` @+#+#############@#####@#######################+'``````````````````..`.`.,+#################..##########+#+##@`++++ ````` ```````````````````
``````'+++###########################################+'.```````````````````... #+#+################.############++++`@++# `````````````````````````
```````+++###################@##@####################+';``````````````````..`` ###+###############@`;###########++++,:##+ `````````````````````````
```````+++###########################################+'',`````````````````````:+###################..@########+#++#+@.@++ ``````  ` ```````````````
```````'++++##################@#######################+;:.````````````````````######################`@#######+++##+++``++`  ``` ````  `````````````
 ``````'+++++################@##@####@@###############+;;,````````````````..` #+###################@`+########+#++#++: #+#```  ` ` `` `````````` ``
`````` '++++#+##############@##########################';:.``````````````....:+#####################`;##########++###@`@+@ ``````````````````` ````
 ````` #++++#####################@@@####@##############+';,.```````````````` ########################.##+######++##++# @+# `````````````````````  `
```````@+++++###################@#@@####################;':,`````````````````#######################@ +##########+#++++@++ ````` ```````````````` `
```````#++++++####################@######################:::.```````````````++####################### ;#######+#####++@;++`````````````````````` ``
 ``````;+++++#+#+#################@##@####################:,:.`````````.`.`.#+#######################'.+############++++++;` `````````````````` ```
 ``````,+++++###################@#######@@@################',..```````...``##+#######################@.:#############+++#+#`````````````````` ````
````````''++++++##################@########################:;,,.......,,,,:########################### `'#############++++# ```````````` ```` ````
``````` #''+++++################@@@@@@@@@@@#################:,,:.,.:'::.,,.###########################;,.###########+++#### ` ```````` ````````````
 ```````.;++++++################@@@@@@@@@@@@@@##############;';;;:;:,,,,`,;###########################@..+##########+#++#++` ```` ``` ```` ```  `
 ````````#'++++++############@##@@@@@@@@@@@@@@@@@###########+..;:,..`.,`.,############################# .`@############++++;``````` ```  ``````` `
  ``````` +'+++++#########@#####@@@@@@@@@@@@@@##@############;,......,.`:;#############################:..`@############+++#```````  ``` ``````  ``
  `````````+++'+#+###########@##@@@@@@@@@@@@@@##@@###########'.,,,,,.,.:++##############################.,``@##########+#++# `````   ````` `````  `
  ``````````#+'++++############@@@@@@@@@@@@@@@@@@@############;,,:..,:;++##############################@,.,`+##########+#+++.```` `````  ``````   `
  ````````` `+++++#############@@@@@@@@@@@@@@@@@@@@@###########,:..,;'++################################,.:##+###########+++# ``` `     `  ````
   ` `````` ` #++############@#@@@@@@@@@@@@@@@@@#@@@@###########;:;++##############@@########@##########@,.+#############+++# ```````  ` ```    `
 `  ```````````'+++#########@@@@@@@@@@@@@@@@@@@@@@#+##@############################@##################### ..#############+++'````````      `     `
``  ``````````` ##+#########@@@@@@@@@@@@@@@@@@@@##+#@@@@#################################################,.`##############++++````   `   ` `
`   ` ````````  ###########@@@@@@@@@@@@@@@@@@@@@####@@@@###@########################@@@###################,,;##############++@```````````       `
 ` ```````````` '+###@###@#@@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@##################@#####@@@@########@########@...@############+++# ```    ````    ````
    ``  `` `` `,'+#####@#@@@@@@@@@@@@@@@@@@@@@@@##@@@@@@@@@@@@@@##########@@@@####@#@#@@###@##############`,.@#############++# ` `````    `     `
          `````@+####@###@@@@@@@@@@@@@@@@@@@@@@@+@@@@@@@@@@@@@@@@@@@@@##@@@#@#'@##@###@@@@################'.,'##############+@ ``        `
`     `   `` ``@+########@@@@@@@@@@@@@@@@@@@@@@##@@@@@@@@@@@@@@@@@@@@@#####:@@+@##@@#@@@@@@#####@#########@..`@#############+#  `
          ```` @+####@#@@@@@@@@@@@@@@@@@@@@@@###@@@@@@@@@@@@@@@@@@@@@@####@##@#@@@@@@#@@@@@####@########### ..@#############++`  `
     `    `    #+######@@@@@@@@@@@@@@@@@@@@@@@##@@@@@@@@@@@@@@@@@@@@@@@@##@@##@@@@@@@#@@@@@####@###########;.`##############++.``
```
2018-10-16 12:24:39 +02:00
Baptiste Mathus bc7916e561 Add workaround for the race condition
If the borked UL upload happens *before* the of healthchecking for the
first startup, then test will fail because the new UL will be skipped.
That sleep shifts the new UL upload enough to make it unlikely to happen.

Real durable fix will be to scan logs for the end and success of the
healthcheck, not just the usual "Jenkins is fully up and running" log
2018-10-15 23:54:14 +02:00
Baptiste Mathus 95d896bb47 Also store the Supervisord.log file after test run 2018-10-15 14:55:29 +02:00
Baptiste Mathus 79a5eb02d9 Supervisord now waits for the process to be actually started/stopped before returning
Using the `wait=True` second param of http://supervisord.org/api.html#supervisor.rpcinterface.SupervisorNamespaceRPCInterface.stopProcess
to avoid cases where Jenkins would still be stopping while we healthcheck
it, etc.
2018-10-15 14:55:08 +02:00
Baptiste Mathus 90fdca47ea Moar linting - shellcheck & jsonlint here 2018-10-15 13:21:41 +02:00
Baptiste Mathus ec9f5f4022 Remove hardcoded sleep 600 and check Jenkins instead 2018-10-15 13:21:25 +02:00
Baptiste Mathus 4a96ff5c4d Remove outdated FIXME: the called method has been promisified correctly 2018-10-13 14:30:35 +02:00
Baptiste Mathus 98c77642ea Clearer log message
This should almost never happen.
2018-10-13 14:09:53 +02:00
Baptiste Mathus beb53cf7ed Remove that advanced Javascript trick
Kidding, was just a ridiculous typo from me :).
2018-10-13 14:06:18 +02:00
Baptiste Mathus 66db2f6576 Add link to https://github.com/jenkins-infra/evergreen/issues 2018-10-13 14:04:10 +02:00
Baptiste Mathus 6b9208a883 Remove lines and use the already in place way of logging into the console
UI.publish() already supports also logging into the console in a specific
level, so let's just reduce the duplication here.
2018-10-13 08:05:55 +02:00
Baptiste Mathus 52013fc3e7 Fix missing status parameter (mostly for tests) 2018-10-12 19:21:11 +02:00
Baptiste Mathus 5b39ffd556 🤦 2018-10-12 18:05:46 +02:00
Baptiste Mathus 16bd8d0209 Also check Supervisord.restartProcess was called 2018-10-12 17:45:54 +02:00
Baptiste Mathus d0d6677ee4 Wire and mock correctly missing status and Supervisord calls 2018-10-12 17:45:54 +02:00
Baptiste Mathus cf5206e91c More logging 2018-10-12 17:45:54 +02:00
Baptiste Mathus a1a10fedac Wait a tiny bit more before uploading the broken UL 2018-10-12 17:45:54 +02:00
Baptiste Mathus bef665cd08 Wait on the restart to actually have happened before healthchecking!
I'm stupid: without this, the healthcheck would often be applied on the
*current* running Jenkins, instead of the updated one. Hence missing the
fact it wouldn't restart! 🤦
2018-10-12 17:45:54 +02:00