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-12-0 (kaggle-cicd) succeeded Apr 29, 2024 in 1m 17s

Summary

Build Information

Trigger kagglehub-branch-3-12-0
Build ef99edec-0010-40ff-ab4e-b44fe5c090b4
Start 2024-04-29T09:07:34-07:00
Duration 1m14.303s
Status SUCCESS

Steps

Step Status Duration
check_substitutions SUCCESS 28.477s
build-hatch-image SUCCESS 2.672s
tests SUCCESS 32.868s
lint SUCCESS 37.845s

Details

starting build "ef99edec-0010-40ff-ab4e-b44fe5c090b4"

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.12.0: 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": b61fb8c5b702: Pulling fs layer
Step #0 - "check_substitutions": 67ddeb5b15df: Pulling fs layer
Step #0 - "check_substitutions": 7da1b82bcb72: Pulling fs layer
Step #0 - "check_substitutions": c76a642bc152: Pulling fs layer
Step #0 - "check_substitutions": 711be5dc5044: Waiting
Step #0 - "check_substitutions": 48b2d58a56e9: Waiting
Step #0 - "check_substitutions": b61fb8c5b702: Waiting
Step #0 - "check_substitutions": 67ddeb5b15df: Waiting
Step #0 - "check_substitutions": 7da1b82bcb72: Waiting
Step #0 - "check_substitutions": c76a642bc152: 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": 67ddeb5b15df: Verifying Checksum
Step #0 - "check_substitutions": 67ddeb5b15df: Download complete
Step #0 - "check_substitutions": b61fb8c5b702: Verifying Checksum
Step #0 - "check_substitutions": b61fb8c5b702: Download complete
Step #0 - "check_substitutions": 7da1b82bcb72: Verifying Checksum
Step #0 - "check_substitutions": 7da1b82bcb72: Download complete
Step #0 - "check_substitutions": c76a642bc152: Verifying Checksum
Step #0 - "check_substitutions": c76a642bc152: 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": b61fb8c5b702: Pull complete
Step #0 - "check_substitutions": 67ddeb5b15df: Pull complete
Step #0 - "check_substitutions": 7da1b82bcb72: Pull complete
Step #0 - "check_substitutions": c76a642bc152: Pull complete
Step #0 - "check_substitutions": Digest: sha256:c07a083ebb5ac88a5cad24b78fd4ec93b3cd38f802f85112c2b356e1924a5058
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.12.0
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.12.0
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.12.0: 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": b61fb8c5b702: Already exists
Step #1 - "build-hatch-image": 67ddeb5b15df: Already exists
Step #1 - "build-hatch-image": 7da1b82bcb72: Already exists
Step #1 - "build-hatch-image": Digest: sha256:1987c4ae3b5afaa3a7c5e247e9eaab7348082ba167986ca90d4d6a197fb364e8
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.12.0
Step #1 - "build-hatch-image":  ---> afb69f3af77f
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":  ---> e38d72302ce6
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> b63bd1f89ae8
Step #1 - "build-hatch-image": Successfully built b63bd1f89ae8
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.12.0
Finished Step #1 - "build-hatch-image"
Starting Step #2 - "tests"
Starting Step #3 - "lint"
Step #3 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.12.0
Step #2 - "tests": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.12.0
Step #2 - "tests": Creating environment: default
Step #3 - "lint": Creating environment: lint
Step #2 - "tests": Installing project in development mode
Step #3 - "lint": Checking dependencies
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.12.0, 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 #2 - "tests": tests/test_tracing.py ......                                             [ 98%]
Step #2 - "tests": tests/test_utils.py ..                                                   [100%]
Step #2 - "tests": 
Step #2 - "tests": =============================== warnings summary ===============================
Step #2 - "tests": tests/test_http_model_download.py: 11 warnings
Step #2 - "tests":   /usr/local/lib/python3.12/tarfile.py:2220: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
Step #2 - "tests":     warnings.warn(
Step #2 - "tests": 
Step #2 - "tests": -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Step #2 - "tests": ====================== 118 passed, 11 warnings in 10.28s =======================
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 #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]
17f131e2251e: Preparing
0470b4fe10a4: Preparing
a33e56a39409: Preparing
e10f6c2422e4: Preparing
a04a14a911a5: Preparing
80bd043d4663: Preparing
30f5cd833236: Preparing
7c32e0608151: Preparing
7cea17427f83: Preparing
80bd043d4663: Waiting
30f5cd833236: Waiting
7c32e0608151: Waiting
7cea17427f83: Waiting
0470b4fe10a4: Layer already exists
a33e56a39409: Layer already exists
a04a14a911a5: Layer already exists
e10f6c2422e4: Layer already exists
17f131e2251e: Layer already exists
30f5cd833236: Layer already exists
7c32e0608151: Layer already exists
7cea17427f83: Layer already exists
80bd043d4663: Layer already exists
3.12.0: digest: sha256:c07a083ebb5ac88a5cad24b78fd4ec93b3cd38f802f85112c2b356e1924a5058 size: 2219
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/ef99edec-0010-40ff-ab4e-b44fe5c090b4?project=464139560241