Skip to content

Conversation

@Ariouz
Copy link
Member

@Ariouz Ariouz commented Dec 9, 2025

As it adds a few things, detailed descriptions are located in fork's PRs.

Python unittest retagger jobs + PR checks: Ariouz#1 (Ariouz@68cff18)
Weekly retagger workflow, github exclusion tag: Ariouz#3
Auto PR on weekly retagger: Ariouz#8 merged in 3
Windows build: Ariouz#5 merged in 3

Platforms: Linux and Windows, github hosted runner for macos has too low mem to build.
This also applies all retags for linux amd64, linux aarch64, windows retagger is still running

Tests ran on PR: https://github.com/Ariouz/graalpython/actions/runs/20066056924
Weekly retagger WF: https://github.com/Ariouz/graalpython/actions/runs/20058297116: Ariouz#13

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 9, 2025
@Ariouz Ariouz force-pushed the vcalvez/github_ci branch 2 times, most recently from 49f0149 to b082c57 Compare December 10, 2025 07:52
"python-unittest-cpython": cpygate + platform_spec(no_jobs) + platform_spec({
"linux:amd64:jdk-latest" : tier1,
}),
"python-unittest-retagger": ut_retagger + platform_spec(no_jobs) + platform_spec({
Copy link
Member

Choose a reason for hiding this comment

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

Those cannot change, they must stay weekly here. I suppose we need to allow weekly when generating the matrix and treat them as after the tiered jobs. I guess then the tier2 -> tier1 change for python-svm-build could also go away

Copy link
Member Author

@Ariouz Ariouz Dec 10, 2025

Choose a reason for hiding this comment

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

Fixed, i set weekly jobs as tier1 in extract-matrix.py

Copy link
Member

Choose a reason for hiding this comment

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

Please rebase the branch on master, we shouldn't change anything under ci/graal

Copy link
Member Author

@Ariouz Ariouz Dec 10, 2025

Choose a reason for hiding this comment

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

Fixed except for common.json, the build fails if jvmci version doesn't match the one that mx downloads

windows: {
common: {
PATH: "$MAVEN_HOME\\bin;$PATH",
PATH: "$MAVEN_HOME\\bin;$PATH;C:\\hostedtoolcache\\windows\\Python\\3.12.3\\x64\\Scripts;C:\\hostedtoolcache\\windows\\Python\\3.12.3\\x64;C:\\Program Files\\PowerShell\\7;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\usr\\bin;C:\\hostedtoolcache\\windows\\Ruby\\3.2.3\\x64\\bin;C:\\hostedtoolcache\\windows\\Go\\1.22.2\\x64\\bin;C:\\hostedtoolcache\\windows\\Node\\20.11.1\\x64\\;C:\\npm\\prefix;C:\\Program Files\\Amazon\\AWSCLIV2\\;C:\\Program Files\\Amazon\\SessionManagerPlugin\\bin\\;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\OpenSSL\\bin;C:\\msys64\\usr\\bin;C:\\hostedtoolcache\\windows\\php\\8.2.15\\x64;C:\\Program Files\\Azure DevOps CLI\\bin;C:\\hostedtoolcache\\windows\\R\\4.3.3\\x64\\bin;C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\IDE\\Extensions\\Microsoft\\NuGet;",
Copy link
Member

Choose a reason for hiding this comment

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

That seems like a hack, why is it needed?

Copy link
Member Author

@Ariouz Ariouz Dec 10, 2025

Choose a reason for hiding this comment

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

Looks like PATH isn't expanded and is set to PATH=$PATH as 'text'
Got issues such as tar, git, mvn not found

edit: PATH=$PATH comes from the common env a few lines before

local artifact_name = name + os + arch,
setup+: [
["unpack-artifact", artifact_name],
[".github/scripts/unpack-artifact", artifact_name],
Copy link
Member

Choose a reason for hiding this comment

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

these paths shouldn't change, .github/scripts should just be on the PATH in our github jobs

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Member

Choose a reason for hiding this comment

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

The changes in this file look ok to me, but I'll defer to @msimacek for a proper review of this

Copy link
Member

Choose a reason for hiding this comment

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

Looks like our current retagger merge script sorts the platforms differently. Can you work with @msimacek to make sure we don't get into a merge war while we still run the retagger for some platforms (darwin) internally only?

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 think i know why the sorted output is different, i'll fix it

Ariouz and others added 26 commits December 10, 2025 16:05
Signed-off-by: Ariouz <virgil.calvez@gmail.com>
This fixes: python-unittest-standalone by downloading and exporting GRADLE_JAVA_HOME
NOTE: This only works on linux at this time, other platforms will follow

WIP: Download Links depending on platform
Todo: Build link using self.runs_on
Default PATH seems to not be evaluated even in defined in jsonnet file, manually set
@Ariouz
Copy link
Member Author

Ariouz commented Dec 10, 2025

note: Had to force push to rebase from master

List of fixed requested changes: Ariouz#14 Ariouz#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants