Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retire Travis #1342

Closed
spxtr opened this issue Dec 9, 2016 · 12 comments
Closed

Retire Travis #1342

spxtr opened this issue Dec 9, 2016 · 12 comments
Assignees
Milestone

Comments

@spxtr
Copy link
Contributor

spxtr commented Dec 9, 2016

It's probably a good opportunity to clean up this mess too.

    - ./verify/verify-boilerplate.py
    - python -m unittest discover -s jenkins/test-history -p "*_test.py"
    - pylint jenkins/bootstrap.py  # TODO(fejta): all python files
    - pylint queue-health/graph/graph.py  # TODO(fejta): all python files
    - ./jenkins/bootstrap_test.py
    - nosetests --with-doctest jenkins/bootstrap.py
    - ./jenkins/diff-job-config-patch.sh
    - ./jenkins/diff-e2e-runner.sh
    - make -C gcsweb test
    - cd gubernator
    - ./test.sh --nologcapture
    - ./lint.sh
    - ../node_modules/.bin/mocha static/build_test.js
    - cd ..
    - gofmt -l .
    - go test k8s.io/test-infra/testgrid/config/...
    - chmod +x testgrid/jenkins_verify/verify.sh
    - ./testgrid/jenkins_verify/verify.sh
@fejta fejta added the area/prow Issues or PRs related to prow label Jan 25, 2017
@krzyzacy krzyzacy added this to the v1.7 milestone Mar 10, 2017
@spxtr spxtr removed this from the v1.7 milestone Apr 20, 2017
@spxtr
Copy link
Contributor Author

spxtr commented Jun 22, 2017

The only remaining tests running on travis require docker. We could either use docker-in-docker with privileged containers, or else rewrite some shell scripts to not require docker.

script:
    - ./jenkins/diff-job-config-patch.sh
    - ./jenkins/diff-e2e-runner.sh
    - ./testgrid/jenkins_verify/verify.sh

Of these, the only one I consider critical going forward is the jenkins_verify script. @krzyzacy we should take a stab at doing this with bazel.

@krzyzacy
Copy link
Member

I can rewrite testgrid one by parse jenkins config without jenkins_job_builder, but diff-job-config-patch.sh might still be useful? How will we work around that

@spxtr
Copy link
Contributor Author

spxtr commented Jun 22, 2017

Why not use jenkins job builder as an external py_binary?

I don't know about diff-job-config-patch.sh. Is it possible to do that without docker?

@krzyzacy
Copy link
Member

I have vague painful memory that I screwed up to get jenkins job builder to work locally, but we can give another shot with bazel.

@BenTheElder
Copy link
Member

It looks like the current state is that we're down to just:

script:
    - ./jenkins/diff-job-config-patch.sh
    - ./testgrid/jenkins_verify/verify.sh

I'm not sure if people are still using diff-job-config-patch.sh but it seems like the "jenkins_verify" script isn't doing anything particularly special that couldn't be done in prow, am I missing something?

@krzyzacy
Copy link
Member

So they ensure

  • you don't do crazy stuff with Jenkins config
  • all Jenkins jobs has a valid testgrid entry

we probably still want the coverage since we still support Jenkins

@BenTheElder
Copy link
Member

It looks to me like it also checks prow jobs, but what about ./testgrid/jenkins_verify/verify.sh needs to be run from travis (other than the current script using docker containers to run the go code)?

@BenTheElder
Copy link
Member

Spoke to @krzyzacy, it sounds like we just need to leave these until Jenkins is gone (#3778) and then we can remove them.

@spiffxp spiffxp added this to the v1.9 milestone Sep 21, 2017
@krzyzacy krzyzacy changed the title Migrate from travis to prow Retire Travis Sep 30, 2017
@krzyzacy krzyzacy assigned BenTheElder and unassigned spxtr Sep 30, 2017
@BenTheElder
Copy link
Member

I intend to migrate us off of Travis by the end of the quarter. See All Test on Prow Design Doc for the plan to move these docker-dependent jobs to Prow.

Also noting that Travis caused some annoying delays yesterday since Tide blocks on green status and Travis got stuck on yellow for many test-infra PRs at least.

@spxtr
Copy link
Contributor Author

spxtr commented Nov 1, 2017

Also noting that Travis caused some annoying delays yesterday since Tide blocks on green status and Travis got stuck on yellow for many test-infra PRs at least.

The submit queue actually has some logic to close and reopen PRs if travis is stuck. I don't plan on adding that to tide now, but it's interesting.

@0xmichalis
Copy link
Contributor

The submit queue actually has some logic to close and reopen PRs if travis is stuck. I don't plan on adding that to tide now, but it's interesting.

Closing+reopening PRs results in rerunning all tests. We wouldn't want to do that just for restarting travis. If tide knows what contexts are required, travis shouldn't be a problem.

@spxtr spxtr removed the area/prow Issues or PRs related to prow label Dec 18, 2017
@spiffxp spiffxp modified the milestones: v1.9, 1.10 Jan 2, 2018
@BenTheElder
Copy link
Member

Done in #6305 🎉

ostromart pushed a commit to ostromart/test-infra that referenced this issue Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants