Back to build
Raw log | Switch to full mode | Login

Debugging info: CURRENT_DIR: '/b/s/w/ir/k' DEPOT_TOOLS_DIR: '/b/s/w/ir/kitchen-checkout/depot_tools' THIS_DIR: '/b/s/w/ir/kitchen-checkout/depot_tools/recipes/recipe_modules/bot_update/resources' Gclient Solutions ================= boringssl (https://boringssl.googlesource.com/boringssl.git) Dependencies file is util/bot/DEPS Managed mode is OFF Custom Variables: checkout_clang = True ===Running /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py recurse -v git update-index --refresh === In directory: /b/s/w/ir/k WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created. Can't find .gclient_entries You need to run gclient sync at least once to use 'recurse'. This is because .gclient_entries needs to exist and be up to date. ===Failed in 0.0 mins of /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py recurse -v git update-index --refresh === WARNING: Failed to update git indices. Revisions: ['boringssl@HEAD'] Fetching Git checkout at boringssl@HEAD Using Python version: 2.7.14+chromium14 (df075345c7-dirty:df075345c7, Oct 3 2017, 17:29:00) [GCC 4.8.4] Checking git version... ===Running git version === In directory: /b/s/w/ir/k git version 2.21.0.chromium16 / Infra wrapper (infra/tools/git/linux-amd64 @ EWp1PZOjn8W4pXONR9mtwNO0RQzp2N1qKYAikv60t3sC) ===Succeeded in 0.0 mins of git version === Using git version 2.21.0.chromium16 / Infra wrapper (infra/tools/git/linux-amd64 @ EWp1PZOjn8W4pXONR9mtwNO0RQzp2N1qKYAikv60t3sC) ===Running git config --get protocol.version === In directory: /b/s/w/ir/k 2 ===Succeeded in 0.0 mins of git config --get protocol.version === Using git protocol version 2 Fetching Git checkout ===Running /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/git_cache.py populate --ignore_locks -v --cache-dir /b/s/w/ir/cache/git https://boringssl.googlesource.com/boringssl.git --reset-fetch-config === In directory: /b/s/w/ir/k /b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl has 1 .pack files, re-bootstrapping if >50 running "git config --unset-all remote.origin.fetch" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" running "git config gc.autodetach 0" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" running "git config core.deltaBaseCacheLimit 2g" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" running "git config remote.origin.url https://boringssl.googlesource.com/boringssl.git" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" running "git config --replace-all remote.origin.fetch +refs/heads/*:refs/heads/* \+refs/heads/\*:.*" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" Fetching +refs/heads/*:refs/heads/* running "git fetch -v --progress origin +refs/heads/*:refs/heads/*" in "/b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl" From https://boringssl.googlesource.com/a/boringssl = [up to date] 2214 -> 2214 = [up to date] 2272 -> 2272 = [up to date] 2311 -> 2311 = [up to date] 2357 -> 2357 = [up to date] 2490 -> 2490 = [up to date] 2564 -> 2564 = [up to date] 2623 -> 2623 = [up to date] 2661 -> 2661 = [up to date] 2704 -> 2704 = [up to date] 2883 -> 2883 = [up to date] 2924 -> 2924 = [up to date] 2987 -> 2987 = [up to date] 3029 -> 3029 = [up to date] 3071 -> 3071 = [up to date] 3112 -> 3112 = [up to date] 3202 -> 3202 = [up to date] 3239 -> 3239 = [up to date] 3282 -> 3282 = [up to date] 3359 -> 3359 = [up to date] 3538 -> 3538 = [up to date] chromium-stable -> chromium-stable = [up to date] chromium-stable-with-bazel -> chromium-stable-with-bazel = [up to date] fips-20180730 -> fips-20180730 = [up to date] infra/config -> infra/config = [up to date] master -> master = [up to date] master-with-bazel -> master-with-bazel fetch +refs/heads/*:refs/heads/* took 0.0 minutes ===Succeeded in 0.0 mins of /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/git_cache.py populate --ignore_locks -v --cache-dir /b/s/w/ir/cache/git https://boringssl.googlesource.com/boringssl.git --reset-fetch-config === ===Running /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/git_cache.py exists --quiet --cache-dir /b/s/w/ir/cache/git https://boringssl.googlesource.com/boringssl.git === In directory: /b/s/w/ir/k /b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl ===Succeeded in 0.0 mins of /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/git_cache.py exists --quiet --cache-dir /b/s/w/ir/cache/git https://boringssl.googlesource.com/boringssl.git === ===Running git clone --no-checkout --local --shared /b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl /b/s/w/ir/k/boringssl === In directory: /b/s/w/ir/k Cloning into '/b/s/w/ir/k/boringssl'... done. ===Succeeded in 0.0 mins of git clone --no-checkout --local --shared /b/s/w/ir/cache/git/boringssl.googlesource.com-boringssl /b/s/w/ir/k/boringssl === ===Running git config gc.auto 0 === In directory: /b/s/w/ir/k/boringssl ===Succeeded in 0.0 mins of git config gc.auto 0 === ===Running git config gc.autodetach 0 === In directory: /b/s/w/ir/k/boringssl ===Succeeded in 0.0 mins of git config gc.autodetach 0 === ===Running git config gc.autopacklimit 0 === In directory: /b/s/w/ir/k/boringssl ===Succeeded in 0.0 mins of git config gc.autopacklimit 0 === ===Running git remote set-url --push origin https://boringssl.googlesource.com/boringssl.git === In directory: /b/s/w/ir/k/boringssl ===Succeeded in 0.0 mins of git remote set-url --push origin https://boringssl.googlesource.com/boringssl.git === ===Running git checkout --force origin/HEAD -- === In directory: /b/s/w/ir/k/boringssl Note: checking out 'origin/HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at 7922e5abc Add support for SIKE/p503 post-quantum KEM ===Succeeded in 0.0 mins of git checkout --force origin/HEAD -- === ===Running git clean -dff === In directory: /b/s/w/ir/k/boringssl ===Succeeded in 0.0 mins of git clean -dff === ===Running git log --format=%H --max-count=1 === In directory: /b/s/w/ir/k/boringssl 7922e5abccdafb070efa98e7da39a394d05c5801 ===Succeeded in 0.0 mins of git log --format=%H --max-count=1 === ===Running git config --global user.name === In directory: /b/s/w/ir/k boringssl-try-builder ===Succeeded in 0.0 mins of git config --global user.name === ===Running git config --global user.email === In directory: /b/s/w/ir/k boringssl-try-builder@chops-service-accounts.iam.gserviceaccount.com ===Succeeded in 0.0 mins of git config --global user.email === ===Running /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py sync --verbose --reset --force --ignore_locks --output-json /b/s/w/ir/tmp/t/tmpYKkCmQ.json --nohooks --noprehooks --delete_unversioned_trees --revision boringssl@unmanaged --patch-ref https://boringssl.googlesource.com/boringssl@refs/heads/master:refs/changes/64/36064/2 === In directory: /b/s/w/ir/k Looking for .gclient starting from /b/s/w/ir/k Loaded .gclient config in /b/s/w/ir/k: solutions = [ { 'custom_vars': { 'checkout_clang': 'True'}, 'deps_file': 'util/bot/DEPS', 'managed': False, 'name': 'boringssl', 'url': 'https://boringssl.googlesource.com/boringssl.git'}] cache_dir = r"/b/s/w/ir/cache/git" target_os_only=False gclient(758) ParseDepsFile:Found recursedeps "{'boringssl/util/bot/android_tools': 'util/bot/DEPS'}". boringssl (Elapsed: 0:00:02) ---------------------------------------- [0:00:00] Started. _____ boringssl at refs/remotes/origin/master [0:00:00] ________ unmanaged solution; skipping boringssl [0:00:00] ===Applying patch ref=== [0:00:00] Patch ref is 'https://boringssl.googlesource.com/boringssl.git' @ 'refs/changes/64/36064/2'. Target branch for patch is 'refs/remotes/origin/master'. Current HEAD is u'7922e5abccdafb070efa98e7da39a394d05c5801'. Current dir is '/b/s/w/ir/k/boringssl' [0:00:02] Merge base of refs/remotes/origin/master and 01690787cc74c493dbf81da227c641fe5a56b290 is 7922e5abccdafb070efa98e7da39a394d05c5801 [0:00:02] Finished. ---------------------------------------- boringssl/util/bot/libFuzzer (Elapsed: 0:00:00) ---------------------------------------- [0:00:02] Started. _____ boringssl/util/bot/libFuzzer at e847d8a9b47158695593d5693b0f69250472b229 [0:00:02] running "git cat-file -e e847d8a9b47158695593d5693b0f69250472b229^{commit}" in "/b/s/w/ir/cache/git/chromium.googlesource.com-chromium-llvm--project-compiler--rt-lib-fuzzer" skipping mirror update, it has rev=e847d8a9b47158695593d5693b0f69250472b229 already ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --shared --verbose /b/s/w/ir/cache/git/chromium.googlesource.com-chromium-llvm--project-compiler--rt-lib-fuzzer /b/s/w/ir/k/boringssl/util/bot/_gclient_libFuzzer_Rc0Kl3' in '/b/s/w/ir/k' [0:00:02] Cloning into '/b/s/w/ir/k/boringssl/util/bot/_gclient_libFuzzer_Rc0Kl3'... [0:00:02] done. ________ running 'git -c core.deltaBaseCacheLimit=2g fetch origin --prune --verbose' in '/b/s/w/ir/k/boringssl/util/bot/libFuzzer' [0:00:02] From /b/s/w/ir/cache/git/chromium.googlesource.com-chromium-llvm--project-compiler--rt-lib-fuzzer [0:00:02] = [up to date] master -> origin/master [0:00:02] Checked out e847d8a9b47158695593d5693b0f69250472b229 to a detached HEAD. Before making any commits in this repo, you should use 'git checkout <branch>' to switch to an existing branch or use 'git checkout origin -b <branch>' to create a new branch for your work. [0:00:02] Finished. ---------------------------------------- boringssl/util/bot/gyp (Elapsed: 0:00:00) ---------------------------------------- [0:00:02] Started. _____ boringssl/util/bot/gyp at d61a9397e668fa9843c4aa7da9e79460fe590bfb [0:00:02] running "git cat-file -e d61a9397e668fa9843c4aa7da9e79460fe590bfb^{commit}" in "/b/s/w/ir/cache/git/chromium.googlesource.com-external-gyp" skipping mirror update, it has rev=d61a9397e668fa9843c4aa7da9e79460fe590bfb already ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --shared --verbose /b/s/w/ir/cache/git/chromium.googlesource.com-external-gyp /b/s/w/ir/k/boringssl/util/bot/_gclient_gyp_X03waf' in '/b/s/w/ir/k' [0:00:02] Cloning into '/b/s/w/ir/k/boringssl/util/bot/_gclient_gyp_X03waf'... [0:00:02] done. ________ running 'git -c core.deltaBaseCacheLimit=2g fetch origin --prune --verbose' in '/b/s/w/ir/k/boringssl/util/bot/gyp' [0:00:02] From /b/s/w/ir/cache/git/chromium.googlesource.com-external-gyp [0:00:02] = [up to date] master -> origin/master [0:00:02] = [up to date] infra/config -> origin/infra/config [0:00:02] = [up to date] md-pages -> origin/md-pages [0:00:02] Checked out d61a9397e668fa9843c4aa7da9e79460fe590bfb to a detached HEAD. Before making any commits in this repo, you should use 'git checkout <branch>' to switch to an existing branch or use 'git checkout origin -b <branch>' to create a new branch for your work. [0:00:02] Finished. ---------------------------------------- ===Succeeded in 0.0 mins of /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py sync --verbose --reset --force --ignore_locks --output-json /b/s/w/ir/tmp/t/tmpYKkCmQ.json --nohooks --noprehooks --delete_unversioned_trees --revision boringssl@unmanaged --patch-ref https://boringssl.googlesource.com/boringssl@refs/heads/master:refs/changes/64/36064/2 === ===Running git ls-files .DEPS.git === In directory: boringssl ===Succeeded in 0.0 mins of git ls-files .DEPS.git === ===Running git rev-parse HEAD === In directory: boringssl/ 7922e5abccdafb070efa98e7da39a394d05c5801 ===Succeeded in 0.0 mins of git rev-parse HEAD === ===Running git log --format=%B -n1 HEAD === In directory: boringssl/ Add support for SIKE/p503 post-quantum KEM Based on Microsoft's implementation available on github: Source: https://github.com/Microsoft/PQCrypto-SIDH Commit: 77044b76181eb61c744ac8eb7ddc7a8fe72f6919 Following changes has been applied * In intel assembly, use MOV instead of MOVQ: Intel instruction reference in the Intel Software Developer's Manual volume 2A, the MOVQ has 4 forms. None of them mentions moving literal to GPR, hence "movq $rax, 0x0" is wrong. Instead, on 64bit system, MOV can be used. * Some variables were wrongly zero-initialized (as per C99 spec). * Rewrite x86_64 assembly to AT&T format. * Move assembly for x86_64 and aarch64 to perlasm. * Changes to aarch64 assembly, to avoid using x18 platform register. Assembly also correctly constructs linked list of stack-frames as described in AAPCS64, 5.2.3. * Move constant values to .RODATA segment, as keeping them in .TEXT segment is not compatible with XOM. * Fixes issue in arm64 code related to the fact that compiler doesn't reserve enough space for the linker to relocate address of a global variable when used by 'ldr' instructions. Solution is to use 'adrp' followed by 'add' instruction. Relocations for 'adrp' and 'add' instructions is generated by prefixing the label with :pg_hi21: and :lo12: respectively. * Enable MULX and ADX. Code from MS doesn't support PIC. MULX can't reference global variable directly. Instead RIP-relative addressing can be used. This improves performance around 10%-13% on SkyLake * Check if CPU supports BMI2 and ADOX instruction at runtime. On AMD64 optimized implementation of montgomery multiplication and reduction have 2 implementations - faster one takes advantage of BMI2 instruction set introduced in Haswell and ADOX introduced in Broadwell. Thanks to OPENSSL_ia32cap_P it can be decided at runtime which implementation to choose. As CPU configuration is static by nature, branch predictor will be correct most of the time and hence this check very often has no cost. * Reuse some utilities from boringssl instead of reimplementing them. This includes things like: * definition of a limb size (use crypto_word_t instead of digit_t) * use functions for checking in constant time if value is 0 and/or less then * #define's used for conditional compilation * Use SSE2 for conditional swap on vector registers. Improves performance a little bit. * Fix f2elm_t definition. Code imported from MSR defines f2elm_t type as a array of arrays. This decays to a pointer to an array (when passing as an argument). In C, one can't assign const pointer to an array with non-const pointer to an array. Seems it violates 6.7.3/8 from C99 (same for C11). This problem occures in GCC 6, only when -pedantic flag is specified and it occures always in GCC 4.9 (debian jessie). * Fix definition of eval_3_isog. Second argument in eval_3_isog mustn't be const. Similar reason as above. * Use HMAC-SHA256 instead of cSHAKE-256 to avoid upstreaming cSHAKE and SHA3 code. * Add speed and unit tests for SIKE. Some speed results: Skylake (64-bit): Did 408 SIKE/P503 generate operations in 1002573us (407.0 ops/sec) Did 275 SIKE/P503 encap operations in 1070570us (256.9 ops/sec) Did 264 SIKE/P503 decap operations in 1098955us (240.2 ops/sec) Skylake (32-bit): Did 9 SIKE/P503 generate operations in 1051620us (8.6 ops/sec) Did 5 SIKE/P503 encap operations in 1038251us (4.8 ops/sec) Did 5 SIKE/P503 decap operations in 1103617us (4.5 ops/sec) Change-Id: I22f0bb1f9edff314a35cd74b48e8c4962568e330 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/35204 Reviewed-by: Adam Langley <alangley@gmail.com> ===Succeeded in 0.0 mins of git log --format=%B -n1 HEAD === ===Running /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py revinfo -a === In directory: /b/s/w/ir/k boringssl: https://boringssl.googlesource.com/boringssl.git@7922e5abccdafb070efa98e7da39a394d05c5801 boringssl/util/bot/gyp: https://chromium.googlesource.com/external/gyp.git@d61a9397e668fa9843c4aa7da9e79460fe590bfb boringssl/util/bot/libFuzzer: https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git@e847d8a9b47158695593d5693b0f69250472b229 ===Succeeded in 0.0 mins of /b/s/w/ir/cipd_bin_packages/bin/python -u /b/s/w/ir/kitchen-checkout/depot_tools/gclient.py revinfo -a ===