Topics

Build failed in Jenkins: device-grove-c-snap-fuji-stage-snap-arm #65 #jenkins

Jenkins <jenkins-donotreply@...>
 

See <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/65/display/redirect>

Changes:


------------------------------------------
[...truncated 138.06 KB...]
/build/parts/edgex-device-grove/src/src/c/main.c:725:3: error: unknown type name ‘edgex_device_svcparams’; did you mean ‘edgex_device_stop’?
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~~~~~~~~~~~~~~~~~~~~~
edgex_device_stop
In file included from /build/parts/edgex-device-grove/src/src/c/main.c:14:0:
/build/parts/edgex-device-grove/src/src/c/device_grove.h:39:19: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
#define GROVE_SVC "Device-Grove"
^
/build/parts/edgex-device-grove/src/src/c/main.c:725:37: note: in expansion of macro ‘GROVE_SVC’
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~~~~~~~~
/build/parts/edgex-device-grove/src/src/c/device_grove.h:39:19: note: (near initialization for ‘params’)
#define GROVE_SVC "Device-Grove"
^
/build/parts/edgex-device-grove/src/src/c/main.c:725:37: note: in expansion of macro ‘GROVE_SVC’
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~~~~~~~~
/build/parts/edgex-device-grove/src/src/c/main.c:725:48: warning: excess elements in scalar initializer
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~
/build/parts/edgex-device-grove/src/src/c/main.c:725:48: note: (near initialization for ‘params’)
/build/parts/edgex-device-grove/src/src/c/main.c:725:52: warning: excess elements in scalar initializer
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~~~
/build/parts/edgex-device-grove/src/src/c/main.c:725:52: note: (near initialization for ‘params’)
/build/parts/edgex-device-grove/src/src/c/main.c:725:58: warning: excess elements in scalar initializer
edgex_device_svcparams params = { GROVE_SVC, "", NULL, "" };
^~
/build/parts/edgex-device-grove/src/src/c/main.c:725:58: note: (near initialization for ‘params’)
/build/parts/edgex-device-grove/src/src/c/main.c:731:8: warning: implicit declaration of function ‘edgex_device_service_processparams’; did you mean ‘edgex_device_service_start’? [-Wimplicit-function-declaration]
if (!edgex_device_service_processparams (&argc, argv, &params))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edgex_device_service_start
/build/parts/edgex-device-grove/src/src/c/main.c:743:7: warning: implicit declaration of function ‘edgex_device_service_usage’; did you mean ‘edgex_device_service_free’? [-Wimplicit-function-declaration]
edgex_device_service_usage ();
^~~~~~~~~~~~~~~~~~~~~~~~~~
edgex_device_service_free
/build/parts/edgex-device-grove/src/src/c/main.c:766:73: error: request for member ‘svcname’ in something not a structure or union
edgex_device_service *grove_service = edgex_device_service_new (params.svcname, GROVE_VERSION, implObject, myImpls, &err);
^
/build/parts/edgex-device-grove/src/src/c/main.c:771:52: error: request for member ‘regURL’ in something not a structure or union
edgex_device_service_start (grove_service, params.regURL, params.profile, params.confdir, &err);
^
/build/parts/edgex-device-grove/src/src/c/main.c:771:67: error: request for member ‘profile’ in something not a structure or union
edgex_device_service_start (grove_service, params.regURL, params.profile, params.confdir, &err);
^
/build/parts/edgex-device-grove/src/src/c/main.c:771:83: error: request for member ‘confdir’ in something not a structure or union
edgex_device_service_start (grove_service, params.regURL, params.profile, params.confdir, &err);
^
CMakeFiles/device-grove.dir/build.make:134: recipe for target 'CMakeFiles/device-grove.dir/main.c.o' failed
make[2]: *** [CMakeFiles/device-grove.dir/main.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/device-grove.dir/all' failed
make[1]: *** [CMakeFiles/device-grove.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
cmake /build/parts/edgex-device-grove/src/src/c -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE=Release
cmake --build . -- -j2
Failed to run 'cmake --build . -- -j2' for 'edgex-device-grove': Exited with code 2.
Verify that the part is using the correct parameters and try again.
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1952 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[device-grove-c-snap] $ /bin/bash /tmp/jenkins1031355876108498969.sh
---> sysstat.sh
2020-01-17 15:31:24.342635 WARN puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved.
2020-01-17 15:31:24.780721 WARN puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved.
End of system activity file unexpected
[device-grove-c-snap] $ /bin/bash /tmp/jenkins8747464789569776308.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
2020-01-17 15:31:25.362679 WARN puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved.
+ OS_FAMILY=debian
+ workspace=<https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/>
+ START_PACKAGES=/tmp/packages_start.txt
+ END_PACKAGES=/tmp/packages_end.txt
+ DIFF_PACKAGES=/tmp/packages_diff.txt
+ PACKAGES=/tmp/packages_start.txt
+ '[' <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/> ']'
+ PACKAGES=/tmp/packages_end.txt
+ case "${OS_FAMILY}" in
+ grep '^ii'
+ dpkg -l
+ '[' -f /tmp/packages_start.txt ']'
+ '[' -f /tmp/packages_end.txt ']'
+ diff /tmp/packages_start.txt /tmp/packages_end.txt
+ '[' <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/> ']'
+ mkdir -p <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/archives/>
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/archives/>
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:<https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/@tmp/config4641046823223547220tmp>
[device-grove-c-snap] $ /bin/bash /tmp/jenkins7744161935757139208.sh
---> edgex-infra-ship-logs.sh
Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:aarch64' locally
aarch64: Pulling from edgex-lftools-log-publisher
cde5963f3b93: Pulling fs layer
1cf707181fc0: Pulling fs layer
ecc8062bd8ae: Pulling fs layer
f73053cda371: Pulling fs layer
21891ac9f69c: Pulling fs layer
91256cc9b400: Pulling fs layer
1bd1ff0e301d: Pulling fs layer
55838df30d5e: Pulling fs layer
fe38a35a6fa4: Pulling fs layer
736cb92344f5: Pulling fs layer
91256cc9b400: Waiting
1bd1ff0e301d: Waiting
55838df30d5e: Waiting
f73053cda371: Waiting
21891ac9f69c: Waiting
736cb92344f5: Waiting
1cf707181fc0: Verifying Checksum
1cf707181fc0: Download complete
f73053cda371: Verifying Checksum
f73053cda371: Download complete
cde5963f3b93: Verifying Checksum
cde5963f3b93: Download complete
21891ac9f69c: Verifying Checksum
21891ac9f69c: Download complete
1bd1ff0e301d: Verifying Checksum
1bd1ff0e301d: Download complete
cde5963f3b93: Pull complete
1cf707181fc0: Pull complete
55838df30d5e: Verifying Checksum
55838df30d5e: Download complete
fe38a35a6fa4: Verifying Checksum
fe38a35a6fa4: Download complete
736cb92344f5: Verifying Checksum
736cb92344f5: Download complete
ecc8062bd8ae: Verifying Checksum
ecc8062bd8ae: Download complete
91256cc9b400: Verifying Checksum
91256cc9b400: Download complete
ecc8062bd8ae: Pull complete
f73053cda371: Pull complete
21891ac9f69c: Pull complete
91256cc9b400: Pull complete
1bd1ff0e301d: Pull complete
55838df30d5e: Pull complete
fe38a35a6fa4: Pull complete
736cb92344f5: Pull complete
Digest: sha256:e038adae1539a751c2d66fc650b1ee2b29832e64e1c88087ccfc4b874f27da29
Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:aarch64
---> create-netrc.sh
+ ARCHIVE_ARTIFACTS=
+ LOGS_SERVER=https://logs.edgexfoundry.org
+ '[' https://logs.edgexfoundry.org '==' None ]
+ NEXUS_URL=https://nexus.edgexfoundry.org
+ NEXUS_PATH=production/vex-yul-edgex-jenkins-1/device-grove-c-snap-fuji-stage-snap-arm/65
+ BUILD_URL=https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/65/
+ lftools deploy archives -p https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/device-grove-c-snap-fuji-stage-snap-arm/65 <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/>
---> logs-deploy.sh
Archives upload complete.
+ lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/device-grove-c-snap-fuji-stage-snap-arm/65 https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/65/
---> uname -a:
Linux bcf17e73548d 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:31 UTC 2018 aarch64 Linux


---> lscpu:
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: Cavium
Model: 1
Model name: ThunderX 88XX
Stepping: 0x1
BogoMIPS: 200.00
NUMA node0 CPU(s): 0,1
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid


---> nproc:
2


---> df -h:
Filesystem Size Used Available Use% Mounted on
overlay 38.6G 6.0G 32.5G 16% /
tmpfs 64.0M 0 64.0M 0% /dev
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/vda1 38.6G 6.0G 32.5G 16% /home/jenkins
shm 64.0M 0 64.0M 0% /dev/shm
/dev/vda1 38.6G 6.0G 32.5G 16% /etc/resolv.conf
/dev/vda1 38.6G 6.0G 32.5G 16% /etc/hostname
/dev/vda1 38.6G 6.0G 32.5G 16% /etc/hosts
/dev/vda1 38.6G 6.0G 32.5G 16% /var/log/sa
/dev/vda1 38.6G 6.0G 32.5G 16% <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/>
/dev/vda1 38.6G 6.0G 32.5G 16% <https://jenkins.edgexfoundry.org/job/device-grove-c-snap-fuji-stage-snap-arm/ws/@tmp>


---> free -m:
total used free shared buff/cache available
Mem: 7973 630 4535 0 2807 7339
Swap: 1023 0 1023


---> ip addr:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
10: eth0@if11: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1458 qdisc noqueue state UP
link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff
inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0
valid_lft forever preferred_lft forever


Invalid system activity file: /var/log/sa/sa17
File created by sar/sadc from sysstat version 11.6.1
Current sysstat version cannot read the format of this file (0x2173)
Traceback (most recent call last):
File "/usr/local/bin/lftools", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/lftools/cli/__init__.py", line 110, in main
cli(obj={})
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/lftools/cli/deploy.py", line 139, in logs
deploy_sys.deploy_logs(nexus_url, nexus_path, build_url)
File "/usr/local/lib/python3.8/site-packages/lftools/deploy.py", line 293, in deploy_logs
output = subprocess.check_output(c).decode('utf-8')
File "/usr/local/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/local/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 3.
[description-setter] Could not determine description.