Ed Morley
37b2c9855e
Bug 1414255 - Fix shellcheck warnings about missing quotes
...
`SC2086: Double quote to prevent globbing and word splitting`
See:
https://github.com/koalaman/shellcheck/wiki/SC2086
2017-11-05 20:53:29 +00:00
Ed Morley
934c6a2ab9
Bug 1414255 - Enable bash 'strict mode' in all shell scripts
...
This makes some of the error checking in `runtest.sh` redundant.
The shebangs have also been made more consistent.
See:
http://redsymbol.net/articles/unofficial-bash-strict-mode/
2017-11-05 20:53:29 +00:00
Ed Morley
9b3b216b86
Bug 1414667 - Travis: Test using Firefox beta instead of stable ( #2916 )
...
Since it reduces the intermittent failure rate in bug 1401048 and is
also likely more representative of what people are using to access
Treeherder in production (whilst still being more stable than Nightly).
2017-11-05 20:48:48 +00:00
William Lachance
117bfd6201
Bug 1414312 - Fix perfherder textual alert summary copy function on recent Firefoxen ( #2910 )
...
It used toLocaleFormat, which was never standard and seems to no longer be defined
in recent Firefox versions. Use toUTCString instead, which seems to be available
everywhere.
2017-11-03 12:56:33 -04:00
Dave Hunt
466651ef3f
Bug 1414259 - Disable the addon-tests repository ( #2908 )
2017-11-03 16:45:33 +00:00
Ed Morley
2ad4b2e0ab
Bug 1414247 - Travis: Use Firefox headless mode instead of xvfb ( #2907 )
...
Now that Firefox supports being run in headless mode, we no longer
need to use the xvfb workaround on Travis.
2017-11-03 16:10:48 +00:00
Ed Morley
624d2f43a9
Bug 1414094 - Travis: Move setup steps to a reusable script
...
This:
* reduces duplication
* opens the door to sharing functionality with `vagrant/setup.sh`
* will make it easier to visualise the Travis bootstrap process
when moving both Travis and Vagrant to a unified Docker environment.
2017-11-03 12:01:26 +00:00
Ed Morley
704c2ece36
Bug 1414094 - Travis: Remove unnecessary comment
2017-11-03 12:01:26 +00:00
Ed Morley
46e3d177ba
Bug 1414094 - Travis: Use $HOME rather than tilde
...
https://stackoverflow.com/questions/5930671/why-use-home-over-tilde-in-a-shell-script
2017-11-03 12:01:26 +00:00
Ed Morley
98e4b90727
Bug 1414094 - Travis: Update the Python 3 job from 3.6.2 to 3.6.3
2017-11-03 12:01:26 +00:00
Ed Morley
243a6bc4a8
Bug 1414094 - Travis: Fix email notification indentation
2017-11-03 12:01:26 +00:00
pyup.io bot
2a5ae1b7bb
Update selenium from 3.6.0 to 3.7.0 ( #2905 )
2017-11-02 23:54:37 +00:00
pyup.io bot
d318689bec
Update django from 1.11.6 to 1.11.7 ( #2901 )
2017-11-02 12:12:12 +00:00
pyup.io bot
739f7baed0
Update multidict from 3.3.1 to 3.3.2 ( #2904 )
2017-11-02 12:04:44 +00:00
Siddhartha Kumar
c4a4f7c078
Bug 1408210 - Pass missing params in client get_resultsets function ( #2838 )
2017-11-02 09:36:10 +00:00
pyup.io bot
accf877cb5
Update multidict from 3.3.0 to 3.3.1 ( #2900 )
2017-11-02 00:51:56 +00:00
pyup.io bot
953641ebfb
Bug 1407220 - Update djangorestframework from 3.6.4 to 3.7.1 ( #2841 )
...
See:
http://www.django-rest-framework.org/topics/3.7-announcement/
http://www.django-rest-framework.org/topics/release-notes/#37x-series
2017-11-01 23:56:52 +00:00
Ed Morley
3d94c40c87
Bug 1413509 - Update Node.js from 8.7.0 to 8.9.0 ( #2896 )
...
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.9.0
2017-11-01 23:56:44 +00:00
Sarah Clements
dfcb18f840
Bug 1152389 - Reconcile pinboard count error messages ( #2848 )
2017-11-01 16:51:34 -07:00
Ed Morley
06265ed4a0
Bug 1413507 - Travis: Update to geckodriver 0.19.1 ( #2895 )
...
https://github.com/mozilla/geckodriver/releases/tag/v0.19.1
https://searchfox.org/mozilla-central/source/testing/geckodriver/CHANGES.md
2017-11-01 23:46:03 +00:00
Ed Morley
8c1da4ef99
Bug 1412793 - Update pyflakes from 1.5.0 to 1.6.0
...
https://github.com/PyCQA/pyflakes/blob/1.6.0/NEWS.txt#L1-L3
Resolves #2677 .
2017-11-01 23:42:13 +00:00
Ed Morley
38912bd792
Bug 1412793 - Update flake8 from 3.4.1 to 3.5.0
...
Fixes failures due to the new pycodestyle (pep8) checks.
See:
http://flake8.pycqa.org/en/latest/release-notes/3.5.0.html
Resolves #2865 .
2017-11-01 23:42:13 +00:00
pyup.io bot
5aaa8080ed
Update aiohttp from 2.3.1 to 2.3.2 ( #2898 )
2017-11-01 19:59:58 +00:00
Dave Hunt
35a7dc4465
Jenkins: Fix test_open_single_result by avoiding result sets with no jobs ( #2894 )
2017-11-01 11:53:05 +00:00
Stephen Donner
7d8a8d65fc
Jenkins: Switch to email-ext plugin for build-email notifications ( #2893 )
...
...and also include failed test results.
2017-11-01 11:29:22 +00:00
pyup.io bot
90ccec9fe1
Update django-extensions from 1.9.6 to 1.9.7 ( #2892 )
2017-10-31 23:47:37 +00:00
Dave Hunt
a985e2c31e
Jenkins: Improve wait after showing job details ( #2888 )
2017-10-31 14:17:14 +00:00
Dave Hunt
d5e97f28ac
Jenkins: Fix test_pin_all_jobs to allow for the maximum number of 500 pinned jobs ( #2889 )
2017-10-31 10:06:41 +00:00
Stephen Donner
f74e6dfee3
Jenkins: Upgrade to Firefox 56 ( #2887 )
2017-10-31 09:32:00 +00:00
pyup.io bot
204f727d68
Update pytz from 2017.2 to 2017.3 ( #2886 )
2017-10-30 17:31:59 +00:00
Dave Hunt
4fab107dfd
Jenkins: Improve test_switch_repo by working around bug 1411264 ( #2885 )
2017-10-30 16:18:50 +00:00
Amy YY Chan
32c549dc28
Bug 1328710 - Enable sandboxing for the logviewer iframe ( #2867 )
...
To improve security.
See:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox
https://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/
2017-10-30 12:06:14 +00:00
Dave Hunt
9cfa8e4ca6
Jenkins: Increase timeout to 20 seconds for UI tests ( #2884 )
2017-10-30 11:59:01 +00:00
Dave Hunt
f7380546f8
Optimise test_filter_jobs by reducing the number of driver calls
2017-10-27 17:08:43 +01:00
Dave Hunt
c08f1652f7
Optimise tests that filter by job status by introducing properties and locators for each status
2017-10-27 17:08:43 +01:00
Dave Hunt
ace72dcd1e
Optimise test_filter_panel_reset_button by introducing locators for in-progress jobs
2017-10-27 17:08:43 +01:00
Cameron Dawson
1c4ee76326
Bug 1412093 - Fix thNotify when selected job not in range of pushes
2017-10-26 15:28:37 -07:00
William Lachance
903bc52554
Very minor formatting cleanups in perfherder replicate comparison view ( #2880 )
2017-10-25 18:29:26 -04:00
Dave Hunt
460d7c4d1b
Jenkins: Improve test_open_single_result by working around bug 1411264 and viewing a random result set ( #2874 )
2017-10-25 18:04:07 +01:00
Dave Hunt
987e921a8f
Jenkins: Improve tests that filter by email by working around bug 1411264 ( #2873 )
2017-10-25 18:03:36 +01:00
Dave Hunt
ff2f6ef9ab
Jenkins: Delete duplicate keyword filter test ( #2875 )
2017-10-25 18:03:04 +01:00
pyup.io bot
dd1b9ebad0
Update promise from 2.0.2 to 2.1 ( #2872 )
2017-10-25 08:55:00 +01:00
Dave Hunt
6b80a95ed4
Jenkins: Improve range tests by working around bug 1411264 and picking result sets relative to the end of the list ( #2871 )
2017-10-25 00:04:57 +01:00
Dave Hunt
c982b2e983
Jenkins: Improve pin job tests by using a random job instead of assuming a suitable job exists in the first result set ( #2870 )
2017-10-25 00:03:09 +01:00
Dave Hunt
467b4c5868
Jenkins: Further improvements to test_filter_jobs ( #2869 )
2017-10-25 00:01:33 +01:00
Dave Hunt
f9445e7294
Fix test_filter_panel_reset_button by hiding in progress jobs via navigation and updating reset locator ( #2855 )
2017-10-25 00:00:18 +01:00
Ed Morley
1c71f301ca
Bug 1326250 - Fix TypeError in PerformanceParser error logging ( #2868 )
...
Previously schema violations would result in:
`TypeError: not enough arguments for format string`
The exception `message` property is used instead of the `str`
representation, since the latter results in pages of log output
rather than just the human readable message:
https://github.com/Julian/jsonschema/blob/v2.6.0/jsonschema/exceptions.py#L59-L88
https://python-jsonschema.readthedocs.io/en/v2.6.0/errors/#jsonschema.exceptions.ValidationError.message
2017-10-24 15:54:53 +01:00
Dave Hunt
4acbfb17c0
Improve test_expanding_group_count by looking beyond the first result set if required ( #2858 )
2017-10-23 21:31:14 +01:00
Ed Morley
2247a57d42
Bug 1351907 - Improve yarn script Windows compatibility ( #2863 )
...
Typically the `package.json` commands call scripts that exist in the
top-level `node_modules/.bin/` directory, which are (a) already on
`PATH` when invoked by yarn, and (b) on Windows have `.cmd` script
shims that work around Windows' lack of shebang support.
However due to symlinks being problematic inside Virtualbox, we have
to use `--no-bin-links` with `yarn install`, which means the top-level
`.bin/` directory doesn't exist. As such, the `<package>/bin/` scripts
have to be used directly, which require prefixing with `node` to work
around lack of shebang support on Windows.
See:
https://shapeshed.com/writing-cross-platform-node/#scripts-in-package-json
Note that even with these changes, the `start:stage` command will not
work due to the environment variable prefix. This will be solved by
the switch to newer Neutrino, which supports setting environment
variables using the `--options` command line parameter instead.
2017-10-23 17:29:41 +01:00
Dave Hunt
604c59cb30
Jenkins: Improve tests that get the next results ( #2853 )
...
...by waiting for the expected count and removing duplication
2017-10-23 15:52:17 +01:00