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

PAPR updates #4422

Merged
merged 4 commits into from
Jun 14, 2017
Merged

PAPR updates #4422

merged 4 commits into from
Jun 14, 2017

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jun 13, 2017

A few fixes and updates to get the PAPR jobs working again.
Also fixes #4078 and #4418.

Copy link
Contributor

@rhcarvalho rhcarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking very good, thanks @jlebon!

.papr.yml Outdated
@@ -15,16 +15,17 @@ packages:
- gcc
- python-pip
- python-devel
- libffi-devel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Some of these jobs are automatically triggered, e.g., Travis and Coveralls.
Other jobs need to be manually triggered by a member of the
Some of these jobs are automatically triggered, e.g., Travis, PAPR, and
Coveralls. Other jobs need to be manually triggered by a member of the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


These files are used by [PAPR](https://github.com/projectatomic/papr),
It is very similar in workflow to Travis, with the test
environment and test scripts defined in a YAML file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks for that!

.
├── .papr.yml
├── .papr.sh
└── .papr.inventory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there an empty .papr.inventory file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, it's not empty, it was just renamed without any changes, so there's no diff ➕/➖ to show. The file is there: https://github.com/jlebon/openshift-ansible/blob/pr/papr/.papr.inventory.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hhehe, my bad ;)

@rhcarvalho
Copy link
Contributor

Triggered the aos-ci-tests to exercise it... then we can try to merge via the normal procedure.

@jlebon
Copy link
Member Author

jlebon commented Jun 13, 2017

I added another commit to add some more documentation to the YAML itself and fix up the context string. ⬆️

.papr.yml Outdated
@@ -19,9 +30,10 @@ packages:
- openssl-devel
- redhat-rpm-config

context: 'fedora/25/atomic | origin/v3.6.0-alpha.1'
context: 'fedora/25/atomic | origin/v3.6.0-alpha.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this context key used?

Could we somehow remove the duplication of this value here and in OPENSHIFT_IMAGE_TAG?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's not very intuitive I admit. It refers to the name of the green checkmark in the GitHub interface. (I recently added a blurb in the README to clarify this.)

There's no way to make these hold variables for now, though it's an interesting suggestion. I filed projectatomic/papr#42.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to have the version in the checkmark text? How about context: fedora/25/atomic? If one wants to know the version, it will be in the config and should be in the job logs perhaps, WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose not. Done in latest commit ⬇️ (squashed with the last commit). I initially did this because we used to run both v1.5.0 and v3.6.0 on each PR. When 1.5 was released, this was split out as well.

@rhcarvalho
Copy link
Contributor

LGTM

@openshift openshift deleted a comment from rhcarvalho Jun 13, 2017
@sdodson
Copy link
Member

sdodson commented Jun 13, 2017

all changes localized to fedora ci jobs so not going to run other ci jobs.

@rhcarvalho
Copy link
Contributor

bot, retest this please

@sdodson
Copy link
Member

sdodson commented Jun 14, 2017

@jlebon any idea what happened to the fedora test here? That's all I actually care about passing here.

@jlebon
Copy link
Member Author

jlebon commented Jun 14, 2017

@sdodson Not sure, it looks like it installs alright, but the tests are repeatedly failing until we time out:

Jun 14 13:33:42.329: INFO: Condition Ready of node 172.16.132.245 is false instead of true. Reason: KubeletNotReady, message: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Jun 14 13:33:42.329: INFO: Couldn't find condition NetworkUnavailable on node 172.16.132.245
Jun 14 13:33:42.329: INFO: -> 172.16.132.245 Ready=false Network=false

I can try taking a look this afternoon, though someone more well-versed in OCP might be able to troubleshoot faster. :)

@sdodson
Copy link
Member

sdodson commented Jun 14, 2017

@jlebon revert back to the previous alpha version and see if the problem goes away then we'll know it's a regression in origin not elsewhere?

Add a section in `repo_structure.md`, and rename from `redhat-ci` to
`PAPR` and point to the new upstream repo in `pull_requests.md`.

Closes: openshift#4078
Don't duplicate the actual image tag used in the context. Just print it
in the logs instead. That way there's no risk of it being outdated when
we bump the tag in the YAML.
@jlebon
Copy link
Member Author

jlebon commented Jun 14, 2017

@sdodson OK, dropped out the commit that bumped the alpha version. Let's see what happens.

@jlebon
Copy link
Member Author

jlebon commented Jun 14, 2017

@sdodson Looking good now. ⬇️

Maybe let's merge this and then we can open another issue to track down the regression in alpha.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.

Document redhat-ci jobs
3 participants