8000 fix: buck2 build fbcode//caffe2:torch_types_gen by luciang · Pull Request #75176 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: buck2 build fbcode//caffe2:torch_types_gen #75176

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

Closed
wants to merge 1 commit into from

Conversation

luciang
Copy link
Contributor
@luciang luciang commented Apr 4, 2022

Summary:
Switch to python resources to fix build on buck2

https://www.internalfb.com/intern/wiki/Buck-users/Python_Resources_in_fbcode/

Reviewed By: r-barnes

Differential Revision: D35352705

Summary:
Switch to python resources to fix build on buck2

https://www.internalfb.com/intern/wiki/Buck-users/Python_Resources_in_fbcode/

Reviewed By: r-barnes

Differential Revision: D35352705

fbshipit-source-id: dd2fb5935fab3ef42c569c1b93cbba831853e8de
@facebook-github-bot
Copy link
Contributor
facebook-github-bot commented Apr 4, 2022

🔗 Helpful links

💊 CI failures summary and remediations

As of commit efe3b14 (more details on the Dr. CI page):


  • 15/15 failures introduced in this PR

🕵️ 15 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See GitHub Actions build Lint / Test tools (1/15)

Step: "Test tools" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:07:46.6391185Z AssertionError: 'x...uffer/__init__.pyi:1:1: error: Ca[2402 chars]d]\n'
2022-04-04T09:07:46.6386911Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/unittest/async_case.py", line 65, in _callTestMethod
2022-04-04T09:07:46.6387381Z     self._callMaybeAsync(method)
2022-04-04T09:07:46.6387804Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/unittest/async_case.py", line 88, in _callMaybeAsync
2022-04-04T09:07:46.6388190Z     return self._asyncioTestLoop.run_until_complete(fut)
2022-04-04T09:07:46.6388631Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2022-04-04T09:07:46.6388979Z     return future.result()
2022-04-04T09:07:46.6389363Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/unittest/async_case.py", line 102, in _asyncioLoopRunner
2022-04-04T09:07:46.6389685Z     ret = await awaitable
2022-04-04T09:07:46.6390061Z   File "/home/runner/work/pytorch/pytorch/tools/test/test_actions_local_runner.py", line 187, in test_mypy
2022-04-04T09:07:46.6390438Z     self.assertEqual(expected, f.getvalue())
2022-04-04T09:07:46.6391185Z AssertionError: 'x my[35 chars]orch/some_stubs.pyi:3:17: error: Incompatible [782 chars]t]\n' != 'x my[35 chars]orch/_C_flatbuffer/__init__.pyi:1:1: error: Ca[2402 chars]d]\n'
2022-04-04T09:07:46.6391578Z   x mypy (skipped typestub generation)
2022-04-04T09:07:46.6392105Z + torch/_C_flatbuffer/__init__.pyi:1:1: error: Cannot find implementation or library stub for module named 'torch._C'  [import]
2022-04-04T09:07:46.6392742Z + torch/_C_flatbuffer/__init__.pyi:1:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
2022-04-04T09:07:46.6393247Z   torch/some_stubs.pyi:3:17: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
2022-04-04T09:07:46.6393736Z   torch/some_stubs.pyi:4:17: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
2022-04-04T09:07:46.6394467Z   torch/some_cool_file.py:3:17: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
2022-04-04T09:07:46.6394979Z   torch/some_cool_file.py:4:17: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
2022-04-04T09:07:46.6395480Z   caffe2/some_cool_file.py:3:17: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
2022-04-04T09:07:46.6395968Z   caffe2/some_cool_file.py:4:17: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
2022-04-04T09:07:46.6396563Z + torch/nn/parallel/common_types.pyi:2:1: error: Module 'torch' has no attribute 'device'  [attr-defined]

See GitHub Actions build Lint / mypy (2/15)

Step: "Run autogen" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:02:30.0219326Z ModuleNotFoundError: No module named 'libfb'
2022-04-04T09:02:29.8367984Z user	0m17.193s
2022-04-04T09:02:29.8368413Z sys	0m0.148s
2022-04-04T09:02:29.8369650Z + python3 -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --deprecated-functions-path tools/autograd/deprecated.yaml
2022-04-04T09:02:30.0198222Z Traceback (most recent call last):
2022-04-04T09:02:30.0214587Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2022-04-04T09:02:30.0215475Z     return _run_code(code, main_globals, None,
2022-04-04T09:02:30.0216292Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/runpy.py", line 87, in _run_code
2022-04-04T09:02:30.0216946Z     exec(code, run_globals)
2022-04-04T09:02:30.0217669Z   File "/home/runner/work/pytorch/pytorch/tools/pyi/gen_pyi.py", line 14, in <module>
2022-04-04T09:02:30.0218334Z     from libfb.py import parutil
2022-04-04T09:02:30.0219326Z ModuleNotFoundError: No module named 'libfb'
2022-04-04T09:02:30.0381624Z 
2022-04-04T09:02:30.0381922Z real	0m0.202s
2022-04-04T09:02:30.0382216Z user	0m0.174s
2022-04-04T09:02:30.0386255Z sys	0m0.028s
2022-04-04T09:02:30.0401150Z ##[error]Process completed with exit code 1.
2022-04-04T09:02:30.0476180Z Post job cleanup.
2022-04-04T09:02:30.1797513Z [command]/usr/bin/git version
2022-04-04T09:02:30.1871635Z git version 2.35.1
2022-04-04T09:02:30.1929270Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-04-04T09:02:30.1997432Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :

See GitHub Actions build pull / linux-xenial-py3.7-clang7-onnx / build (3/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:14.1068148Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:14.1065328Z �[36;1mfi�[0m
2022-04-04T09:06:14.1065544Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:14.1065885Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:14.1066211Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:14.1066549Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:14.1066813Z �[36;1m  exit 1�[0m
2022-04-04T09:06:14.1066978Z �[36;1mfi�[0m
2022-04-04T09:06:14.1067210Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:14.1067521Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:14.1067824Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:14.1068148Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:14.1068491Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:14.1068705Z �[36;1m  exit 1�[0m
2022-04-04T09:06:14.1068925Z �[36;1mfi�[0m
2022-04-04T09:06:14.1069119Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:14.1079236Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:14.1079452Z env:
2022-04-04T09:06:14.1079612Z   IN_CI: 1
2022-04-04T09:06:14.1079756Z   IS_GHA: 1
2022-04-04T09:06:14.1079969Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:14.1080356Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang7-onnx:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-xenial-py3.7-gcc7-no-ops / build (4/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:13.7032190Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:13.7029274Z �[36;1mfi�[0m
2022-04-04T09:06:13.7029498Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:13.7029834Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:13.7030239Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:13.7030569Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:13.7030851Z �[36;1m  exit 1�[0m
2022-04-04T09:06:13.7031011Z �[36;1mfi�[0m
2022-04-04T09:06:13.7031231Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:13.7031558Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:13.7031863Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}"
8000
 = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:13.7032190Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:13.7032517Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:13.7032748Z �[36;1m  exit 1�[0m
2022-04-04T09:06:13.7032968Z �[36;1mfi�[0m
2022-04-04T09:06:13.7033164Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:13.7043172Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:13.7043390Z env:
2022-04-04T09:06:13.7043692Z   IN_CI: 1
2022-04-04T09:06:13.7043840Z   IS_GHA: 1
2022-04-04T09:06:13.7044056Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:13.7044438Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.7-gcc7:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-bionic-rocm5.0-py3.7 / build (5/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:08.5760308Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:08.5757430Z �[36;1mfi�[0m
2022-04-04T09:06:08.5757653Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:08.5757988Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:08.5758296Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:08.5758696Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:08.5758973Z �[36;1m  exit 1�[0m
2022-04-04T09:06:08.5759136Z �[36;1mfi�[0m
2022-04-04T09:06:08.5759355Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:08.5759682Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:08.5759980Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:08.5760308Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:08.5760636Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:08.5760869Z �[36;1m  exit 1�[0m
2022-04-04T09:06:08.5761086Z �[36;1mfi�[0m
2022-04-04T09:06:08.5761268Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:08.5771705Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:08.5771925Z env:
2022-04-04T09:06:08.5772069Z   IN_CI: 1
2022-04-04T09:06:08.5772230Z   IS_GHA: 1
2022-04-04T09:06:08.5772445Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:08.5772813Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-rocm5.0-py3.7:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / build (6/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:16.8727021Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:16.8724097Z �[36;1mfi�[0m
2022-04-04T09:06:16.8724324Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:16.8724657Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:16.8724970Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:16.8725379Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:16.8725660Z �[36;1m  exit 1�[0m
2022-04-04T09:06:16.8725826Z �[36;1mfi�[0m
2022-04-04T09:06:16.8726052Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:16.8726384Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:16.8726689Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:16.8727021Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:16.8727355Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:16.8727584Z �[36;1m  exit 1�[0m
2022-04-04T09:06:16.8727793Z �[36;1mfi�[0m
2022-04-04T09:06:16.8727980Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:16.8738212Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:16.8738431Z env:
2022-04-04T09:06:16.8738576Z   IN_CI: 1
2022-04-04T09:06:16.8738735Z   IS_GHA: 1
2022-04-04T09:06:16.8738949Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:16.8739318Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-py3.7-clang9:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-vulkan-bionic-py3.7-clang9 / build (7/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:11.7055978Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:11.7052683Z �[36;1mfi�[0m
2022-04-04T09:06:11.7052911Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:11.7053243Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:11.7053554Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:11.7054003Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:11.7054357Z �[36;1m  exit 1�[0m
2022-04-04T09:06:11.7054522Z �[36;1mfi�[0m
2022-04-04T09:06:11.7055006Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:11.7055344Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:11.7055652Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:11.7055978Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:11.7056311Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:11.7056542Z �[36;1m  exit 1�[0m
2022-04-04T09:06:11.7056765Z �[36;1mfi�[0m
2022-04-04T09:06:11.7056951Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:11.7067080Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:11.7067300Z env:
2022-04-04T09:06:11.7067442Z   IN_CI: 1
2022-04-04T09:06:11.7067601Z   IS_GHA: 1
2022-04-04T09:06:11.7067813Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:11.7068182Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-py3.7-clang9:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / build (8/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:17.5901591Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:17.5898654Z �[36;1mfi�[0m
2022-04-04T09:06:17.5898882Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:17.5899223Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:17.5899536Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:17.5899948Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:17.5900230Z �[36;1m  exit 1�[0m
2022-04-04T09:06:17.5900398Z �[36;1mfi�[0m
2022-04-04T09:06:17.5900622Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:17.5900951Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:17.5901258Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:17.5901591Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:17.5901921Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:17.5902208Z �[36;1m  exit 1�[0m
2022-04-04T09:06:17.5902376Z �[36;1mfi�[0m
2022-04-04T09:06:17.5902563Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:17.5912787Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:17.5913014Z env:
2022-04-04T09:06:17.5913161Z   IN_CI: 1
2022-04-04T09:06:17.5913322Z   IS_GHA: 1
2022-04-04T09:06:17.5913540Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:17.5913935Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda11.3-cudnn8-py3-gcc7:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / build (9/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:19:33.6000091Z FAILED: ../torch/_...nner/_work/pytorch/pytorch/torch/nn/functional.pyi
2022-04-04T09:19:32.9330803Z [4489/6271] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\c10\cuda\..\.. -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include" -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/action
8000
s-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\cuda\test\CMakeFiles\c10_cuda_CUDATest.dir\impl\CUDATest.cpp.obj /Fdc10\cuda\test\CMakeFiles\c10_cuda_CUDATest.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\c10\cuda\test\impl\CUDATest.cpp
2022-04-04T09:19:32.9334550Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-04T09:19:32.9334859Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-04T09:19:32.9335017Z 
2022-04-04T09:19:33.0538998Z [4490/6271] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch\build\caffe2 && C:\Jenkins\Miniconda3\python.exe C:/actions-runner/_work/pytorch/pytorch/torch/csrc/jit/codegen/cuda/tools/stringify_file.py -i C:/actions-runner/_work/pytorch/pytorch/torch/csrc/jit/codegen/cuda/runtime/block_reduction.cu -o C:/actions-runner/_work/pytorch/pytorch/build/include/nvfuser_resources/block_reduction.h"
2022-04-04T09:19:33.0704402Z [4491/6271] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dc10_cuda_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\c10\cuda\..\.. -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include" -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_CUDA_BUILD_MAIN_LIB -std:c++14 /showIncludes /Foc10\cuda\CMakeFiles\c10_cuda.dir\impl\CUDAGuardImpl.cpp.obj /Fdc10\cuda\CMakeFiles\c10_cuda.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\c10\cuda\impl\CUDAGuardImpl.cpp
2022-04-04T09:19:33.0710272Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-04T09:19:33.0710805Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-04T09:19:33.0711299Z 
2022-04-04T09:19:33.5999182Z [4492/6271] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch && C:\Jenkins\Miniconda3\python.exe -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --deprecated-functions-path tools/autograd/deprecated.yaml"
2022-04-04T09:19:33.6000091Z FAILED: ../torch/_C/__init__.pyi ../torch/_C/_VariableFunctions.pyi ../torch/nn/functional.pyi C:/actions-runner/_work/pytorch/pytorch/torch/_C/__init__.pyi C:/actions-runner/_work/pytorch/pytorch/torch/_C/_VariableFunctions.pyi C:/actions-runner/_work/pytorch/pytorch/torch/nn/functional.pyi 
2022-04-04T09:19:33.6000931Z cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch && C:\Jenkins\Miniconda3\python.exe -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --deprecated-functions-path tools/autograd/deprecated.yaml"
2022-04-04T09:19:33.6001453Z Traceback (most recent call last):
2022-04-04T09:19:33.6009852Z   File "C:\Jenkins\Miniconda3\lib\runpy.py", line 194, in _run_module_as_main
2022-04-04T09:19:33.6010279Z     return _run_code(code, main_globals, None,
2022-04-04T09:19:33.6010620Z   File "C:\Jenkins\Miniconda3\lib\runpy.py", line 87, in _run_code
2022-04-04T09:19:33.6010898Z     exec(code, run_globals)
2022-04-04T09:19:33.6011245Z   File "C:\actions-runner\_work\pytorch\pytorch\tools\pyi\gen_pyi.py", line 14, in <module>
2022-04-04T09:19:33.6011561Z     from libfb.py import parutil
2022-04-04T09:19:33.6011800Z ModuleNotFoundError: No module named 'libfb'
2022-04-04T09:19:33.9214734Z [4493/6271] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch\build\caffe2 && C:\Jenkins\Miniconda3\python.exe C:/actions-runner/_work/pytorch/pytorch/torch/csrc/jit/codegen/cuda/tools/stringify_file.py -i C:/actions-runner/_work/pytorch/pytorch/torch/csrc/jit/codegen/cuda/runtime/array.cu -o C:/actions-runner/_work/pytorch/pytorch/build/include/nvfuser_resources/array.h"

See GitHub Actions build pull / linux-xenial-py3.7-gcc7 / build (10/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:05:31.8819298Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:05:31.8816337Z �[36;1mfi�[0m
2022-04-04T09:05:31.8816569Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:05:31.8816915Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:05:31.8817305Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:05:31.8817649Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:05:31.8817934Z �[36;1m  exit 1�[0m
2022-04-04T09:05:31.8818103Z �[36;1mfi�[0m
2022-04-04T09:05:31.8818326Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:05:31.8818659Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:05:31.8818964Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:05:31.8819298Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:05:31.8819629Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:05:31.8819865Z �[36;1m  exit 1�[0m
2022-04-04T09:05:31.8820087Z �[36;1mfi�[0m
2022-04-04T09:05:31.8820275Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:05:31.8830849Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:05:31.8831078Z env:
2022-04-04T09:05:31.8831226Z   IN_CI: 1
2022-04-04T09:05:31.8831390Z   IS_GHA: 1
2022-04-04T09:05:31.8831608Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:05:31.8831975Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.7-gcc7:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / deploy-linux-xenial-cuda11.3-py3.7-gcc7 / build (11/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:16.7368046Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:16.7365082Z �[36;1mfi�[0m
2022-04-04T09:06:16.7365309Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:16.7365651Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:16.7365976Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:16.7366378Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:16.7366665Z �[36;1m  exit 1�[0m
2022-04-04T09:06:16.7366837Z �[36;1mfi�[0m
2022-04-04T09:06:16.7367063Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:16.7367399Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:16.7367709Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:16.7368046Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:16.7368380Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:16.7368662Z �[36;1m  exit 1�[0m
2022-04-04T09:06:16.7368829Z �[36;1mfi�[0m
2022-04-04T09:06:16.7369028Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:16.7379150Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:16.7379373Z env:
2022-04-04T09:06:16.7379531Z   IN_CI: 1
2022-04-04T09:06:16.7379681Z   IS_GHA: 1
2022-04-04T09:06:16.7379897Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:16.7380309Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda11.3-cudnn8-py3-gcc7:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / build (12/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:12.5521329Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:12.5518439Z �[36;1mfi�[0m
2022-04-04T09:06:12.5518668Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:12.5519067Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:12.5519376Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:12.5519714Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:12.5519990Z �[36;1m  exit 1�[0m
2022-04-04T09:06:12.5520153Z �[36;1mfi�[0m
2022-04-04T09:06:12.5520373Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:12.5520698Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:12.5521000Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:12.5521329Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:12.5521659Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:12.5521887Z �[36;1m  exit 1�[0m
2022-04-04T09:06:12.5522099Z �[36;1mfi�[0m
2022-04-04T09:06:12.5522284Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:12.5532430Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:12.5532647Z env:
2022-04-04T09:06:12.5532791Z   IN_CI: 1
2022-04-04T09:06:12.5532952Z   IS_GHA: 1
2022-04-04T09:06:12.5533166Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:12.5533538Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang7-asan:3c8505af7f950e5107f15c680d2fb85c7eb425ef

See GitHub Actions build pull / win-vs2019-cpu-py3 / build (13/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:19:15.2509368Z FAILED: ../torch/_...nner/_work/pytorch/pytorch/torch/nn/functional.pyi
2022-04-04T09:19:14.3699928Z [4465/5832] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_irange_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_irange_test.dir\util\irange_test.cpp.obj  /out:bin\c10_irange_test.exe /implib:lib\c10_irange_test.lib /pdb:bin\c10_irange_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-04T09:19:14.4875141Z [4466/5832] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\third_party\benchmark\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pyto
8000
rch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\benchmark\CMakeFiles\c10_intrusive_ptr_benchmark.dir\intrusive_ptr_benchmark.cpp.obj /Fdc10\benchmark\CMakeFiles\c10_intrusive_ptr_benchmark.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\c10\benchmark\intrusive_ptr_benchmark.cpp
2022-04-04T09:19:14.4881873Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-04T09:19:14.4882449Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-04T09:19:14.4882798Z 
2022-04-04T09:19:14.5573443Z [4467/5832] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_global_deps_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include /DWIN32 /D_WINDOWS /w /bigobj -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -std:c11 /showIncludes /Focaffe2\CMakeFiles\torch_global_deps.dir\__\torch\csrc\empty.c.obj /Fdcaffe2\CMakeFiles\torch_global_deps.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\torch\csrc\empty.c
2022-04-04T09:19:14.5576487Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-04T09:19:14.5576799Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-04T09:19:14.5576973Z 
2022-04-04T09:19:15.2508451Z [4468/5832] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch && C:\Jenkins\Miniconda3\python.exe -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --deprecated-functions-path tools/autograd/deprecated.yaml"
2022-04-04T09:19:15.2509368Z FAILED: ../torch/_C/__init__.pyi ../torch/_C/_VariableFunctions.pyi ../torch/nn/functional.pyi C:/actions-runner/_work/pytorch/pytorch/torch/_C/__init__.pyi C:/actions-runner/_work/pytorch/pytorch/torch/_C/_VariableFunctions.pyi C:/actions-runner/_work/pytorch/pytorch/torch/nn/functional.pyi 
2022-04-04T09:19:15.2510192Z cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch && C:\Jenkins\Miniconda3\python.exe -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --deprecated-functions-path tools/autograd/deprecated.yaml"
2022-04-04T09:19:15.2510739Z Traceback (most recent call last):
2022-04-04T09:19:15.2519039Z   File "C:\Jenkins\Miniconda3\lib\runpy.py", line 194, in _run_module_as_main
2022-04-04T09:19:15.2519454Z     return _run_code(code, main_globals, None,
2022-04-04T09:19:15.2519787Z   File "C:\Jenkins\Miniconda3\lib\runpy.py", line 87, in _run_code
2022-04-04T09:19:15.2520046Z     exec(code, run_globals)
2022-04-04T09:19:15.2520586Z   File "C:\actions-runner\_work\pytorch\pytorch\tools\pyi\gen_pyi.py", line 14, in <module>
2022-04-04T09:19:15.2520899Z     from libfb.py import parutil
2022-04-04T09:19:15.2521137Z ModuleNotFoundError: No module named 'libfb'
2022-04-04T09:19:15.8326088Z [4469/5832] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_tempfile_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_tempfile_test.dir\util\tempfile_test.cpp.obj  /out:bin\c10_tempfile_test.exe /implib:lib\c10_tempfile_test.lib /pdb:bin\c10_tempfile_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

See GitHub Actions build pull / pytorch-xla-linux-bionic-py3.7-clang8 / build (14/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:18.0036464Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:18.0033545Z �[36;1mfi�[0m
2022-04-04T09:06:18.0033769Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:18.0034110Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:18.0034497Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:18.0034837Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:18.0035115Z �[36;1m  exit 1�[0m
2022-04-04T09:06:18.0035279Z �[36;1mfi�[0m
2022-04-04T09:06:18.0035500Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:18.0035828Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:18.0036133Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:18.0036464Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:18.0036792Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:18.0037072Z �[36;1m  exit 1�[0m
2022-04-04T09:06:18.0037239Z �[36;1mfi�[0m
2022-04-04T09:06:18.0037424Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:18.0047758Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:18.0047975Z env:
2022-04-04T09:06:18.0048120Z   IN_CI: 1
2022-04-04T09:06:18.0048282Z   IS_GHA: 1
2022-04-04T09:06:18.0048497Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:18.0048781Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/xla_base:v0.2

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / build (15/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2022-04-04T09:06:11.5984349Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2022-04-04T09:06:11.5981437Z �[36;1mfi�[0m
2022-04-04T09:06:11.5981743Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2022-04-04T09:06:11.5982083Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2022-04-04T09:06:11.5982409Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2022-04-04T09:06:11.5982736Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2022-04-04T09:06:11.5983016Z �[36;1m  exit 1�[0m
2022-04-04T09:06:11.5983181Z �[36;1mfi�[0m
2022-04-04T09:06:11.5983400Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2022-04-04T09:06:11.5983721Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2022-04-04T09:06:11.5984025Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2022-04-04T09:06:11.5984349Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2022-04-04T09:06:11.5984681Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2022-04-04T09:06:11.5984912Z �[36;1m  exit 1�[0m
2022-04-04T09:06:11.5985136Z �[36;1mfi�[0m
2022-04-04T09:06:11.5985336Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2022-04-04T09:06:11.5995686Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-04-04T09:06:11.5995903Z env:
2022-04-04T09:06:11.5996059Z   IN_CI: 1
2022-04-04T09:06:11.5996209Z   IS_GHA: 1
2022-04-04T09:06:11.5996423Z   BASE_REVISION: c5872e6d6d8fd9b8439b914c143d49488335f573
2022-04-04T09:06:11.5996803Z   DOCKER_IMAGE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.7-gcc5.4:3c8505af7f950e5107f15c680d2fb85c7eb425ef

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D35352705

facebook-github-bot pushed a commit that referenced this pull request Apr 4, 2022
Summary:
Pull Request resolved: #75176

Switch to python resources to fix build on buck2

https://www.internalfb.com/intern/wiki/Buck-users/Python_Resources_in_fbcode/

Reviewed By: r-barnes

Differential Revision: D35352705

fbshipit-source-id: f85043ebbcfbb30d287c802ff7401c89155a024a
@github-actions
Copy link
Contributor
github-actions bot commented Apr 4, 2022

Hey @luciang.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

@@ -11,6 +11,7 @@
from typing import Sequence, List, Dict

from tools.autograd.gen_python_functions import should_generate_py_binding, load_signatures, group_overloads
from libfb.py import parutil
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luciang this change adds libfb.py dependency that breaks pytorch build for open-source setups.
What is the origin of libfb?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is reverted now.

@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 7b506e8. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 7b506e8. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0