Pull request #160 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than b1c4850ae24f9a0c089101c7a267a4eeac08203c Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4207385401187587174.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3913583389683106253.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10141978004425547192.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11701973111780256607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14106955797629450599.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11322843598717174081.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-29297 in /w/workspace/undry_device-onvif-camera_PR-160 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b1c4850ae24f9a0c089101c7a267a4eeac08203c Merge succeeded, producing b1c4850ae24f9a0c089101c7a267a4eeac08203c Checking out Revision b1c4850ae24f9a0c089101c7a267a4eeac08203c (PR-160) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1c4850ae24f9a0c089101c7a267a4eeac08203c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1c4850ae24f9a0c089101c7a267a4eeac08203c # timeout=10 Commit message: "docs: Add video reference and text" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:14:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:14:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:14:06 ========================================================= 17:14:06 EdgeX Global Pipelines Version Info 17:14:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:14:07 ------------------- 17:14:07 stable info: 17:14:07 ------------------- 17:14:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:14:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:14:07 Message: update stable to v1.0.239 17:14:08 ------------------- 17:14:08 experimental info: 17:14:08 ------------------- 17:14:08 Commited By: **** collab-it+edgex@linuxfoundation.org 17:14:08 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:14:08 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1c4850ae24f9a0c089101c7a267a4eeac08203c [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1c4850 [Pipeline] echo 17:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:09 provisioning config files... 17:14:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-160@tmp/config2360658468957704130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:10 ---> docker-login.sh 17:14:10 nexus3.edgexfoundry.org:10001 17:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:10 Configure a credential helper to remove this warning. See 17:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:10 17:14:10 Login Succeeded 17:14:10 nexus3.edgexfoundry.org:10002 17:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:10 Configure a credential helper to remove this warning. See 17:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:10 17:14:10 Login Succeeded 17:14:10 nexus3.edgexfoundry.org:10003 17:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:11 Configure a credential helper to remove this warning. See 17:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:11 17:14:11 Login Succeeded 17:14:11 nexus3.edgexfoundry.org:10004 17:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:11 Configure a credential helper to remove this warning. See 17:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:11 17:14:11 Login Succeeded 17:14:11 docker.io 17:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:11 Configure a credential helper to remove this warning. See 17:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:11 17:14:11 Login Succeeded 17:14:11 ---> docker-login.sh ends [Pipeline] } 17:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:14:12 + git rev-list -1 --merges b1c4850ae24f9a0c089101c7a267a4eeac08203c~1..b1c4850ae24f9a0c089101c7a267a4eeac08203c [Pipeline] echo 17:14:12 -----------> git rev-list -1 --merges b1c4850ae24f9a0c089101c7a267a4eeac08203c~1..b1c4850ae24f9a0c089101c7a267a4eeac08203c b1c4850ae24f9a0c089101c7a267a4eeac08203c [false] [Pipeline] sh 17:14:12 + git log --format=format:%s -1 b1c4850ae24f9a0c089101c7a267a4eeac08203c [Pipeline] echo 17:14:12 ========================================================= 17:14:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:14:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:13 + git log --format=format:%s -1 b1c4850ae24f9a0c089101c7a267a4eeac08203c [Pipeline] echo 17:14:13 [semverPrep] GIT_COMMIT: b1c4850ae24f9a0c089101c7a267a4eeac08203c, Commit Message: docs: Add video reference and text [Pipeline] echo 17:14:13 [semverPrep] This is not a build commit. [Pipeline] sh 17:14:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:13 + grep -v github /etc/ssh/ssh_known_hosts 17:14:13 + [ -e /tmp/ssh_known_hosts ] 17:14:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:14:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:14:13 + sudo tee -a /etc/ssh/ssh_known_hosts 17:14:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:14 17:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:14 0.1.4: Pulling from edgex-devops/py-git-semver 17:14:14 b85a868b505f: Pulling fs layer 17:14:14 e2be974225ed: Pulling fs layer 17:14:14 339a4e72a1f5: Pulling fs layer 17:14:14 988bab9f4d93: Pulling fs layer 17:14:14 1469e6f7b9e6: Pulling fs layer 17:14:14 eaf3925da568: Pulling fs layer 17:14:14 bab4dde63d76: Pulling fs layer 17:14:14 bde34c3a00c8: Pulling fs layer 17:14:14 b352a97aabf1: Pulling fs layer 17:14:14 4872d77fe225: Pulling fs layer 17:14:14 5851b861e8e6: Pulling fs layer 17:14:14 988bab9f4d93: Waiting 17:14:14 bde34c3a00c8: Waiting 17:14:14 b352a97aabf1: Waiting 17:14:14 4872d77fe225: Waiting 17:14:14 5851b861e8e6: Waiting 17:14:14 bab4dde63d76: Waiting 17:14:14 eaf3925da568: Waiting 17:14:14 e2be974225ed: Verifying Checksum 17:14:14 e2be974225ed: Download complete 17:14:14 988bab9f4d93: Verifying Checksum 17:14:14 988bab9f4d93: Download complete 17:14:14 1469e6f7b9e6: Verifying Checksum 17:14:14 1469e6f7b9e6: Download complete 17:14:14 339a4e72a1f5: Verifying Checksum 17:14:14 339a4e72a1f5: Download complete 17:14:14 eaf3925da568: Verifying Checksum 17:14:14 eaf3925da568: Download complete 17:14:14 bde34c3a00c8: Download complete 17:14:14 b352a97aabf1: Verifying Checksum 17:14:14 b352a97aabf1: Download complete 17:14:14 4872d77fe225: Verifying Checksum 17:14:14 4872d77fe225: Download complete 17:14:14 5851b861e8e6: Verifying Checksum 17:14:14 5851b861e8e6: Download complete 17:14:14 b85a868b505f: Verifying Checksum 17:14:14 b85a868b505f: Download complete 17:14:14 bab4dde63d76: Verifying Checksum 17:14:14 bab4dde63d76: Download complete 17:14:16 b85a868b505f: Pull complete 17:14:16 e2be974225ed: Pull complete 17:14:16 339a4e72a1f5: Pull complete 17:14:16 988bab9f4d93: Pull complete 17:14:17 1469e6f7b9e6: Pull complete 17:14:17 eaf3925da568: Pull complete 17:14:19 bab4dde63d76: Pull complete 17:14:19 bde34c3a00c8: Pull complete 17:14:19 b352a97aabf1: Pull complete 17:14:19 4872d77fe225: Pull complete 17:14:19 5851b861e8e6: Pull complete 17:14:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:19 prd-ubuntu20.04-docker-8c-8g-29297 does not seem to be running inside a container 17:14:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-160 -v /w/workspace/undry_device-onvif-camera_PR-160:/w/workspace/undry_device-onvif-camera_PR-160:rw,z -v /w/workspace/undry_device-onvif-camera_PR-160@tmp:/w/workspace/undry_device-onvif-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:14:21 $ docker top e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 -eo pid,comm 17:14:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:14:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:21 [ssh-agent] Looking for ssh-agent implementation... 17:14:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:21 $ docker exec e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 ssh-agent 17:14:21 SSH_AUTH_SOCK=/tmp/ssh-F4eyWCeRWAMz/agent.32 17:14:21 SSH_AGENT_PID=38 17:14:21 Running ssh-add (command line suppressed) 17:14:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-160@tmp/private_key_3385186079956961063.key (/w/workspace/undry_device-onvif-camera_PR-160@tmp/private_key_3385186079956961063.key) 17:14:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:22 + git tag --points-at HEAD [Pipeline] } 17:14:22 $ docker exec --env ******** --env ******** e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 ssh-agent -k 17:14:22 unset SSH_AUTH_SOCK; 17:14:22 unset SSH_AGENT_PID; 17:14:22 echo Agent pid 38 killed; 17:14:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:14:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:22 [ssh-agent] Looking for ssh-agent implementation... 17:14:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:22 $ docker exec e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 ssh-agent 17:14:22 SSH_AUTH_SOCK=/tmp/ssh-40fiHQMCA1LN/agent.73 17:14:22 SSH_AGENT_PID=80 17:14:22 Running ssh-add (command line suppressed) 17:14:22 Identity added: /w/workspace/undry_device-onvif-camera_PR-160@tmp/private_key_2695219944420279204.key (/w/workspace/undry_device-onvif-camera_PR-160@tmp/private_key_2695219944420279204.key) 17:14:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:23 + git semver init 17:14:23 2022-09-15 17:14:23,413 [run_init] DEBUG init version:0.0.0 force:False 17:14:23 2022-09-15 17:14:23,414 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-160/.semver 17:14:23 2022-09-15 17:14:23,414 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-160/.semver 17:14:23 2022-09-15 17:14:23,415 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-160/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-160, universal_newlines=False, shell=None, istream=None) 17:14:24 2022-09-15 17:14:24,349 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-160/.git/info/exclude 17:14:24 2022-09-15 17:14:24,350 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-160/.semver/PR-160 with force:False 17:14:24 2022-09-15 17:14:24,350 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-160/.semver/PR-160 17:14:24 2022-09-15 17:14:24,354 [execute] INFO git cat-file --batch-check 17:14:24 2022-09-15 17:14:24,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-160/.semver, universal_newlines=False, shell=None, istream=) 17:14:24 2022-09-15 17:14:24,362 [execute] INFO git cat-file --batch 17:14:24 2022-09-15 17:14:24,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-160/.semver, universal_newlines=False, shell=None, istream=) 17:14:24 2022-09-15 17:14:24,367 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-160/.semver/PR-160 17:14:24 0.0.0 [Pipeline] } 17:14:24 $ docker exec --env ******** --env ******** e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 ssh-agent -k 17:14:24 unset SSH_AUTH_SOCK; 17:14:24 unset SSH_AGENT_PID; 17:14:24 echo Agent pid 80 killed; 17:14:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:24 + git semver [Pipeline] } 17:14:25 $ docker stop --time=1 e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 17:14:26 $ docker rm -f e767284d3df294bbdfd62f3ae339511892b29ca79e4d21c09101da3abdd6b474 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:14:27 Stashed 1 file(s) [Pipeline] echo 17:14:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:27 provisioning config files... 17:14:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-160@tmp/config4371272443985693909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:28 ---> docker-login.sh 17:14:28 nexus3.edgexfoundry.org:10001 17:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:28 Configure a credential helper to remove this warning. See 17:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:28 17:14:28 Login Succeeded 17:14:28 nexus3.edgexfoundry.org:10002 17:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:28 Configure a credential helper to remove this warning. See 17:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:28 17:14:28 Login Succeeded 17:14:28 nexus3.edgexfoundry.org:10003 17:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:28 Configure a credential helper to remove this warning. See 17:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:28 17:14:28 Login Succeeded 17:14:28 nexus3.edgexfoundry.org:10004 17:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:28 Configure a credential helper to remove this warning. See 17:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:28 17:14:28 Login Succeeded 17:14:28 docker.io 17:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:29 Configure a credential helper to remove this warning. See 17:14:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:29 17:14:29 Login Succeeded 17:14:29 ---> docker-login.sh ends [Pipeline] } 17:14:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:29 ========================================================= 17:14:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:14:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:14:30 Sending build context to Docker daemon 20.64MB 17:14:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:14:30 Step 2/13 : FROM ${BASE} AS builder 17:14:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:14:30 2408cc74d12b: Pulling fs layer 17:14:30 ea60b727a1ce: Pulling fs layer 17:14:30 30c4a7721957: Pulling fs layer 17:14:30 370296b7ddb6: Pulling fs layer 17:14:30 7c6cee850709: Pulling fs layer 17:14:30 39a5fcdaea64: Pulling fs layer 17:14:30 d94ebbe4e438: Pulling fs layer 17:14:30 bcfd1f05c69d: Pulling fs layer 17:14:30 59ccb84bbe0f: Pulling fs layer 17:14:30 bcfd1f05c69d: Waiting 17:14:30 39a5fcdaea64: Waiting 17:14:30 d94ebbe4e438: Waiting 17:14:30 59ccb84bbe0f: Waiting 17:14:30 370296b7ddb6: Waiting 17:14:30 7c6cee850709: Waiting 17:14:30 30c4a7721957: Download complete 17:14:30 ea60b727a1ce: Download complete 17:14:30 7c6cee850709: Verifying Checksum 17:14:30 7c6cee850709: Download complete 17:14:30 39a5fcdaea64: Download complete 17:14:30 2408cc74d12b: Verifying Checksum 17:14:30 2408cc74d12b: Download complete 17:14:30 d94ebbe4e438: Verifying Checksum 17:14:30 d94ebbe4e438: Download complete 17:14:30 2408cc74d12b: Pull complete 17:14:30 ea60b727a1ce: Pull complete 17:14:30 30c4a7721957: Pull complete 17:14:31 59ccb84bbe0f: Verifying Checksum 17:14:31 59ccb84bbe0f: Download complete 17:14:31 370296b7ddb6: Download complete 17:14:31 bcfd1f05c69d: Verifying Checksum 17:14:31 bcfd1f05c69d: Download complete 17:14:35 370296b7ddb6: Pull complete 17:14:35 7c6cee850709: Pull complete 17:14:35 39a5fcdaea64: Pull complete 17:14:35 d94ebbe4e438: Pull complete 17:14:38 bcfd1f05c69d: Pull complete 17:14:38 59ccb84bbe0f: Pull complete 17:14:38 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:14:38 ---> a4fb48ad2a94 17:14:38 Step 3/13 : ARG MAKE="make build" 17:14:40 ---> Running in 28a82cd60a48 17:14:40 Removing intermediate container 28a82cd60a48 17:14:40 ---> dc6ee8ee4793 17:14:40 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:14:40 ---> Running in fd9d14186f71 17:14:40 Removing intermediate container fd9d14186f71 17:14:40 ---> bc9d270d0312 17:14:40 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:14:40 ---> Running in 20a0c0c7bd15 17:14:40 Removing intermediate container 20a0c0c7bd15 17:14:40 ---> 1cee8ea9f002 17:14:40 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:14:40 ---> Running in e4f032cde039 17:14:40 Removing intermediate container e4f032cde039 17:14:40 ---> 656cc8710b5d 17:14:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:40 ---> Running in 34ad2a5aab5c 17:14:41 Removing intermediate container 34ad2a5aab5c 17:14:41 ---> 529852eda808 17:14:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:41 ---> Running in be44ef07d918 17:14:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:14:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:14:42 OK: 211 MiB in 51 packages 17:14:42 Removing intermediate container be44ef07d918 17:14:42 ---> bf5bed4d4909 17:14:42 Step 9/13 : WORKDIR /device-onvif-camera 17:14:42 ---> Running in e7ae85cfc536 17:14:42 Removing intermediate container e7ae85cfc536 17:14:42 ---> dad7d911dd02 17:14:42 Step 10/13 : COPY go.mod vendor* ./ 17:14:42 Still waiting to schedule task 17:14:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:14:43 ---> a54a6e1cafbc 17:14:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:43 ---> Running in c5e2e514de30 17:15:04 Removing intermediate container c5e2e514de30 17:15:04 ---> 6af563524bb6 17:15:04 Step 12/13 : COPY . . 17:15:04 ---> 524e5dcc6498 17:15:04 Step 13/13 : RUN ${MAKE} 17:15:04 ---> Running in 0851c5b8fa34 17:15:04 noop 17:15:04 Removing intermediate container 0851c5b8fa34 17:15:04 ---> 80a1f7ab3c40 17:15:04 Successfully built 80a1f7ab3c40 17:15:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:05 + docker inspect -f . ci-base-image-x86_64 17:15:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:05 prd-ubuntu20.04-docker-8c-8g-29297 does not seem to be running inside a container 17:15:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-160 -v /w/workspace/undry_device-onvif-camera_PR-160:/w/workspace/undry_device-onvif-camera_PR-160:rw,z -v /w/workspace/undry_device-onvif-camera_PR-160@tmp:/w/workspace/undry_device-onvif-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:15:06 $ docker top 180c303e7b92f7cb78f33b6a0b2bbba88bfc49f304e1c9c75d1f10d1a1fc2f9d -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:06 + go version 17:15:06 go version go1.18.3 linux/amd64 [Pipeline] } 17:15:06 $ docker stop --time=1 180c303e7b92f7cb78f33b6a0b2bbba88bfc49f304e1c9c75d1f10d1a1fc2f9d 17:15:07 $ docker rm -f 180c303e7b92f7cb78f33b6a0b2bbba88bfc49f304e1c9c75d1f10d1a1fc2f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:08 + docker inspect -f . ci-base-image-x86_64 17:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:08 prd-ubuntu20.04-docker-8c-8g-29297 does not seem to be running inside a container 17:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-160 -v /w/workspace/undry_device-onvif-camera_PR-160:/w/workspace/undry_device-onvif-camera_PR-160:rw,z -v /w/workspace/undry_device-onvif-camera_PR-160@tmp:/w/workspace/undry_device-onvif-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:15:09 $ docker top f333dbca11652efd4c1386fdcede6ad13f8682fe41dfba2e6d65dcc07fe39e06 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:09 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-160 [Pipeline] fileExists [Pipeline] sh 17:15:10 + make test 17:15:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:15:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:15:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:15:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements 17:15:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:15:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.205s coverage: 13.8% of statements 17:15:34 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:15:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:15:38 ./bin/test-attribution-txt.sh [Pipeline] echo 17:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:15:38 $ docker stop --time=1 f333dbca11652efd4c1386fdcede6ad13f8682fe41dfba2e6d65dcc07fe39e06 17:15:40 $ docker rm -f f333dbca11652efd4c1386fdcede6ad13f8682fe41dfba2e6d65dcc07fe39e06 [Pipeline] // withDockerContainer [Pipeline] sh 17:15:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:15:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:15:42 + ls -al . 17:15:42 total 232 17:15:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 17:15 . 17:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:14 .. 17:15:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 17:15 .git 17:15:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 17:14 .github 17:15:42 -rw-rw-r-- 1 jenkins jenkins 418 Sep 15 17:14 .gitignore 17:15:42 -rw-rw-r-- 1 jenkins jenkins 42 Sep 15 17:14 .golangci.yml 17:15:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 17:14 .semver 17:15:42 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 15 17:14 Attribution.txt 17:15:42 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 15 17:14 CHANGELOG.md 17:15:42 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 15 17:14 Dockerfile 17:15:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 17:14 GOVERNANCE.md 17:15:42 -rw-rw-r-- 1 jenkins jenkins 734 Sep 15 17:14 Jenkinsfile 17:15:42 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 15 17:14 LICENSE 17:15:42 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 15 17:14 Makefile 17:15:42 -rw-rw-r-- 1 jenkins jenkins 625 Sep 15 17:14 OWNERS.md 17:15:42 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 15 17:14 README.md 17:15:42 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 17:14 VERSION 17:15:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 17:14 bin 17:15:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 17:14 cmd 17:15:42 -rw-r--r-- 1 jenkins jenkins 77283 Sep 15 17:15 coverage.out 17:15:42 drwxrwxr-x 6 jenkins jenkins 4096 Sep 15 17:14 doc 17:15:42 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 15 17:14 go.mod 17:15:42 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 15 17:14 go.sum 17:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:14 internal 17:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:14 snap 17:15:42 -rw-rw-r-- 1 jenkins jenkins 236 Sep 15 17:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:42 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b1c4850ae24f9a0c089101c7a267a4eeac08203c --label arch=amd64 --label version=0.0.0 . 17:15:42 Sending build context to Docker daemon 20.72MB 17:15:42 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:15:42 Step 2/26 : FROM ${BASE} AS builder 17:15:42 ---> 80a1f7ab3c40 17:15:42 Step 3/26 : ARG MAKE="make build" 17:15:42 ---> Running in a1a398d7cc64 17:15:42 Removing intermediate container a1a398d7cc64 17:15:42 ---> 6629213cc052 17:15:42 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:15:42 ---> Running in 87b2b53f81ab 17:15:42 Removing intermediate container 87b2b53f81ab 17:15:42 ---> 5fae17e27f93 17:15:42 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:15:42 ---> Running in 9c3922bb3637 17:15:42 Removing intermediate container 9c3922bb3637 17:15:42 ---> b99562bcd2be 17:15:42 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:15:42 ---> Running in e0c10175b519 17:15:42 Removing intermediate container e0c10175b519 17:15:42 ---> 47c1418c3941 17:15:42 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:42 ---> Running in 6c658dcbb8db 17:15:43 Removing intermediate container 6c658dcbb8db 17:15:43 ---> a657ad9f65cf 17:15:43 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:15:43 ---> Running in 294b0beab703 17:15:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:15:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:15:44 OK: 211 MiB in 51 packages 17:15:45 Removing intermediate container 294b0beab703 17:15:45 ---> cb309235bbb8 17:15:45 Step 9/26 : WORKDIR /device-onvif-camera 17:15:45 ---> Running in c695bd1917fc 17:15:45 Removing intermediate container c695bd1917fc 17:15:45 ---> a12973fa8c71 17:15:45 Step 10/26 : COPY go.mod vendor* ./ 17:15:45 ---> 9d7cef0249cc 17:15:45 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:15:45 ---> Running in 603583b26ee6 17:15:46 Removing intermediate container 603583b26ee6 17:15:46 ---> 8cfdb4d90803 17:15:46 Step 12/26 : COPY . . 17:15:47 ---> fd54849a17d0 17:15:47 Step 13/26 : RUN ${MAKE} 17:15:47 ---> Running in 187d0e411c82 17:15:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:16:09 Removing intermediate container 187d0e411c82 17:16:09 ---> 6229e76ca41c 17:16:09 Step 14/26 : FROM alpine:3.16 17:16:09 3.16: Pulling from library/alpine 17:16:09 213ec9aee27d: Pulling fs layer 17:16:10 213ec9aee27d: Verifying Checksum 17:16:10 213ec9aee27d: Download complete 17:16:10 213ec9aee27d: Pull complete 17:16:10 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:16:10 Status: Downloaded newer image for alpine:3.16 17:16:10 ---> 9c6f07244728 17:16:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:16:10 ---> Running in 76ce0fdefd94 17:16:10 Removing intermediate container 76ce0fdefd94 17:16:10 ---> 3c46609d8a45 17:16:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:16:10 ---> Running in 624e6eb3f9b1 17:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:16:10 (1/6) Installing dumb-init (1.2.5-r1) 17:16:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:16:10 (3/6) Installing libsodium (1.0.18-r0) 17:16:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:16:11 (5/6) Installing libzmq (4.3.4-r0) 17:16:11 (6/6) Installing zeromq (4.3.4-r0) 17:16:11 Executing busybox-1.35.0-r17.trigger 17:16:11 OK: 8 MiB in 20 packages 17:16:11 Removing intermediate container 624e6eb3f9b1 17:16:11 ---> 5fad9e0f3c6e 17:16:11 Step 17/26 : WORKDIR / 17:16:11 ---> Running in 1f98b45f698d 17:16:11 Removing intermediate container 1f98b45f698d 17:16:11 ---> 38c94da5b6a2 17:16:11 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:16:12 ---> 05724eca53c1 17:16:12 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:16:12 ---> bbcb5dac459d 17:16:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:16:12 ---> 4e279c312b47 17:16:12 Step 21/26 : EXPOSE 59984 17:16:12 ---> Running in 239dda58a697 17:16:12 Removing intermediate container 239dda58a697 17:16:12 ---> 74557132e0ec 17:16:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:16:12 ---> Running in f856935db1a0 17:16:12 Removing intermediate container f856935db1a0 17:16:12 ---> d1a527c8997d 17:16:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:16:12 ---> Running in b12bb77cb141 17:16:12 Removing intermediate container b12bb77cb141 17:16:12 ---> 905c9e393214 17:16:12 Step 24/26 : LABEL arch=amd64 17:16:12 ---> Running in eeef0a1223a3 17:16:12 Removing intermediate container eeef0a1223a3 17:16:12 ---> e1a25f898913 17:16:12 Step 25/26 : LABEL git_sha=b1c4850ae24f9a0c089101c7a267a4eeac08203c 17:16:13 ---> Running in b799623fe7c1 17:16:13 Removing intermediate container b799623fe7c1 17:16:13 ---> 1e0ec980d500 17:16:13 Step 26/26 : LABEL version=0.0.0 17:16:13 ---> Running in 6ff7a3f71075 17:16:13 Removing intermediate container 6ff7a3f71075 17:16:13 ---> 3b27c5594719 17:16:13 [Warning] One or more build-args [ARCH] were not consumed 17:16:13 Successfully built 3b27c5594719 17:16:13 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:14 17:16:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:14 latest: Pulling from edgex-lftools-log-publisher 17:16:14 5eb5b503b376: Pulling fs layer 17:16:14 5c69ac0246d0: Pulling fs layer 17:16:14 ec43610c2a17: Pulling fs layer 17:16:14 3a2ae6a8a46f: Pulling fs layer 17:16:14 33b1e0a273af: Pulling fs layer 17:16:14 5d3b04190fa2: Pulling fs layer 17:16:14 2f39f015ded8: Pulling fs layer 17:16:14 33b1e0a273af: Waiting 17:16:14 5d3b04190fa2: Waiting 17:16:14 2f39f015ded8: Waiting 17:16:14 3a2ae6a8a46f: Waiting 17:16:14 5c69ac0246d0: Verifying Checksum 17:16:14 5c69ac0246d0: Download complete 17:16:14 3a2ae6a8a46f: Download complete 17:16:14 33b1e0a273af: Verifying Checksum 17:16:14 33b1e0a273af: Download complete 17:16:14 5d3b04190fa2: Download complete 17:16:14 ec43610c2a17: Verifying Checksum 17:16:14 ec43610c2a17: Download complete 17:16:14 5eb5b503b376: Verifying Checksum 17:16:14 5eb5b503b376: Download complete 17:16:15 2f39f015ded8: Download complete 17:16:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29298 in /w/workspace/undry_device-onvif-camera_PR-160 [Pipeline] { [Pipeline] ws 17:16:16 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { 17:16:16 5eb5b503b376: Pull complete 17:16:16 5c69ac0246d0: Pull complete [Pipeline] checkout 17:16:16 Selected Git installation does not exist. Using Default 17:16:16 The recommended git tool is: NONE 17:16:16 ec43610c2a17: Pull complete 17:16:17 3a2ae6a8a46f: Pull complete 17:16:17 33b1e0a273af: Pull complete 17:16:17 5d3b04190fa2: Pull complete 17:16:22 2f39f015ded8: Pull complete 17:16:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:22 prd-ubuntu20.04-docker-8c-8g-29297 does not seem to be running inside a container 17:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-160 -v /w/workspace/undry_device-onvif-camera_PR-160:/w/workspace/undry_device-onvif-camera_PR-160:rw,z -v /w/workspace/undry_device-onvif-camera_PR-160@tmp:/w/workspace/undry_device-onvif-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:16:23 using credential edgex-jenkins-ssh 17:16:23 Cloning the remote Git repository 17:16:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:16:23 > git init /w/workspace/device-onvif-camera/1 # timeout=10 17:16:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:16:23 > git --version # timeout=10 17:16:23 > git --version # 'git version 2.25.1' 17:16:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:16:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:16:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:16:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:16:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:16:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:16:25 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b1c4850ae24f9a0c089101c7a267a4eeac08203c 17:16:25 $ docker top 31d5d968db1fdf243eff2cc5189b7c46429729a4540bd2c0339b03c5a87bac2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:25 Merge succeeded, producing b1c4850ae24f9a0c089101c7a267a4eeac08203c 17:16:25 Checking out Revision b1c4850ae24f9a0c089101c7a267a4eeac08203c (PR-160) 17:16:26 ---> job-cost.sh 17:16:26 lf-activate-venv: SKIPPING 17:16:26 INFO: No Stack... 17:16:25 > git config core.sparsecheckout # timeout=10 17:16:25 > git checkout -f b1c4850ae24f9a0c089101c7a267a4eeac08203c # timeout=10 17:16:25 > git remote # timeout=10 17:16:25 > git config --get remote.origin.url # timeout=10 17:16:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:25 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 17:16:25 > git rev-parse HEAD^{commit} # timeout=10 17:16:25 > git config core.sparsecheckout # timeout=10 17:16:25 > git checkout -f b1c4850ae24f9a0c089101c7a267a4eeac08203c # timeout=10 17:16:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:16:27 INFO: Archiving Costs [Pipeline] sh 17:16:27 + + cat /w/workspace/undry_device-onvif-camera_PR-160/archives/cost.csvcut 17:16:27 -d, -f6 [Pipeline] lock 17:16:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] 17:16:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] did not exist. Created. 17:16:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:27 + echo total: 0.2199999988079071 [Pipeline] stash 17:16:27 Stashed 1 file(s) [Pipeline] } 17:16:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:28 $ docker stop --time=1 31d5d968db1fdf243eff2cc5189b7c46429729a4540bd2c0339b03c5a87bac2b 17:16:29 $ docker rm -f 31d5d968db1fdf243eff2cc5189b7c46429729a4540bd2c0339b03c5a87bac2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:16:30 Commit message: "docs: Add video reference and text" 17:16:30 > git --version # timeout=10 17:16:30 > git --version # 'git version 2.25.1' 17:16:30 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:16:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:16:31 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:31 Dload Upload Total Spent Left Speed 17:16:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 132k 0 --:--:-- --:--:-- --:--:-- 133k [Pipeline] sh 17:16:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:16:32 + + sudo tee /etc/docker/daemon.new 17:16:32 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:16:32 { 17:16:32 "registry-mirrors": [ 17:16:32 "https://nexus3.edgexfoundry.org:10001" 17:16:32 ], 17:16:32 "bip": "10.250.0.254/24", 17:16:32 "hosts": [ 17:16:32 "tcp://0.0.0.0:5555", 17:16:32 "unix:///var/run/docker.sock" 17:16:32 ], 17:16:32 "mtu": 1458, 17:16:32 "selinux-enabled": true, 17:16:32 "seccomp-profile": "/etc/docker/seccomp.json" 17:16:32 } [Pipeline] sh 17:16:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:16:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:16:51 provisioning config files... 17:16:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7313429900955093886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:52 ---> docker-login.sh 17:16:52 nexus3.edgexfoundry.org:10001 17:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:53 Configure a credential helper to remove this warning. See 17:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:53 17:16:53 Login Succeeded 17:16:53 nexus3.edgexfoundry.org:10002 17:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:53 Configure a credential helper to remove this warning. See 17:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:53 17:16:53 Login Succeeded 17:16:53 nexus3.edgexfoundry.org:10003 17:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:54 Configure a credential helper to remove this warning. See 17:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:54 17:16:54 Login Succeeded 17:16:54 nexus3.edgexfoundry.org:10004 17:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:54 Configure a credential helper to remove this warning. See 17:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:54 17:16:54 Login Succeeded 17:16:54 docker.io 17:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:55 Configure a credential helper to remove this warning. See 17:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:55 17:16:55 Login Succeeded 17:16:55 ---> docker-login.sh ends [Pipeline] } 17:16:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:16:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:56 ========================================================= 17:16:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:16:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:16:57 Sending build context to Docker daemon 14.12MB 17:16:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:16:57 Step 2/13 : FROM ${BASE} AS builder 17:16:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:16:57 b3c136eddcbf: Pulling fs layer 17:16:57 c0a3192eca97: Pulling fs layer 17:16:57 a050256f5b6f: Pulling fs layer 17:16:57 656be50a0ddc: Pulling fs layer 17:16:57 2bbca73fdf42: Pulling fs layer 17:16:57 46d945488cbd: Pulling fs layer 17:16:57 8a5474983e97: Pulling fs layer 17:16:57 329c88fbcd65: Pulling fs layer 17:16:57 8a5474983e97: Waiting 17:16:57 329c88fbcd65: Waiting 17:16:57 656be50a0ddc: Waiting 17:16:57 2bbca73fdf42: Waiting 17:16:57 46d945488cbd: Waiting 17:16:57 a050256f5b6f: Verifying Checksum 17:16:57 a050256f5b6f: Download complete 17:16:57 c0a3192eca97: Verifying Checksum 17:16:57 c0a3192eca97: Download complete 17:16:57 2bbca73fdf42: Verifying Checksum 17:16:57 2bbca73fdf42: Download complete 17:16:57 b3c136eddcbf: Verifying Checksum 17:16:57 b3c136eddcbf: Download complete 17:16:57 46d945488cbd: Verifying Checksum 17:16:57 46d945488cbd: Download complete 17:16:58 b3c136eddcbf: Pull complete 17:16:58 329c88fbcd65: Verifying Checksum 17:16:58 329c88fbcd65: Download complete 17:16:59 c0a3192eca97: Pull complete 17:16:59 a050256f5b6f: Pull complete 17:16:59 8a5474983e97: Verifying Checksum 17:16:59 8a5474983e97: Download complete 17:17:00 656be50a0ddc: Verifying Checksum 17:17:00 656be50a0ddc: Download complete 17:17:15 656be50a0ddc: Pull complete 17:17:15 2bbca73fdf42: Pull complete 17:17:15 46d945488cbd: Pull complete 17:17:19 8a5474983e97: Pull complete 17:17:21 329c88fbcd65: Pull complete 17:17:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:17:21 ---> ff4287adb874 17:17:21 Step 3/13 : ARG MAKE="make build" 17:17:23 ---> Running in 14fcffcccc9a 17:17:23 Removing intermediate container 14fcffcccc9a 17:17:23 ---> bbc31a6eb402 17:17:23 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:17:23 ---> Running in 349bad275e4a 17:17:23 Removing intermediate container 349bad275e4a 17:17:23 ---> 5ab6dfe10ce0 17:17:23 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:17:23 ---> Running in 93f6238ce8df 17:17:24 Removing intermediate container 93f6238ce8df 17:17:24 ---> 497fe2ce48c1 17:17:24 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:17:24 ---> Running in 12005afb91ae 17:17:24 Removing intermediate container 12005afb91ae 17:17:24 ---> 2ad65fda51d3 17:17:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:17:24 ---> Running in 4972b536bd55 17:17:28 Removing intermediate container 4972b536bd55 17:17:28 ---> 5973a804f285 17:17:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:17:28 ---> Running in 66a56ce58304 17:17:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:17:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:17:30 OK: 221 MiB in 51 packages 17:17:31 Removing intermediate container 66a56ce58304 17:17:31 ---> e70b188303cb 17:17:31 Step 9/13 : WORKDIR /device-onvif-camera 17:17:31 ---> Running in 6fc6f49bec6a 17:17:31 Removing intermediate container 6fc6f49bec6a 17:17:31 ---> d5944b6a0560 17:17:31 Step 10/13 : COPY go.mod vendor* ./ 17:17:32 ---> 21ef1d3bfbd1 17:17:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:17:32 ---> Running in 4f95de17734c 17:18:28 Removing intermediate container 4f95de17734c 17:18:28 ---> d5aa38d6d13a 17:18:28 Step 12/13 : COPY . . 17:18:28 ---> 7b3fd9d75e61 17:18:28 Step 13/13 : RUN ${MAKE} 17:18:28 ---> Running in 6649c59f2034 17:18:28 noop 17:18:28 Removing intermediate container 6649c59f2034 17:18:28 ---> e7a725585b21 17:18:28 Successfully built e7a725585b21 17:18:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:29 + docker inspect -f . ci-base-image-arm64 17:18:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:29 prd-ubuntu20.04-docker-arm64-4c-16g-29298 does not seem to be running inside a container 17:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:18:30 $ docker top c0034e7cca56996438d6fbf118d64584e7349de10c54cc23a98321f66481ebb6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:31 + go version 17:18:31 go version go1.18.3 linux/arm64 [Pipeline] } 17:18:31 $ docker stop --time=1 c0034e7cca56996438d6fbf118d64584e7349de10c54cc23a98321f66481ebb6 17:18:33 $ docker rm -f c0034e7cca56996438d6fbf118d64584e7349de10c54cc23a98321f66481ebb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:34 + docker inspect -f . ci-base-image-arm64 17:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:34 prd-ubuntu20.04-docker-arm64-4c-16g-29298 does not seem to be running inside a container 17:18:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:18:36 $ docker top 2b502bc56e342c75ecc5d5f10c27b77d1fec6a9fe3e84a3c87004ff31dbe026a -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 17:18:37 + make test 17:18:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:18:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:20:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:20:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.186s coverage: 28.6% of statements 17:20:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:20:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.908s coverage: 13.8% of statements 17:20:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:20:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:20:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:20:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:20:54 ./bin/test-attribution-txt.sh [Pipeline] echo 17:20:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:20:54 $ docker stop --time=1 2b502bc56e342c75ecc5d5f10c27b77d1fec6a9fe3e84a3c87004ff31dbe026a 17:20:56 $ docker rm -f 2b502bc56e342c75ecc5d5f10c27b77d1fec6a9fe3e84a3c87004ff31dbe026a [Pipeline] // withDockerContainer [Pipeline] sh 17:20:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:20:57 Warning: overwriting stash ‘coverage-report’ 17:20:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:20:58 + ls -al . 17:20:58 total 228 17:20:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 17:18 . 17:20:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:16 .. 17:20:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 17:16 .git 17:20:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 17:16 .github 17:20:58 -rw-rw-r-- 1 jenkins jenkins 418 Sep 15 17:16 .gitignore 17:20:58 -rw-rw-r-- 1 jenkins jenkins 42 Sep 15 17:16 .golangci.yml 17:20:58 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 15 17:16 Attribution.txt 17:20:58 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 15 17:16 CHANGELOG.md 17:20:58 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 15 17:16 Dockerfile 17:20:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 17:16 GOVERNANCE.md 17:20:58 -rw-rw-r-- 1 jenkins jenkins 734 Sep 15 17:16 Jenkinsfile 17:20:58 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 15 17:16 LICENSE 17:20:58 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 15 17:16 Makefile 17:20:58 -rw-rw-r-- 1 jenkins jenkins 625 Sep 15 17:16 OWNERS.md 17:20:58 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 15 17:16 README.md 17:20:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 17:14 VERSION 17:20:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 17:16 bin 17:20:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 17:16 cmd 17:20:58 -rw-r--r-- 1 jenkins jenkins 77283 Sep 15 17:20 coverage.out 17:20:58 drwxrwxr-x 6 jenkins jenkins 4096 Sep 15 17:16 doc 17:20:58 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 15 17:16 go.mod 17:20:58 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 15 17:16 go.sum 17:20:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:16 internal 17:20:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:16 snap 17:20:58 -rw-rw-r-- 1 jenkins jenkins 236 Sep 15 17:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:59 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b1c4850ae24f9a0c089101c7a267a4eeac08203c --label arch=arm64 --label version=0.0.0 . 17:20:59 Sending build context to Docker daemon 14.19MB 17:20:59 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:20:59 Step 2/26 : FROM ${BASE} AS builder 17:20:59 ---> e7a725585b21 17:20:59 Step 3/26 : ARG MAKE="make build" 17:20:59 ---> Running in b190f4a8c9d3 17:21:00 Removing intermediate container b190f4a8c9d3 17:21:00 ---> d91635f26cda 17:21:00 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:21:00 ---> Running in e4f755dd7a0f 17:21:00 Removing intermediate container e4f755dd7a0f 17:21:00 ---> 6060d6947ae1 17:21:00 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:21:00 ---> Running in b0dd91b3cfad 17:21:01 Removing intermediate container b0dd91b3cfad 17:21:01 ---> ac0460adf9b9 17:21:01 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:21:01 ---> Running in 854868f06243 17:21:01 Removing intermediate container 854868f06243 17:21:01 ---> d106f45a921a 17:21:01 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:21:01 ---> Running in 203790f05d30 17:21:03 Removing intermediate container 203790f05d30 17:21:03 ---> ccea2ad24da8 17:21:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:03 ---> Running in bc8daa22af4c 17:21:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:21:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:21:06 OK: 221 MiB in 51 packages 17:21:07 Removing intermediate container bc8daa22af4c 17:21:07 ---> 1be0fb600388 17:21:07 Step 9/26 : WORKDIR /device-onvif-camera 17:21:07 ---> Running in 8e84112b6461 17:21:07 Removing intermediate container 8e84112b6461 17:21:07 ---> 9f156f43ef9d 17:21:07 Step 10/26 : COPY go.mod vendor* ./ 17:21:07 ---> ad337cbeb04b 17:21:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:07 ---> Running in 583ac87d7f4c 17:21:09 Removing intermediate container 583ac87d7f4c 17:21:09 ---> a7956fa8fe86 17:21:09 Step 12/26 : COPY . . 17:21:11 ---> 1aed8b805ece 17:21:11 Step 13/26 : RUN ${MAKE} 17:21:11 ---> Running in 7dde4aab59b8 17:21:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:23:19 Removing intermediate container 7dde4aab59b8 17:23:19 ---> 2780308c4b49 17:23:19 Step 14/26 : FROM alpine:3.16 17:23:19 3.16: Pulling from library/alpine 17:23:19 9b18e9b68314: Pulling fs layer 17:23:20 9b18e9b68314: Verifying Checksum 17:23:20 9b18e9b68314: Download complete 17:23:20 9b18e9b68314: Pull complete 17:23:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:23:20 Status: Downloaded newer image for alpine:3.16 17:23:20 ---> a6215f271958 17:23:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:23:20 ---> Running in 6d991e9e6d6c 17:23:20 Removing intermediate container 6d991e9e6d6c 17:23:20 ---> ee28fc3e7b33 17:23:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:23:20 ---> Running in 3067c919fbf9 17:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:23:23 (1/6) Installing dumb-init (1.2.5-r1) 17:23:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:23:23 (3/6) Installing libsodium (1.0.18-r0) 17:23:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:23:23 (5/6) Installing libzmq (4.3.4-r0) 17:23:23 (6/6) Installing zeromq (4.3.4-r0) 17:23:23 Executing busybox-1.35.0-r17.trigger 17:23:23 OK: 8 MiB in 20 packages 17:23:24 Removing intermediate container 3067c919fbf9 17:23:24 ---> 236aa48b6e36 17:23:24 Step 17/26 : WORKDIR / 17:23:24 ---> Running in 474e7ee201c1 17:23:24 Removing intermediate container 474e7ee201c1 17:23:24 ---> 89b48cd62b6b 17:23:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:23:26 ---> b36e2424ddee 17:23:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:23:26 ---> eeb7f2ef9ead 17:23:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:23:27 ---> d3ff6f23f553 17:23:27 Step 21/26 : EXPOSE 59984 17:23:27 ---> Running in 2484e13ed7e4 17:23:27 Removing intermediate container 2484e13ed7e4 17:23:27 ---> fdf2b8933078 17:23:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:23:27 ---> Running in 9ef2b802e74c 17:23:27 Removing intermediate container 9ef2b802e74c 17:23:27 ---> 4a15386c8951 17:23:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:23:27 ---> Running in 227aa2250ea5 17:23:28 Removing intermediate container 227aa2250ea5 17:23:28 ---> 2e914d47fb3c 17:23:28 Step 24/26 : LABEL arch=arm64 17:23:28 ---> Running in fbdc633eed0c 17:23:28 Removing intermediate container fbdc633eed0c 17:23:28 ---> fa8c0fdd11a3 17:23:28 Step 25/26 : LABEL git_sha=b1c4850ae24f9a0c089101c7a267a4eeac08203c 17:23:28 ---> Running in 440b3d05ce74 17:23:29 Removing intermediate container 440b3d05ce74 17:23:29 ---> 70beb5194922 17:23:29 Step 26/26 : LABEL version=0.0.0 17:23:29 ---> Running in 27b601cdd741 17:23:29 Removing intermediate container 27b601cdd741 17:23:29 ---> 2fdfcf2bb0ff 17:23:29 [Warning] One or more build-args [ARCH] were not consumed 17:23:29 Successfully built 2fdfcf2bb0ff 17:23:29 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:30 17:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:31 arm64: Pulling from edgex-lftools-log-publisher 17:23:31 8998bd30e6a1: Pulling fs layer 17:23:31 04944245beec: Pulling fs layer 17:23:31 699f458cf7ca: Pulling fs layer 17:23:31 765212b225bb: Pulling fs layer 17:23:31 f23df028b6ca: Pulling fs layer 17:23:31 d65c8cfc05b1: Pulling fs layer 17:23:31 2437ff75d9bd: Pulling fs layer 17:23:31 f23df028b6ca: Waiting 17:23:31 d65c8cfc05b1: Waiting 17:23:31 765212b225bb: Waiting 17:23:31 2437ff75d9bd: Waiting 17:23:31 04944245beec: Verifying Checksum 17:23:31 04944245beec: Download complete 17:23:31 765212b225bb: Verifying Checksum 17:23:31 765212b225bb: Download complete 17:23:31 f23df028b6ca: Verifying Checksum 17:23:31 f23df028b6ca: Download complete 17:23:31 d65c8cfc05b1: Verifying Checksum 17:23:31 d65c8cfc05b1: Download complete 17:23:31 699f458cf7ca: Verifying Checksum 17:23:31 699f458cf7ca: Download complete 17:23:31 8998bd30e6a1: Verifying Checksum 17:23:31 8998bd30e6a1: Download complete 17:23:34 2437ff75d9bd: Verifying Checksum 17:23:34 2437ff75d9bd: Download complete 17:23:36 8998bd30e6a1: Pull complete 17:23:36 04944245beec: Pull complete 17:23:38 699f458cf7ca: Pull complete 17:23:38 765212b225bb: Pull complete 17:23:38 f23df028b6ca: Pull complete 17:23:39 d65c8cfc05b1: Pull complete 17:23:54 2437ff75d9bd: Pull complete 17:23:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:54 prd-ubuntu20.04-docker-arm64-4c-16g-29298 does not seem to be running inside a container 17:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:23:57 $ docker top 05ac4444b226cb233d178ec14483a1a767fe36a321df76999912cb9a288f187c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:58 ---> job-cost.sh 17:23:58 lf-activate-venv: SKIPPING 17:23:58 INFO: No Stack... 17:23:58 INFO: Retrieving Pricing Info for: v3-standard-4 17:23:59 INFO: Archiving Costs [Pipeline] sh 17:24:00 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 17:24:00 + cut -d, -f6 [Pipeline] lock 17:24:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] 17:24:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] did not exist. Created. 17:24:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:00 /w/workspace/device-onvif-camera/1@tmp/durable-f4b83abc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:01 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:01 Warning: overwriting stash ‘stack-cost’ 17:24:01 Stashed 1 file(s) [Pipeline] } 17:24:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:01 $ docker stop --time=1 05ac4444b226cb233d178ec14483a1a767fe36a321df76999912cb9a288f187c 17:24:03 $ docker rm -f 05ac4444b226cb233d178ec14483a1a767fe36a321df76999912cb9a288f187c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:24:04 provisioning config files... 17:24:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-160@tmp/config8092055575008564238tmp [Pipeline] { [Pipeline] sh 17:24:04 + set +x 17:24:04 + bash -s -- 17:24:04 + curl -s https://codecov.io/bash 17:24:04 17:24:04 _____ _ 17:24:04 / ____| | | 17:24:04 | | ___ __| | ___ ___ _____ __ 17:24:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:24:04 | |___| (_) | (_| | __/ (_| (_) \ V / 17:24:04 \_____\___/ \__,_|\___|\___\___/ \_/ 17:24:04 Bash-1.0.6 17:24:04 17:24:04 17:24:04 ==> git version 2.25.1 found 17:24:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:24:04 Release-Date: 2020-01-08 17:24:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:24:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:24:04 ==> Jenkins CI detected. 17:24:04 current dir:  /w/workspace/undry_device-onvif-camera_PR-160 17:24:04 project root: . 17:24:04 --> token set from env 17:24:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:24:04 ==> Running gcov in . (disable via -X gcov) 17:24:04 ==> Python coveragepy not found 17:24:04 ==> Searching for coverage reports in: 17:24:04 + . 17:24:04 -> Found 1 reports 17:24:04 ==> Detecting git/mercurial file structure 17:24:04 ==> Reading reports 17:24:04 + ./coverage.out bytes=77283 17:24:04 ==> Appending adjustments 17:24:04 https://docs.codecov.io/docs/fixing-reports 17:24:05 + Found adjustments 17:24:05 ==> Gzipping contents 17:24:05 12K /tmp/codecov.ScHzfB.gz 17:24:05 ==> Uploading reports 17:24:05 url: https://codecov.io 17:24:05 query: branch=PR-160&commit=b1c4850ae24f9a0c089101c7a267a4eeac08203c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=160&job=&cmd_args= 17:24:05 -> Pinging Codecov 17:24:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-160&commit=b1c4850ae24f9a0c089101c7a267a4eeac08203c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=160&job=&cmd_args= 17:24:05 -> Uploading to 17:24:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-15/F29A59C45E3A92E06B3E522C9905F8EF/b1c4850ae24f9a0c089101c7a267a4eeac08203c/f6c96476-6398-4da5-b662-9986196c06e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T172405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25b987fbe77e0fb3bba3e8cac22aa3df78447c0e4642f1c704768a3af7b839af 17:24:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:05 Dload Upload Total Spent Left Speed 17:24:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 41908 --:--:-- --:--:-- --:--:-- 41743 100 10561 0 0 100 10561 0 41908 --:--:-- --:--:-- --:--:-- 41743 17:24:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b1c4850ae24f9a0c089101c7a267a4eeac08203c [Pipeline] } 17:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:24:07 + [ -d /w/workspace/undry_device-onvif-camera_PR-160/archives ] 17:24:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-160/archives 17:24:07 total 16 17:24:07 drwxr-xr-x 3 root root 4096 Sep 15 17:16 . 17:24:07 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 17:16 .. 17:24:07 drwxr-xr-x 2 root root 4096 Sep 15 17:16 cost 17:24:07 -rw-r--r-- 1 root root 91 Sep 15 17:16 cost.csv 17:24:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-160/archives 17:24:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-160/archives 17:24:07 total 16 17:24:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 17:16 . 17:24:07 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 17:16 .. 17:24:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 17:16 cost 17:24:07 -rw-r--r-- 1 jenkins jenkins 91 Sep 15 17:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:24:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:24:08 ---> package-listing.sh 17:24:08 ++ facter osfamily 17:24:08 ++ tr '[:upper:]' '[:lower:]' 17:24:09 + OS_FAMILY=debian 17:24:09 + workspace=/w/workspace/undry_device-onvif-camera_PR-160 17:24:09 + START_PACKAGES=/tmp/packages_start.txt 17:24:09 + END_PACKAGES=/tmp/packages_end.txt 17:24:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:24:09 + PACKAGES=/tmp/packages_start.txt 17:24:09 + '[' /w/workspace/undry_device-onvif-camera_PR-160 ']' 17:24:09 + PACKAGES=/tmp/packages_end.txt 17:24:09 + case "${OS_FAMILY}" in 17:24:09 + dpkg -l 17:24:09 + grep '^ii' 17:24:09 + '[' -f /tmp/packages_start.txt ']' 17:24:09 + '[' -f /tmp/packages_end.txt ']' 17:24:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:24:09 + '[' /w/workspace/undry_device-onvif-camera_PR-160 ']' 17:24:09 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-160/archives/ 17:24:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-160/archives/ [Pipeline] echo 17:24:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:24:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:10 prd-ubuntu20.04-docker-8c-8g-29297 does not seem to be running inside a container 17:24:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-160 -v /w/workspace/undry_device-onvif-camera_PR-160:/w/workspace/undry_device-onvif-camera_PR-160:rw,z -v /w/workspace/undry_device-onvif-camera_PR-160@tmp:/w/workspace/undry_device-onvif-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:24:10 $ docker top 9fc307a8d61f75ddf0c6f9d256da045b94be5e23b6459e99db334c0195767220 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:10 + touch /tmp/pre-build-complete [Pipeline] sh 17:24:11 + mkdir -p /var/log/sysstat [Pipeline] sh 17:24:11 + ls /var/log/sa-host 17:24:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:11 provisioning config files... 17:24:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-160@tmp/config8292081485952183171tmp [Pipeline] { [Pipeline] echo 17:24:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:24:11 ---> create-netrc.sh [Pipeline] } 17:24:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:24:12 ---> python-tools-install.sh [Pipeline] echo 17:24:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:24:12 ---> sudo-logs.sh 17:24:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:24:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:24:13 ---> job-cost.sh 17:24:13 lf-activate-venv: SKIPPING 17:24:13 DEBUG: total: 0.2199999988079071 17:24:13 INFO: Retrieving Stack Cost... 17:24:13 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:14 INFO: Archiving Costs [Pipeline] echo 17:24:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:24:14 ---> logs-deploy.sh 17:24:14 lf-activate-venv: SKIPPING 17:24:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-160/1 17:24:14 INFO: archiving workspace using pattern(s): 17:24:15 Archives upload complete. 17:24:15 INFO: archiving logs to Nexus 17:24:16 ---> uname -a: 17:24:16 Linux prd-ubuntu20-04-docker-8c-8g-29297 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:24:16 17:24:16 17:24:16 ---> lscpu: 17:24:16 Architecture: x86_64 17:24:16 CPU op-mode(s): 32-bit, 64-bit 17:24:16 Byte Order: Little Endian 17:24:16 Address sizes: 40 bits physical, 48 bits virtual 17:24:16 CPU(s): 8 17:24:16 On-line CPU(s) list: 0-7 17:24:16 Thread(s) per core: 1 17:24:16 Core(s) per socket: 1 17:24:16 Socket(s): 8 17:24:16 NUMA node(s): 1 17:24:16 Vendor ID: AuthenticAMD 17:24:16 CPU family: 23 17:24:16 Model: 49 17:24:16 Model name: AMD EPYC-Rome Processor 17:24:16 Stepping: 0 17:24:16 CPU MHz: 2799.998 17:24:16 BogoMIPS: 5599.99 17:24:16 Virtualization: AMD-V 17:24:16 Hypervisor vendor: KVM 17:24:16 Virtualization type: full 17:24:16 L1d cache: 256 KiB 17:24:16 L1i cache: 256 KiB 17:24:16 L2 cache: 4 MiB 17:24:16 L3 cache: 128 MiB 17:24:16 NUMA node0 CPU(s): 0-7 17:24:16 Vulnerability Itlb multihit: Not affected 17:24:16 Vulnerability L1tf: Not affected 17:24:16 Vulnerability Mds: Not affected 17:24:16 Vulnerability Meltdown: Not affected 17:24:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:24:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:24:16 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:24:16 Vulnerability Srbds: Not affected 17:24:16 Vulnerability Tsx async abort: Not affected 17:24:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:24:16 17:24:16 17:24:16 ---> nproc: 17:24:16 8 17:24:16 17:24:16 17:24:16 ---> df -h: 17:24:16 Filesystem Size Used Avail Use% Mounted on 17:24:16 overlay 155G 11G 145G 8% / 17:24:16 tmpfs 64M 0 64M 0% /dev 17:24:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:24:16 shm 64M 0 64M 0% /dev/shm 17:24:16 /dev/vda1 155G 11G 145G 8% /facter-os 17:24:16 17:24:16 17:24:16 ---> sar -b -r -n DEV: 17:24:16 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-29297) 09/15/22 _x86_64_ (8 CPU) 17:24:16 17:24:16 17:13:29 LINUX RESTART (8 CPU) 17:24:16 17:24:16 17:14:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:24:16 17:15:01 383.44 12.91 370.53 0.00 2084.39 118895.51 0.00 17:24:16 17:16:01 115.56 0.23 115.33 0.00 23.20 19727.65 0.00 17:24:16 17:17:01 114.60 0.02 114.58 0.00 0.13 34158.32 0.00 17:24:16 17:18:01 2.32 0.00 2.32 0.00 0.00 24.93 0.00 17:24:16 17:19:01 1.17 0.02 1.15 0.00 0.13 13.73 0.00 17:24:16 17:20:01 1.45 0.00 1.45 0.00 0.00 17.46 0.00 17:24:16 17:21:01 1.37 0.00 1.37 0.00 0.00 15.46 0.00 17:24:16 17:22:01 0.92 0.00 0.92 0.00 0.00 11.73 0.00 17:24:16 17:23:01 1.15 0.00 1.15 0.00 0.00 13.20 0.00 17:24:16 17:24:01 1.57 0.00 1.57 0.00 0.00 23.46 0.00 17:24:16 Average: 61.81 1.30 60.51 0.00 207.64 17119.12 0.00 17:24:16 17:24:16 17:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:24:16 17:15:01 27815260 31749348 544324 1.66 161636 3934212 2081496 6.13 1246512 3324996 230452 17:24:16 17:16:01 27862208 31715472 576556 1.75 167184 3862804 2296108 6.77 1537388 3003704 340036 17:24:16 17:17:01 27538328 31774036 519224 1.58 177296 4199552 1930152 5.69 1361916 3463268 220 17:24:16 17:18:01 27539692 31775388 517916 1.58 177340 4199552 1930152 5.69 1361356 3463268 172 17:24:16 17:19:01 27539960 31775700 517564 1.57 177364 4199560 1930152 5.69 1360508 3463272 48 17:24:16 17:20:01 27539848 31775604 517524 1.57 177388 4199564 1930152 5.69 1360752 3463276 212 17:24:16 17:21:01 27549504 31785284 507880 1.54 177436 4199568 1930152 5.69 1351124 3463292 8 17:24:16 17:22:01 27549764 31785556 507536 1.54 177468 4199576 1930152 5.69 1351128 3463300 180 17:24:16 17:23:01 27549716 31785508 507508 1.54 177484 4199576 1930152 5.69 1351116 3463300 12 17:24:16 17:24:01 27550104 31785932 507252 1.54 177532 4199552 1930152 5.69 1351804 3463280 24 17:24:16 Average: 27603438 31770783 522328 1.59 174813 4139352 1981882 5.84 1363360 3403496 57136 17:24:16 17:24:16 17:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:24:16 17:15:01 docker0 145.64 170.41 11.79 1665.27 0.00 0.00 0.00 0.00 17:24:16 17:15:01 lo 6.44 6.44 0.63 0.63 0.00 0.00 0.00 0.00 17:24:16 17:15:01 ens3 500.97 381.26 7454.70 65.57 0.00 0.00 0.00 0.00 17:24:16 17:16:01 docker0 8.78 10.11 0.51 40.83 0.00 0.00 0.00 0.00 17:24:16 17:16:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 17:24:16 17:16:01 veth3f88013 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 17:24:16 17:16:01 ens3 93.65 67.89 95.40 68.95 0.00 0.00 0.00 0.00 17:24:16 17:17:01 docker0 2.47 5.45 0.16 57.94 0.00 0.00 0.00 0.00 17:24:16 17:17:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 17:24:16 17:17:01 ens3 148.04 113.50 2633.10 63.57 0.00 0.00 0.00 0.00 17:24:16 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:18:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:19:01 ens3 1.82 1.78 1.87 0.18 0.00 0.00 0.00 0.00 17:24:16 17:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:20:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:21:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:22:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:23:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:16 17:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:24:16 17:24:01 ens3 0.28 0.23 0.09 0.08 0.00 0.00 0.00 0.00 17:24:16 Average: docker0 15.47 18.34 1.23 173.90 0.00 0.00 0.00 0.00 17:24:16 Average: lo 0.92 0.92 0.09 0.09 0.00 0.00 0.00 0.00 17:24:16 Average: ens3 73.80 55.96 1007.69 19.76 0.00 0.00 0.00 0.00 17:24:16 17:24:16 17:24:16 ---> sar -P ALL: 17:24:16 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-29297) 09/15/22 _x86_64_ (8 CPU) 17:24:16 17:24:16 17:13:29 LINUX RESTART (8 CPU) 17:24:16 17:24:16 17:14:02 CPU %user %nice %system %iowait %steal %idle 17:24:16 17:15:01 all 11.48 0.00 4.82 1.66 0.06 81.98 17:24:16 17:15:01 0 10.32 0.00 4.82 1.74 0.07 83.06 17:24:16 17:15:01 1 12.55 0.00 6.12 6.31 0.05 74.97 17:24:16 17:15:01 2 11.46 0.00 5.53 0.87 0.05 82.09 17:24:16 17:15:01 3 11.32 0.00 4.50 0.28 0.07 83.83 17:24:16 17:15:01 4 11.76 0.00 4.86 0.36 0.07 82.95 17:24:16 17:15:01 5 11.88 0.00 3.82 0.57 0.07 83.66 17:24:16 17:15:01 6 10.75 0.00 4.78 2.89 0.05 81.52 17:24:16 17:15:01 7 11.78 0.00 4.10 0.28 0.09 83.76 17:24:16 17:16:01 all 44.99 0.00 7.01 0.51 0.08 47.41 17:24:16 17:16:01 0 44.97 0.00 6.81 0.44 0.07 47.72 17:24:16 17:16:01 1 43.00 0.00 6.86 0.08 0.08 49.97 17:24:16 17:16:01 2 44.79 0.00 7.21 0.08 0.07 47.84 17:24:16 17:16:01 3 44.53 0.00 6.49 0.10 0.07 48.81 17:24:16 17:16:01 4 47.25 0.00 7.15 0.13 0.07 45.40 17:24:16 17:16:01 5 44.05 0.00 7.32 0.79 0.08 47.75 17:24:16 17:16:01 6 45.99 0.00 7.31 0.98 0.08 45.64 17:24:16 17:16:01 7 45.33 0.00 6.95 1.48 0.08 46.15 17:24:16 17:17:01 all 6.15 0.00 2.13 1.12 0.04 90.56 17:24:16 17:17:01 0 6.95 0.00 2.01 0.03 0.05 90.96 17:24:16 17:17:01 1 6.02 0.00 2.20 0.47 0.03 91.28 17:24:16 17:17:01 2 5.45 0.00 1.69 0.02 0.03 92.80 17:24:16 17:17:01 3 6.22 0.00 2.37 2.13 0.03 89.24 17:24:16 17:17:01 4 7.08 0.00 2.35 0.15 0.03 90.38 17:24:16 17:17:01 5 6.02 0.00 2.59 1.63 0.03 89.73 17:24:16 17:17:01 6 6.13 0.00 1.69 0.00 0.03 92.15 17:24:16 17:17:01 7 5.31 0.00 2.19 4.54 0.03 87.92 17:24:16 17:18:01 all 0.22 0.00 0.02 0.02 0.00 99.74 17:24:16 17:18:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:18:01 1 0.00 0.00 0.02 0.02 0.00 99.97 17:24:16 17:18:01 2 0.00 0.00 0.03 0.00 0.00 99.97 17:24:16 17:18:01 3 1.68 0.00 0.00 0.12 0.02 98.19 17:24:16 17:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:24:16 17:18:01 5 0.02 0.00 0.03 0.00 0.02 99.93 17:24:16 17:18:01 6 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:18:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:19:01 all 0.03 0.00 0.01 0.02 0.00 99.94 17:24:16 17:19:01 0 0.03 0.00 0.00 0.00 0.00 99.97 17:24:16 17:19:01 1 0.02 0.00 0.02 0.07 0.00 99.90 17:24:16 17:19:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:19:01 3 0.02 0.00 0.02 0.08 0.00 99.88 17:24:16 17:19:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:19:01 5 0.07 0.00 0.02 0.00 0.02 99.90 17:24:16 17:19:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:19:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:20:01 all 0.02 0.00 0.01 0.01 0.01 99.96 17:24:16 17:20:01 0 0.02 0.00 0.03 0.00 0.02 99.93 17:24:16 17:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:24:16 17:20:01 2 0.03 0.00 0.03 0.00 0.02 99.92 17:24:16 17:20:01 3 0.02 0.00 0.00 0.03 0.02 99.93 17:24:16 17:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:20:01 5 0.03 0.00 0.02 0.00 0.02 99.93 17:24:16 17:20:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:24:16 17:20:01 7 0.02 0.00 0.00 0.02 0.00 99.97 17:24:16 17:21:01 all 0.04 0.00 0.03 0.00 0.01 99.92 17:24:16 17:21:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:21:01 1 0.03 0.00 0.02 0.02 0.00 99.93 17:24:16 17:21:01 2 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:21:01 3 0.07 0.00 0.05 0.02 0.02 99.85 17:24:16 17:21:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:21:01 5 0.07 0.00 0.07 0.00 0.00 99.87 17:24:16 17:21:01 6 0.03 0.00 0.02 0.00 0.02 99.93 17:24:16 17:21:01 7 0.03 0.00 0.07 0.00 0.02 99.88 17:24:16 17:22:01 all 0.01 0.00 0.00 0.01 0.00 99.98 17:24:16 17:22:01 0 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:22:01 1 0.02 0.00 0.00 0.03 0.00 99.95 17:24:16 17:22:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:22:01 3 0.02 0.00 0.00 0.02 0.00 99.97 17:24:16 17:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:24:16 17:22:01 5 0.00 0.00 0.00 0.00 0.02 99.98 17:24:16 17:22:01 6 0.00 0.00 0.02 0.00 0.00 99.98 17:24:16 17:22:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:24:16 17:23:01 all 0.02 0.00 0.01 0.01 0.00 99.96 17:24:16 17:23:01 0 0.05 0.00 0.02 0.00 0.00 99.93 17:24:16 17:23:01 1 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:23:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:23:01 3 0.02 0.00 0.00 0.07 0.02 99.90 17:24:16 17:23:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:23:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:24:16 17:23:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:24:16 17:23:01 7 0.00 0.00 0.00 0.00 0.00 100.00 17:24:16 17:24:01 all 0.02 0.00 0.01 0.00 0.00 99.96 17:24:16 17:24:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:24:16 17:24:01 1 0.00 0.00 0.02 0.00 0.00 99.98 17:24:16 17:24:01 2 0.00 0.00 0.00 0.00 0.02 99.98 17:24:16 17:24:01 3 0.03 0.00 0.00 0.02 0.00 99.95 17:24:16 17:24:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:24:16 17:24:01 5 0.05 0.00 0.03 0.00 0.02 99.90 17:24:16 17:24:01 6 0.02 0.00 0.03 0.00 0.00 99.95 17:24:16 17:24:01 7 0.02 0.00 0.02 0.02 0.00 99.95 17:24:16 Average: all 6.23 0.00 1.39 0.33 0.02 92.03 17:24:16 Average: 0 6.19 0.00 1.36 0.22 0.02 92.22 17:24:16 Average: 1 6.10 0.00 1.51 0.68 0.02 91.69 17:24:16 Average: 2 6.11 0.00 1.43 0.10 0.02 92.34 17:24:16 Average: 3 6.34 0.00 1.33 0.29 0.02 92.02 17:24:16 Average: 4 6.56 0.00 1.42 0.06 0.02 91.93 17:24:16 Average: 5 6.15 0.00 1.38 0.30 0.03 92.15 17:24:16 Average: 6 6.24 0.00 1.37 0.38 0.02 91.99 17:24:16 Average: 7 6.18 0.00 1.32 0.63 0.02 91.85 17:24:16 17:24:16 17:24:16