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

Distributed Tracing for client #106

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Added server side test for traceparent header

e1acc7c
Select commit
Loading
Failed to load commit list.
Open

Distributed Tracing for client #106

Added server side test for traceparent header
e1acc7c
Select commit
Loading
Failed to load commit list.
Google Cloud Build / kagglehub-branch-3-11-6 (kaggle-cicd) succeeded Apr 29, 2024 in 1m 14s

Summary

Build Information

Trigger kagglehub-branch-3-11-6
Build d96c4d2a-4e97-40f6-b75c-9fd0ae119955
Start 2024-04-29T09:07:34-07:00
Duration 1m11.353s
Status SUCCESS

Steps

Step Status Duration
check_substitutions SUCCESS 29.685s
build-hatch-image SUCCESS 2.36s
tests SUCCESS 29.396s
lint SUCCESS 32.626s

Details

starting build "d96c4d2a-4e97-40f6-b75c-9fd0ae119955"

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            e1acc7ce0d1d3a3965f12a271795c53b2d7c8392 -> FETCH_HEAD
HEAD is now at e1acc7c Added server side test for traceparent header
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": 9a11ecafebc0: 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": 9a11ecafebc0: 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: 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": 9a11ecafebc0: Verifying Checksum
Step #0 - "check_substitutions": 9a11ecafebc0: Download complete
Step #0 - "check_substitutions": 711be5dc5044: Verifying Checksum
Step #0 - "check_substitutions": 711be5dc5044: 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": 9a11ecafebc0: Pull complete
Step #0 - "check_substitutions": Digest: sha256:3f2ee01cb2807ff005a61545ffb98fcd00d93727dae3f66fb3a83bcad226e4a4
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 twine
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 2106fa84c9a8
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 63478ab6738e
Step #1 - "build-hatch-image": Successfully built 63478ab6738e
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 #3 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11.6
Step #2 - "tests": 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: default
Step #3 - "lint": Checking dependencies
Step #2 - "tests": Installing project in development mode
Step #3 - "lint": Syncing dependencies
Step #2 - "tests": Checking dependencies
Step #2 - "tests": Syncing dependencies
Step #3 - "lint": cmd [1] | ruff .
Step #3 - "lint": warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
Step #3 - "lint": warning: Rule `ANN102` is deprecated and will be removed in a future release.
Step #3 - "lint": All checks passed!
Step #3 - "lint": cmd [2] | black --check --diff .
Step #3 - "lint": All done! ✨ 🍰 ✨
Step #3 - "lint": 45 files would be left unchanged.
Step #3 - "lint": cmd [3] | mypy --install-types --non-interactive src/kagglehub tests
Step #2 - "tests": ============================= test session starts ==============================
Step #2 - "tests": platform linux -- Python 3.11.6, pytest-8.2.0, pluggy-1.5.0
Step #2 - "tests": rootdir: /workspace
Step #2 - "tests": configfile: pyproject.toml
Step #2 - "tests": collected 118 items
Step #2 - "tests": 
Step #2 - "tests": tests/test_auth.py .......                                               [  5%]
Step #2 - "tests": tests/test_cache.py ..................                                   [ 21%]
Step #2 - "tests": tests/test_colab_cache_model_download.py .........                       [ 28%]
Step #2 - "tests": tests/test_config.py ....................                                [ 45%]
Step #2 - "tests": tests/test_handle.py ....                                                [ 49%]
Step #2 - "tests": tests/test_http_model_download.py ...................                    [ 65%]
Step #2 - "tests": tests/test_integrity.py ....                                             [ 68%]
Step #2 - "tests": tests/test_kaggle_api_client.py ....                                     [ 72%]
Step #2 - "tests": tests/test_kaggle_cache_model_download.py ..........                     [ 80%]
Step #2 - "tests": tests/test_kagglehub_version.py .                                        [ 81%]
Step #2 - "tests": tests/test_model_upload.py ...........                                   [ 90%]
Step #2 - "tests": tests/test_registry.py ...                                               [ 93%]
Step #3 - "lint": Collecting types-colorama
Step #3 - "lint":   Downloading types_colorama-0.4.15.20240311-py3-none-any.whl.metadata (1.6 kB)
Step #3 - "lint": Collecting types-requests
Step #3 - "lint":   Downloading types_requests-2.31.0.20240406-py3-none-any.whl.metadata (1.8 kB)
Step #3 - "lint": Collecting types-tqdm
Step #3 - "lint":   Downloading types_tqdm-4.66.0.20240417-py3-none-any.whl.metadata (1.5 kB)
Step #3 - "lint": Collecting urllib3>=2 (from types-requests)
Step #3 - "lint":   Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Step #3 - "lint": Downloading types_colorama-0.4.15.20240311-py3-none-any.whl (5.8 kB)
Step #3 - "lint": Downloading types_requests-2.31.0.20240406-py3-none-any.whl (15 kB)
Step #3 - "lint": Downloading types_tqdm-4.66.0.20240417-py3-none-any.whl (19 kB)
Step #3 - "lint": Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
Step #2 - "tests": tests/test_tracing.py ......                                             [ 98%]
Step #2 - "tests": tests/test_utils.py ..                                                   [100%]
Step #2 - "tests": 
Step #2 - "tests": ============================= 118 passed in 8.94s ==============================
Step #3 - "lint": Installing collected packages: urllib3, types-tqdm, types-colorama, types-requests
Step #3 - "lint": Successfully installed types-colorama-0.4.15.20240311 types-requests-2.31.0.20240406 types-tqdm-4.66.0.20240417 urllib3-2.2.1
Finished Step #2 - "tests"
Step #3 - "lint": Installing missing stub packages:
Step #3 - "lint": /builder/home/.local/share/hatch/env/virtual/kagglehub/xS3fZVNL/lint/bin/python -m pip install types-colorama types-requests types-tqdm
Step #3 - "lint": 
Step #3 - "lint": 
Step #3 - "lint": Success: no issues found in 43 source files
Finished Step #3 - "lint"
PUSH
Pushing us-docker.pkg.dev/kaggle-cicd/tools/hatch
The push refers to repository [us-docker.pkg.dev/kaggle-cicd/tools/hatch]
47884d1abc40: Preparing
a9eeeca90b88: Preparing
9dc2322c664f: Preparing
714390b5c842: Preparing
a04a14a911a5: Preparing
80bd043d4663: Preparing
30f5cd833236: Preparing
7c32e0608151: Preparing
7cea17427f83: Preparing
80bd043d4663: Waiting
30f5cd833236: Waiting
7c32e0608151: Waiting
7cea17427f83: Waiting
9dc2322c664f: Layer already exists
714390b5c842: Layer already exists
47884d1abc40: Layer already exists
a04a14a911a5: Layer already exists
a9eeeca90b88: Layer already exists
80bd043d4663: Layer already exists
30f5cd833236: Layer already exists
7cea17427f83: Layer already exists
7c32e0608151: Layer already exists
3.11.6: digest: sha256:3f2ee01cb2807ff005a61545ffb98fcd00d93727dae3f66fb3a83bcad226e4a4 size: 2219
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/d96c4d2a-4e97-40f6-b75c-9fd0ae119955?project=464139560241