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

Have Jenkinsfile use vagov swarm node #468

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

njdister
Copy link

Ref: department-of-veterans-affairs/vets.gov-team#18570

@wyattwalter wyattwalter temporarily deployed to vagov-content-pr-468 June 14, 2019 19:56 Inactive
@njdister njdister requested review from tskinn and ncksllvn June 14, 2019 19:56
@ncksllvn
Copy link
Contributor

Hm, looks like there is a consistent Jenkins error, http://jenkins.vetsgov-internal/blue/organizations/jenkins/testing%2Fvagov-content/detail/njdister-jenkinsfile-vagov/2/pipeline -

stderr: ssh: connect to host github.com port 22: Connection timed out

fatal: Could not read from remote repository.



Please make sure you have the correct access rights

and the repository exists.



	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)

@njdister
Copy link
Author

I performed a lot of Jenkinsfile PRs en-masse so I didn't notice the Jenkinsfile here is using SSH as a git transport rather than HTTPS. SSH is blocked in VAEC, is there any issue moving this to HTTPS?

@ncksllvn
Copy link
Contributor

No issue I know of!

@wyattwalter wyattwalter temporarily deployed to vagov-content-pr-468 June 17, 2019 21:12 Inactive
@njdister
Copy link
Author

That resolved the SCM checkout issues, but there still appear to be testing issues within the docker container. I believe we're having similar issues in vets-website due to the fact that these are public docker containers that don't have our ca-certs embedded that allow them to make successful SSL connections from behind the TIC.

@njdister
Copy link
Author

njdister commented Jul 1, 2019

For documentation sake, this is the error the node:10 docker container is throwing inside VAEC:
http://jenkins.vetsgov-internal/job/testing/job/vagov-content/job/njdister-jenkinsfile-vagov/3/console

[91mWarning: apt-key output should not be parsed (stdout is not a terminal)
�[0m�[91mgpg: no valid OpenPGP data found.
�[0mThe command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends gconf-service libasound2 libatk1.0-0 libc6 libcairo2                                                                  libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1                                                                  libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0                                                                  libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0                                                                  libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1                                                                  libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6                                                 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates                                                 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils                                                 x11vnc x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable                                                 xfonts-cyrillic x11-apps xvfb xauth wget netcat   && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -   && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'   && apt-get update   && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont     --no-install-recommends   && npm install -g yarn@$YARN_VERSION   && npm install -g s3-cli   && npm install -g codeclimate-test-reporter   && chmod +x /usr/local/lib/node_modules/yarn/bin/yarn.js' returned a non-zero code: 2

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

Successfully merging this pull request may close these issues.

None yet

3 participants