mozilla-services / sync-tps-setup Goto Github PK
View Code? Open in Web Editor NEWSetup scripts to run https://developer.mozilla.org/en-US/docs/Mozilla/Projects/TPS_Tests on an Ubuntu 14.04 LTS host
Setup scripts to run https://developer.mozilla.org/en-US/docs/Mozilla/Projects/TPS_Tests on an Ubuntu 14.04 LTS host
The two run files provided are identical, with the exception of the test environment (stage|prod) being executed. This information would be available to any Jenkins job as $TEST_ENV and would just need to be passed into the Dockerfile.
If we're running in headless mode, we can probably dispense with full-on Ubuntu in favor of a smaller base image
add this additional config to also run TPS locally with the buffered engine (STAGE only)
https://bugzilla.mozilla.org/show_bug.cgi?id=1433827#c3
Using my individual GPG key to encrypt the secrets in the config files is not a great way to do this.
Using sops would add another dependency, but I'm not sure of any other ways that get the balance of security vs. convenience right.
If we're passing in STAGE and PROD configs already, we don't need to setup (and maintain) separate venvs for both.
via the magnificent @rpappalax:
panicked at 'called `Result::unwrap()` on an `Err` value
"No such file or directory"
/checkout/src/libcore/result.rs:906:4
"result.rs" sounds like maybe Rust? Not sure if we need full Firefox source, versus just the bits and pieces we're currently extracting from the ZIP file. But now armed with a starter error message above, it should hopefully be easier to Google and track down possible causes/solutions.
The sync TPS tests require a the latest nightly source code to run. In order to fully dockerize the tests, we'll need to provide a pre-built base docker image with this updated source code on it.
we could leave this as an ENV var, but our team is restricted to adding creds. this works just as well.
old images and configs are being cached on Jenkins. bad.
https://qa-preprod-master.fxtest.jenkins.stage.mozaws.net/job/sync.prod/19/consoleText succeeds.
Then jobs 20-22 fail.
I suspect this line:
Line 50 in 4b9d442
needs a sh 'rm -f tps.log.gz'
before it, because the output in
https://qa-preprod-master.fxtest.jenkins.stage.mozaws.net/job/sync.prod/21/consoleText
indicates gzip: tps.log.gz already exists; not overwritten
true for both STAGE and PROD. fix Jenkinsfile
For tests to run in our CI system, ideally we'd like to have them fully dockerized so our Jenkins slave hosts don't require special pre-installations / configurations. Though it is possible to setup custom Jenkins slaves, setting up such a host would be a one-off that would need to be provided by Ops if linked into our QAJenkins.
I'd recommend instead converting the Makefile provided here into a Dockerfile that installs the test environment and also allows execution of the tests. Separate docker images will eventually be created by our team, including one that has a daily update of mozilla-central source code that could either be mounted as a separate volume or used a base image to the sync-tps-setup test Dockerfile.
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:
If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].
(Message COC001)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.