GoogleContainerTools / GoogleContainerTools/skaffold
"Error checking cache" with nonactionable details
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Expected behavior
### Actual behavior
```
% skaffold version
v2.0.1
% nl skaffold.yaml
1 apiVersion: skaffold/v3
2 kind: Config
3 metadata:
4 name: photo-ingest
5 build:
6 artifacts:
7 - image: bang5:5000/photo_ingest_image
8 tagPolicy:
9 dateTime:
10 format: 2006-01-02_15-04-05
11 timezone: Local
12 manifests:
13 rawYaml:
14 - deploy.yaml
15 deploy:
16 kubectl: {}
% skaffold build
Generating tags...
- bang5:5000/photo_ingest_image -> bang5:5000/photo_ingest_image:2022-10-31_22-09-16
Checking cache...
- bang5:5000/photo_ingest_image: Error checking cache.
getting hash for artifact "bang5:5000/photo_ingest_image": getting dependencies for "bang5:5000/photo_ingest_image": parsing ONBUILD instructions: retrieving image "bang5:5000/photo_baseimage": GET http://bang5:5000/v2/photo_baseimage/manifests/latest: MANIFEST_UNKNOWN: manifest unknown; map[Tag:latest]
```
### Information
- Skaffold version: 2.0.1
- Operating system: ubuntu 22.04
- Installed via: skaffold.dev
```
with -vdebug:
% skaffold build -vdebug
DEBU[0000] skaffold API not starting as it's not requested subtask=-1 task=DevLoop
INFO[0000] Skaffold &{Version:v2.0.1 ConfigVersion:skaffold/v3 GitVersion: GitCommit:214fbbf644a98a1de31636e3e3a7c3d6f54e98ea BuildDate:2022-10-27T14:46:30Z GoVersion:go1.19.1 Compiler:gc Platform:linux/amd64 User:} subtask=-1 task=DevLoop
INFO[0000] Loaded Skaffold defaults from "/home/drewp/.skaffold/config" subtask=-1 task=DevLoop
DEBU[0000] found config for context "default" subtask=-1 task=DevLoop
DEBU[0000] parsed 1 configs from configuration file /my/site/photo/v2/ingest/skaffold.yaml subtask=-1 task=DevLoop
DEBU[0000] Defaulting build type to local build subtask=-1 task=DevLoop
INFO[0000] map entry found when executing locate for &{bang5:5000/photo_ingest_image . {0xc000b6e4d0 } [] {[] []} []} of type *latest.Artifact and pointer: 824637568448 subtask=-1 task=DevLoop
INFO[0000] Using kubectl context: default subtask=-1 task=DevLoop
INFO[0000] Using insecure-registries=[bang5:5000 bang5:5000] from config subtask=-1 task=DevLoop
DEBU[0000] getting client config for kubeContext: `default` subtask=-1 task=DevLoop
DEBU[0000] Running command: [minikube version --output=json] subtask=-1 task=DevLoop
DEBU[0000] setting Docker user agent to skaffold-v2.0.1 subtask=-1 task=DevLoop
DEBU[0000] could not parse date "" subtask=-1 task=DevLoop
DEBU[0000] could not parse date "" subtask=-1 task=DevLoop
INFO[0000] manifests hydration will take place in /my/site/photo/v2/ingest/.kpt-pipeline subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0000] Command output: [''] subtask=-1 task=DevLoop
DEBU[0000] CLI platforms provided: "" subtask=-1 task=DevLoop
DEBU[0000] platform detection from active kubernetes cluster is not enabled subtask=-1 task=DevLoop
DEBU[0000] platforms selected for artifact "bang5:5000/photo_ingest_image": "" subtask=-1 task=DevLoop
DEBU[0000] Using builder: local subtask=-1 task=DevLoop
DEBU[0000] push value not present in NewBuilder, defaulting to true because cluster.PushImages is true subtask=-1 task=DevLoop
INFO[0000] build concurrency first set to 1 parsed from *local.Builder[0] subtask=-1 task=DevLoop
INFO[0000] final build concurrency value is 1 subtask=-1 task=DevLoop
Generating tags...
- bang5:5000/photo_ingest_image -> bang5:5000/photo_ingest_image:2022-10-31_22-11-18
INFO[0000] Tags generated in 178.433µs subtask=-1 task=Build
Checking cache...
- bang5:5000/photo_ingest_image: Error checking cache.
DEBU[0000] Running command: [tput colors] subtask=-1 task=DevLoop
DEBU[0000] error checking for color support: checking terminal colors: running [tput colors]
- stdout: ""
- stderr: "tput: unknown terminal \"rxvt-unicode-256color\"\n"
- cause: exit status 3 subtask=-1 task=DevLoop
getting hash for artifact "bang5:5000/photo_ingest_image": getting dependencies for "bang5:5000/photo_ingest_image": parsing ONBUILD instructions: retrieving image "bang5:5000/photo_baseimage": GET http://bang5:5000/v2/photo_baseimage/manifests/latest: MANIFEST_UNKNOWN: manifest unknown; map[Tag:latest]
DEBU[0000] exporting metrics subtask=-1 task=DevLoop
DEBU[0001] error uploading metrics: rpc error: code = InvalidArgument desc = Field timeSeries had an invalid value: A maximum of 200 TimeSeries can be written in a single request. subtask=-1 task=DevLoop
DEBU[0001] writing to file /home/drewp/.skaffold/metrics instead subtask=-1 task=DevLoop
```
Contributor guide
Assessment
This issue has not been assessed yet.