travis-ci中的checkpatch工具使用
生活随笔
收集整理的這篇文章主要介紹了
travis-ci中的checkpatch工具使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 1、使用checkpatch的詳細操作步驟
- 2、snapshot
- 3、完整log
1、使用checkpatch的詳細操作步驟
$ git clone https://github.com/OP-TEE/optee_os.git OP-TEE/optee_os $ export TRAVIS_COMPILER=gcc $ export CC=${CC:-gcc} $ export CC_FOR_BUILD=${CC_FOR_BUILD:-gcc} $ gcc --version $ sudo apt-get -y install codespell $ export OPTEE_OS=$PWD $ export KERNEL=$HOME/linux && mkdir -p $KERNEL/scripts && cd $KERNEL/scripts $ wget https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/checkpatch.pl && chmod a+x checkpatch.pl $ wget https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/spelling.txt $ echo "invalid.struct.name" >const_structs.checkpatch $ export PATH=$KERNEL/scripts/:$PATH $ cd $OPTEE_OS $ source scripts/checkpatch_inc.sh $ pip install --upgrade --user pycodestyle $ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then checkpatch HEAD; else for c in $(git rev-list HEAD^1..HEAD^2); do checkpatch $c || failed=1; done; [ -z "$failed" ]; fi2、snapshot
地址
3、完整log
travis_fold:start:worker_info [0K[33;1mWorker information[0m hostname: 2517c915-eb55-4cf9-a559-e8c3769d9bce@1.worker-org-cfdfb76bd-9cd48.gce-production-4 version: v6.2.20-1-g3a987d6 https://github.com/travis-ci/worker/tree/3a987d61ed169c9539ad435d1a9b5f2d8c6ce4a6 instance: travis-job-f96fe2ec-70ff-40f4-a988-db1e8a49ee0b travis-ci-sardonyx-xenial-1593004276-4d46c6b3 (via amqp) startup: 6.065062815s travis_fold:end:worker_info [0Ktravis_time:start:193d96de [0Ktravis_time:end:193d96de:start=1611668880117666550,finish=1611668880270899394,duration=153232844,event=no_world_writable_dirs [0Ktravis_time:start:1f385148 [0Ktravis_time:end:1f385148:start=1611668880274332010,finish=1611668880282725093,duration=8393083,event=agent [0Ktravis_time:start:01a9cfb1 [0Ktravis_time:end:01a9cfb1:start=1611668880285601784,finish=1611668880288029508,duration=2427724,event=check_unsupported [0Ktravis_time:start:1fe67460 [0Ktravis_fold:start:system_info [0K[33;1mBuild system information[0m Build language: c Build dist: xenial Build id: 756246110 Job id: 756246111 Runtime kernel version: 4.15.0-1077-gcp travis-build version: 091d532a [34m[1mBuild image provisioning date and time[0m Wed Jun 24 13:36:52 UTC 2020 [34m[1mOperating System Details[0m Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial [34m[1mSystemd Version[0m systemd 229 [34m[1mCookbooks Version[0m 3f92a99 https://github.com/travis-ci/travis-cookbooks/tree/3f92a99 [34m[1mgit version[0m git version 2.27.0 [34m[1mbash version[0m GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) [34m[1mgcc version[0m gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 [34m[1mdocker version[0m Client:Version: 18.06.0-ceAPI version: 1.38Go version: go1.10.3Git commit: 0ffa825Built: Wed Jul 18 19:11:02 2018OS/Arch: linux/amd64Experimental: falseServer:Engine:Version: 18.06.0-ceAPI version: 1.38 (minimum version 1.12)Go version: go1.10.3Git commit: 0ffa825Built: Wed Jul 18 19:09:05 2018OS/Arch: linux/amd64Experimental: false [34m[1mclang version[0m clang version 7.0.0 (tags/RELEASE_700/final) [34m[1mjq version[0m jq-1.5 [34m[1mbats version[0m Bats 0.4.0 [34m[1mshellcheck version[0m 0.7.0 [34m[1mshfmt version[0m v2.6.3 [34m[1mccache version[0m 3.2.4 [34m[1mcmake version[0m cmake version 3.12.4 [34m[1mheroku version[0m heroku/7.42.1 linux-x64 node-v12.16.2 [34m[1mimagemagick version[0m Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org [34m[1mmd5deep version[0m 4.4 [34m[1mmercurial version[0m version 4.8 [34m[1mmysql version[0m mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper [34m[1mopenssl version[0m OpenSSL 1.0.2g 1 Mar 2016 [34m[1mpacker version[0m 1.3.3 [34m[1mpostgresql client version[0m psql (PostgreSQL) 10.13 (Ubuntu 10.13-1.pgdg16.04+1) [34m[1mragel version[0m Ragel State Machine Compiler version 6.8 Feb 2013 [34m[1msudo version[0m 1.8.16 [34m[1mgzip version[0m gzip 1.6 [34m[1mzip version[0m Zip 3.0 [34m[1mvim version[0m VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 18 2020 14:06:17) [34m[1miptables version[0m iptables v1.6.0 [34m[1mcurl version[0m curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3 [34m[1mwget version[0m GNU Wget 1.17.1 built on linux-gnu. [34m[1mrsync version[0m rsync version 3.1.1 protocol version 31 [34m[1mgimme version[0m v1.5.4 [34m[1mnvm version[0m 0.35.3 [34m[1mperlbrew version[0m /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.88 [34m[1mphpenv version[0m rbenv 1.1.2-30-gc879cb0 [34m[1mrvm version[0m rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] [34m[1mdefault ruby version[0m ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] [34m[1mCouchDB version[0m couchdb 1.6.1 [34m[1mElasticSearch version[0m 5.5.0 [34m[1mInstalled Firefox version[0m firefox 63.0.1 [34m[1mMongoDB version[0m MongoDB 4.0.19 [34m[1mPhantomJS version[0m 2.1.1 [34m[1mPre-installed PostgreSQL versions[0m 9.4.26 9.5.22 9.6.18 [34m[1mRedis version[0m redis-server 6.0.5 [34m[1mPre-installed Go versions[0m 1.11.1 [34m[1mant version[0m Apache Ant(TM) version 1.9.6 compiled on July 20 2018 [34m[1mmvn version[0m Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) [34m[1mgradle version[0m Gradle 5.1.1! [34m[1mlein version[0m Leiningen 2.9.3 on Java 11.0.2 OpenJDK 64-Bit Server VM [34m[1mPre-installed Node.js versions[0m v10.21.0 v11.0.0 v12.18.1 v4.9.1 v6.17.1 v8.12.0 v8.17.0 v8.9 [34m[1mphpenv versions[0msystem5.65.6.407.17.1.277.2 * 7.2.15 (set by /home/travis/.phpenv/version)hhvmhhvm-stable [34m[1mcomposer --version[0m Composer version 1.8.4 2019-02-11 10:52:10 [34m[1mPre-installed Ruby versions[0m ruby-2.3.8 ruby-2.4.5 ruby-2.5.3 travis_fold:end:system_info [0K travis_time:end:1fe67460:start=1611668880290813207,finish=1611668880296841922,duration=6028715,event=show_system_info [0Ktravis_time:start:28272186 [0Ktravis_time:end:28272186:start=1611668880299788438,finish=1611668880312116082,duration=12327644,event=rm_riak_source [0Ktravis_time:start:014f3ea0 [0Ktravis_time:end:014f3ea0:start=1611668880315519964,finish=1611668880321169417,duration=5649453,event=fix_rwky_redis [0Ktravis_time:start:013095e7 [0Ktravis_time:end:013095e7:start=1611668880324442421,finish=1611668880962799005,duration=638356584,event=wait_for_network [0Ktravis_time:start:03a5ccfd [0Ktravis_time:end:03a5ccfd:start=1611668880966327079,finish=1611668881185928276,duration=219601197,event=update_apt_keys [0Ktravis_time:start:0d7cfdcc [0Ktravis_time:end:0d7cfdcc:start=1611668881189240009,finish=1611668881240040515,duration=50800506,event=fix_hhvm_source [0Ktravis_time:start:0b86a617 [0Ktravis_time:end:0b86a617:start=1611668881243320040,finish=1611668881246018866,duration=2698826,event=update_mongo_arch [0Ktravis_time:start:0c3ea5b4 [0Ktravis_time:end:0c3ea5b4:start=1611668881248866037,finish=1611668881288525064,duration=39659027,event=fix_sudo_enabled_trusty [0Ktravis_time:start:1bea9241 [0Ktravis_time:end:1bea9241:start=1611668881291827069,finish=1611668881294106329,duration=2279260,event=update_glibc [0Ktravis_time:start:01738884 [0Ktravis_time:end:01738884:start=1611668881296911607,finish=1611668881304573899,duration=7662292,event=clean_up_path [0Ktravis_time:start:137b42a2 [0Ktravis_time:end:137b42a2:start=1611668881307512569,finish=1611668881315283831,duration=7771262,event=fix_resolv_conf [0Ktravis_time:start:11cf86f2 [0Ktravis_time:end:11cf86f2:start=1611668881318098843,finish=1611668881326540988,duration=8442145,event=fix_etc_hosts [0Ktravis_time:start:024bacfb [0Ktravis_time:end:024bacfb:start=1611668881329486029,finish=1611668881339720391,duration=10234362,event=fix_mvn_settings_xml [0Ktravis_time:start:0c08279f [0Ktravis_time:end:0c08279f:start=1611668881342745093,finish=1611668881352335424,duration=9590331,event=no_ipv6_localhost [0Ktravis_time:start:18cca030 [0Ktravis_time:end:18cca030:start=1611668881355747600,finish=1611668881358089223,duration=2341623,event=fix_etc_mavenrc [0Ktravis_time:start:130a7150 [0Ktravis_time:end:130a7150:start=1611668881361263501,finish=1611668881364420314,duration=3156813,event=fix_wwdr_certificate [0Ktravis_time:start:09af8f24 [0Ktravis_time:end:09af8f24:start=1611668881367435960,finish=1611668881392765770,duration=25329810,event=put_localhost_first [0Ktravis_time:start:04badac5 [0Ktravis_time:end:04badac5:start=1611668881396098767,finish=1611668881399204986,duration=3106219,event=home_paths [0Ktravis_time:start:0a488d0b [0Ktravis_time:end:0a488d0b:start=1611668881402348359,finish=1611668881415950537,duration=13602178,event=disable_initramfs [0Ktravis_time:start:16429f64 [0Ktravis_time:end:16429f64:start=1611668881419017885,finish=1611668881735928387,duration=316910502,event=disable_ssh_roaming [0Ktravis_time:start:1ceae8f0 [0Ktravis_time:end:1ceae8f0:start=1611668881739148050,finish=1611668881741438594,duration=2290544,event=debug_tools [0Ktravis_time:start:11202394 [0Ktravis_time:end:11202394:start=1611668881744330706,finish=1611668881747348023,duration=3017317,event=uninstall_oclint [0Ktravis_time:start:04c318cb [0Ktravis_time:end:04c318cb:start=1611668881750323957,finish=1611668881753343478,duration=3019521,event=rvm_use [0Ktravis_time:start:17dcff0d [0Ktravis_time:end:17dcff0d:start=1611668881756363454,finish=1611668881764649841,duration=8286387,event=rm_etc_boto_cfg [0Ktravis_time:start:0c0ab20a [0Ktravis_time:end:0c0ab20a:start=1611668881767932981,finish=1611668881772086210,duration=4153229,event=rm_oraclejdk8_symlink [0Ktravis_time:start:007c590d [0Ktravis_time:end:007c590d:start=1611668881775305947,finish=1611668881871410859,duration=96104912,event=enable_i386 [0Ktravis_time:start:2230329b [0Ktravis_time:end:2230329b:start=1611668881874751003,finish=1611668881881583521,duration=6832518,event=update_rubygems [0Ktravis_time:start:0ed03468 [0Ktravis_time:end:0ed03468:start=1611668881884916714,finish=1611668882702827396,duration=817910682,event=ensure_path_components [0Ktravis_time:start:03068c2a [0Ktravis_time:end:03068c2a:start=1611668882706030748,finish=1611668882708282864,duration=2252116,event=redefine_curl [0Ktravis_time:start:03b3db10 [0Ktravis_time:end:03b3db10:start=1611668882711214738,finish=1611668882713382520,duration=2167782,event=nonblock_pipe [0Ktravis_time:start:0a083164 [0Ktravis_time:end:0a083164:start=1611668882716223204,finish=1611668900931051412,duration=18214828208,event=apt_get_update [0Ktravis_time:start:05f015b8 [0Ktravis_time:end:05f015b8:start=1611668900934441269,finish=1611668900937992991,duration=3551722,event=deprecate_xcode_64 [0Ktravis_time:start:08f15ac6 [0Ktravis_time:end:08f15ac6:start=1611668900941270943,finish=1611668903672179767,duration=2730908824,event=update_heroku [0Ktravis_time:start:0a5059e2 [0Ktravis_time:end:0a5059e2:start=1611668903675512955,finish=1611668903677864349,duration=2351394,event=shell_session_update [0Ktravis_time:start:1e1ca880 [0Ktravis_fold:start:docker_mtu_and_registry_mirrors [0Ktravis_fold:end:docker_mtu_and_registry_mirrors [0Ktravis_time:end:1e1ca880:start=1611668903680888353,finish=1611668907647092248,duration=3966203895,event=set_docker_mtu_and_registry_mirrors [0Ktravis_time:start:1a5bc9b4 [0Ktravis_fold:start:resolvconf [0Ktravis_fold:end:resolvconf [0Ktravis_time:end:1a5bc9b4:start=1611668907652168646,finish=1611668907720163210,duration=67994564,event=resolvconf [0Ktravis_time:start:2c9fc58c [0Ktravis_time:end:2c9fc58c:start=1611668907726696896,finish=1611668907867620520,duration=140923624,event=maven_central_mirror [0Ktravis_time:start:1b00686d [0Ktravis_time:end:1b00686d:start=1611668907870911960,finish=1611668907961712621,duration=90800661,event=maven_https [0Ktravis_time:start:0cf7fee0 [0Ktravis_time:end:0cf7fee0:start=1611668907965069746,finish=1611668907967256628,duration=2186882,event=fix_ps4 [0Ktravis_time:start:0594d9b6 [0K travis_fold:start:git.checkout [0Ktravis_time:start:0cd2e2bb [0K$ git clone https://github.com/OP-TEE/optee_os.git OP-TEE/optee_os Cloning into 'OP-TEE/optee_os'... remote: Enumerating objects: 6, done.[K remote: Counting objects: 16% (1/6)[K remote: Counting objects: 33% (2/6)[K remote: Counting objects: 50% (3/6)[K remote: Counting objects: 66% (4/6)[K remote: Counting objects: 83% (5/6)[K remote: Counting objects: 100% (6/6)[K remote: Counting objects: 100% (6/6), done.[K remote: Compressing objects: 16% (1/6)[K remote: Compressing objects: 33% (2/6)[K remote: Compressing objects: 50% (3/6)[K remote: Compressing objects: 66% (4/6)[K remote: Compressing objects: 83% (5/6)[K remote: Compressing objects: 100% (6/6)[K remote: Compressing objects: 100% (6/6), done.[K Receiving objects: 0% (1/47919) Receiving objects: 1% (480/47919) Receiving objects: 2% (959/47919) Receiving objects: 3% (1438/47919) Receiving objects: 4% (1917/47919) Receiving objects: 5% (2396/47919) Receiving objects: 6% (2876/47919) Receiving objects: 7% (3355/47919) Receiving objects: 8% (3834/47919) Receiving objects: 9% (4313/47919) Receiving objects: 10% (4792/47919) Receiving objects: 11% (5272/47919) Receiving objects: 12% (5751/47919) Receiving objects: 13% (6230/47919) Receiving objects: 14% (6709/47919) Receiving objects: 15% (7188/47919) Receiving objects: 16% (7668/47919) Receiving objects: 17% (8147/47919) Receiving objects: 18% (8626/47919) Receiving objects: 19% (9105/47919) Receiving objects: 20% (9584/47919) Receiving objects: 21% (10063/47919) Receiving objects: 22% (10543/47919) Receiving objects: 23% (11022/47919) Receiving objects: 24% (11501/47919) Receiving objects: 25% (11980/47919) Receiving objects: 26% (12459/47919) Receiving objects: 27% (12939/47919) Receiving objects: 28% (13418/47919) Receiving objects: 29% (13897/47919) Receiving objects: 30% (14376/47919) Receiving objects: 31% (14855/47919) Receiving objects: 32% (15335/47919) Receiving objects: 33% (15814/47919) Receiving objects: 34% (16293/47919) Receiving objects: 35% (16772/47919) Receiving objects: 36% (17251/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 37% (17731/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 38% (18210/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 39% (18689/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 40% (19168/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 41% (19647/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 42% (20126/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 43% (20606/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 44% (21085/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 45% (21564/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 46% (22043/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 47% (22522/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 48% (23002/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 49% (23481/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 50% (23960/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 51% (24439/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 52% (24918/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 53% (25398/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 54% (25877/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 55% (26356/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 56% (26835/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 57% (27314/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 58% (27794/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 59% (28273/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 60% (28752/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 61% (29231/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 62% (29710/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 63% (30189/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 64% (30669/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 65% (31148/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 66% (31627/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 67% (32106/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 68% (32585/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 69% (33065/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 70% (33544/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 71% (34023/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 72% (34502/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 73% (34981/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 74% (35461/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 75% (35940/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 76% (36419/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 77% (36898/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 78% (37377/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 79% (37857/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 80% (38336/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 81% (38815/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 82% (39294/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 83% (39773/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 84% (40252/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 85% (40732/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 86% (41211/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 87% (41690/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 88% (42169/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 89% (42648/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 90% (43128/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 91% (43607/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 92% (44086/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 93% (44565/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 94% (45044/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 95% (45524/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 96% (46003/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 97% (46482/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 98% (46961/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 99% (47440/47919), 9.48 MiB | 18.94 MiB/s Receiving objects: 99% (47594/47919), 9.48 MiB | 18.94 MiB/s remote: Total 47919 (delta 0), reused 0 (delta 0), pack-reused 47913[K Receiving objects: 100% (47919/47919), 22.40 MiB | 22.39 MiB/s Receiving objects: 100% (47919/47919), 22.59 MiB | 22.41 MiB/s, done. Resolving deltas: 0% (0/33237) Resolving deltas: 1% (333/33237) Resolving deltas: 2% (666/33237) Resolving deltas: 3% (1003/33237) Resolving deltas: 4% (1334/33237) Resolving deltas: 5% (1663/33237) Resolving deltas: 6% (1995/33237) Resolving deltas: 7% (2331/33237) Resolving deltas: 8% (2659/33237) Resolving deltas: 9% (2996/33237) Resolving deltas: 10% (3375/33237) Resolving deltas: 11% (3658/33237) Resolving deltas: 12% (3991/33237) Resolving deltas: 13% (4326/33237) Resolving deltas: 14% (4662/33237) Resolving deltas: 15% (5005/33237) Resolving deltas: 16% (5348/33237) Resolving deltas: 17% (5658/33237) Resolving deltas: 18% (6021/33237) Resolving deltas: 19% (6322/33237) Resolving deltas: 20% (6675/33237) Resolving deltas: 21% (6983/33237) Resolving deltas: 22% (7313/33237) Resolving deltas: 23% (7649/33237) Resolving deltas: 24% (7981/33237) Resolving deltas: 25% (8312/33237) Resolving deltas: 26% (8645/33237) Resolving deltas: 27% (8984/33237) Resolving deltas: 28% (9307/33237) Resolving deltas: 29% (9716/33237) Resolving deltas: 30% (9973/33237) Resolving deltas: 31% (10310/33237) Resolving deltas: 32% (10639/33237) Resolving deltas: 33% (10975/33237) Resolving deltas: 34% (11341/33237) Resolving deltas: 35% (11634/33237) Resolving deltas: 36% (11975/33237) Resolving deltas: 37% (12388/33237) Resolving deltas: 38% (12633/33237) Resolving deltas: 39% (12989/33237) Resolving deltas: 40% (13325/33237) Resolving deltas: 41% (13681/33237) Resolving deltas: 42% (13961/33237) Resolving deltas: 43% (14302/33237) Resolving deltas: 44% (14643/33237) Resolving deltas: 45% (14999/33237) Resolving deltas: 46% (15291/33237) Resolving deltas: 47% (15632/33237) Resolving deltas: 48% (15961/33237) Resolving deltas: 49% (16292/33237) Resolving deltas: 50% (16638/33237) Resolving deltas: 51% (16951/33237) Resolving deltas: 52% (17311/33237) Resolving deltas: 53% (17633/33237) Resolving deltas: 54% (17956/33237) Resolving deltas: 55% (18284/33237) Resolving deltas: 56% (18650/33237) Resolving deltas: 57% (19064/33237) Resolving deltas: 58% (19280/33237) Resolving deltas: 59% (19614/33237) Resolving deltas: 60% (19943/33237) Resolving deltas: 61% (20280/33237) Resolving deltas: 62% (20607/33237) Resolving deltas: 63% (20943/33237) Resolving deltas: 64% (21293/33237) Resolving deltas: 65% (21606/33237) Resolving deltas: 66% (21946/33237) Resolving deltas: 67% (22283/33237) Resolving deltas: 68% (22612/33237) Resolving deltas: 69% (22938/33237) Resolving deltas: 70% (23283/33237) Resolving deltas: 71% (23605/33237) Resolving deltas: 72% (23936/33237) Resolving deltas: 73% (24383/33237) Resolving deltas: 74% (24596/33237) Resolving deltas: 75% (24932/33237) Resolving deltas: 76% (25284/33237) Resolving deltas: 77% (25624/33237) Resolving deltas: 78% (25925/33237) Resolving deltas: 79% (26345/33237) Resolving deltas: 80% (26594/33237) Resolving deltas: 81% (26930/33237) Resolving deltas: 82% (27295/33237) Resolving deltas: 83% (27587/33237) Resolving deltas: 84% (27939/33237) Resolving deltas: 85% (28275/33237) Resolving deltas: 86% (28624/33237) Resolving deltas: 87% (28919/33237) Resolving deltas: 88% (29262/33237) Resolving deltas: 89% (29611/33237) Resolving deltas: 90% (29918/33237) Resolving deltas: 91% (30291/33237) Resolving deltas: 92% (30588/33237) Resolving deltas: 93% (30912/33237) Resolving deltas: 94% (31265/33237) Resolving deltas: 95% (31580/33237) Resolving deltas: 96% (31909/33237) Resolving deltas: 97% (32252/33237) Resolving deltas: 98% (32585/33237) Resolving deltas: 99% (32908/33237) Resolving deltas: 100% (33237/33237) Resolving deltas: 100% (33237/33237), done. travis_time:end:0cd2e2bb:start=1611668907973282886,finish=1611668910555200579,duration=2581917693,event=checkout [0K$ cd OP-TEE/optee_os travis_time:start:05ca8120 [0K$ git fetch origin +refs/pull/4353/merge: remote: Enumerating objects: 6, done.[K remote: Counting objects: 16% (1/6)[K remote: Counting objects: 33% (2/6)[K remote: Counting objects: 50% (3/6)[K remote: Counting objects: 66% (4/6)[K remote: Counting objects: 83% (5/6)[K remote: Counting objects: 100% (6/6)[K remote: Counting objects: 100% (6/6), done.[K remote: Compressing objects: 33% (1/3)[K remote: Compressing objects: 66% (2/3)[K remote: Compressing objects: 100% (3/3)[K remote: Compressing objects: 100% (3/3), done.[K remote: Total 6 (delta 3), reused 4 (delta 3), pack-reused 0[K Unpacking objects: 16% (1/6) Unpacking objects: 33% (2/6) Unpacking objects: 50% (3/6) Unpacking objects: 66% (4/6) Unpacking objects: 83% (5/6) Unpacking objects: 100% (6/6) Unpacking objects: 100% (6/6), 2.05 KiB | 1.03 MiB/s, done. From https://github.com/OP-TEE/optee_os* branch refs/pull/4353/merge -> FETCH_HEAD travis_time:end:05ca8120:start=1611668910559054342,finish=1611668911073744611,duration=514690269,event=checkout [0K$ git checkout -qf FETCH_HEAD travis_fold:end:git.checkout [0K travis_time:end:05ca8120:start=1611668910559054342,finish=1611668911203492628,duration=644438286,event=checkout [0Ktravis_time:start:0ae39972 [0Ktravis_time:end:0ae39972:start=1611668911206879619,finish=1611668911213092716,duration=6213097,event=env [0K$ export TRAVIS_COMPILER=gcc $ export CC=${CC:-gcc} $ export CC_FOR_BUILD=${CC_FOR_BUILD:-gcc} $ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.travis_fold:start:before_install [0Ktravis_time:start:078829b0 [0K$ sudo apt-get -y install codespellReading package lists... 0%Reading package lists... 100%Reading package lists... DoneBuilding dependency tree... 0%Building dependency tree... 0%Building dependency tree... 50%Building dependency tree... 50%Building dependency tree Reading state information... 0%Reading state information... 0%Reading state information... DoneThe following NEW packages will be installed:codespell 0 upgraded, 1 newly installed, 0 to remove and 211 not upgraded. Need to get 36.7 kB of archives. After this operation, 165 kB of additional disk space will be used.0% [Working]Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 codespell all 1.8-1 [36.7 kB]16% [1 codespell 7,447 B/36.7 kB 20%]100% [Working]Fetched 36.7 kB in 0s (103 kB/s) Selecting previously unselected package codespell. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124376 files and directories currently installed.) Preparing to unpack .../codespell_1.8-1_all.deb ... Unpacking codespell (1.8-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up codespell (1.8-1) ... travis_time:end:078829b0:start=1611668911234410699,finish=1611668915013586154,duration=3779175455,event=before_install [0Ktravis_fold:end:before_install [0Ktravis_fold:start:before_script.1 [0Ktravis_time:start:173abc34 [0K$ export OPTEE_OS=$PWD travis_time:end:173abc34:start=1611668915017663114,finish=1611668915019842275,duration=2179161,event=before_script [0Ktravis_fold:end:before_script.1 [0Ktravis_fold:start:before_script.2 [0Ktravis_time:start:03e26741 [0K$ export KERNEL=$HOME/linux && mkdir -p $KERNEL/scripts && cd $KERNEL/scripts travis_time:end:03e26741:start=1611668915023417932,finish=1611668915026857429,duration=3439497,event=before_script [0Ktravis_fold:end:before_script.2 [0Ktravis_fold:start:before_script.3 [0Ktravis_time:start:07e509f8 [0K$ wget https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/checkpatch.pl && chmod a+x checkpatch.pl --2021-01-26 13:48:35-- https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/checkpatch.pl Resolving git.kernel.org (git.kernel.org)... 147.75.58.133, 2604:1380:4020:600::1 Connecting to git.kernel.org (git.kernel.org)|147.75.58.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 224894 (220K) [text/plain] Saving to: a€?checkpatch.pla€?checkpatch.pl 0%[ ] 0 --.-KB/s checkpatch.pl 100%[===================>] 219.62K 1.13MB/s in 0.2s 2021-01-26 13:48:35 (1.13 MB/s) - a€?checkpatch.pla€? saved [224894/224894]travis_time:end:07e509f8:start=1611668915030292605,finish=1611668915467964317,duration=437671712,event=before_script [0Ktravis_fold:end:before_script.3 [0Ktravis_fold:start:before_script.4 [0Ktravis_time:start:043f3bc7 [0K$ wget https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/spelling.txt --2021-01-26 13:48:35-- https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/spelling.txt Resolving git.kernel.org (git.kernel.org)... 147.75.58.133, 2604:1380:4020:600::1 Connecting to git.kernel.org (git.kernel.org)|147.75.58.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 31218 (30K) [text/plain] Saving to: a€?spelling.txta€?spelling.txt 0%[ ] 0 --.-KB/s spelling.txt 100%[===================>] 30.49K --.-KB/s in 0.02s 2021-01-26 13:48:35 (1.33 MB/s) - a€?spelling.txta€? saved [31218/31218]travis_time:end:043f3bc7:start=1611668915471907692,finish=1611668915621939446,duration=150031754,event=before_script [0Ktravis_fold:end:before_script.4 [0Ktravis_fold:start:before_script.5 [0Ktravis_time:start:0bd141fa [0K$ echo "invalid.struct.name" >const_structs.checkpatch travis_time:end:0bd141fa:start=1611668915625723009,finish=1611668915628038609,duration=2315600,event=before_script [0Ktravis_fold:end:before_script.5 [0Ktravis_fold:start:before_script.6 [0Ktravis_time:start:003927e4 [0K$ export PATH=$KERNEL/scripts/:$PATH travis_time:end:003927e4:start=1611668915631640352,finish=1611668915634084091,duration=2443739,event=before_script [0Ktravis_fold:end:before_script.6 [0Ktravis_fold:start:before_script.7 [0Ktravis_time:start:1a1bd0ac [0K$ cd $OPTEE_OS travis_time:end:1a1bd0ac:start=1611668915637844082,finish=1611668915640310872,duration=2466790,event=before_script [0Ktravis_fold:end:before_script.7 [0Ktravis_fold:start:before_script.8 [0Ktravis_time:start:1d07fefa [0K$ source scripts/checkpatch_inc.sh travis_time:end:1d07fefa:start=1611668915643718754,finish=1611668915648167938,duration=4449184,event=before_script [0Ktravis_fold:end:before_script.8 [0Ktravis_fold:start:before_script.9 [0Ktravis_time:start:1f0d4748 [0K$ pip install --upgrade --user pycodestyle /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.warnings.warn(warning, RequestsDependencyWarning) [33mDEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support[0m Collecting pycodestyleDownloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB) [?25l [K |a–?a–?a–?a–?a–?a–?a–?a–? | 10 kB 27.2 MB/s eta 0:00:01 [K |a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–‰ | 20 kB 13.8 MB/s eta 0:00:01 [K |a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–? | 30 kB 11.2 MB/s eta 0:00:01 [K |a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?| 40 kB 4.5 MB/s eta 0:00:01 [K |a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?a–?| 41 kB 476 kB/s [?25hInstalling collected packages: pycodestyle Successfully installed pycodestyle-2.6.0 [33mWARNING: You are using pip version 20.1.1; however, version 20.3.4 is available. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.[0m travis_time:end:1f0d4748:start=1611668915652139842,finish=1611668917217386579,duration=1565246737,event=before_script [0Ktravis_fold:end:before_script.9 [0Ktravis_time:start:1aa5ccfd [0K$ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then checkpatch HEAD; else for c in $(git rev-list HEAD^1..HEAD^2); do checkpatch $c || failed=1; done; [ -z "$failed" ]; fi [33m34890482[m scripts : Check the input already sign before signing a TA [33mWARNING:[0m From:/Signed-off-by: email name mismatch: 'From: baron <zhhh891010@163.com>' != 'Signed-off-by: Baron Zhou <zhhh891010@163.com>'total: 0 errors, 1 warnings, 0 checks, 23 lines checked travis_time:end:1aa5ccfd:start=1611668917221296884,finish=1611668917528592570,duration=307295686,event=script [0K[31;1mThe command "if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then checkpatch HEAD; else for c in $(git rev-list HEAD^1..HEAD^2); do checkpatch $c || failed=1; done; [ -z "$failed" ]; fi" exited with 1.[0m travis_time:start:123b7078 [0K$ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ "$(git rev-list --count HEAD^1..HEAD^2)" -gt 1 ]; then checkdiff $(git rev-parse HEAD^1) $(git rev-parse HEAD^2); fi; fi travis_time:end:123b7078:start=1611668917532636149,finish=1611668917538518008,duration=5881859,event=script [0K[32;1mThe command "if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ "$(git rev-list --count HEAD^1..HEAD^2)" -gt 1 ]; then checkdiff $(git rev-parse HEAD^1) $(git rev-parse HEAD^2); fi; fi" exited with 0.[0m travis_time:start:0306d3b8 [0K$ pycodestyle scripts/*.py core/arch/arm/plat-stm32mp1/scripts/stm32image.py travis_time:end:0306d3b8:start=1611668917542375608,finish=1611668917844779570,duration=302403962,event=script [0K[32;1mThe command "pycodestyle scripts/*.py core/arch/arm/plat-stm32mp1/scripts/stm32image.py" exited with 0.[0mDone. Your build exited with 1. 《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的travis-ci中的checkpatch工具使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [How TO]-Ubuntu 20.0
- 下一篇: python报错:UnicodeDeco