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

Summary

Build Information

Trigger kagglehub-branch-3-10-13
Build 1d70e8a1-9a94-425d-9c12-897a43e4f850
Start 2024-04-29T09:07:33-07:00
Duration 1m15.242s
Status SUCCESS

Steps

Step Status Duration
check_substitutions SUCCESS 26.883s
build-hatch-image SUCCESS 2.182s
tests SUCCESS 40.554s
lint SUCCESS 39.096s

Details

starting build "1d70e8a1-9a94-425d-9c12-897a43e4f850"

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.10.13: Pulling from kaggle-cicd/tools/hatch
Step #0 - "check_substitutions": 71215d55680c: Pulling fs layer
Step #0 - "check_substitutions": 3cb8f9c23302: Pulling fs layer
Step #0 - "check_substitutions": 5f899db30843: Pulling fs layer
Step #0 - "check_substitutions": 567db630df8d: Pulling fs layer
Step #0 - "check_substitutions": d68cd2123173: Pulling fs layer
Step #0 - "check_substitutions": ea0b25f73cc5: Pulling fs layer
Step #0 - "check_substitutions": 86f65f8c9197: Pulling fs layer
Step #0 - "check_substitutions": cd7585faae33: Pulling fs layer
Step #0 - "check_substitutions": ce299916a972: Pulling fs layer
Step #0 - "check_substitutions": 567db630df8d: Waiting
Step #0 - "check_substitutions": d68cd2123173: Waiting
Step #0 - "check_substitutions": 86f65f8c9197: Waiting
Step #0 - "check_substitutions": cd7585faae33: Waiting
Step #0 - "check_substitutions": ce299916a972: Waiting
Step #0 - "check_substitutions": ea0b25f73cc5: Waiting
Step #0 - "check_substitutions": 71215d55680c: Verifying Checksum
Step #0 - "check_substitutions": 71215d55680c: Download complete
Step #0 - "check_substitutions": 3cb8f9c23302: Verifying Checksum
Step #0 - "check_substitutions": 3cb8f9c23302: Download complete
Step #0 - "check_substitutions": 5f899db30843: Verifying Checksum
Step #0 - "check_substitutions": 5f899db30843: Download complete
Step #0 - "check_substitutions": d68cd2123173: Verifying Checksum
Step #0 - "check_substitutions": d68cd2123173: Download complete
Step #0 - "check_substitutions": 86f65f8c9197: Verifying Checksum
Step #0 - "check_substitutions": 86f65f8c9197: Download complete
Step #0 - "check_substitutions": ea0b25f73cc5: Verifying Checksum
Step #0 - "check_substitutions": ea0b25f73cc5: Download complete
Step #0 - "check_substitutions": cd7585faae33: Verifying Checksum
Step #0 - "check_substitutions": cd7585faae33: Download complete
Step #0 - "check_substitutions": ce299916a972: Verifying Checksum
Step #0 - "check_substitutions": ce299916a972: Download complete
Step #0 - "check_substitutions": 567db630df8d: Verifying Checksum
Step #0 - "check_substitutions": 567db630df8d: Download complete
Step #0 - "check_substitutions": 71215d55680c: Pull complete
Step #0 - "check_substitutions": 3cb8f9c23302: Pull complete
Step #0 - "check_substitutions": 5f899db30843: Pull complete
Step #0 - "check_substitutions": 567db630df8d: Pull complete
Step #0 - "check_substitutions": d68cd2123173: Pull complete
Step #0 - "check_substitutions": ea0b25f73cc5: Pull complete
Step #0 - "check_substitutions": 86f65f8c9197: Pull complete
Step #0 - "check_substitutions": cd7585faae33: Pull complete
Step #0 - "check_substitutions": ce299916a972: Pull complete
Step #0 - "check_substitutions": Digest: sha256:4c514737a6e99fc6f70296f73548f9194e37accc043c1befda05ec72d7bc9684
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.10.13
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.10.13
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.10.13: Pulling from library/python
Step #1 - "build-hatch-image": 71215d55680c: Already exists
Step #1 - "build-hatch-image": 3cb8f9c23302: Already exists
Step #1 - "build-hatch-image": 5f899db30843: Already exists
Step #1 - "build-hatch-image": 567db630df8d: Already exists
Step #1 - "build-hatch-image": d68cd2123173: Already exists
Step #1 - "build-hatch-image": ea0b25f73cc5: Already exists
Step #1 - "build-hatch-image": 86f65f8c9197: Already exists
Step #1 - "build-hatch-image": cd7585faae33: Already exists
Step #1 - "build-hatch-image": Digest: sha256:d5b1fbbc00fd3b55620a9314222498bebf09c4bf606425bf464709ed6a79f202
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.10.13
Step #1 - "build-hatch-image":  ---> ea8c96ba521a
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":  ---> 237bff2dac6c
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 35174beb41e3
Step #1 - "build-hatch-image": Successfully built 35174beb41e3
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.10.13
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.10.13
Step #2 - "tests": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.10.13
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.10.13, 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 #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 #2 - "tests": tests/test_http_model_download.py ...................                    [ 65%]
Step #2 - "tests": tests/test_integrity.py ....                                             [ 68%]
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
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 #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"
Step #2 - "tests": tests/test_model_upload.py ...........                                   [ 90%]
Step #2 - "tests": tests/test_registry.py ...                                               [ 93%]
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 15.73s =============================
Finished Step #2 - "tests"
PUSH
Pushing us-docker.pkg.dev/kaggle-cicd/tools/hatch
The push refers to repository [us-docker.pkg.dev/kaggle-cicd/tools/hatch]
bfbe785e25be: Preparing
1bd24382824b: Preparing
3768ecfe1cd3: Preparing
b4e7f379bd57: Preparing
e077e19b6682: Preparing
21e1c4948146: Preparing
68866beb2ed2: Preparing
e6e2ab10dba6: Preparing
0238a1790324: Preparing
21e1c4948146: Waiting
68866beb2ed2: Waiting
e6e2ab10dba6: Waiting
0238a1790324: Waiting
1bd24382824b: Layer already exists
e077e19b6682: Layer already exists
bfbe785e25be: Layer already exists
21e1c4948146: Layer already exists
68866beb2ed2: Layer already exists
e6e2ab10dba6: Layer already exists
3768ecfe1cd3: Layer already exists
b4e7f379bd57: Layer already exists
0238a1790324: Layer already exists
3.10.13: digest: sha256:4c514737a6e99fc6f70296f73548f9194e37accc043c1befda05ec72d7bc9684 size: 2219
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/1d70e8a1-9a94-425d-9c12-897a43e4f850?project=464139560241