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

Summary

Build Information

Trigger kagglehub-branch-3-7-17
Build 72c568e1-fba8-4357-ae5e-bbced4e11c14
Start 2024-04-29T09:07:34-07:00
Duration 1m22.708s
Status SUCCESS

Steps

Step Status Duration
check_substitutions SUCCESS 26.114s
build-hatch-image SUCCESS 2.689s
tests SUCCESS 48.734s
lint SUCCESS 44.857s

Details

starting build "72c568e1-fba8-4357-ae5e-bbced4e11c14"

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.7.17: Pulling from kaggle-cicd/tools/hatch
Step #0 - "check_substitutions": 167b8a53ca45: Pulling fs layer
Step #0 - "check_substitutions": b47a222d28fa: Pulling fs layer
Step #0 - "check_substitutions": debce5f9f3a9: Pulling fs layer
Step #0 - "check_substitutions": 1d7ca7cd2e06: Pulling fs layer
Step #0 - "check_substitutions": ff3119008f58: Pulling fs layer
Step #0 - "check_substitutions": c2423a76a32b: Pulling fs layer
Step #0 - "check_substitutions": e1c98ca4926a: Pulling fs layer
Step #0 - "check_substitutions": 3b62c8e1d79b: Pulling fs layer
Step #0 - "check_substitutions": c13b37bb483e: Pulling fs layer
Step #0 - "check_substitutions": 1d7ca7cd2e06: Waiting
Step #0 - "check_substitutions": ff3119008f58: Waiting
Step #0 - "check_substitutions": c2423a76a32b: Waiting
Step #0 - "check_substitutions": e1c98ca4926a: Waiting
Step #0 - "check_substitutions": 3b62c8e1d79b: Waiting
Step #0 - "check_substitutions": c13b37bb483e: Waiting
Step #0 - "check_substitutions": b47a222d28fa: Verifying Checksum
Step #0 - "check_substitutions": b47a222d28fa: Download complete
Step #0 - "check_substitutions": 167b8a53ca45: Verifying Checksum
Step #0 - "check_substitutions": 167b8a53ca45: Download complete
Step #0 - "check_substitutions": debce5f9f3a9: Verifying Checksum
Step #0 - "check_substitutions": debce5f9f3a9: Download complete
Step #0 - "check_substitutions": ff3119008f58: Verifying Checksum
Step #0 - "check_substitutions": ff3119008f58: Download complete
Step #0 - "check_substitutions": c2423a76a32b: Verifying Checksum
Step #0 - "check_substitutions": c2423a76a32b: Download complete
Step #0 - "check_substitutions": e1c98ca4926a: Verifying Checksum
Step #0 - "check_substitutions": e1c98ca4926a: Download complete
Step #0 - "check_substitutions": 3b62c8e1d79b: Verifying Checksum
Step #0 - "check_substitutions": 3b62c8e1d79b: Download complete
Step #0 - "check_substitutions": c13b37bb483e: Verifying Checksum
Step #0 - "check_substitutions": c13b37bb483e: Download complete
Step #0 - "check_substitutions": 1d7ca7cd2e06: Verifying Checksum
Step #0 - "check_substitutions": 1d7ca7cd2e06: Download complete
Step #0 - "check_substitutions": 167b8a53ca45: Pull complete
Step #0 - "check_substitutions": b47a222d28fa: Pull complete
Step #0 - "check_substitutions": debce5f9f3a9: Pull complete
Step #0 - "check_substitutions": 1d7ca7cd2e06: Pull complete
Step #0 - "check_substitutions": ff3119008f58: Pull complete
Step #0 - "check_substitutions": c2423a76a32b: Pull complete
Step #0 - "check_substitutions": e1c98ca4926a: Pull complete
Step #0 - "check_substitutions": 3b62c8e1d79b: Pull complete
Step #0 - "check_substitutions": c13b37bb483e: Pull complete
Step #0 - "check_substitutions": Digest: sha256:900a099f97554ed4c7d764d10f7002ade1a727a7500fbc8074ef1cceac14f1b6
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.7.17
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.7.17
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.7.17: Pulling from library/python
Step #1 - "build-hatch-image": 167b8a53ca45: Already exists
Step #1 - "build-hatch-image": b47a222d28fa: Already exists
Step #1 - "build-hatch-image": debce5f9f3a9: Already exists
Step #1 - "build-hatch-image": 1d7ca7cd2e06: Already exists
Step #1 - "build-hatch-image": ff3119008f58: Already exists
Step #1 - "build-hatch-image": c2423a76a32b: Already exists
Step #1 - "build-hatch-image": e1c98ca4926a: Already exists
Step #1 - "build-hatch-image": 3b62c8e1d79b: Already exists
Step #1 - "build-hatch-image": Digest: sha256:eedf63967cdb57d8214db38ce21f105003ed4e4d0358f02bedc057341bcf92a0
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.7.17
Step #1 - "build-hatch-image":  ---> 16d93ae3411b
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":  ---> 689f36cabd67
Step #1 - "build-hatch-image": Step 4/4 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image":  ---> Using cache
Step #1 - "build-hatch-image":  ---> 0b79f9b2ce27
Step #1 - "build-hatch-image": Successfully built 0b79f9b2ce27
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.7.17
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.7.17
Step #3 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.7.17
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.7.17, pytest-7.4.4, pluggy-1.2.0
Step #2 - "tests": rootdir: /workspace
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.12-py3-none-any.whl.metadata (1.4 kB)
Step #3 - "lint": Collecting types-requests
Step #3 - "lint":   Downloading types_requests-2.31.0.20231231-py3-none-any.whl.metadata (1.8 kB)
Step #3 - "lint": Collecting types-tqdm
Step #3 - "lint":   Downloading types_tqdm-4.66.0.5-py3-none-any.whl.metadata (1.5 kB)
Step #3 - "lint": Collecting urllib3>=2 (from types-requests)
Step #3 - "lint":   Using cached urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Step #3 - "lint": Downloading types_colorama-0.4.15.12-py3-none-any.whl (5.7 kB)
Step #3 - "lint": Downloading types_requests-2.31.0.20231231-py3-none-any.whl (14 kB)
Step #3 - "lint": Downloading types_tqdm-4.66.0.5-py3-none-any.whl (18 kB)
Step #3 - "lint": Using cached urllib3-2.0.7-py3-none-any.whl (124 kB)
Step #3 - "lint": Installing collected packages: types-colorama, urllib3, types-tqdm, types-requests
Step #3 - "lint": Successfully installed types-colorama-0.4.15.12 types-requests-2.31.0.20231231 types-tqdm-4.66.0.5 urllib3-2.0.7
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 #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 18.09s =============================
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]
64fc2dec9245: Preparing
45c430b35dba: Preparing
8e23f007f16f: Preparing
aef22e07d5d7: Preparing
c26432533a6a: Preparing
01d6cdeac539: Preparing
a981dddd4c65: Preparing
f6589095d5b5: Preparing
7c85cfa30cb1: Preparing
01d6cdeac539: Waiting
a981dddd4c65: Waiting
f6589095d5b5: Waiting
7c85cfa30cb1: Waiting
aef22e07d5d7: Layer already exists
64fc2dec9245: Layer already exists
8e23f007f16f: Layer already exists
c26432533a6a: Layer already exists
45c430b35dba: Layer already exists
01d6cdeac539: Layer already exists
f6589095d5b5: Layer already exists
7c85cfa30cb1: Layer already exists
a981dddd4c65: Layer already exists
3.7.17: digest: sha256:900a099f97554ed4c7d764d10f7002ade1a727a7500fbc8074ef1cceac14f1b6 size: 2219
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/72c568e1-fba8-4357-ae5e-bbced4e11c14?project=464139560241