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-9-18 (kaggle-cicd) succeeded Apr 29, 2024 in 1m 23s

Summary

Build Information

Trigger kagglehub-branch-3-9-18
Build af91bba7-ecfa-4962-a9cb-d3c6877e2441
Start 2024-04-29T09:07:34-07:00
Duration 1m21.163s
Status SUCCESS

Steps

Step Status Duration
check_substitutions SUCCESS 26.217s
build-hatch-image SUCCESS 2.43s
tests SUCCESS 47.59s
lint SUCCESS 44.905s

Details

starting build "af91bba7-ecfa-4962-a9cb-d3c6877e2441"

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.9.18: 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": 567db630df8d: Waiting
Step #0 - "check_substitutions": 976ac31b524c: Pulling fs layer
Step #0 - "check_substitutions": c619eab02dc4: Pulling fs layer
Step #0 - "check_substitutions": d68cd2123173: Waiting
Step #0 - "check_substitutions": 976ac31b524c: Waiting
Step #0 - "check_substitutions": d136c3310133: Pulling fs layer
Step #0 - "check_substitutions": 85c640f6aafb: Pulling fs layer
Step #0 - "check_substitutions": c619eab02dc4: Waiting
Step #0 - "check_substitutions": d136c3310133: Waiting
Step #0 - "check_substitutions": 85c640f6aafb: Waiting
Step #0 - "check_substitutions": 3cb8f9c23302: Verifying Checksum
Step #0 - "check_substitutions": 3cb8f9c23302: Download complete
Step #0 - "check_substitutions": 71215d55680c: Verifying Checksum
Step #0 - "check_substitutions": 71215d55680c: Download complete
Step #0 - "check_substitutions": d68cd2123173: Verifying Checksum
Step #0 - "check_substitutions": d68cd2123173: Download complete
Step #0 - "check_substitutions": 5f899db30843: Verifying Checksum
Step #0 - "check_substitutions": 5f899db30843: Download complete
Step #0 - "check_substitutions": c619eab02dc4: Verifying Checksum
Step #0 - "check_substitutions": c619eab02dc4: Download complete
Step #0 - "check_substitutions": d136c3310133: Verifying Checksum
Step #0 - "check_substitutions": d136c3310133: Download complete
Step #0 - "check_substitutions": 976ac31b524c: Verifying Checksum
Step #0 - "check_substitutions": 976ac31b524c: Download complete
Step #0 - "check_substitutions": 85c640f6aafb: Verifying Checksum
Step #0 - "check_substitutions": 85c640f6aafb: 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": 976ac31b524c: Pull complete
Step #0 - "check_substitutions": c619eab02dc4: Pull complete
Step #0 - "check_substitutions": d136c3310133: Pull complete
Step #0 - "check_substitutions": 85c640f6aafb: Pull complete
Step #0 - "check_substitutions": Digest: sha256:e3764418d9e77c8e1588d318c2199b637579398706dcf56a0bf98b6facdb438c
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.9.18
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.9.18
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.9.18: 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": 976ac31b524c: Already exists
Step #1 - "build-hatch-image": c619eab02dc4: Already exists
Step #1 - "build-hatch-image": d136c3310133: Already exists
Step #1 - "build-hatch-image": Digest: sha256:e730f8ac1ff165f22c88b5fc9d3e53668ee3e80ea1aefe06c7f06f69da14e83d
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.9.18
Step #1 - "build-hatch-image":  ---> 4b15bb967077
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":  ---> f59b9439a632
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> cb3dda06732e
Step #1 - "build-hatch-image": Successfully built cb3dda06732e
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.9.18
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.9.18
Step #3 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.9.18
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.9.18, 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 #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 #2 - "tests": tests/test_http_model_download.py ...................                    [ 65%]
Step #2 - "tests": tests/test_integrity.py ....                                             [ 68%]
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 17.71s =============================
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]
79135b350c5a: Preparing
afe28ac5c5d1: Preparing
f3b460831925: Preparing
20e2f78dadaf: Preparing
e077e19b6682: Preparing
21e1c4948146: Preparing
68866beb2ed2: Preparing
e6e2ab10dba6: Preparing
0238a1790324: Preparing
21e1c4948146: Waiting
68866beb2ed2: Waiting
e6e2ab10dba6: Waiting
0238a1790324: Waiting
20e2f78dadaf: Layer already exists
e077e19b6682: Layer already exists
f3b460831925: Layer already exists
79135b350c5a: Layer already exists
afe28ac5c5d1: Layer already exists
0238a1790324: Layer already exists
68866beb2ed2: Layer already exists
21e1c4948146: Layer already exists
e6e2ab10dba6: Layer already exists
3.9.18: digest: sha256:e3764418d9e77c8e1588d318c2199b637579398706dcf56a0bf98b6facdb438c size: 2219
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/af91bba7-ecfa-4962-a9cb-d3c6877e2441?project=464139560241