You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a test to the Concourse pipeline for a fresh install #2147
The recent releases of Concourse have been a bit rocky, and I think some of the issues could have been avoided if we wrote tests for a fresh-install of Concourse for our supported installation methods. While BOSH is probably the first method that comes to mind (#2125 and #2029 are both examples of BOSH installation problems identified immediately after release), we should test all our supported methods.
We might not need to ruin this test as a part of our regular develop group, but probably as a pre-publish job / test?
IMHO for above issues it'd better fail fast than wait and catch it only before publish.
We can change the bosh-test-deploy job to first delete the deployment then redeploy for a fresh bosh installation (unless you want that bosh to be fresh installed).
update: turns out we want to keep bosh-test-deploy as a rolling installation i.e. delete the deployment each time is not desired. However, in bosh-downgrade job we are doing a fresh installation of concourse bosh release-candidate already. The reason that it didn't catch the error in #2029 is the error is not a hard one that will fail every deployment -- it just have a very small chance to fail.
For #2125 , the way it slipped over our eyes is because since stemcell 3541.*, bosh default to create a folder for each job under /var/vcap/data. Thus in our pipeline where we always test with latest stemcell that chmod ... won't be a problem as the folder baggageclaim is already created by bosh. @vito (for compatibility we could add a test for older stemcells )
For testing docker installation, I think right now the bin-docker-testflight is doing a fresh install already (unless you want the docker image concourse/bin-docker-testflight-ci that used for this job to be fresh build).
So in general IMHO our current set up on CI is good enough..
We should just apply spaces to test multiple stemcells and never release software becaues we'll eat up all the necessary compute to try every stemcell possible....
J/K sounds reasonable, maybe we don't need to do fresh installs and we should just stick to fail fast and recover fast
Activity
xtremerui commentedon Apr 19, 2018
IMHO for above issues it'd better fail fast than wait and catch it only before publish.
We can
change the(unless you want that bosh to be fresh installed).bosh-test-deployjob to first delete the deployment then redeploy for a fresh bosh installationupdate: turns out we want to keep
bosh-test-deployas a rolling installation i.e. delete the deployment each time is not desired. However, inbosh-downgradejob we are doing a fresh installation of concourse bosh release-candidate already. The reason that it didn't catch the error in #2029 is the error is not a hard one that will fail every deployment -- it just have a very small chance to fail.For #2125 , the way it slipped over our eyes is because since stemcell 3541.*, bosh default to create a folder for each job under /var/vcap/data. Thus in our pipeline where we always test with latest stemcell that
chmod ...won't be a problem as the folderbaggageclaimis already created by bosh. @vito (for compatibility we could add a test for older stemcells )For testing docker installation, I think right now the
bin-docker-testflightis doing a fresh install already (unless you want the docker imageconcourse/bin-docker-testflight-cithat used for this job to be fresh build).So in general IMHO our current set up on CI is good enough..
jama22 commentedon Apr 23, 2018
We should just apply spaces to test multiple stemcells and never release software becaues we'll eat up all the necessary compute to try every stemcell possible....
J/K sounds reasonable, maybe we don't need to do fresh installs and we should just stick to fail fast and recover fast
ywei2017 commentedon Apr 30, 2018
So what is the resolution on this? Both 3.9 and 3.10 broke our exiting installs (BOSH managed), and we had to scramble...
bump etree tsa handlers mux clockwork goxmldsig genproto grpc