Giter VIP home page Giter VIP logo

Comments (25)

jpeeler avatar jpeeler commented on July 23, 2024 1

Great, thanks for the retest. It merged, so all must be well.

from aos-cd-jobs.

stevekuznetsov avatar stevekuznetsov commented on July 23, 2024

/cc @sdodson

Does the tag exist in the repo itself? Or is this an AMI thing? Is the tag present in some other branch?

from aos-cd-jobs.

jpeeler avatar jpeeler commented on July 23, 2024

The tag was created yesterday - https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.9.31-1

from aos-cd-jobs.

sdodson avatar sdodson commented on July 23, 2024

@kwoodson what's up with that tag? We need to use tito so that the specfile gets bumped at the same time as tag creation.

I just tagged 3.9.32-1 to clean this up.

from aos-cd-jobs.

sdodson avatar sdodson commented on July 23, 2024

Did this to force 3.9.32, but normally you don't need to specify the version.

tito tag --use-version=3.9.32
Tagging new version of openshift-ansible: 3.9.30-1 -> 3.9.32-1

Created tag: openshift-ansible-3.9.32-1
   View: git show HEAD
   Undo: tito tag -u
   Push: git push origin && git push origin openshift-ansible-3.9.32-1

from aos-cd-jobs.

kwoodson avatar kwoodson commented on July 23, 2024

@sdodson I didn't do anything out of the ordinary. How do those tags get created? I merged a pr for Azure.

from aos-cd-jobs.

jpeeler avatar jpeeler commented on July 23, 2024

This has fixed the problem, thanks!

from aos-cd-jobs.

sdodson avatar sdodson commented on July 23, 2024

@jupierce I think something is going on with tagging, these tags all tag just a random commit with no corresponding specfile version bump is that expected? This causes the origin ci processes to attempt a local tag that points at a version that may already exist.

https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.9.31-1
https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.10.0-0.67.0
https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.10.0-0.66.0
https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.10.0-0.65.0

Where as this one looks as expected
https://github.com/openshift/openshift-ansible/releases/tag/openshift-ansible-3.10.0-0.64.0

I'd initially thought that @kwoodson tagged something randomly but seeing that one of the bad tags references a commit I made and I don't recall creating it I think the CI jobs must be doing something weird.

from aos-cd-jobs.

jupierce avatar jupierce commented on July 23, 2024

@sdodson CD was working on moving openshift-ansible to be a "normal" RPM (just like other components). Other components don't get their spec file incremented right now.

@tbielawa @adammhaile @markllama - This is resulting from new oit based openshift-ansible RPM build. oit will need to update the spec file for this component in order to not break CI.

from aos-cd-jobs.

sdodson avatar sdodson commented on July 23, 2024

s/normal/abnormal/ FTFY
The fact that we're producing builds with versions and tags that aren't reflected in the specfile is an aberration that only OpenShift has.

@stevekuznetsov I guess one way we could resolve this is to force CI jobs to generate some tag that is never going to conflict like 3.10.0-90000

from aos-cd-jobs.

markllama avatar markllama commented on July 23, 2024

@sdodson I think per @jupierce this is a regression introduced when we switched the openshift-ansible RPM build from custom code in Groovy to use the OIT rpms:build task. I'll look back at the refactored code and see If I can find what logic did this correctly before.

from aos-cd-jobs.

stevekuznetsov avatar stevekuznetsov commented on July 23, 2024

@sdodson sure, we could make that tag. IIRC it's just in the tito call in the job

from aos-cd-jobs.

markllama avatar markllama commented on July 23, 2024

PR: https://github.com/openshift/aos-cd-jobs/pull/1461/files

from aos-cd-jobs.

markllama avatar markllama commented on July 23, 2024

PR merged. Need confirmation.

from aos-cd-jobs.

tbielawa avatar tbielawa commented on July 23, 2024

@stevekuznetsov @sdodson close this out if you decide the fix did the 👍 needful

from aos-cd-jobs.

jpeeler avatar jpeeler commented on July 23, 2024

It did not, it has broken things again.

from aos-cd-jobs.

sdodson avatar sdodson commented on July 23, 2024

@tbielawa
It looks like setting the release strips the '.el7' from the RPM Release. The build/tag step produces openshift-ansible-3.10.1-9999.git.0.3c903c2 but the install wants openshift-ansible-3.10.1-9999.git.0.3c903c2.el7

from aos-cd-jobs.

jupierce avatar jupierce commented on July 23, 2024

@sdodson Updated with #1462

from aos-cd-jobs.

jpeeler avatar jpeeler commented on July 23, 2024

It's still failing - https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_install/12241/consoleFull#198243902558b6e51eb7608a5981914356

from aos-cd-jobs.

jupierce avatar jupierce commented on July 23, 2024

@jpeeler Can't explain why the original push didn't work, but I pushed this time, checked that the job was corrected and it is getting further now: https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_install/12242/consoleFull

from aos-cd-jobs.

tbielawa avatar tbielawa commented on July 23, 2024

Alright then folks, is there general consensus now that this is working? Nobody seeing anything "wrong" or mistagged or generally 😕 ? Ready to close this issue out?

@stevekuznetsov @sdodson @jpeeler

from aos-cd-jobs.

markllama avatar markllama commented on July 23, 2024

jpeeler's tests and several initiated by @jupierce overnight ran to completion, built and used the openshift-ansible package. The fix was to force a tag during the test build that had previously been forced during oit.

from aos-cd-jobs.

markllama avatar markllama commented on July 23, 2024

@jpeeler can you verify?

from aos-cd-jobs.

jpeeler avatar jpeeler commented on July 23, 2024

Yes, I'm not seeing any issues related to the tagging any more.

from aos-cd-jobs.

stevekuznetsov avatar stevekuznetsov commented on July 23, 2024

/close

from aos-cd-jobs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.