Skip to content

Commit

Permalink
Merge pull request #926 from spack/new-error-taxonomy
Browse files Browse the repository at this point in the history
Add new error taxonomy for missing spec list
  • Loading branch information
mvandenburgh authored Jul 19, 2024
2 parents b971844 + 7514922 commit fe34b00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/custom_docker_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- docker-image: ./images/cache-indexer
image-tags: ghcr.io/spack/cache-indexer:0.0.3
- docker-image: ./analytics
image-tags: ghcr.io/spack/django:0.3.11
image-tags: ghcr.io/spack/django:0.3.12
- docker-image: ./images/ci-prune-buildcache
image-tags: ghcr.io/spack/ci-prune-buildcache:0.0.4
- docker-image: ./images/protected-publish
Expand Down
5 changes: 5 additions & 0 deletions analytics/analytics/core/job_failure_classifier/taxonomy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ taxonomy:
grep_for:
- 'SpackError: No installed spec matches the hash'

failed_to_get_specs:
grep_for:
- 'Error: Unable to generate package index: Failed to get list of specs from'

build_error:
grep_for:
- 'error found in build log:'
Expand Down Expand Up @@ -256,6 +260,7 @@ taxonomy:
- 'db_match'
- 'db_hash'
- 'no_spec'
- 'failed_to_get_specs'
- 'ref_not_found'
- 'cmd_not_found'
- 'module_not_found'
Expand Down
4 changes: 2 additions & 2 deletions k8s/production/custom/webhook-handler/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
serviceAccountName: webhook-handler
containers:
- name: webhook-handler
image: ghcr.io/spack/django:0.3.11
image: ghcr.io/spack/django:0.3.12
imagePullPolicy: Always
resources:
requests:
Expand Down Expand Up @@ -146,7 +146,7 @@ spec:
serviceAccountName: webhook-handler
containers:
- name: webhook-handler-worker
image: ghcr.io/spack/django:0.3.11
image: ghcr.io/spack/django:0.3.12
command: ["celery", "-A", "analytics.celery", "worker", "-l", "info", "-Q", "celery"]
imagePullPolicy: Always
resources:
Expand Down

0 comments on commit fe34b00

Please sign in to comment.