Skip to content

{tools,lib}[system/system,GCCcore/13.3.0] slirp4netns v1.3.3, Twisted v25.5.0#24625

Merged
smoors merged 14 commits intoeasybuilders:developfrom
bedroesb:add-twisted-slirp4netns
Nov 22, 2025
Merged

{tools,lib}[system/system,GCCcore/13.3.0] slirp4netns v1.3.3, Twisted v25.5.0#24625
smoors merged 14 commits intoeasybuilders:developfrom
bedroesb:add-twisted-slirp4netns

Conversation

@bedroesb
Copy link
Copy Markdown
Contributor

Open OnDemand apps that do not have any authentication method can make use of slirp4nets and Twisted to authenticate against a private network namespace as demonstrated in the example:

https://github.com/OSC/bc_osc_tensorboard

These modules would take away the need to install these dependencies on all workernodes.

I have tested and used the proposed recipes on our cluster for this specific tensorboard example.

@github-actions github-actions Bot added 2024a issues & PRs related to 2024a common toolchains new labels Nov 19, 2025
@bedroesb bedroesb changed the title {tools,lib}[system/system,GCCcore/13.3.0] slirp4netns v1.3.3, twisted v25.5.0 {tools,lib}[system/system,GCCcore/13.3.0] slirp4netns v1.3.3, Twisted v25.5.0 Nov 19, 2025
@bedroesb
Copy link
Copy Markdown
Contributor Author

Hmm when I remove use_pip = True as suggetsed by the GitHub Actions I get:

== 2025-11-19 10:08:25,485 run.py:247 INFO running cmd:  /mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python setup.py build  
== 2025-11-19 10:08:25,537 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:126 in __init__): cmd " /mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python setup.py build " exited with exit code 2 and output:
/mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python: can't open file '/data/groups/technologies/data.core/bert.droesbeke/easybuild/build/Twisted/25.5.0/GCCcore-13.3.0/twisted-25.5.0/setup.py': [Errno 2] No such file or directory
 (at easybuild/tools/run.py:682 in parse_cmd_output)
== 2025-11-19 10:08:25,537 filetools.py:2013 INFO Removing lock /data/groups/technologies/data.core/bert.droesbeke/easybuild/software/.locks/_data_groups_technologies_data.core_bert.droesbeke_easybuild_software_Twisted_25.5.0-GCCcore-13.3.0.lock...
== 2025-11-19 10:08:25,545 filetools.py:383 INFO Path /data/groups/technologies/data.core/bert.droesbeke/easybuild/software/.locks/_data_groups_technologies_data.core_bert.droesbeke_easybuild_software_Twisted_25.5.0-GCCcore-13.3.0.lock successfully removed.
== 2025-11-19 10:08:25,548 filetools.py:2017 INFO Lock removed: /data/groups/technologies/data.core/bert.droesbeke/easybuild/software/.locks/_data_groups_technologies_data.core_bert.droesbeke_easybuild_software_Twisted_25.5.0-GCCcore-13.3.0.lock
== 2025-11-19 10:08:25,551 easyblock.py:4291 WARNING build failed (first 300 chars): cmd " /mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python setup.py build " exited with exit code 2 and output:
/mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python: can't open file '/data/groups/technologies/data.core/bert.droesbeke/easybuild/build/Twisted/25.5

Any suggestions?

Copy link
Copy Markdown
Member

@branfosj branfosj left a comment

Choose a reason for hiding this comment

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

Can you try these changes and see if they fix the issue.

Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb Outdated
Comment thread easybuild/easyconfigs/t/Twisted/Twisted-25.5.0-GCCcore-13.3.0.eb
@bedroesb
Copy link
Copy Markdown
Contributor Author

@branfosj Thank you for your swift review!

Locally I get:

== 2025-11-19 10:50:59,964 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:126 in __init__): cmd " /mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python setup.py build " exited with exit code 2 and output:
/mnt/modules/easybuild/software/Python/3.12.3-GCCcore-13.3.0/bin/python: can't open file '/data/groups/technologies/data.core/bert.droesbeke/easybuild/build/Twisted/25.5.0/GCCcore-13.3.0/incremental/incremental-24.7.1/setup.py': [Errno 2] No such file or directory
 (at easybuild/tools/run.py:682 in parse_cmd_output)
 

@branfosj
Copy link
Copy Markdown
Member

Test report by @branfosj
SUCCESS
Build succeeded for 2 out of 2 (total: 52 secs) (2 easyconfigs in total)
bear-pg0210u03a - Linux RHEL 8.10, x86_64, Intel(R) Xeon(R) Platinum 8480CL (sapphirerapids), Python 3.6.8
See https://gist.github.com/branfosj/a1c3d03303c5a6c626d6c7fbebbe4d90 for a full test report.

@bedroesb
Copy link
Copy Markdown
Contributor Author

I realise now that we are on our cluster using EasyBuild 4.9.1 (framework: 4.9.1, easyblocks: 4.9.1) so a comparison with GitHub Action is difficult.

@bedroesb
Copy link
Copy Markdown
Contributor Author

@branfosj with the latest version of easybuild, the latest commit works for me locally 🤔

@bedroesb
Copy link
Copy Markdown
Contributor Author

bedroesb commented Nov 19, 2025

Found the problem! and I think it is solved :)

@bedroesb
Copy link
Copy Markdown
Contributor Author

@branfosj anything else I can do to help ?

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Nov 22, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@smoors: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24625 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24625 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8879

Test results coming soon (I hope)...

Details

- notification for comment with ID 3565960576 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 2 out of 2 (total: 2 mins 59 secs) (2 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/5fe3f8e3572b41c7fce92db5eb42c218 for a full test report.

@smoors smoors added this to the next release (5.2.0?) milestone Nov 22, 2025
Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

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

lgtm

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Nov 22, 2025

Going in, thanks @bedroesb!

@smoors smoors merged commit 2a29498 into easybuilders:develop Nov 22, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants