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

Parse_Helm ERROR: Passed nil into T.must #11216

Open
nouranhamdy opened this issue Jan 3, 2025 · 1 comment
Open

Parse_Helm ERROR: Passed nil into T.must #11216

nouranhamdy opened this issue Jan 3, 2025 · 1 comment
Labels
docker Pull requests that update Docker code good first issue

Comments

@nouranhamdy
Copy link

I am having a tag as a variable in values.yaml, that seems to be evaluated to nil causing an error in runtime

image:
    ...
    tag: "{{ .Values.image.tag }}"
updater | 2025/01/03 14:06:42 ERROR <job_942655533> Passed `nil` into T.must
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/_types.rb:222:in `must'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:209:in `parse_helm'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `block in create_validator_method_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:187:in `deep_fetch_images_from_hash'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `block in create_validator_method_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:173:in `deep_fetch_images'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:[128](https://github.com/nouranhamdy1998/fn-drupal-operator/actions/runs/12598882673/job/35114671809#step:3:130)7:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:1287:in `block in create_validator_method_skip_return_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:192:in `block in deep_fetch_images_from_hash'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:192:in `each'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:192:in `flat_map'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:192:in `deep_fetch_images_from_hash'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `block in create_validator_method_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:173:in `deep_fetch_images'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:1287:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:1287:in `block in create_validator_method_skip_return_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:131:in `block in workfile_file_dependencies'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:[129](https://github.com/nouranhamdy1998/fn-drupal-operator/actions/runs/12598882673/job/35114671809#step:3:131):in `each'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:129:in `flat_map'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:129:in `workfile_file_dependencies'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation_2_7.rb:968:in `block in create_validator_method_medium1'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:83:in `block in parse'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:74:in `each'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/docker/lib/dependabot/docker/file_parser.rb:74:in `parse'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:229:in `parse_files!'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call'
2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:189:in `block in initialize'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:187:in `each'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:187:in `initialize'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:38:in `new'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/dependency_snapshot.rb:38:in `create_from_job_definition'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/update_files_command.rb:22:in `block in perform_job'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/opentelemetry-api-1.4.0/lib/opentelemetry/trace/tracer.rb:37:in `block in in_span'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/opentelemetry-api-1.4.0/lib/opentelemetry/trace.rb:70:in `block in with_span'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/opentelemetry-api-1.4.0/lib/opentelemetry/context.rb:87:in `with_value'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/opentelemetry-api-1.4.0/lib/opentelemetry/trace.rb:70:in `with_span'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/opentelemetry-api-1.4.0/lib/opentelemetry/trace/tracer.rb:37:in `in_span'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/update_files_command.rb:18:in `perform_job'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> /home/dependabot/dependabot-updater/lib/dependabot/base_command.rb:37:in `run'
updater | 2025/01/03 14:06:42 ERROR <job_942655533> bin/update_files.rb:46:in `<main>'
  proxy | 2025/01/03 14:06:42 [008] POST /update_jobs/942655533/record_update_job_unknown_error
  proxy | 2025/01/03 14:06:42 [008] 204 /update_jobs/942655533/record_update_job_unknown_error
  proxy | 2025/01/03 14:06:42 [010] POST /update_jobs/942655533/record_update_job_error
  proxy | 2025/01/03 14:06:42 [010] 204 /update_jobs/942655533/record_update_job_error
  proxy | 2025/01/03 14:06:42 [012] POST /update_jobs/942655533/record_update_job_unknown_error
  proxy | 2025/01/03 14:06:42 [012] 204 /update_jobs/942655533/record_update_job_unknown_error
  proxy | 2025/01/03 14:06:42 [014] PATCH /update_jobs/942655533/mark_as_processed
  proxy | 2025/01/03 14:06:42 [014] 204 /update_jobs/942655533/mark_as_processed

@github-actions github-actions bot added L: docker Docker containers L: elm Elm packages L: github:actions GitHub Actions L: ruby:bundler RubyGems via bundler labels Jan 3, 2025
@abdulapopoola abdulapopoola added good first issue docker Pull requests that update Docker code and removed L: ruby:bundler RubyGems via bundler L: github:actions GitHub Actions L: elm Elm packages L: docker Docker containers labels Jan 3, 2025
@nouranhamdy
Copy link
Author

@abdulapopoola any updates regarding this issue? Dependabot stopped due to the repeated error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Pull requests that update Docker code good first issue
Projects
Status: No status
Development

No branches or pull requests

2 participants