SemverDialects::InvalidConstraintError: "invalid constraint '>=3.0.0alpha <=3.8.2'"
Summary
SemverDialects.version_satisfies?
fails for version ranges found in GLAD.
- It fails when the version range is
>=3.0.0alpha <=3.8.2
, and the version syntax isnpm
. -
version_satisfies?
is used in the GitLab backend to perform Continuous Vulnerability Scanning. -
>=3.0.0alpha <=3.8.2
is the affected range of an advisory published on the GitLab Advisory DB (GLAD).
This error might be triggered by CVS on SBOM changes for old advisories.
It seems less likely that the error is triggered by CVS on advisory changes since we've implemented More Version Validation (gitlab-org/security-products/gemnasium-db!27964 - merged).
Further details
The advisory containing the invalid affected range is GMS-2016-23. It's really old, and it was published long before doing Ensure that affected range of versions is valid... (#442723 - closed).
Quoting #482516 (comment 2087210514):
3.0.0alpha
is NOT a valid version according to npm, which follows Semver 2.0.0.- Raising an error for invalid versions is the correct behavior.
✅ 3.0.0alpha
is part of the affected range of an advisory. This is NOT a user input.- Advisories shouldn't contain invalid versions. We should validate the affected range while ingesting advisories into GLAD. This is covered by Ensure that affected range of versions is valid... (#442723 - closed), which has been closed.
Steps to reproduce
Example Project
What is the current bug behavior?
It raises an SemverDialects::InvalidConstraintError
with invalid constraint '>=3.0.0alpha <=3.8.2'
.
Relevant logs and/or screenshots
Production data:
PackageMetadata:
[ gprd ] production> PackageMetadata::AffectedPackage.where("affected_range like '%3.0.0alpha%'").count
=> 1
[ gprd ] production> PackageMetadata::AffectedPackage.where("affected_range like '%3.0.0alpha%'").last
=>
#<PackageMetadata::AffectedPackage:0x00007fa528fc4c50
id: 15038,
pm_advisory_id: 15150,
created_at: Wed, 19 Jul 2023 15:31:06.085051000 UTC +00:00,
updated_at: Fri, 26 Jul 2024 07:10:54.349523000 UTC +00:00,
purl_type: "npm",
package_name: "npm",
distro_version: "",
solution:
"Upgrade npm itself with `npm install npm@latest -g` and revoke your token. See provided links.",
affected_range: ">=3.0.0alpha <= 3.8.2 || <= 2.15.0",
fixed_versions: ["2.15.1", "3.8.3"],
overridden_advisory_fields: {},
versions: []>
Sbom report:
[ gprd ] production> components.select{|comp| comp.name == "npm"}
=>
[#<Gitlab::Ci::Reports::Sbom::Component:0x00007f999877e4d8
@ancestors=[],
@component_type="library",
@licenses=[],
@name="npm",
@properties=nil,
@purl=
#<Sbom::PackageUrl:0x00007f9998778038
@name="npm",
@namespace=nil,
@qualifiers=nil,
@subpath=nil,
@type="npm",
@version="10.8.2">,
@ref="pkg:npm/npm@10.8.2",
@source_package_name=nil,
@version="10.8.2">]
Kibana logs
https://log.gprd.gitlab.net/app/r/s/u8dmS
Kibana log for single event
Information
``` { "_index": "pubsub-sidekiq-inf-gprd-004666", "_id": "LIIss5EBHADpQvjPsWqt", "_version": 1, "_score": 0, "_source": { "@timestamp": "2024-09-02T14:38:55.715Z", "host": { "name": "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf" }, "type": "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf", "kubernetes": { "namespace_name": "gitlab", "pod_name": "gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt", "region": "us-east1", "zone": "us-east1-d", "host": "gke-gprd-gitlab-gke-generic-2-1015f0e2-l567", "container_name": "sidekiq", "container_image": "us-east1-docker.pkg.dev/gitlab-com-artifact-registry/images/gitlab-sidekiq-ee:17-4-202409021006-f719b5c4", "pod_ip": "10.222.29.39" }, "publish_time": "2024-09-02T14:38:55.549Z", "json": { "redis_shared_state_calls": 1, "db_embedding_replica_txn_duration_s": 0, "db_primary_duration_s": 0, "db_main_replica_count": 31, "db_ci_replica_txn_max_duration_s": 0, "meta.root_caller_id": "PUT /api/:version/jobs/:id", "db_ci_replica_cached_count": 1, "meta.artifact_size": 13118, "redis_feature_flag_duration_s": 0.015008, "retry": 25, "db_embedding_replica_count": 0, "db_ci_duration_s": 0, "db_main_replica_cached_count": 3, "db_primary_wal_count": 0, "db_replica_wal_count": 0, "db_main_duration_s": 0, "wal_location_source": "primary", "message": "Sbom::ProcessVulnerabilitiesWorker JID-82abd976ad34ec9fb5dc6420: fail: 5.131249 sec", "retried_at": "2024-09-02T14:34:11.113Z", "caught_up_replica_pick_ok": 2, "mem_total_bytes": 258150430, "meta.user": "aditya.yembuluru", "db_embedding_txn_count": 0, "completed_at": "2024-09-02T14:38:53.284Z", "created_at": "2024-09-02T14:29:57.559Z", "db_embedding_wal_cached_count": 0, "mem_mallocs": 1226662, "db_ci_replica_wal_count": 0, "db_count": 44, "db_replica_cached_count": 4, "size_limiter": "validated", "db_ci_replica_txn_count": 0, "meta.caller_id": "Sbom::IngestReportsWorker", "db_ci_wal_count": 0, "redis_read_bytes": 726, "meta.project": "dwp/apply-for-attendance-allowance/public-beta/claim-registration-lambda", "db_ci_wal_cached_count": 0, "redis_queues_metadata_read_bytes": 118, "db_main_txn_max_duration_s": 0, "shard": "catchall", "db_embedding_replica_txn_max_duration_s": 0, "db_cached_count": 4, "redis_shared_state_duration_s": 0.001654, "version": 0, "class": "Sbom::ProcessVulnerabilitiesWorker", "cpu_s": 2.49923, "exception.cause_class": "SemverDialects::IncompleteScanError", "args": [ "Sbom::SbomIngestedEvent", "{\"pipeline_id\"=>1436575896}" ], "db_main_replica_txn_count": 0, "duration_s": 5.131249, "external_http_duration_s": 0.4960042489992702, "db_replica_count": 44, "db_main_wal_count": 0, "db_main_cached_count": 0, "db_main_replica_txn_duration_s": 0, "scheduling_latency_s": 0.001072, "db_primary_txn_max_duration_s": 0, "db_replica_duration_s": 0.624, "db_primary_txn_count": 0, "exception.class": "SemverDialects::InvalidConstraintError", "redis_feature_flag_calls": 3, "meta.pipeline_id": 1436575896, "mem_bytes": 154790350, "meta.client_id": "user/10038223", "environment": "gprd", "correlation_id": "c3689417987028080481bd90123b13b9", "db_ci_replica_count": 13, "meta.remote_ip": "18.132.60.196", "job_status": "fail", "target_scheduling_latency_s": 60, "meta.user_id": 10038223, "pid": 47, "db_replica_txn_count": 0, "db_write_count": 0, "db_ci_replica_wal_cached_count": 0, "db_embedding_txn_max_duration_s": 0, "db_primary_wal_cached_count": 0, "db_main_txn_count": 0, "db_main_replica_wal_cached_count": 0, "db_embedding_count": 0, "meta.job_id": 7722005106, "db_txn_count": 0, "logtag": "F", "db_main_replica_duration_s": 0.554, "db_embedding_cached_count": 0, "db_replica_txn_max_duration_s": 0, "tier": "sv", "db_primary_cached_count": 0, "db_main_txn_duration_s": 0, "target_duration_s": 300, "db_ci_txn_count": 0, "idempotency_key": "resque:gitlab:duplicate:default:8f1174aff4280dab0c8affb9c65cdc60560b28f48194ec6646bbb37d5bd04edc", "meta.root_namespace": "dwp", "enqueued_at": "2024-09-02T14:38:48.152Z", "trace_propagation_headers": { "sentry-trace": "13543bca302146f3bedf083e6053f0a3-db863feb33f04c67", "baggage": "sentry-trace_id=13543bca302146f3bedf083e6053f0a3,sentry-environment=gprd,sentry-release=f719b5c4,sentry-public_key=dafccd342c484bf9a1d2c20f769eb9cc" }, "jid": "82abd976ad34ec9fb5dc6420", "redis_write_bytes": 558, "severity": "WARN", "db_main_count": 0, "meta.feature_category": "software_composition_analysis", "db_main_replica_txn_max_duration_s": 0, "store": "queues_shard_catchall_a", "db_embedding_replica_wal_cached_count": 0, "db_ci_cached_count": 0, "worker_data_consistency": "delayed", "db_embedding_replica_txn_count": 0, "redis_feature_flag_read_bytes": 607, "time": "2024-09-02T14:38:53.284Z", "job_size_bytes": 54, "db_ci_replica_txn_duration_s": 0, "external_http_count": 9, "db_replica_txn_duration_s": 0, "exception.backtrace": [ "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:57:in `rescue in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:23:in `parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:12:in `block (2 levels) in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `each'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `block in parse'", ":90:in `tap'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:10:in `parse'", "ee/lib/gitlab/vulnerability_scanning/dependency_scanning/affected_version_range_matcher.rb:23:in `initialize'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `new'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `block in build_matcher'", "gems/gitlab-utils/lib/gitlab/utils/strong_memoize.rb:65:in `strong_memoize_with'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:22:in `build_matcher'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:9:in `occurrence_is_affected?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:59:in `affected_occurrence?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:29:in `block (5 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `find'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `block (4 levels) in execute'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `filter_map'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `block (3 levels) in execute'", "app/models/concerns/each_batch.rb:99:in `block (2 levels) in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/scoping/default.rb:43:in `unscoped'", "app/models/concerns/each_batch.rb:99:in `block in each_batch'", "app/models/concerns/each_batch.rb:69:in `step'", "app/models/concerns/each_batch.rb:69:in `each_batch'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `block in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `each_batch'", "ee/app/services/sbom/create_vulnerabilities_service.rb:23:in `block (2 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `each_slice'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `block in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:11:in `execute'", "ee/app/workers/sbom/process_vulnerabilities_worker.rb:16:in `handle_event'", "lib/gitlab/event_store/subscriber.rb:35:in `block in perform'", "lib/gitlab/event_store/subscriber.rb:34:in `each'", "lib/gitlab/event_store/subscriber.rb:34:in `perform'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:210:in `execute_job'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:180:in `block (4 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "ee/lib/gitlab/sidekiq_middleware/set_session/server.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/skip_jobs.rb:51:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/database/load_balancing/sidekiq_server_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executed.rb:17:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb:44:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/concurrency_limit/middleware.rb:32:in `perform'", "lib/gitlab/sidekiq_middleware/concurrency_limit/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/click_house/migration_support/sidekiq_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/pause_control/strategies/base.rb:31:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/strategy_handler.rb:22:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/worker_context.rb:9:in `wrap_in_optional_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:19:in `block in call'", "lib/gitlab/application_context.rb:159:in `block in use'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "lib/gitlab/application_context.rb:159:in `use'", "lib/gitlab/application_context.rb:88:in `with_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:17:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_versioning/middleware.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `block in call'", "lib/gitlab/database/query_analyzer.rb:40:in `within'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/admin_mode/server.rb:14:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/set_ip_address.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/instrumentation_logger.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/extra_done_log_metadata.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:111:in `block in call'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `block in instrument'", "lib/gitlab/metrics/background_transaction.rb:33:in `run'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `instrument'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:110:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:8:in `block in call'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:66:in `enabling_request_store'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:59:in `ensure_request_store'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:21:in `block in call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:16:in `block in call'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:20:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/monitor.rb:10:in `block in call'", "lib/gitlab/sidekiq_daemon/monitor.rb:46:in `within_job'", "lib/gitlab/sidekiq_middleware/monitor.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:10:in `block in call'", "lib/gitlab/sidekiq_sharding/validator.rb:42:in `enabled'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/size_limiter/server.rb:13:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "marginalia (1.11.1) lib/marginalia/sidekiq_instrumentation.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "sentry-sidekiq (5.19.0) lib/sentry/sidekiq/sentry_context_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:26:in `track'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:126:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:179:in `block (3 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:140:in `block (6 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:113:in `local'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:139:in `block (5 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:16:in `block in call'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:72:in `block in wrap'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:71:in `wrap'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:135:in `block (4 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:271:in `stats'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:130:in `block (3 levels) in dispatch'", "lib/gitlab/sidekiq_logging/structured_logger.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:129:in `block (2 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:80:in `global'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:128:in `block in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_logger.rb:39:in `prepare'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:127:in `dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:178:in `block (2 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `block in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:82:in `process_one'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:72:in `run'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:10:in `watchdog'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:19:in `block in safe_thread'" ], "db_ci_replica_duration_s": 0.07, "db_main_wal_cached_count": 0, "redis_feature_flag_write_bytes": 230, "exception.message": "invalid constraint '>=3.0.0alpha <=3.8.2'", "mem_objects": 2584002, "db_replica_wal_cached_count": 0, "type": "sidekiq", "redis_calls": 6, "db_embedding_wal_count": 0, "db_ci_count": 0, "rate_limiting_gates": [], "stage": "main", "queue": "default", "redis_queues_metadata_calls": 2, "worker_id": "sidekiq_0", "meta.sidekiq_destination_shard_redis": "queues_shard_catchall_a", "db_primary_count": 0, "load_balancing_strategy": "replica_retried", "db_ci_txn_duration_s": 0, "db_primary_txn_duration_s": 0, "db_ci_txn_max_duration_s": 0, "db_embedding_replica_wal_count": 0, "db_duration_s": 0.688282, "db_embedding_txn_duration_s": 0, "db_embedding_replica_duration_s": 0, "retry_count": 4, "db_embedding_duration_s": 0, "redis_duration_s": 0.028568, "redis_queues_metadata_write_bytes": 246, "redis_shared_state_read_bytes": 1, "urgency": "low", "redis_queues_metadata_duration_s": 0.011906, "db_main_replica_wal_count": 0, "redis_shared_state_write_bytes": 82, "wal_locations": { "main": "11024F/F7090A20", "ci": "C21E6/BDD441E0" }, "tag": "gitlab-sidekiq-catchall.var.log.containers.gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt_gitlab_sidekiq-a996b8f5b712c2efde655ba509d71d10b75b91a58c80d1c7ff6aefecef3b1130.log", "db_embedding_replica_cached_count": 0 } }, "fields": { "json.idempotency_key": [ "resque:gitlab:duplicate:default:8f1174aff4280dab0c8affb9c65cdc60560b28f48194ec6646bbb37d5bd04edc" ], "json.db_replica_wal_cached_count": [ 0 ], "host.name.keyword": [ "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf" ], "json.db_primary_cached_count": [ 0 ], "json.db_replica_count": [ 44 ], "json.db_primary_txn_count": [ 0 ], "json.db_embedding_duration_s": [ 0 ], "json.db_main_wal_count": [ 0 ], "json.logtag.keyword": [ "F" ], "json.exception.class.keyword": [ "SemverDialects::InvalidConstraintError" ], "json.db_embedding_replica_count": [ 0 ], "json.db_embedding_replica_txn_max_duration_s": [ 0 ], "json.target_duration_s": [ 300 ], "json.meta.caller_id": [ "Sbom::IngestReportsWorker" ], "json.external_http_duration_s": [ 0.49600425 ], "json.class": [ "Sbom::ProcessVulnerabilitiesWorker" ], "json.external_http_count": [ 9 ], "json.meta.root_namespace.keyword": [ "dwp" ], "json.db_ci_replica_txn_count": [ 0 ], "json.db_embedding_replica_txn_duration_s": [ 0 ], "json.exception.message.keyword": [ "invalid constraint '>=3.0.0alpha <=3.8.2'" ], "json.db_ci_replica_count": [ 13 ], "json.db_replica_cached_count": [ 4 ], "json.db_main_replica_txn_count": [ 0 ], "json.environment": [ "gprd" ], "json.meta.artifact_size": [ 13118 ], "json.redis_feature_flag_read_bytes": [ 607 ], "json.size_limiter.keyword": [ "validated" ], "json.db_embedding_wal_count": [ 0 ], "kubernetes.pod_ip": [ "10.222.29.39" ], "json.db_embedding_replica_wal_count": [ 0 ], "json.type": [ "sidekiq" ], "json.meta.feature_category": [ "software_composition_analysis" ], "json.trace_propagation_headers.baggage.keyword": [ "sentry-trace_id=13543bca302146f3bedf083e6053f0a3,sentry-environment=gprd,sentry-release=f719b5c4,sentry-public_key=dafccd342c484bf9a1d2c20f769eb9cc" ], "json.db_embedding_txn_max_duration_s": [ 0 ], "json.redis_shared_state_read_bytes": [ 1 ], "json.worker_id.keyword": [ "sidekiq_0" ], "json.duration_s": [ 5.131249 ], "json.queue.keyword": [ "default" ], "json.db_primary_txn_max_duration_s": [ 0 ], "kubernetes.namespace_name.keyword": [ "gitlab" ], "json.wal_location_source": [ "primary" ], "json.db_ci_txn_avg_duration_s": [ 0 ], "json.db_main_replica_txn_duration_s": [ 0 ], "json.store.keyword": [ "queues_shard_catchall_a" ], "json.redis_shared_state_write_bytes": [ 82 ], "json.wal_locations.main.keyword": [ "11024F/F7090A20" ], "json.worker_id": [ "sidekiq_0" ], "json.db_ci_duration_s": [ 0 ], "kubernetes.pod_name": [ "gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt" ], "json.idempotency_key.keyword": [ "resque:gitlab:duplicate:default:8f1174aff4280dab0c8affb9c65cdc60560b28f48194ec6646bbb37d5bd04edc" ], "json.job_size_bytes": [ 54 ], "json.db_replica_duration_s": [ 0.624 ], "json.db_main_count": [ 0 ], "json.caught_up_replica_pick_ok": [ 2 ], "json.completed_at": [ "2024-09-02T14:38:53.284Z" ], "json.scheduling_latency_s": [ 0.001072 ], "json.db_embedding_replica_cached_count": [ 0 ], "json.meta.project": [ "dwp/apply-for-attendance-allowance/public-beta/claim-registration-lambda" ], "json.enqueued_at": [ "2024-09-02T14:38:48.152Z" ], "kubernetes.container_image.keyword": [ "us-east1-docker.pkg.dev/gitlab-com-artifact-registry/images/gitlab-sidekiq-ee:17-4-202409021006-f719b5c4" ], "json.db_primary_txn_duration_s": [ 0 ], "json.trace_propagation_headers.sentry-trace.keyword": [ "13543bca302146f3bedf083e6053f0a3-db863feb33f04c67" ], "type.keyword": [ "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf" ], "json.args": [ "Sbom::SbomIngestedEvent", "{\"pipeline_id\"=>1436575896}" ], "json.db_cached_count": [ 4 ], "json.db_embedding_txn_duration_s": [ 0 ], "kubernetes.container_image": [ "us-east1-docker.pkg.dev/gitlab-com-artifact-registry/images/gitlab-sidekiq-ee:17-4-202409021006-f719b5c4" ], "json.db_embedding_count": [ 0 ], "json.db_ci_wal_cached_count": [ 0 ], "kubernetes.host.keyword": [ "gke-gprd-gitlab-gke-generic-2-1015f0e2-l567" ], "json.tier.keyword": [ "sv" ], "json.redis_queues_metadata_write_bytes": [ 246 ], "json.db_main_txn_max_duration_s": [ 0 ], "kubernetes.container_name.keyword": [ "sidekiq" ], "json.exception.backtrace.keyword": [ "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:57:in `rescue in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:23:in `parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:12:in `block (2 levels) in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `each'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `block in parse'", ":90:in `tap'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:10:in `parse'", "ee/lib/gitlab/vulnerability_scanning/dependency_scanning/affected_version_range_matcher.rb:23:in `initialize'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `new'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `block in build_matcher'", "gems/gitlab-utils/lib/gitlab/utils/strong_memoize.rb:65:in `strong_memoize_with'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:22:in `build_matcher'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:9:in `occurrence_is_affected?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:59:in `affected_occurrence?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:29:in `block (5 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `find'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `block (4 levels) in execute'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `filter_map'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `block (3 levels) in execute'", "app/models/concerns/each_batch.rb:99:in `block (2 levels) in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/scoping/default.rb:43:in `unscoped'", "app/models/concerns/each_batch.rb:99:in `block in each_batch'", "app/models/concerns/each_batch.rb:69:in `step'", "app/models/concerns/each_batch.rb:69:in `each_batch'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `block in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `each_batch'", "ee/app/services/sbom/create_vulnerabilities_service.rb:23:in `block (2 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `each_slice'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `block in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:11:in `execute'", "ee/app/workers/sbom/process_vulnerabilities_worker.rb:16:in `handle_event'", "lib/gitlab/event_store/subscriber.rb:35:in `block in perform'", "lib/gitlab/event_store/subscriber.rb:34:in `each'", "lib/gitlab/event_store/subscriber.rb:34:in `perform'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:210:in `execute_job'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:180:in `block (4 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "ee/lib/gitlab/sidekiq_middleware/set_session/server.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/skip_jobs.rb:51:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/database/load_balancing/sidekiq_server_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executed.rb:17:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb:44:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/concurrency_limit/middleware.rb:32:in `perform'", "lib/gitlab/sidekiq_middleware/concurrency_limit/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/click_house/migration_support/sidekiq_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/pause_control/strategies/base.rb:31:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/strategy_handler.rb:22:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/worker_context.rb:9:in `wrap_in_optional_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:19:in `block in call'", "lib/gitlab/application_context.rb:159:in `block in use'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "lib/gitlab/application_context.rb:159:in `use'", "lib/gitlab/application_context.rb:88:in `with_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:17:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_versioning/middleware.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `block in call'", "lib/gitlab/database/query_analyzer.rb:40:in `within'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/admin_mode/server.rb:14:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/set_ip_address.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/instrumentation_logger.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/extra_done_log_metadata.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:111:in `block in call'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `block in instrument'", "lib/gitlab/metrics/background_transaction.rb:33:in `run'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `instrument'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:110:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:8:in `block in call'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:66:in `enabling_request_store'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:59:in `ensure_request_store'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:21:in `block in call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:16:in `block in call'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:20:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/monitor.rb:10:in `block in call'", "lib/gitlab/sidekiq_daemon/monitor.rb:46:in `within_job'", "lib/gitlab/sidekiq_middleware/monitor.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:10:in `block in call'", "lib/gitlab/sidekiq_sharding/validator.rb:42:in `enabled'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/size_limiter/server.rb:13:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "marginalia (1.11.1) lib/marginalia/sidekiq_instrumentation.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "sentry-sidekiq (5.19.0) lib/sentry/sidekiq/sentry_context_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:26:in `track'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:126:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:179:in `block (3 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:140:in `block (6 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:113:in `local'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:139:in `block (5 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:16:in `block in call'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:72:in `block in wrap'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:71:in `wrap'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:135:in `block (4 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:271:in `stats'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:130:in `block (3 levels) in dispatch'", "lib/gitlab/sidekiq_logging/structured_logger.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:129:in `block (2 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:80:in `global'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:128:in `block in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_logger.rb:39:in `prepare'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:127:in `dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:178:in `block (2 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `block in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:82:in `process_one'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:72:in `run'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:10:in `watchdog'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:19:in `block in safe_thread'" ], "json.retry_count": [ 4 ], "kubernetes.region": [ "us-east1" ], "json.meta.caller_id.keyword": [ "Sbom::IngestReportsWorker" ], "json.jid": [ "82abd976ad34ec9fb5dc6420" ], "json.load_balancing_strategy.keyword": [ "replica_retried" ], "json.db_embedding_cached_count": [ 0 ], "json.time": [ "2024-09-02T14:38:53.284Z" ], "json.wal_locations.ci.keyword": [ "C21E6/BDD441E0" ], "kubernetes.pod_name.keyword": [ "gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt" ], "json.exception.backtrace": [ "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:57:in `rescue in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_parser.rb:23:in `parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:12:in `block (2 levels) in parse'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `each'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:11:in `block in parse'", ":90:in `tap'", "semver_dialects (3.4.3) lib/semver_dialects/interval_set_parser.rb:10:in `parse'", "ee/lib/gitlab/vulnerability_scanning/dependency_scanning/affected_version_range_matcher.rb:23:in `initialize'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `new'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:27:in `block in build_matcher'", "gems/gitlab-utils/lib/gitlab/utils/strong_memoize.rb:65:in `strong_memoize_with'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:22:in `build_matcher'", "ee/lib/gitlab/vulnerability_scanning/advisory_utils.rb:9:in `occurrence_is_affected?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:59:in `affected_occurrence?'", "ee/app/services/sbom/create_vulnerabilities_service.rb:29:in `block (5 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `find'", "ee/app/services/sbom/create_vulnerabilities_service.rb:26:in `block (4 levels) in execute'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:88:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `filter_map'", "ee/app/services/sbom/create_vulnerabilities_service.rb:24:in `block (3 levels) in execute'", "app/models/concerns/each_batch.rb:99:in `block (2 levels) in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/scoping/default.rb:43:in `unscoped'", "app/models/concerns/each_batch.rb:99:in `block in each_batch'", "app/models/concerns/each_batch.rb:69:in `step'", "app/models/concerns/each_batch.rb:69:in `each_batch'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `block in each_batch'", "activerecord (7.0.8.4) lib/active_record/relation.rb:881:in `_scoping'", "activerecord (7.0.8.4) lib/active_record/relation.rb:428:in `scoping'", "activerecord (7.0.8.4) lib/active_record/relation/delegation.rb:67:in `each_batch'", "ee/app/services/sbom/create_vulnerabilities_service.rb:23:in `block (2 levels) in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `each_slice'", "ee/app/services/sbom/create_vulnerabilities_service.rb:22:in `block in execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `each'", "ee/app/services/sbom/create_vulnerabilities_service.rb:19:in `execute'", "ee/app/services/sbom/create_vulnerabilities_service.rb:11:in `execute'", "ee/app/workers/sbom/process_vulnerabilities_worker.rb:16:in `handle_event'", "lib/gitlab/event_store/subscriber.rb:35:in `block in perform'", "lib/gitlab/event_store/subscriber.rb:34:in `each'", "lib/gitlab/event_store/subscriber.rb:34:in `perform'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:210:in `execute_job'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:180:in `block (4 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "ee/lib/gitlab/sidekiq_middleware/set_session/server.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/skip_jobs.rb:51:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/database/load_balancing/sidekiq_server_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executed.rb:17:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb:44:in `perform'", "lib/gitlab/sidekiq_middleware/duplicate_jobs/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/concurrency_limit/middleware.rb:32:in `perform'", "lib/gitlab/sidekiq_middleware/concurrency_limit/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/click_house/migration_support/sidekiq_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/pause_control/strategies/base.rb:31:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/strategy_handler.rb:22:in `perform'", "lib/gitlab/sidekiq_middleware/pause_control/server.rb:8:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/worker_context.rb:9:in `wrap_in_optional_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:19:in `block in call'", "lib/gitlab/application_context.rb:159:in `block in use'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "lib/gitlab/application_context.rb:159:in `use'", "lib/gitlab/application_context.rb:88:in `with_context'", "lib/gitlab/sidekiq_middleware/worker_context/server.rb:17:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_versioning/middleware.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `block in call'", "lib/gitlab/database/query_analyzer.rb:40:in `within'", "lib/gitlab/sidekiq_middleware/query_analyzer.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/admin_mode/server.rb:14:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/set_ip_address.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/instrumentation_logger.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/extra_done_log_metadata.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:111:in `block in call'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `block in instrument'", "lib/gitlab/metrics/background_transaction.rb:33:in `run'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:139:in `instrument'", "lib/gitlab/sidekiq_middleware/server_metrics.rb:110:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:8:in `block in call'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:66:in `enabling_request_store'", "gems/gitlab-safe_request_store/lib/gitlab/safe_request_store.rb:59:in `ensure_request_store'", "lib/gitlab/sidekiq_middleware/request_store_middleware.rb:7:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:21:in `block in call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:16:in `block in call'", "gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/context/server.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "gitlab-labkit (0.36.1) lib/labkit/middleware/sidekiq/server.rb:20:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/monitor.rb:10:in `block in call'", "lib/gitlab/sidekiq_daemon/monitor.rb:46:in `within_job'", "lib/gitlab/sidekiq_middleware/monitor.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:10:in `block in call'", "lib/gitlab/sidekiq_sharding/validator.rb:42:in `enabled'", "lib/gitlab/sidekiq_middleware/shard_awareness_validator.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "lib/gitlab/sidekiq_middleware/size_limiter/server.rb:13:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "marginalia (1.11.1) lib/marginalia/sidekiq_instrumentation.rb:9:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "sentry-sidekiq (5.19.0) lib/sentry/sidekiq/sentry_context_middleware.rb:29:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:26:in `track'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/metrics/tracking.rb:126:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:179:in `block (3 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:140:in `block (6 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:113:in `local'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:139:in `block (5 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:16:in `block in call'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:72:in `block in wrap'", "activesupport (7.0.8.4) lib/active_support/execution_wrapper.rb:92:in `wrap'", "activesupport (7.0.8.4) lib/active_support/reloader.rb:71:in `wrap'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/rails.rb:15:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:135:in `block (4 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:271:in `stats'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:130:in `block (3 levels) in dispatch'", "lib/gitlab/sidekiq_logging/structured_logger.rb:21:in `call'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:129:in `block (2 levels) in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_retry.rb:80:in `global'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:128:in `block in dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/job_logger.rb:39:in `prepare'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:127:in `dispatch'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:178:in `block (2 levels) in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:177:in `block in process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `handle_interrupt'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:176:in `process'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:82:in `process_one'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/processor.rb:72:in `run'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:10:in `watchdog'", "vendor/gems/sidekiq-7.2.4/lib/sidekiq/component.rb:19:in `block in safe_thread'" ], "json.mem_objects": [ 2584002 ], "json.shard": [ "catchall" ], "json.trace_propagation_headers.sentry-trace": [ "13543bca302146f3bedf083e6053f0a3-db863feb33f04c67" ], "json.correlation_id.keyword": [ "c3689417987028080481bd90123b13b9" ], "json.correlation_id": [ "c3689417987028080481bd90123b13b9" ], "json.job_status.keyword": [ "fail" ], "json.db_ci_replica_cached_count": [ 1 ], "json.db_ci_replica_wal_cached_count": [ 0 ], "json.db_ci_count": [ 0 ], "json.db_ci_txn_max_duration_s": [ 0 ], "json.created_at": [ "2024-09-02T14:29:57.559Z" ], "json.db_ci_replica_duration_s": [ 0.07 ], "json.db_duration_s": [ 0.688282 ], "json.meta.root_caller_id.keyword": [ "PUT /api/:version/jobs/:id" ], "json.db_txn_count": [ 0 ], "json.urgency.keyword": [ "low" ], "json.target_scheduling_latency_s": [ 60 ], "json.meta.client_id": [ "user/10038223" ], "json.redis_feature_flag_duration_s": [ 0.015008 ], "json.type.keyword": [ "sidekiq" ], "json.mem_mallocs": [ 1226662 ], "json.redis_duration_s": [ 0.028568 ], "json.db_ci_txn_duration_s": [ 0 ], "json.mem_total_bytes": [ 258150430 ], "type": [ "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf" ], "json.exception.cause_class": [ "SemverDialects::IncompleteScanError" ], "json.mem_bytes": [ 154790350 ], "json.meta.sidekiq_destination_shard_redis.keyword": [ "queues_shard_catchall_a" ], "publish_time": [ "2024-09-02T14:38:55.549Z" ], "json.db_primary_wal_cached_count": [ 0 ], "json.db_main_replica_txn_max_duration_s": [ 0 ], "json.redis_feature_flag_calls": [ 3 ], "json.worker_data_consistency": [ "delayed" ], "json.db_ci_replica_txn_max_duration_s": [ 0 ], "json.version": [ 0 ], "json.db_replica_txn_duration_s": [ 0 ], "json.args.keyword": [ "Sbom::SbomIngestedEvent", "{\"pipeline_id\"=>1436575896}" ], "json.jid.keyword": [ "82abd976ad34ec9fb5dc6420" ], "json.redis_queues_metadata_read_bytes": [ 118 ], "json.queue": [ "default" ], "json.size_limiter": [ "validated" ], "json.db_ci_cached_count": [ 0 ], "json.db_primary_duration_s": [ 0 ], "json.wal_location_source.keyword": [ "primary" ], "json.db_ci_txn_count": [ 0 ], "json.job_status": [ "fail" ], "json.load_balancing_strategy": [ "replica_retried" ], "json.db_main_wal_cached_count": [ 0 ], "json.message.keyword": [ "Sbom::ProcessVulnerabilitiesWorker JID-82abd976ad34ec9fb5dc6420: fail: 5.131249 sec" ], "json.db_main_txn_count": [ 0 ], "json.environment.keyword": [ "gprd" ], "json.redis_queues_metadata_duration_s": [ 0.011906 ], "json.exception.message": [ "invalid constraint '>=3.0.0alpha <=3.8.2'" ], "json.meta.user": [ "aditya.yembuluru" ], "json.meta.user.keyword": [ "aditya.yembuluru" ], "json.redis_read_bytes": [ 726 ], "json.meta.feature_category.keyword": [ "software_composition_analysis" ], "json.redis_shared_state_calls": [ 1 ], "json.redis_calls": [ 6 ], "json.meta.client_id.keyword": [ "user/10038223" ], "json.trace_propagation_headers.baggage": [ "sentry-trace_id=13543bca302146f3bedf083e6053f0a3,sentry-environment=gprd,sentry-release=f719b5c4,sentry-public_key=dafccd342c484bf9a1d2c20f769eb9cc" ], "json.db_ci_replica_wal_count": [ 0 ], "json.db_embedding_replica_duration_s": [ 0 ], "json.db_primary_count": [ 0 ], "json.db_main_replica_duration_s": [ 0.554 ], "json.db_main_cached_count": [ 0 ], "json.severity": [ "WARN" ], "json.db_write_count": [ 0 ], "json.meta.job_id": [ 7722005106 ], "json.shard.keyword": [ "catchall" ], "@timestamp": [ "2024-09-02T14:38:55.715Z" ], "json.redis_feature_flag_write_bytes": [ 230 ], "json.exception.class": [ "SemverDialects::InvalidConstraintError" ], "json.db_ci_replica_txn_duration_s": [ 0 ], "json.meta.remote_ip": [ "18.132.60.196" ], "json.db_main_replica_wal_count": [ 0 ], "json.redis_shared_state_duration_s": [ 0.001654 ], "json.logtag": [ "F" ], "json.retry": [ 25 ], "json.worker_data_consistency.keyword": [ "delayed" ], "json.db_main_replica_wal_cached_count": [ 0 ], "json.meta.sidekiq_destination_shard_redis": [ "queues_shard_catchall_a" ], "json.db_embedding_replica_txn_count": [ 0 ], "json.redis_queues_metadata_calls": [ 2 ], "host.name": [ "pubsubbeat-pubsub-sidekiq-inf-gprd-746645654f-pflbf" ], "json.store": [ "queues_shard_catchall_a" ], "json.tag": [ "gitlab-sidekiq-catchall.var.log.containers.gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt_gitlab_sidekiq-a996b8f5b712c2efde655ba509d71d10b75b91a58c80d1c7ff6aefecef3b1130.log" ], "kubernetes.container_name": [ "sidekiq" ], "json.severity.keyword": [ "WARN" ], "json.wal_locations.ci": [ "C21E6/BDD441E0" ], "kubernetes.pod_ip.keyword": [ "10.222.29.39" ], "json.db_replica_wal_count": [ 0 ], "json.pid": [ 47 ], "json.db_replica_txn_max_duration_s": [ 0 ], "json.db_primary_wal_count": [ 0 ], "json.stage": [ "main" ], "json.db_count": [ 44 ], "json.db_main_replica_count": [ 31 ], "kubernetes.zone.keyword": [ "us-east1-d" ], "json.redis_write_bytes": [ 558 ], "json.meta.root_caller_id": [ "PUT /api/:version/jobs/:id" ], "kubernetes.zone": [ "us-east1-d" ], "json.cpu_s": [ 2.49923 ], "json.tag.keyword": [ "gitlab-sidekiq-catchall.var.log.containers.gitlab-sidekiq-catchall-v2-57f8b7ccf8-tjvrt_gitlab_sidekiq-a996b8f5b712c2efde655ba509d71d10b75b91a58c80d1c7ff6aefecef3b1130.log" ], "json.exception.cause_class.keyword": [ "SemverDialects::IncompleteScanError" ], "json.meta.project.keyword": [ "dwp/apply-for-attendance-allowance/public-beta/claim-registration-lambda" ], "json.db_main_duration_s": [ 0 ], "json.meta.root_namespace": [ "dwp" ], "json.wal_locations.main": [ "11024F/F7090A20" ], "json.db_main_replica_cached_count": [ 3 ], "kubernetes.host": [ "gke-gprd-gitlab-gke-generic-2-1015f0e2-l567" ], "json.urgency": [ "low" ], "json.stage.keyword": [ "main" ], "json.db_main_txn_duration_s": [ 0 ], "json.retried_at": [ "2024-09-02T14:34:11.113Z" ], "json.db_embedding_wal_cached_count": [ 0 ], "json.db_main_txn_avg_duration_s": [ 0 ], "kubernetes.region.keyword": [ "us-east1" ], "json.message": [ "Sbom::ProcessVulnerabilitiesWorker JID-82abd976ad34ec9fb5dc6420: fail: 5.131249 sec" ], "json.meta.remote_ip.keyword": [ "18.132.60.196" ], "json.tier": [ "sv" ], "json.db_replica_txn_count": [ 0 ], "json.class.keyword": [ "Sbom::ProcessVulnerabilitiesWorker" ], "json.meta.pipeline_id": [ 1436575896 ], "kubernetes.namespace_name": [ "gitlab" ], "json.db_ci_wal_count": [ 0 ], "json.db_embedding_replica_wal_cached_count": [ 0 ], "json.meta.user_id": [ 10038223 ], "json.db_embedding_txn_count": [ 0 ] } } ```What is the expected correct behavior?
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
-
Fix GMS-2016-23 so that its affected_range
is a valid version range for npm. -
Check the affected_range
of all GLAD advisories usingversion_satisfies?
, and make the necessary adjustments. This seems necessary considering that we still haveaffected_range
fields that make SemverDialects fail even though Ensure that affected range of versions is valid... (#442723 - closed) has been closed.