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

Jenkins is broken / Deal with Centos Deprecation #3272

Open
cdietrich opened this issue Nov 29, 2024 · 29 comments
Open

Jenkins is broken / Deal with Centos Deprecation #3272

cdietrich opened this issue Nov 29, 2024 · 29 comments

Comments

@cdietrich
Copy link
Contributor

https://ci.eclipse.org/xtext/job/xtext/job/main/1678/console

@cdietrich
Copy link
Contributor Author

@cdietrich
Copy link
Contributor Author

@cdietrich
Copy link
Contributor Author

we might also need a replacement for
https://github.com/eclipse-xtext/xtext-website/blob/main/Jenkinsfile
:(

or have something different how we generate the page

@LorenzoBettini
Copy link
Contributor

I hope they'll provide help dealing with such breaking changes...

@cdietrich
Copy link
Contributor Author

We put a workaround in place that the current configurations still work with the deprecated centos-8-6b name, but this should be changed to ubuntu-2404-6gb in all build configurations (where applicable). As mentioned in the cross-project's mailing list post, please fix any references to outdated CentOS images and point to the Ubuntu images instead.

@LorenzoBettini
Copy link
Contributor

@cdietrich I see this 97afd7f but you forgot to add -6gb. I'll try that

@LorenzoBettini
Copy link
Contributor

@cdietrich with my additional commit db19ce2 the build has started:

https://ci.eclipse.org/xtext/job/xtext/job/cd-try-ubuntu-2024/2/console

@cdietrich
Copy link
Contributor Author

I assume we need different ones for different jobs eg in xtext and mwe

@LorenzoBettini
Copy link
Contributor

but it immediately failed :'(

Maybe Xvnc is not there?

@LorenzoBettini
Copy link
Contributor

I'm also scared by:

+ echo 'Available memory: 512M'
Available memory: 512M

@cdietrich
Copy link
Contributor Author

cdietrich commented Nov 29, 2024

This is why I really hope for a migration guide by @eclipse-xtext/eclipsefdn-releng

@LorenzoBettini
Copy link
Contributor

However, I see this is working https://ci.eclipse.org/xtext/job/xtext/job/main/1686/consoleFull

Started by user [Frederic Gurr](https://ci.eclipse.org/xtext/user/[email protected])

so maybe they fixed upstream?

@LorenzoBettini
Copy link
Contributor

Also this one https://ci.eclipse.org/xtext/job/xtext/job/cd-more-scms/2/console is running fine

@LorenzoBettini
Copy link
Contributor

However, jobs in Jenkins don't seem to start automatically anymore; I mean after something is pushed on GitHub...

@cdietrich
Copy link
Contributor Author

maybe this is still related to the move?
@eclipse-xtext/eclipsefdn-releng do you have an idea?

@fredg02
Copy link

fredg02 commented Nov 29, 2024

Maybe, but I have to fix other things before looking into this particular problem.

@fredg02
Copy link

fredg02 commented Nov 29, 2024

https://ci.eclipse.org/xtext/job/xtext/ was still referencing the old GitHub repo at https://github.com/eclipse/xtext. I fixed that for this build. You will need to adjust this for any other job that points to the old repo URLs.

Furthermore, in the new GH org, the webhook was missing. That's fixed as well. So builds for the xtext multi-branch job should get triggered again.

@cdietrich
Copy link
Contributor Author

Is there a better way of fixing this besides stepping through all jobs manually

@fredg02
Copy link

fredg02 commented Nov 29, 2024

Everything can be automated, it's just software, right? :)

It depends on your setup/project structure. You could create a new item called "Organization Folder" to automatically scan for Multibranch pipeline builds in all repos of your GH org. In that case, you only have to set the org once.

If you use a different build structure, most likely, going through all jobs manually is the only way. Since we are not planning to move repos to a different GH org anytime soon, this should be a one-time thing.

You could use this as an opportunity to clean up or remove old jobs (some of them have not been run in years). Committers and release engineers will appreciate it.

@cdietrich
Copy link
Contributor Author

cdietrich commented Nov 29, 2024

so you have an idea whats the problem with
https://ci.eclipse.org/xtext/job/releng/job/website-deploy/1113/console

maybe just waiting works

@cdietrich
Copy link
Contributor Author

https://ci.eclipse.org/xtext/job/lsp4j/3892/console
also seems to have problems

@fredg02
Copy link

fredg02 commented Nov 29, 2024

so you have an idea whats the problem with https://ci.eclipse.org/xtext/job/releng/job/website-deploy/1113/console

maybe just waiting works

See eclipse-xtext/xtext-website#74

@cdietrich
Copy link
Contributor Author

thx @fredg02

@cdietrich cdietrich changed the title Jenkins is broken Jenkins is broken / Deal with Centos Deprecation Nov 30, 2024
@cdietrich
Copy link
Contributor Author

./xtext/releng/jenkins/cleanup-project-storage/Jenkinsfile:      inheritFrom 'centos-8'
./xtext/releng/jenkins/check-versions/Jenkinsfile:      inheritFrom 'centos-8' // this job is dead. propose to drop the script
./xtext/Jenkinsfile:      inheritFrom 'centos-8-6gb'

@cdietrich
Copy link
Contributor Author

https://ci.eclipse.org/xtext/job/xtext-monorepo-full-deploy-nightly/412/

oomed

@fredg02 is this due to the agent any?
@LorenzoBettini do you know why we dont do a inheritfrom there?

@fredg02
Copy link

fredg02 commented Nov 30, 2024

Build #411 was successful with agent any 4 hours ago, so I don't see a connection.

@LorenzoBettini
Copy link
Contributor

https://ci.eclipse.org/xtext/job/xtext-monorepo-full-deploy-nightly/412/

oomed

@fredg02 is this due to the agent any? @LorenzoBettini do you know why we dont do a inheritfrom there?

I think it was done like that before the repo merge.

It says 4gb memory and I think that should be enough if we don't run tests.

Maybe just a hiccup?

@cdietrich
Copy link
Contributor Author

maybe we also need to switch to newer maven war plugin.

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

3 participants