Skip to content

Add a test to the Concourse pipeline for a fresh install #2147

Closed

Description

@jama22

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?

Activity

  1. xtremerui commented on Apr 19, 2018

    @xtremerui
    Contributor

    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..

  2. jama22 commented on Apr 23, 2018

    @jama22
    Author

    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

  3. ywei2017 commented on Apr 30, 2018

    @ywei2017

    So what is the resolution on this? Both 3.9 and 3.10 broke our exiting installs (BOSH managed), and we had to scramble...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions