Closed Bug 1414802 Opened 7 years ago Closed 7 years ago

Intermittent Return code: 1 after error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox58 fixed, firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- fixed
firefox59 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jmaher)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:other])

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=142324255&repo=autoland

https://archive.mozilla.org/pub/firefox/tinderbox-builds/autoland-win32-pgo/autoland_win7_ix_test-h2-e10s-pgo-bm110-tests1-windows-build412.txt.gz

20:19:05     INFO -  Requirement already satisfied: pydivert<2.1,>=2.0.3; sys_platform == "win32" in c:\slave\test\py3venv\lib\site-packages (from mitmproxy==2.0.2->-r C:\slave\test\build\tests\talos\talos\mitmproxy\mitmproxy_requirements.txt (line 19))
20:19:06     INFO -  Installing collected packages: cryptography, jsbeautifier, requests
20:19:06     INFO -    Found existing installation: cryptography 1.8.2
20:19:07     INFO -      Uninstalling cryptography-1.8.2:
20:19:09     INFO -        Successfully uninstalled cryptography-1.8.2
20:19:09     INFO -    Running setup.py install for cryptography: started
20:19:13     INFO -      Running setup.py install for cryptography: finished with status 'error'
20:19:13     INFO -      Complete output from command c:\slave\test\py3venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CLTBLD~1.003\\AppData\\Local\\Temp\\pip-build-zvflojz4\\cryptography\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\CLTBLD~1.003\AppData\Local\Temp\pip-wt31pyme-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\slave\test\py3venv\include\site\python3.6\cryptography:
20:19:13     INFO -      running install
20:19:13     INFO -      running build
20:19:13     INFO -      running build_py
20:19:13     INFO -      creating build
20:19:13     INFO -      creating build\lib.win32-3.6
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography
20:19:13     INFO -      copying src\cryptography\exceptions.py -> build\lib.win32-3.6\cryptography
20:19:13     INFO -      copying src\cryptography\fernet.py -> build\lib.win32-3.6\cryptography
20:19:13     INFO -      copying src\cryptography\utils.py -> build\lib.win32-3.6\cryptography
20:19:13     INFO -      copying src\cryptography\__about__.py -> build\lib.win32-3.6\cryptography
20:19:13     INFO -      copying src\cryptography\__init__.py -> build\lib.win32-3.6\cryptography
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat
20:19:13     INFO -      copying src\cryptography\hazmat\__init__.py -> build\lib.win32-3.6\cryptography\hazmat
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\base.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\extensions.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\general_name.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\name.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\oid.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      copying src\cryptography\x509\__init__.py -> build\lib.win32-3.6\cryptography\x509
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\backends
20:19:13     INFO -      copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-3.6\cryptography\hazmat\backends
20:19:13     INFO -      copying src\cryptography\hazmat\backends\multibackend.py -> build\lib.win32-3.6\cryptography\hazmat\backends
20:19:13     INFO -      copying src\cryptography\hazmat\backends\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\backends
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\bindings
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\bindings
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\backends\commoncrypto\backend.py -> build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\backends\commoncrypto\ciphers.py -> build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\backends\commoncrypto\hashes.py -> build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\backends\commoncrypto\hmac.py -> build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\backends\commoncrypto\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\backends\commoncrypto
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\backends\openssl\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\backends\openssl
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\bindings\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\commoncrypto\binding.py -> build\lib.win32-3.6\cryptography\hazmat\bindings\commoncrypto
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\commoncrypto\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\bindings\commoncrypto
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\bindings\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-3.6\cryptography\hazmat\bindings\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\openssl\_conditional.py -> build\lib.win32-3.6\cryptography\hazmat\bindings\openssl
20:19:13     INFO -      copying src\cryptography\hazmat\bindings\openssl\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\bindings\openssl
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\asymmetric\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\asymmetric
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives\ciphers
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\ciphers
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\ciphers
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\ciphers
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\ciphers\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\ciphers
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives\interfaces
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\interfaces\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\interfaces
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\kdf\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\kdf
20:19:13     INFO -      creating build\lib.win32-3.6\cryptography\hazmat\primitives\twofactor
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\twofactor
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\twofactor
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\twofactor
20:19:13     INFO -      copying src\cryptography\hazmat\primitives\twofactor\__init__.py -> build\lib.win32-3.6\cryptography\hazmat\primitives\twofactor
20:19:13     INFO -      running egg_info
20:19:13     INFO -      writing src\cryptography.egg-info\PKG-INFO
20:19:13     INFO -      writing dependency_links to src\cryptography.egg-info\dependency_links.txt
20:19:13     INFO -      writing entry points to src\cryptography.egg-info\entry_points.txt
20:19:13     INFO -      writing requirements to src\cryptography.egg-info\requires.txt
20:19:13     INFO -      writing top-level names to src\cryptography.egg-info\top_level.txt
20:19:13     INFO -      warning: manifest_maker: standard file '-c' not found
20:19:13     INFO -      reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
20:19:13     INFO -      reading manifest template 'MANIFEST.in'
20:19:13     INFO -      no previously-included directories found matching 'docs\_build'
20:19:13     INFO -      warning: no previously-included files matching '*' found under directory 'vectors'
20:19:13     INFO -      writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
20:19:13     INFO -      running build_ext
20:19:13     INFO -      generating cffi module 'build\\temp.win32-3.6\\Release\\_padding.c'
20:19:13     INFO -      creating build\temp.win32-3.6
20:19:13     INFO -      creating build\temp.win32-3.6\Release
20:19:13     INFO -      generating cffi module 'build\\temp.win32-3.6\\Release\\_constant_time.c'
20:19:13     INFO -      generating cffi module 'build\\temp.win32-3.6\\Release\\_openssl.c'
20:19:13     INFO -      building '_openssl' extension
20:19:13     INFO -      error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
20:19:13     INFO -      ----------------------------------------
20:19:13     INFO -    Rolling back uninstall of cryptography
20:19:17     INFO -  Command "c:\slave\test\py3venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CLTBLD~1.003\\AppData\\Local\\Temp\\pip-build-zvflojz4\\cryptography\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\CLTBLD~1.003\AppData\Local\Temp\pip-wt31pyme-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\slave\test\py3venv\include\site\python3.6\cryptography" failed with error code 1 in C:\Users\CLTBLD~1.003\AppData\Local\Temp\pip-build-zvflojz4\cryptography\
20:19:17    ERROR - Return code: 1
This is almost permafailing now. "Microsoft Visual C++ 14.0 is required" sometimes shows up in the log summary today (prefixed with DistUtils), there might be an investigation ongoing in a different bug.
Severity: normal → blocker
Flags: needinfo?(jmaher)
I find it odd that this is failing on h2 only and not tp6, this indicates that the requirements of the heavy profile are conflicting.  It appears to be Cryptography, mitmproxy uses 1.8.1, and we can successfully have 1.8.2 installed- possibly we need to update our requirement in mitmproxy?

here is a try push upgrading the mitmproxy requirement:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1ea66643e932e2c368185549cc1af4cf8db28d4

worse case scenario we can disable h2 on win7, I see a lot of value on win10 and linux64, less value on win7.
Flags: needinfo?(jmaher)
keep in mind this won't make the jobs green, we fail 80% of the time with bug 1415858 on windows 7 (same platform as here) due to time to copy profiles.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #8929078 - Flags: review?(rwood)
Comment on attachment 8929078 [details] [diff] [review]
upgrade the requirement for cryptography package

Hmm interesting re: only on h2. R+ pending try run
Attachment #8929078 - Flags: review?(rwood) → review+
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8399adcbb5a8
change mitmproxy cryptograpy package requirement to use 1.8.2. r=rwood
https://hg.mozilla.org/mozilla-central/rev/8399adcbb5a8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Whiteboard: [stockwell fixed:other]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: