René's URL Explorer Experiment


Title: Non-zero error code 9 of `groupadd` command inside `GitBugJavaCli.__setup_base_image()` during build · Issue #18 · gitbugactions/gitbug-java · GitHub

Open Graph Title: Non-zero error code 9 of `groupadd` command inside `GitBugJavaCli.__setup_base_image()` during build · Issue #18 · gitbugactions/gitbug-java

X Title: Non-zero error code 9 of `groupadd` command inside `GitBugJavaCli.__setup_base_image()` during build · Issue #18 · gitbugactions/gitbug-java

Description: Description of the problem I am trying to run the setup command of the package, i.e. run the following (executing on a virtual machine): # not 'gitbug-java setup' because in the VM the elevated privileges of sudo required sudo ./venv/bin...

Open Graph Description: Description of the problem I am trying to run the setup command of the package, i.e. run the following (executing on a virtual machine): # not 'gitbug-java setup' because in the VM the elevated pri...

X Description: Description of the problem I am trying to run the setup command of the package, i.e. run the following (executing on a virtual machine): # not 'gitbug-java setup' because in the VM the elev...

Opengraph URL: https://github.com/gitbugactions/gitbug-java/issues/18

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Non-zero error code 9 of `groupadd` command inside `GitBugJavaCli.__setup_base_image()` during build","articleBody":"## Description of the problem\r\nI am trying to run the `setup` command of the package, i.e. run the following (executing on a virtual machine):\r\n```bash\r\n# not 'gitbug-java setup' because in the VM the elevated privileges of sudo required\r\nsudo ./venv/bin/python gitbug-java setup\r\n``` \r\nBut after downloading of the docker image the execution fails with following stack trace:\r\n```\r\n(venv) ubuntu@ip-172-31-14-68:~/projects/gitbug-java$ sudo ./venv/bin/python gitbug-java setup\r\nTraceback (most recent call last):\r\n  File \"/home/ubuntu/projects/gitbug-java/gitbug-java\", line 206, in \u003cmodule\u003e\r\n    sys.exit(main())\r\n             ^^^^^^\r\n  File \"/home/ubuntu/projects/gitbug-java/gitbug-java\", line 202, in main\r\n    fire.Fire(GitBugJavaCli)\r\n  File \"/home/ubuntu/projects/gitbug-java/venv/lib/python3.11/site-packages/fire/core.py\", line 141, in Fire\r\n    component_trace = _Fire(component, args, parsed_flag_args, context, name)\r\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/home/ubuntu/projects/gitbug-java/venv/lib/python3.11/site-packages/fire/core.py\", line 475, in _Fire\r\n    component, remaining_args = _CallAndUpdateTrace(\r\n                                ^^^^^^^^^^^^^^^^^^^^\r\n  File \"/home/ubuntu/projects/gitbug-java/venv/lib/python3.11/site-packages/fire/core.py\", line 691, in _CallAndUpdateTrace\r\n    component = fn(*varargs, **kwargs)\r\n                ^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/home/ubuntu/projects/gitbug-java/gitbug-java\", line 185, in setup\r\n    self.__setup_base_image()\r\n  File \"/home/ubuntu/projects/gitbug-java/gitbug-java\", line 68, in __setup_base_image\r\n    client.images.build(path=tmp_dir, tag=runner_image, forcerm=True)\r\n  File \"/home/ubuntu/projects/gitbug-java/venv/lib/python3.11/site-packages/docker/models/images.py\", line 285, in build\r\n    raise BuildError(chunk['error'], result_stream)\r\ndocker.errors.BuildError: The command '/bin/sh -c sudo groupadd -o -g 0 root' returned a non-zero code: 9\r\n```\r\n\r\n## Expected behavior\r\nThe setup command should run smoothly with no errors.\r\n\r\n## The environment\r\n\r\nThe exact commands I have executed prior the `gitbug-java setup`:\r\n```bash\r\n# should be an analogy to `poetry shell`\r\npython3.11 -m venv ./venv\r\n# enter virtual env\r\n. ./venv/bin/activate\r\npoetry install --no-root\r\nexport PATH=\"$(pwd):$(pwd)/bin:$PATH\"\r\nsudo ./venv/bin/python gitbug-java setup # this fails\r\n```\r\n\r\n1. Python version: `Python 3.11.0rc1`\r\n2. Docker version: `Docker version 25.0.3, build 4debf41`\r\n3. Poetry version: `Poetry (version 1.8.2)`\r\n4. System:\r\n```\r\nDistributor ID: Ubuntu\r\nDescription:    Ubuntu 22.04.3 LTS\r\nRelease:        22.04\r\nCodename:       jammy\r\n\r\nArchitecture:            x86_64\r\n  CPU op-mode(s):        32-bit, 64-bit\r\n```\r\n\r\n**The exact same error occurs for mac with the following parameters:**\r\n(For the mac I made the setup via `poetry shell`)\r\n1. Docker: `Docker version 25.0.3, build 4debf41`\r\n2. Python: `Python 3.11.8`\r\n3. Poetry: `Poetry (version 1.8.1)`\r\n4. System:\r\n```\r\nMacbook Pro 2019, Intel\r\nmacOS Sonoma, Version 14.2.1\r\n```\r\n","author":{"url":"https://github.com/Vladislav0Art","@type":"Person","name":"Vladislav0Art"},"datePublished":"2024-03-04T19:38:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/18/gitbug-java/issues/18"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:00859e76-56fe-3b7a-000d-0260c203a3fc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC1C:47EDE:E7FA97:147AAC7:6A4F544E
html-safe-noncee69f98ccf0f0c2740458b700c696ed88c21d61b35155d8452aa8b661dd1102ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzFDOjQ3RURFOkU3RkE5NzoxNDdBQUM3OjZBNEY1NDRFIiwidmlzaXRvcl9pZCI6Ijc4NTk4MzY5MzQyNDczNzE4NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac367acb7ba22930476fdf232858e8366effccde16e3dad85bb2e20e64ce14a4a5
hovercard-subject-tagissue:2167604458
github-keyboard-shortcutsrepository,issues,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitbugactions/gitbug-java/18/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c692860bd960de9e07e3ae5e9f86af0bf6c2aabfaa00da6b77c716f8371f122e/gitbugactions/gitbug-java/issues/18
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c692860bd960de9e07e3ae5e9f86af0bf6c2aabfaa00da6b77c716f8371f122e/gitbugactions/gitbug-java/issues/18
og:image:altDescription of the problem I am trying to run the setup command of the package, i.e. run the following (executing on a virtual machine): # not 'gitbug-java setup' because in the VM the elevated pri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVladislav0Art
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/gitbugactions/gitbug-java git https://github.com/gitbugactions/gitbug-java.git
octolytics-dimension-user_id148581466
octolytics-dimension-user_logingitbugactions
octolytics-dimension-repository_id728296218
octolytics-dimension-repository_nwogitbugactions/gitbug-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id728296218
octolytics-dimension-repository_network_root_nwogitbugactions/gitbug-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitbugactions/gitbug-java/issues/18#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitbugactions%2Fgitbug-java%2Fissues%2F18
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitbugactions%2Fgitbug-java%2Fissues%2F18
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gitbugactions%2Fgitbug-java
Reloadhttps://github.com/gitbugactions/gitbug-java/issues/18
Reloadhttps://github.com/gitbugactions/gitbug-java/issues/18
Reloadhttps://github.com/gitbugactions/gitbug-java/issues/18
Please reload this pagehttps://github.com/gitbugactions/gitbug-java/issues/18
gitbugactions https://github.com/gitbugactions
gitbug-javahttps://github.com/gitbugactions/gitbug-java
Notifications https://github.com/login?return_to=%2Fgitbugactions%2Fgitbug-java
Fork 10 https://github.com/login?return_to=%2Fgitbugactions%2Fgitbug-java
Star 51 https://github.com/login?return_to=%2Fgitbugactions%2Fgitbug-java
Code https://github.com/gitbugactions/gitbug-java
Issues 15 https://github.com/gitbugactions/gitbug-java/issues
Pull requests 1 https://github.com/gitbugactions/gitbug-java/pulls
Actions https://github.com/gitbugactions/gitbug-java/actions
Projects https://github.com/gitbugactions/gitbug-java/projects
Security and quality 0 https://github.com/gitbugactions/gitbug-java/security
Insights https://github.com/gitbugactions/gitbug-java/pulse
Code https://github.com/gitbugactions/gitbug-java
Issues https://github.com/gitbugactions/gitbug-java/issues
Pull requests https://github.com/gitbugactions/gitbug-java/pulls
Actions https://github.com/gitbugactions/gitbug-java/actions
Projects https://github.com/gitbugactions/gitbug-java/projects
Security and quality https://github.com/gitbugactions/gitbug-java/security
Insights https://github.com/gitbugactions/gitbug-java/pulse
Non-zero error code 9 of groupadd command inside GitBugJavaCli.__setup_base_image() during buildhttps://github.com/gitbugactions/gitbug-java/issues/18#top
https://github.com/Vladislav0Art
Vladislav0Arthttps://github.com/Vladislav0Art
on Mar 4, 2024https://github.com/gitbugactions/gitbug-java/issues/18#issue-2167604458
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.