-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
i have some error for nuget package #8759
Comments
Similar issue occuers in https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation repository. Please let me know if you need more details.
|
any one fixed this issues ? |
The same issue started appearing 5 days ago for all NuGet packages hosted on our private organization GutHub NuGet repository. Public NuGet packages do not seem to be affected. From logs it seems that DependaBot lost track of which NuGet repository to use for which package. This is currently blocking DependaBot execution on .NET projects in our organization. Current failing run is attempting to fetch data for private packages from public NuGet
A week old run shows package data was fetched from private GitHub NuGet feed where the package actually lives
|
I started getting this error 5 days ago. It has nothing to do with nuget.org, the problem is entirely with private nuget(github) |
@brettfo pls help. proxy | 2024/01/15 12:34:37 proxy starting, commit: ebf3724b85167f0333b1131189a46fbdbda0c682 updater | 2024/01/15 12:35:08 INFO <job_774307557> Checking if ShopExpress.Module.ContentManagement 1.0.29 needs updating proxy | 2024/01/15 12:35:09 [057] GET https://api.nuget.org:443/v3/registration5-gz-semver2/shopexpress.module.contentmanagement/index.json proxy | 2024/01/15 12:35:09 [057] 404 https://api.nuget.org:443/v3/registration5-gz-semver2/shopexpress.module.contentmanagement/index.json updater | 2024/01/15 12:35:09 INFO <job_774307557> Latest version is updater | 2024/01/15 12:35:09 INFO <job_774307557> Requirements to unlock all updater | 2024/01/15 12:35:09 INFO <job_774307557> Requirements update strategy updater | Finding updated dependencies for ShopExpress.Module.ContentManagement. updater | 2024/01/15 12:35:09 INFO <job_774307557> Sending event 54e277eea2384832b62f1d8345865946 to Sentry proxy | 2024/01/15 12:35:09 [062] POST https://sentry.io:443/api/1451818/store/ proxy | 2024/01/15 12:35:09 [062] 200 https://sentry.io:443/api/1451818/store/ updater | 2024/01/15 12:35:09 ERROR <job_774307557> Error processing ShopExpress.Module.ContentManagement (NoMethodError) updater | 2024/01/15 12:35:09 ERROR <job_774307557> undefined method fetch' for nil:NilClass updater | updater | latest_version: preferred_resolvable_version_details.fetch(:version)&.to_s, updater | ^^^^^^ updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/nuget/lib/dependabot/nuget/update_checker.rb:47:in updated_requirements'updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/nuget/lib/dependabot/nuget/update_checker.rb:101:in updated_dependencies_after_full_unlock' updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/common/lib/dependabot/update_checkers/base.rb:61:in updated_dependencies'updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:99:in check_and_create_pull_request' updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:60:in check_and_create_pr_with_error_handling'updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in block in perform' updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in each'updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in perform' updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:64:in run'updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/update_files_command.rb:43:in perform_job' updater | 2024/01/15 12:35:09 ERROR <job_774307557> /home/dependabot/dependabot-updater/lib/dependabot/base_command.rb:53:in run'updater | 2024/01/15 12:35:09 ERROR <job_774307557> bin/update_files.rb:24:in `' updater | 2024/01/15 12:35:09 INFO <job_774307557> Finished job processing updater | 2024/01/15 12:35:09 INFO Results: updater | Dependabot encountered '3' error(s) during execution, please check the logs for more details. updater | +------------------------------------------------------+ updater | | Dependencies failed to update | updater | +--------------------------------------+---------------+ updater | | ShopExpress.Module.Sales | unknown_error | updater | | ShopExpress.Framework | unknown_error | updater | | ShopExpress.Module.ContentManagement | unknown_error | updater | +--------------------------------------+---------------+ updater | time="2024-01-15T12:35:09Z" level=info msg="task complete" container_id=job-774307557-updater exit_code=0 job_id=774307557 step=updater |
same for us, unable to fetch updated packages from our private github feed |
Any updates on this? I am having the same issue: |
We are also running into this error packages from our private github feed |
I'll also add that we are having this issue with private repos |
We are also having issues with private repos. |
Just linking for the sake of completeness, but this seems related to tinglesoftware/dependabot-azure-devops#921, which might also be affected by the same issue (at the very least the end result is the same). |
Also having the same problem for Github Nuget source. It looks like the version update job completed successfully yesterday, but failed today without any changes in the dependabot.yml file. |
Sorry about the regression; this shipped; can you please verify that it solves the challenge? |
I can confirm this fixed the issue for us with private GitHub NuGet. |
Appears to have worked for us as well (private github feed). |
finally! |
its working for us with just the .csproj updates but failing if its a combination of .csproj and packages.config |
@abdulapopoola would you like a new issue ? |
@probitdavid please kindly file a new issue and tag it with the nuget tag. Closing this issue out since the original issue has been addressed. Thanks to @brettfo for driving fixes in this space |
Is there an existing issue for this?
Package ecosystem
nuget
Package manager version
3
Language version
net6
Manifest location and content before the Dependabot update
No response
dependabot.yml content
version: 2
updates:
directory: "/"
open-pull-requests-limit: 50
allow:
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
Updated dependency
No response
What you expected to see, versus what you actually saw
updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/nuget/lib/dependabot/nuget/update_checker.rb:47:in
'updated_requirements' updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/nuget/lib/dependabot/nuget/update_checker.rb:101:in
updated_dependencies_after_full_unlock'updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/common/lib/dependabot/update_checkers/base.rb:61:in
updated_dependencies' updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:99:in
check_and_create_pull_request'updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:60:in
check_and_create_pr_with_error_handling' updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in
block in perform'updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in
each' updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater/operations/update_all_versions.rb:35:in
perform'updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:64:in
run' updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/update_files_command.rb:43:in
perform_job'updater | 2024/01/11 09:50:09 ERROR <job_773004511> /home/dependabot/dependabot-updater/lib/dependabot/base_command.rb:53:in
run' updater | 2024/01/11 09:50:09 ERROR <job_773004511> bin/update_files.rb:24:in
updater | 2024/01/11 09:50:09 INFO <job_773004511> Checking if ShopExpress.Domain 1.0.5 needs updating
updater | 2024/01/11 09:50:09 INFO <job_773004511> Ignored versions:
updater | 2024/01/11 09:50:09 INFO <job_773004511> version-update:semver-major - from .github/dependabot.yml
proxy | 2024/01/11 09:50:09 [269] GET https://api.nuget.org:443/v3/registration5-gz-semver2/shopexpress.domain/index.json
proxy | 2024/01/11 09:50:09 [269] 404 https://api.nuget.org:443/v3/registration5-gz-semver2/shopexpress.domain/index.json
updater | 2024/01/11 09:50:09 INFO <job_773004511> Latest version is
updater | 2024/01/11 09:50:09 INFO <job_773004511> Requirements to unlock all
updater | 2024/01/11 09:50:09 INFO <job_773004511> Requirements update strategy
updater | Finding updated dependencies for ShopExpress.Domain.
updater | 2024/01/11 09:50:09 INFO <job_773004511> Sending event 60df7a7d67d24da3b6f65c468b0619f6 to Sentry
proxy | 2024/01/11 09:50:09 [274] POST https://sentry.io:443/api/1451818/store/
proxy | 2024/01/11 09:50:09 [274] 200 https://sentry.io:443/api/1451818/store/
updater | 2024/01/11 09:50:10 ERROR <job_773004511> Error processing ShopExpress.Domain (NoMethodError)
updater | 2024/01/11 09:50:10 ERROR <job_773004511> undefined method
fetch' for nil:NilClass updater | updater | latest_version: preferred_resolvable_version_details.fetch(:version)&.to_s, updater | ^^^^^^ updater | 2024/01/11 09:50:10 ERROR <job_773004511> /home/dependabot/nuget/lib/dependabot/nuget/update_checker.rb:47:in
updated_requirements'Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: