[dpdk-ci] [PATCH v4 7/7] tests: add checkpatch

Wei, FangfangX fangfangx.wei at intel.com
Thu Dec 8 10:02:53 CET 2016


Hi Thomas,
Following is the debug information today, please help to review and give some suggestion.

1. replace "$sendmail -t" by "cat":
>echo $report | tools/send-patch-report.sh -t "pw17762  [PATCH, 1/2] eth: get rid of goto's in rte_eth_dev_detach" -f "fangfangx.wei at intel.com" -m "20161208014751.24285-2-stephen at networkplumber.org" -p "dev.dpdk.org" -l "Intel Per-patch compilation check" -s "SUCCESS" -d "Compilation OK"

usage: pwclient [-h]
                {apply,git-am,get,info,projects,check-list,check-info,check-create,states,view,update,list,search}
                ...
pwclient: error: No default project configured in ~/.pwclientrc


There is no ~/.pwclientrc, should I copy config/pwclientrc to ~/.pwclientrc?


2. replace "$sendmail -t" by "cat" then copy config/pwclientrc to ~/.pwclientrc:
>echo $report | tools/send-patch-report.sh -t "pw17762  [PATCH, 1/2] eth: get rid of goto's in rte_eth_dev_detach" -f "fangfangx.wei at intel.com" -m "20161208014751.24285-2-stephen at networkplumber.org" -p "dev.dpdk.org" -l "Intel Per-patch compilation check" -s "SUCCESS" -d "Compilation OK"

Traceback (most recent call last):
  File "/root/dpdk-cii/tools/pwclient", line 818, in <module>
    main()
  File "/root/dpdk-cii/tools/pwclient", line 738, in main
    action_list(rpc, filt, submitter_str, delegate_str, format_str)
  File "/root/dpdk-cii/tools/pwclient", line 193, in action_list
    filt.resolve_ids(rpc)
  File "/root/dpdk-cii/tools/pwclient", line 94, in resolve_ids
    id = project_id_by_name(rpc, self.project)
  File "/root/dpdk-cii/tools/pwclient", line 138, in project_id_by_name
    projects = rpc.project_list(linkname, 0)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1240, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1599, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1280, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1308, in single_request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1456, in send_content
    connection.endheaders(request_body)
  File "/usr/lib64/python2.7/httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 897, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 859, in send
    self.connect()
  File "/usr/lib64/python2.7/httplib.py", line 836, in connect
    self.timeout, self.source_address)
  File "/usr/lib64/python2.7/socket.py", line 575, in create_connection
    raise err
socket.error: [Errno 110] Connection timed out


3. The ci.config hasn't been loaded, because the environment $DPDK_CI_PWCLIENT and $DPDK_CI_MAILER are None.


4. replace "$sendmail -t" by "cat" then replace " pwid=$($pwclient list -f '%{id}' -m "$msgid " by "#pwid=$($pwclient list -f '%{id}' -m "$msgid")":
>echo $report | tools/send-patch-report.sh -t "pw17762  [PATCH, 1/2] eth: get rid of goto's in rte_eth_dev_detach" -f "fangfangx.wei at intel.com" -m "20161208014751.24285-2-stephen at networkplumber.org" -p "dev.dpdk.org" -l "Intel Per-patch compilation check" -s "SUCCESS" -d "Compilation OK"

Subject: |SUCCESS| pw17762 [PATCH, 1/2] eth: get rid of goto's in rte_eth_dev_detach
In-Reply-To: 20161208014751.24285-2-stephen at networkplumber.org
References: 20161208014751.24285-2-stephen at networkplumber.org
To: test-report at dpdk.org
Cc: fangfangx.wei at intel.com

Test-Label: Intel Per-patch compilation check
Test-Status: SUCCESS
http://dpdk.org/patch/?

_Compilation OK_

Test-Label: Intel Per-patch compilation check Test-Status: SUCCESS http://www.dpdk.org/dev/patchwork/patch/17762 Submitter: Stephen Hemminger <stephen at networkplumber.org> Date: Wed, 7 Dec 2016 17:47:50 -0800 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:c431384c8fbf8503693bcae1bdcd58d6fa459b8a Patch17762-17762 --> compile pass Build Summary: 18 Builds Done, 18 Successful, 0 Failures Test environment and configuration as below: OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info:CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: RHEL7.2_64 Kernel Version:3.10.0-327.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: UB1604_64 Kernel Version:4.4.0-47-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: CentOS7_64 Kernel Version:3.10.0-327.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: FC24_64 Kernel Version:4.8.6-201.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-gcc i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug


Any suggestion about my debug?

Best Regards
Fangfang Wei

-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] 
Sent: Wednesday, December 7, 2016 5:33 PM
To: Wei, FangfangX <fangfangx.wei at intel.com>
Cc: ci at dpdk.org; Xu, Qian Q <qian.q.xu at intel.com>; Liu, Yong <yong.liu at intel.com>
Subject: Re: [dpdk-ci] [PATCH v4 7/7] tests: add checkpatch

2016-12-07 05:48, Wei, FangfangX:
> Hi Thomas,
> I try to use " send-patch-report.sh" with your suggestion, but after run it, nothing happened.
> The command shows as below:
> 
> echo $report | tools/send-patch-report.sh -t "[PATCH, v3] net/i40evf: fix reporting of imissed packets" -f "tcrugnale at sandvine.com" -m "1481055381-14243-1-git-send-email-tcrugnale at sandvine.com" -p "dev.dpdk.org" -l "Intel Per-patch compilation check" -s "SUCCESS" -d "Compilation OK"
> 
> In case it was detected as a private patch, I also try to run it with my email address: -f "fangfangx.wei at intel.com", nothing happened, and I didn't receive this email either.
> 
> Is there still any error when I use the script? (BTW: This is the 
> report about patch 17720)

You should debug the script to understand what happens.
I suggest you to replace "$sendmail -t" by "cat" in order to print the email instead of trying to send it.



More information about the ci mailing list