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

Simple example #217

Closed
wants to merge 1 commit into from

Simple example

17afa80
Select commit
Loading
Failed to load commit list.
Closed

Simple example #217

Simple example
17afa80
Select commit
Loading
Failed to load commit list.
Google Cloud Build / kagglehub-branch-3-11-6 (kaggle-cicd) failed Jan 28, 2025 in 1m 15s

Summary

Build Information

Trigger kagglehub-branch-3-11-6
Build 8c73e301-2174-49e2-a880-93448cf74292
Start 2025-01-27T19:52:43-08:00
Duration 1m11.733s
Status FAILURE

Steps

Step Status Duration
check_substitutions SUCCESS 27.344s
build-hatch-image SUCCESS 3.128s
tests CANCELLED 38.809s
lint FAILURE 37.914s

Details

starting build "8c73e301-2174-49e2-a880-93448cf74292"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/Kaggle/kagglehub
 * branch            17afa800d1725c8018a151caa3f2442d53b2045a -> FETCH_HEAD
HEAD is now at 17afa80 Simple example
GitCommit:
17afa800d1725c8018a151caa3f2442d53b2045a
BUILD
Starting Step #0 - "check_substitutions"
Step #0 - "check_substitutions": Already have image (with digest): gcr.io/cloud-builders/docker
Step #0 - "check_substitutions": 3.11.6: Pulling from kaggle-cicd/tools/hatch
Step #0 - "check_substitutions": 90e5e7d8b87a: Pulling fs layer
Step #0 - "check_substitutions": 27e1a8ca91d3: Pulling fs layer
Step #0 - "check_substitutions": d3a767d1d12e: Pulling fs layer
Step #0 - "check_substitutions": 711be5dc5044: Pulling fs layer
Step #0 - "check_substitutions": 48b2d58a56e9: Pulling fs layer
Step #0 - "check_substitutions": f4b2d251d97d: Pulling fs layer
Step #0 - "check_substitutions": 289cc84fca99: Pulling fs layer
Step #0 - "check_substitutions": d2774833febd: Pulling fs layer
Step #0 - "check_substitutions": c1d4eed5d5d2: Pulling fs layer
Step #0 - "check_substitutions": f4b2d251d97d: Waiting
Step #0 - "check_substitutions": 289cc84fca99: Waiting
Step #0 - "check_substitutions": d2774833febd: Waiting
Step #0 - "check_substitutions": c1d4eed5d5d2: Waiting
Step #0 - "check_substitutions": 711be5dc5044: Waiting
Step #0 - "check_substitutions": 48b2d58a56e9: Waiting
Step #0 - "check_substitutions": 27e1a8ca91d3: Verifying Checksum
Step #0 - "check_substitutions": 27e1a8ca91d3: Download complete
Step #0 - "check_substitutions": 90e5e7d8b87a: Verifying Checksum
Step #0 - "check_substitutions": 90e5e7d8b87a: Download complete
Step #0 - "check_substitutions": d3a767d1d12e: Verifying Checksum
Step #0 - "check_substitutions": d3a767d1d12e: Download complete
Step #0 - "check_substitutions": 48b2d58a56e9: Verifying Checksum
Step #0 - "check_substitutions": 48b2d58a56e9: Download complete
Step #0 - "check_substitutions": 289cc84fca99: Verifying Checksum
Step #0 - "check_substitutions": 289cc84fca99: Download complete
Step #0 - "check_substitutions": f4b2d251d97d: Verifying Checksum
Step #0 - "check_substitutions": f4b2d251d97d: Download complete
Step #0 - "check_substitutions": d2774833febd: Verifying Checksum
Step #0 - "check_substitutions": d2774833febd: Download complete
Step #0 - "check_substitutions": 711be5dc5044: Download complete
Step #0 - "check_substitutions": c1d4eed5d5d2: Verifying Checksum
Step #0 - "check_substitutions": c1d4eed5d5d2: Download complete
Step #0 - "check_substitutions": 90e5e7d8b87a: Pull complete
Step #0 - "check_substitutions": 27e1a8ca91d3: Pull complete
Step #0 - "check_substitutions": d3a767d1d12e: Pull complete
Step #0 - "check_substitutions": 711be5dc5044: Pull complete
Step #0 - "check_substitutions": 48b2d58a56e9: Pull complete
Step #0 - "check_substitutions": f4b2d251d97d: Pull complete
Step #0 - "check_substitutions": 289cc84fca99: Pull complete
Step #0 - "check_substitutions": d2774833febd: Pull complete
Step #0 - "check_substitutions": c1d4eed5d5d2: Pull complete
Step #0 - "check_substitutions": Digest: sha256:c2c3b11d9a9028da2a3ab367b0304638a265372de14bf1a74f4acf69df7474dc
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Finished Step #0 - "check_substitutions"
Starting Step #1 - "build-hatch-image"
Step #1 - "build-hatch-image": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "build-hatch-image": Sending build context to Docker daemon  6.656kB

Step #1 - "build-hatch-image": Step 1/4 : ARG PYTHON_VERSION
Step #1 - "build-hatch-image": Step 2/4 : FROM python:${PYTHON_VERSION}
Step #1 - "build-hatch-image": 3.11.6: Pulling from library/python
Step #1 - "build-hatch-image": 90e5e7d8b87a: Already exists
Step #1 - "build-hatch-image": 27e1a8ca91d3: Already exists
Step #1 - "build-hatch-image": d3a767d1d12e: Already exists
Step #1 - "build-hatch-image": 711be5dc5044: Already exists
Step #1 - "build-hatch-image": 48b2d58a56e9: Already exists
Step #1 - "build-hatch-image": f4b2d251d97d: Already exists
Step #1 - "build-hatch-image": 289cc84fca99: Already exists
Step #1 - "build-hatch-image": d2774833febd: Already exists
Step #1 - "build-hatch-image": Digest: sha256:2a725c9721f737a2944244c98c714d24f8bcfaddd9f5c15083cbaa024f7fce54
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.11.6
Step #1 - "build-hatch-image":  ---> 0dba5a08d425
Step #1 - "build-hatch-image": Step 3/4 : RUN python -m pip install hatch==1.14.0 twine==6.0.1
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 640716755e22
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 7c89797889da
Step #1 - "build-hatch-image": Successfully built 7c89797889da
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Finished Step #1 - "build-hatch-image"
Starting Step #3 - "lint"
Starting Step #2 - "tests"
Step #2 - "tests": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Step #3 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Step #3 - "lint": Creating environment: lint
Step #2 - "tests": Creating environment: hatch-test.py3.11
Step #2 - "tests": Installing project in development mode
Step #3 - "lint": Checking dependencies
Step #3 - "lint": Syncing dependencies
Step #3 - "lint": cmd [1] | ruff check .
Step #3 - "lint": src/kagglehub/clients.py:80:53: W291 [*] Trailing whitespace
Step #3 - "lint":    |
Step #3 - "lint": 78 |         name_and_version = search_lib_in_call_stack("kagglehub")
Step #3 - "lint": 79 |         if frame_info.function == "load_dataset" and name_and_version:
Step #3 - "lint": 80 |             user_agents.append("pandas_data_loader")        
Step #3 - "lint":    |                                                     ^^^^^^^^ W291
Step #3 - "lint": 81 |
Step #3 - "lint": 82 |     if is_in_kaggle_notebook():
Step #3 - "lint":    |
Step #3 - "lint":    = help: Remove trailing whitespace
Step #3 - "lint": 
Step #3 - "lint": Found 1 error.
Step #3 - "lint": [*] 1 fixable with the `--fix` option.
Finished Step #3 - "lint"
ERROR
ERROR: build step 3 "us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6" failed: step exited with non-zero status: 1

Build Log: https://console.cloud.google.com/cloud-build/builds/8c73e301-2174-49e2-a880-93448cf74292?project=464139560241