Pull request #171 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh7533728300170429845.key Verifying host key using known hosts file > 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-ssh4583193448202537218.key Verifying host key using known hosts file > 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-171/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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12961610029100729731.key Verifying host key using known hosts file > 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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18238077979927001542.key Verifying host key using known hosts file > 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-ssh9613428206514105927.key Verifying host key using known hosts file > 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-171/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-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1949575611185824127.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7106 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-171 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 Merge succeeded, producing d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 Checking out Revision d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 # timeout=10 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" 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 23:30:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:30:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:30:12 ========================================================= 23:30:12 EdgeX Global Pipelines Version Info 23:30:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:30:13 ------------------- 23:30:13 stable info: 23:30:13 ------------------- 23:30:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:30:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:30:13 Message: update stable to v1.0.239 23:30:14 ------------------- 23:30:14 experimental info: 23:30:14 ------------------- 23:30:14 Commited By: **** collab-it+edgex@linuxfoundation.org 23:30:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:30:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:30:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0414d5 [Pipeline] echo 23:30:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:16 provisioning config files... 23:30:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config12019798057294779365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:17 ---> docker-login.sh 23:30:17 nexus3.edgexfoundry.org:10001 23:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:17 Configure a credential helper to remove this warning. See 23:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:17 23:30:17 Login Succeeded 23:30:17 nexus3.edgexfoundry.org:10002 23:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:17 Configure a credential helper to remove this warning. See 23:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:17 23:30:17 Login Succeeded 23:30:17 nexus3.edgexfoundry.org:10003 23:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:17 Configure a credential helper to remove this warning. See 23:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:17 23:30:17 Login Succeeded 23:30:17 nexus3.edgexfoundry.org:10004 23:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:17 Configure a credential helper to remove this warning. See 23:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:17 23:30:17 Login Succeeded 23:30:17 docker.io 23:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:18 Configure a credential helper to remove this warning. See 23:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:18 23:30:18 Login Succeeded 23:30:18 ---> docker-login.sh ends [Pipeline] } 23:30:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:30:19 + git rev-list -1 --merges d0414d5c0ff28bdf69f7026e887cf3e30b478ad5~1..d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo 23:30:19 -----------> git rev-list -1 --merges d0414d5c0ff28bdf69f7026e887cf3e30b478ad5~1..d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 23:30:19 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [false] [Pipeline] sh 23:30:19 + git log --format=format:%s -1 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo 23:30:19 ========================================================= 23:30:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:30:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:19 + git log --format=format:%s -1 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo 23:30:19 [semverPrep] GIT_COMMIT: d0414d5c0ff28bdf69f7026e887cf3e30b478ad5, Commit Message: Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD [Pipeline] echo 23:30:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:30:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:30:20 + grep -v github /etc/ssh/ssh_known_hosts 23:30:20 + [ -e /tmp/ssh_known_hosts ] 23:30:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:30:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:30:20 + sudo tee -a /etc/ssh/ssh_known_hosts 23:30:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:20 23:30:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:21 0.1.4: Pulling from edgex-devops/py-git-semver 23:30:21 b85a868b505f: Pulling fs layer 23:30:21 e2be974225ed: Pulling fs layer 23:30:21 339a4e72a1f5: Pulling fs layer 23:30:21 988bab9f4d93: Pulling fs layer 23:30:21 1469e6f7b9e6: Pulling fs layer 23:30:21 eaf3925da568: Pulling fs layer 23:30:21 bab4dde63d76: Pulling fs layer 23:30:21 bde34c3a00c8: Pulling fs layer 23:30:21 b352a97aabf1: Pulling fs layer 23:30:21 4872d77fe225: Pulling fs layer 23:30:21 5851b861e8e6: Pulling fs layer 23:30:21 1469e6f7b9e6: Waiting 23:30:21 eaf3925da568: Waiting 23:30:21 bab4dde63d76: Waiting 23:30:21 bde34c3a00c8: Waiting 23:30:21 5851b861e8e6: Waiting 23:30:21 b352a97aabf1: Waiting 23:30:21 4872d77fe225: Waiting 23:30:21 988bab9f4d93: Waiting 23:30:21 e2be974225ed: Verifying Checksum 23:30:21 e2be974225ed: Download complete 23:30:21 988bab9f4d93: Verifying Checksum 23:30:21 988bab9f4d93: Download complete 23:30:21 1469e6f7b9e6: Verifying Checksum 23:30:21 1469e6f7b9e6: Download complete 23:30:21 eaf3925da568: Verifying Checksum 23:30:21 eaf3925da568: Download complete 23:30:21 339a4e72a1f5: Verifying Checksum 23:30:21 339a4e72a1f5: Download complete 23:30:21 bde34c3a00c8: Verifying Checksum 23:30:21 bde34c3a00c8: Download complete 23:30:21 b352a97aabf1: Verifying Checksum 23:30:21 b352a97aabf1: Download complete 23:30:21 4872d77fe225: Download complete 23:30:21 5851b861e8e6: Download complete 23:30:21 b85a868b505f: Verifying Checksum 23:30:21 b85a868b505f: Download complete 23:30:21 bab4dde63d76: Verifying Checksum 23:30:21 bab4dde63d76: Download complete 23:30:22 b85a868b505f: Pull complete 23:30:22 e2be974225ed: Pull complete 23:30:23 339a4e72a1f5: Pull complete 23:30:23 988bab9f4d93: Pull complete 23:30:23 1469e6f7b9e6: Pull complete 23:30:23 eaf3925da568: Pull complete 23:30:25 bab4dde63d76: Pull complete 23:30:25 bde34c3a00c8: Pull complete 23:30:25 b352a97aabf1: Pull complete 23:30:25 4872d77fe225: Pull complete 23:30:25 5851b861e8e6: Pull complete 23:30:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:30:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:26 prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container 23:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 23:30:27 $ docker top 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 -eo pid,comm 23:30:27 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). 23:30:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:27 [ssh-agent] Looking for ssh-agent implementation... 23:30:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:27 $ docker exec 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent 23:30:27 SSH_AUTH_SOCK=/tmp/ssh-k37WXhTDbIBK/agent.32 23:30:27 SSH_AGENT_PID=38 23:30:27 Running ssh-add (command line suppressed) 23:30:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_17949106379830188441.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_17949106379830188441.key) 23:30:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:28 + git tag --points-at HEAD [Pipeline] } 23:30:28 $ docker exec --env ******** --env ******** 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent -k 23:30:28 unset SSH_AUTH_SOCK; 23:30:28 unset SSH_AGENT_PID; 23:30:28 echo Agent pid 38 killed; 23:30:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:28 [ssh-agent] Looking for ssh-agent implementation... 23:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:28 $ docker exec 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent 23:30:28 SSH_AUTH_SOCK=/tmp/ssh-0fX7zuEJK8AM/agent.70 23:30:28 SSH_AGENT_PID=76 23:30:28 Running ssh-add (command line suppressed) 23:30:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_12554171150663353749.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_12554171150663353749.key) 23:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:29 + git semver init 23:30:29 2022-10-04 23:30:29,284 [run_init] DEBUG init version:0.0.0 force:False 23:30:29 2022-10-04 23:30:29,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-171/.semver 23:30:29 2022-10-04 23:30:29,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-171/.semver 23:30:29 2022-10-04 23:30:29,285 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-171/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-171, universal_newlines=False, shell=None, istream=None) 23:30:30 2022-10-04 23:30:30,188 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-171/.git/info/exclude 23:30:30 2022-10-04 23:30:30,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 with force:False 23:30:30 2022-10-04 23:30:30,189 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 23:30:30 2022-10-04 23:30:30,194 [execute] INFO git cat-file --batch-check 23:30:30 2022-10-04 23:30:30,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) 23:30:30 2022-10-04 23:30:30,201 [execute] INFO git cat-file --batch 23:30:30 2022-10-04 23:30:30,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) 23:30:30 2022-10-04 23:30:30,207 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 23:30:30 0.0.0 [Pipeline] } 23:30:30 $ docker exec --env ******** --env ******** 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent -k 23:30:30 unset SSH_AUTH_SOCK; 23:30:30 unset SSH_AGENT_PID; 23:30:30 echo Agent pid 76 killed; 23:30:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:30 + git semver [Pipeline] } 23:30:31 $ docker stop --time=1 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 23:30:32 $ docker rm -f 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:30:33 Stashed 1 file(s) [Pipeline] echo 23:30:33 [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 23:30:33 provisioning config files... 23:30:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config8315682257346842852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:34 ---> docker-login.sh 23:30:34 nexus3.edgexfoundry.org:10001 23:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:34 Configure a credential helper to remove this warning. See 23:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:34 23:30:34 Login Succeeded 23:30:34 nexus3.edgexfoundry.org:10002 23:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:34 Configure a credential helper to remove this warning. See 23:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:34 23:30:34 Login Succeeded 23:30:34 nexus3.edgexfoundry.org:10003 23:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:34 Configure a credential helper to remove this warning. See 23:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:34 23:30:34 Login Succeeded 23:30:34 nexus3.edgexfoundry.org:10004 23:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:34 Configure a credential helper to remove this warning. See 23:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:34 23:30:34 Login Succeeded 23:30:34 docker.io 23:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:34 Configure a credential helper to remove this warning. See 23:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:34 23:30:34 Login Succeeded 23:30:34 ---> docker-login.sh ends [Pipeline] } 23:30:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:35 ========================================================= 23:30:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:30:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:35 + 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 . 23:30:35 Sending build context to Docker daemon 20.81MB 23:30:35 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 23:30:35 Step 2/14 : FROM ${BASE} AS builder 23:30:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:30:35 2408cc74d12b: Pulling fs layer 23:30:35 ea60b727a1ce: Pulling fs layer 23:30:35 30c4a7721957: Pulling fs layer 23:30:35 370296b7ddb6: Pulling fs layer 23:30:35 7c6cee850709: Pulling fs layer 23:30:35 aa9baa53a306: Pulling fs layer 23:30:35 8b309c321861: Pulling fs layer 23:30:35 d8d76fd02f46: Pulling fs layer 23:30:35 fa31f396de31: Pulling fs layer 23:30:35 aa9baa53a306: Waiting 23:30:35 d8d76fd02f46: Waiting 23:30:35 370296b7ddb6: Waiting 23:30:35 8b309c321861: Waiting 23:30:35 7c6cee850709: Waiting 23:30:35 30c4a7721957: Verifying Checksum 23:30:35 30c4a7721957: Download complete 23:30:35 ea60b727a1ce: Download complete 23:30:35 7c6cee850709: Verifying Checksum 23:30:35 7c6cee850709: Download complete 23:30:35 aa9baa53a306: Download complete 23:30:35 2408cc74d12b: Verifying Checksum 23:30:35 2408cc74d12b: Pull complete 23:30:36 ea60b727a1ce: Pull complete 23:30:36 30c4a7721957: Pull complete 23:30:36 fa31f396de31: Verifying Checksum 23:30:36 fa31f396de31: Download complete 23:30:36 d8d76fd02f46: Verifying Checksum 23:30:36 d8d76fd02f46: Download complete 23:30:36 370296b7ddb6: Verifying Checksum 23:30:36 370296b7ddb6: Download complete 23:30:40 370296b7ddb6: Pull complete 23:30:40 7c6cee850709: Pull complete 23:30:40 aa9baa53a306: Pull complete 23:30:40 8b309c321861: Pull complete 23:30:42 d8d76fd02f46: Pull complete 23:30:43 fa31f396de31: Pull complete 23:30:43 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 23:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:30:43 ---> cef68f9685f8 23:30:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 23:30:44 ---> Running in 963e97d38ae4 23:30:44 Removing intermediate container 963e97d38ae4 23:30:44 ---> 3324ed877642 23:30:44 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:44 ---> Running in 11923d12f1e9 23:30:44 Removing intermediate container 11923d12f1e9 23:30:44 ---> 88799a0549c5 23:30:44 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:30:44 ---> Running in a03a8fab4c87 23:30:45 Removing intermediate container a03a8fab4c87 23:30:45 ---> b39436f32f82 23:30:45 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 23:30:45 ---> Running in 4bb25d1901f4 23:30:45 Removing intermediate container 4bb25d1901f4 23:30:45 ---> 4d8ad36ff64d 23:30:45 Step 7/14 : LABEL Name=edgex-device-onvif-camera 23:30:45 ---> Running in b7f3e635a01b 23:30:45 Removing intermediate container b7f3e635a01b 23:30:45 ---> d116a2e1d3a1 23:30:45 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:30:45 ---> Running in 1c583b5d7015 23:30:45 Removing intermediate container 1c583b5d7015 23:30:45 ---> cb35c352860d 23:30:45 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:45 ---> Running in d8fb40c23caf 23:30:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:30:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:30:47 OK: 211 MiB in 51 packages 23:30:47 Removing intermediate container d8fb40c23caf 23:30:47 ---> 079ed289993d 23:30:47 Step 10/14 : WORKDIR /device-onvif-camera 23:30:47 ---> Running in 681674b65277 23:30:47 Removing intermediate container 681674b65277 23:30:47 ---> 641ebc73c08a 23:30:47 Step 11/14 : COPY go.mod vendor* ./ 23:30:47 ---> 58af3ca9def8 23:30:47 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:47 ---> Running in 6cf0ef0548f6 23:30:48 Still waiting to schedule task 23:30:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:31:09 Removing intermediate container 6cf0ef0548f6 23:31:09 ---> 6679ed482818 23:31:09 Step 13/14 : COPY . . 23:31:09 ---> 4b567346dac7 23:31:09 Step 14/14 : RUN ${MAKE} 23:31:09 ---> Running in 6e3b95aa9a05 23:31:09 noop 23:31:10 Removing intermediate container 6e3b95aa9a05 23:31:10 ---> b1b51813133f 23:31:10 Successfully built b1b51813133f 23:31:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:10 + docker inspect -f . ci-base-image-x86_64 23:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:10 prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container 23:31:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 23:31:11 $ docker top 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:11 + go version 23:31:11 go version go1.18.3 linux/amd64 [Pipeline] } 23:31:11 $ docker stop --time=1 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 23:31:13 $ docker rm -f 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:13 + docker inspect -f . ci-base-image-x86_64 23:31:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:13 prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container 23:31:13 $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 23:31:14 $ docker top 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] fileExists [Pipeline] sh 23:31:14 + make test 23:31:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:31:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:31:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:31:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 23:31:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:31:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.367s coverage: 86.5% of statements 23:31:35 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." 23:31:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:31:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:31:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:31:38 ./bin/test-attribution-txt.sh [Pipeline] echo 23:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:31:38 $ docker stop --time=1 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 23:31:40 $ docker rm -f 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:42 + ls -al . 23:31:42 total 236 23:31:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 23:31 . 23:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 .. 23:31:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 23:31 .git 23:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:30 .github 23:31:42 -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 23:30 .gitignore 23:31:42 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 23:30 .golangci.yml 23:31:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 23:30 .semver 23:31:42 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 23:30 Attribution.txt 23:31:42 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 23:30 CHANGELOG.md 23:31:42 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 4 23:30 Dockerfile 23:31:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 23:30 GOVERNANCE.md 23:31:42 -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 23:30 Jenkinsfile 23:31:42 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 23:30 LICENSE 23:31:42 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 23:30 Makefile 23:31:42 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 23:30 OWNERS.md 23:31:42 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 23:30 README.md 23:31:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 23:30 VERSION 23:31:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 23:30 bin 23:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:30 cmd 23:31:42 -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 23:31 coverage.out 23:31:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 23:30 doc 23:31:42 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 23:30 go.mod 23:31:42 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 23:30 go.sum 23:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 internal 23:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 snap 23:31:42 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31: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=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 --label arch=amd64 --label version=0.0.0 . 23:31:42 Sending build context to Docker daemon 20.89MB 23:31:42 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 23:31:42 Step 2/27 : FROM ${BASE} AS builder 23:31:42 ---> b1b51813133f 23:31:42 Step 3/27 : ARG ADD_BUILD_TAGS="" 23:31:42 ---> Running in a4f55d95f3c5 23:31:42 Removing intermediate container a4f55d95f3c5 23:31:42 ---> cb7adbeddf8c 23:31:42 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:42 ---> Running in 9d30180ff6aa 23:31:42 Removing intermediate container 9d30180ff6aa 23:31:42 ---> 8972af774e78 23:31:42 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:31:42 ---> Running in f1c69b8cb396 23:31:43 Removing intermediate container f1c69b8cb396 23:31:43 ---> b7ce8f53c8a4 23:31:43 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 23:31:43 ---> Running in 04d963518fa4 23:31:43 Removing intermediate container 04d963518fa4 23:31:43 ---> a8239650bff8 23:31:43 Step 7/27 : LABEL Name=edgex-device-onvif-camera 23:31:43 ---> Running in b14edab63020 23:31:43 Removing intermediate container b14edab63020 23:31:43 ---> 797c055046c2 23:31:43 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:31:43 ---> Running in 1e17d790ec58 23:31:44 Removing intermediate container 1e17d790ec58 23:31:44 ---> 9310703f333a 23:31:44 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:44 ---> Running in f3b2743f267c 23:31:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:31:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:31:45 OK: 211 MiB in 51 packages 23:31:45 Removing intermediate container f3b2743f267c 23:31:45 ---> f25474ac4a4b 23:31:45 Step 10/27 : WORKDIR /device-onvif-camera 23:31:45 ---> Running in 13ad5d4a243f 23:31:45 Removing intermediate container 13ad5d4a243f 23:31:45 ---> 705993319a6c 23:31:45 Step 11/27 : COPY go.mod vendor* ./ 23:31:45 ---> f903edfcd8cf 23:31:45 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:45 ---> Running in 597aa3df5a58 23:31:46 Removing intermediate container 597aa3df5a58 23:31:46 ---> 46e5f44957d8 23:31:46 Step 13/27 : COPY . . 23:31:47 ---> dddc791a2d54 23:31:47 Step 14/27 : RUN ${MAKE} 23:31:47 ---> Running in ea2d835c378e 23:31:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:32:09 Removing intermediate container ea2d835c378e 23:32:09 ---> fbfb86e634de 23:32:09 Step 15/27 : FROM alpine:3.16 23:32:09 3.16: Pulling from library/alpine 23:32:09 213ec9aee27d: Pulling fs layer 23:32:09 213ec9aee27d: Download complete 23:32:09 213ec9aee27d: Pull complete 23:32:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:32:09 Status: Downloaded newer image for alpine:3.16 23:32:09 ---> 9c6f07244728 23:32:09 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:32:09 ---> Running in 1e1682b3f606 23:32:09 Removing intermediate container 1e1682b3f606 23:32:09 ---> da8fbb954e5e 23:32:09 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 23:32:09 ---> Running in 6b90a99e7f43 23:32:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:32:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:32:09 (1/6) Installing dumb-init (1.2.5-r1) 23:32:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:32:09 (3/6) Installing libsodium (1.0.18-r0) 23:32:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:32:09 (5/6) Installing libzmq (4.3.4-r0) 23:32:09 (6/6) Installing zeromq (4.3.4-r0) 23:32:09 Executing busybox-1.35.0-r17.trigger 23:32:09 OK: 8 MiB in 20 packages 23:32:10 Removing intermediate container 6b90a99e7f43 23:32:10 ---> 8c5a81f3e0b5 23:32:10 Step 18/27 : WORKDIR / 23:32:10 ---> Running in f10194038791 23:32:10 Removing intermediate container f10194038791 23:32:10 ---> e02233e08f05 23:32:10 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 23:32:10 ---> 959db1282f01 23:32:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 23:32:10 ---> 07a5316abea7 23:32:10 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:32:10 ---> 493398a90048 23:32:10 Step 22/27 : EXPOSE 59984 23:32:10 ---> Running in 0e7617408211 23:32:11 Removing intermediate container 0e7617408211 23:32:11 ---> c9538ff60f82 23:32:11 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 23:32:11 ---> Running in 2152bb96c8e3 23:32:11 Removing intermediate container 2152bb96c8e3 23:32:11 ---> 966978d547e9 23:32:11 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:32:11 ---> Running in 8673dcad998a 23:32:11 Removing intermediate container 8673dcad998a 23:32:11 ---> 17ee6beb1aec 23:32:11 Step 25/27 : LABEL arch=amd64 23:32:11 ---> Running in cc55169681af 23:32:11 Removing intermediate container cc55169681af 23:32:11 ---> 54a08f60929d 23:32:11 Step 26/27 : LABEL git_sha=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 23:32:11 ---> Running in aeef6fe0630a 23:32:11 Removing intermediate container aeef6fe0630a 23:32:11 ---> e5360600b6da 23:32:11 Step 27/27 : LABEL version=0.0.0 23:32:11 ---> Running in 2018de50e32c 23:32:11 Removing intermediate container 2018de50e32c 23:32:11 ---> 3ffc91117885 23:32:11 [Warning] One or more build-args [ARCH] were not consumed 23:32:11 Successfully built 3ffc91117885 23:32:11 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 23:32:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:12 23:32:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:12 latest: Pulling from edgex-lftools-log-publisher 23:32:12 5eb5b503b376: Pulling fs layer 23:32:12 5c69ac0246d0: Pulling fs layer 23:32:12 ec43610c2a17: Pulling fs layer 23:32:12 3a2ae6a8a46f: Pulling fs layer 23:32:12 33b1e0a273af: Pulling fs layer 23:32:12 5d3b04190fa2: Pulling fs layer 23:32:12 2f39f015ded8: Pulling fs layer 23:32:12 5d3b04190fa2: Waiting 23:32:12 2f39f015ded8: Waiting 23:32:12 3a2ae6a8a46f: Waiting 23:32:12 33b1e0a273af: Waiting 23:32:12 5c69ac0246d0: Verifying Checksum 23:32:12 5c69ac0246d0: Download complete 23:32:12 3a2ae6a8a46f: Verifying Checksum 23:32:12 3a2ae6a8a46f: Download complete 23:32:12 33b1e0a273af: Verifying Checksum 23:32:12 33b1e0a273af: Download complete 23:32:12 ec43610c2a17: Verifying Checksum 23:32:12 ec43610c2a17: Download complete 23:32:12 5d3b04190fa2: Verifying Checksum 23:32:12 5d3b04190fa2: Download complete 23:32:13 5eb5b503b376: Verifying Checksum 23:32:13 5eb5b503b376: Download complete 23:32:13 2f39f015ded8: Download complete 23:32:14 5eb5b503b376: Pull complete 23:32:14 5c69ac0246d0: Pull complete 23:32:14 ec43610c2a17: Pull complete 23:32:14 3a2ae6a8a46f: Pull complete 23:32:15 33b1e0a273af: Pull complete 23:32:15 5d3b04190fa2: Pull complete 23:32:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7107 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] ws 23:32:15 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:32:15 The recommended git tool is: git 23:32:19 2f39f015ded8: Pull complete 23:32:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:32:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:19 prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container 23:32:19 $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 23:32:20 using credential edgex-jenkins-ssh 23:32:20 Cloning the remote Git repository 23:32:20 $ docker top 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:21 ---> job-cost.sh 23:32:21 lf-activate-venv: SKIPPING 23:32:21 INFO: No Stack... 23:32:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:32:20 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:32:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:32:20 > git --version # timeout=10 23:32:20 > git --version # 'git version 2.25.1' 23:32:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:20 Verifying host key using known hosts file 23:32:20 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:32:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:21 INFO: Retrieving Pricing Info for: v3-standard-8 23:32:21 INFO: Archiving Costs [Pipeline] sh 23:32:22 + cat /w/workspace/undry_device-onvif-camera_PR-171/archives/cost.csv 23:32:22 + cut -d, -f6 [Pipeline] lock 23:32:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] 23:32:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] did not exist. Created. 23:32:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:32:22 + echo total: 0.2199999988079071 [Pipeline] stash 23:32:22 Stashed 1 file(s) [Pipeline] } 23:32:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] // lock 23:32:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:32:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } 23:32:22 $ docker stop --time=1 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f 23:32:23 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 23:32:23 $ docker rm -f 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 23:32:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:32:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:32:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:22 Verifying host key using known hosts file 23:32:23 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:32:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:32:23 > git config core.sparsecheckout # timeout=10 23:32:23 > git checkout -f f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 # timeout=10 23:32:23 > git remote # timeout=10 23:32:23 > git config --get remote.origin.url # timeout=10 23:32:23 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:23 Verifying host key using known hosts file 23:32:23 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:32:23 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [Pipeline] // withEnv [Pipeline] } 23:32:24 Merge succeeded, producing 3a896a9a9fef18f6179b9077942c70eae6bdba11 23:32:24 Checking out Revision 3a896a9a9fef18f6179b9077942c70eae6bdba11 (PR-171) [Pipeline] // stage [Pipeline] } 23:32:24 > git rev-parse HEAD^{commit} # timeout=10 23:32:24 > git config core.sparsecheckout # timeout=10 23:32:24 > git checkout -f 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 23:32:27 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" 23:32:27 First time build. Skipping changelog. 23:32:27 > git --version # timeout=10 23:32:27 > git --version # 'git version 2.25.1' 23:32:27 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:32:28 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:28 Dload Upload Total Spent Left Speed 23:32:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [Pipeline] sh 23:32:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:32:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:32:29 + sudo tee /etc/docker/daemon.new 23:32:29 { 23:32:29 "registry-mirrors": [ 23:32:29 "https://nexus3.edgexfoundry.org:10001" 23:32:29 ], 23:32:29 "bip": "10.250.0.254/24", 23:32:29 "hosts": [ 23:32:29 "tcp://0.0.0.0:5555", 23:32:29 "unix:///var/run/docker.sock" 23:32:29 ], 23:32:29 "mtu": 1458, 23:32:29 "selinux-enabled": true, 23:32:29 "seccomp-profile": "/etc/docker/seccomp.json" 23:32:29 } [Pipeline] sh 23:32:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:32:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:48 provisioning config files... 23:32:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4372798453100226542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:49 ---> docker-login.sh 23:32:49 nexus3.edgexfoundry.org:10001 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 nexus3.edgexfoundry.org:10002 23:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:50 Configure a credential helper to remove this warning. See 23:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:50 23:32:50 Login Succeeded 23:32:50 nexus3.edgexfoundry.org:10003 23:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:50 Configure a credential helper to remove this warning. See 23:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:50 23:32:50 Login Succeeded 23:32:50 nexus3.edgexfoundry.org:10004 23:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:51 Configure a credential helper to remove this warning. See 23:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:51 23:32:51 Login Succeeded 23:32:51 docker.io 23:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:51 Configure a credential helper to remove this warning. See 23:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:51 23:32:51 Login Succeeded 23:32:51 ---> docker-login.sh ends [Pipeline] } 23:32:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:51 ========================================================= 23:32:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:32:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:52 + 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 . 23:32:53 Sending build context to Docker daemon 14.23MB 23:32:53 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 23:32:53 Step 2/14 : FROM ${BASE} AS builder 23:32:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:32:53 b3c136eddcbf: Pulling fs layer 23:32:53 c0a3192eca97: Pulling fs layer 23:32:53 a050256f5b6f: Pulling fs layer 23:32:53 656be50a0ddc: Pulling fs layer 23:32:53 2bbca73fdf42: Pulling fs layer 23:32:53 f607e4fc86c3: Pulling fs layer 23:32:53 656be50a0ddc: Waiting 23:32:53 2bbca73fdf42: Waiting 23:32:53 4d572c569a2c: Pulling fs layer 23:32:53 f607e4fc86c3: Waiting 23:32:53 fcf976331f73: Pulling fs layer 23:32:53 4d572c569a2c: Waiting 23:32:53 a050256f5b6f: Download complete 23:32:53 c0a3192eca97: Verifying Checksum 23:32:53 c0a3192eca97: Download complete 23:32:53 2bbca73fdf42: Verifying Checksum 23:32:53 2bbca73fdf42: Download complete 23:32:53 f607e4fc86c3: Verifying Checksum 23:32:53 f607e4fc86c3: Download complete 23:32:53 b3c136eddcbf: Verifying Checksum 23:32:53 b3c136eddcbf: Download complete 23:32:54 b3c136eddcbf: Pull complete 23:32:54 fcf976331f73: Verifying Checksum 23:32:54 fcf976331f73: Download complete 23:32:54 c0a3192eca97: Pull complete 23:32:55 a050256f5b6f: Pull complete 23:32:55 4d572c569a2c: Download complete 23:32:56 656be50a0ddc: Verifying Checksum 23:32:56 656be50a0ddc: Download complete 23:33:08 656be50a0ddc: Pull complete 23:33:08 2bbca73fdf42: Pull complete 23:33:08 f607e4fc86c3: Pull complete 23:33:13 4d572c569a2c: Pull complete 23:33:15 fcf976331f73: Pull complete 23:33:15 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 23:33:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:33:15 ---> 3970a7415f9e 23:33:15 Step 3/14 : ARG ADD_BUILD_TAGS="" 23:33:17 ---> Running in a98a7b133ea4 23:33:17 Removing intermediate container a98a7b133ea4 23:33:17 ---> 29758b4d2572 23:33:17 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:33:17 ---> Running in 2250e0db2122 23:33:18 Removing intermediate container 2250e0db2122 23:33:18 ---> 325cb3ac1094 23:33:18 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:33:18 ---> Running in 3cefbe4e4f40 23:33:18 Removing intermediate container 3cefbe4e4f40 23:33:18 ---> cf6b25c808ba 23:33:18 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 23:33:18 ---> Running in 6cda89370d23 23:33:19 Removing intermediate container 6cda89370d23 23:33:19 ---> aa792ab7958c 23:33:19 Step 7/14 : LABEL Name=edgex-device-onvif-camera 23:33:19 ---> Running in 25e445528221 23:33:19 Removing intermediate container 25e445528221 23:33:19 ---> 84e4d17dee09 23:33:19 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:33:19 ---> Running in 500fe35c9481 23:33:21 Removing intermediate container 500fe35c9481 23:33:21 ---> aceef7f6c41e 23:33:21 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:21 ---> Running in 4b7b2db9a744 23:33:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:33:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:33:23 OK: 221 MiB in 51 packages 23:33:24 Removing intermediate container 4b7b2db9a744 23:33:24 ---> bc42ca79f7dc 23:33:24 Step 10/14 : WORKDIR /device-onvif-camera 23:33:24 ---> Running in 1f47985f9381 23:33:24 Removing intermediate container 1f47985f9381 23:33:24 ---> ead64ae10356 23:33:24 Step 11/14 : COPY go.mod vendor* ./ 23:33:25 ---> 2091f1f703e9 23:33:25 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:25 ---> Running in ce9c4badb355 23:34:21 Removing intermediate container ce9c4badb355 23:34:21 ---> 3693da5abe2d 23:34:21 Step 13/14 : COPY . . 23:34:21 ---> 6d4a9e8db8fa 23:34:21 Step 14/14 : RUN ${MAKE} 23:34:21 ---> Running in 29c0103c8df5 23:34:21 noop 23:34:21 Removing intermediate container 29c0103c8df5 23:34:21 ---> 6d2c8d24f475 23:34:21 Successfully built 6d2c8d24f475 23:34:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:22 + docker inspect -f . ci-base-image-arm64 23:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:22 prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container 23:34:22 $ 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 ******** ci-base-image-arm64 cat 23:34:23 $ docker top 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:24 + go version 23:34:24 go version go1.18.3 linux/arm64 [Pipeline] } 23:34:24 $ docker stop --time=1 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 23:34:26 $ docker rm -f 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:27 + docker inspect -f . ci-base-image-arm64 23:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:27 prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container 23:34:27 $ 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 ******** ci-base-image-arm64 cat 23:34:28 $ docker top 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:29 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 23:34:30 + make test 23:34:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:34:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:36:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:36:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 23:36:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:36:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.754s coverage: 86.5% of statements 23:36:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:36:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:36:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:50 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:50 $ docker stop --time=1 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc 23:36:52 $ docker rm -f 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc [Pipeline] // withDockerContainer [Pipeline] sh 23:36:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:53 Warning: overwriting stash ‘coverage-report’ 23:36:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:55 + ls -al . 23:36:55 total 232 23:36:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 23:34 . 23:36:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 .. 23:36:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 23:32 .git 23:36:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:32 .github 23:36:55 -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 23:32 .gitignore 23:36:55 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 23:32 .golangci.yml 23:36:55 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 23:32 Attribution.txt 23:36:55 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 23:32 CHANGELOG.md 23:36:55 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 4 23:32 Dockerfile 23:36:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 23:32 GOVERNANCE.md 23:36:55 -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 23:32 Jenkinsfile 23:36:55 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 23:32 LICENSE 23:36:55 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 23:32 Makefile 23:36:55 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 23:32 OWNERS.md 23:36:55 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 23:32 README.md 23:36:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 23:30 VERSION 23:36:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 23:32 bin 23:36:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:32 cmd 23:36:55 -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 23:36 coverage.out 23:36:55 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 23:32 doc 23:36:55 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 23:32 go.mod 23:36:55 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 23:32 go.sum 23:36:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 internal 23:36:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 snap 23:36:55 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:55 + 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=3a896a9a9fef18f6179b9077942c70eae6bdba11 --label arch=arm64 --label version=0.0.0 . 23:36:56 Sending build context to Docker daemon 14.31MB 23:36:56 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 23:36:56 Step 2/27 : FROM ${BASE} AS builder 23:36:56 ---> 6d2c8d24f475 23:36:56 Step 3/27 : ARG ADD_BUILD_TAGS="" 23:36:56 ---> Running in 4ae5b985109e 23:36:56 Removing intermediate container 4ae5b985109e 23:36:56 ---> eb5ad63e709f 23:36:56 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:36:56 ---> Running in 65dadfd4d7a2 23:36:57 Removing intermediate container 65dadfd4d7a2 23:36:57 ---> 787c374f424d 23:36:57 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:36:57 ---> Running in 17cb8bc2ffcf 23:36:57 Removing intermediate container 17cb8bc2ffcf 23:36:57 ---> a6dbed4b0e75 23:36:57 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 23:36:57 ---> Running in 977d5f81df08 23:36:58 Removing intermediate container 977d5f81df08 23:36:58 ---> 304551cee0af 23:36:58 Step 7/27 : LABEL Name=edgex-device-onvif-camera 23:36:58 ---> Running in f4449610c9c0 23:36:58 Removing intermediate container f4449610c9c0 23:36:58 ---> d11cd925caa6 23:36:58 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:58 ---> Running in 59127508d035 23:37:00 Removing intermediate container 59127508d035 23:37:00 ---> 5e77c266f177 23:37:00 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:00 ---> Running in 1c8237884469 23:37:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:37:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:37:03 OK: 221 MiB in 51 packages 23:37:04 Removing intermediate container 1c8237884469 23:37:04 ---> 45d8550afad5 23:37:04 Step 10/27 : WORKDIR /device-onvif-camera 23:37:04 ---> Running in 7a023754166e 23:37:06 Removing intermediate container 7a023754166e 23:37:06 ---> 54d4bd57eddd 23:37:06 Step 11/27 : COPY go.mod vendor* ./ 23:37:06 ---> bfd9068a76ca 23:37:06 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:06 ---> Running in 0aa25436ed46 23:37:09 Removing intermediate container 0aa25436ed46 23:37:09 ---> 15ef858106f3 23:37:09 Step 13/27 : COPY . . 23:37:10 ---> 3b3145856272 23:37:10 Step 14/27 : RUN ${MAKE} 23:37:11 ---> Running in d81155e31eb7 23:37:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:39:33 Removing intermediate container d81155e31eb7 23:39:33 ---> a053f420cd91 23:39:33 Step 15/27 : FROM alpine:3.16 23:39:33 3.16: Pulling from library/alpine 23:39:33 9b18e9b68314: Pulling fs layer 23:39:33 9b18e9b68314: Verifying Checksum 23:39:33 9b18e9b68314: Download complete 23:39:33 9b18e9b68314: Pull complete 23:39:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:39:33 Status: Downloaded newer image for alpine:3.16 23:39:33 ---> a6215f271958 23:39:33 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:39:34 ---> Running in d298f753d1ed 23:39:34 Removing intermediate container d298f753d1ed 23:39:34 ---> 87b10c5b7d1f 23:39:34 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 23:39:34 ---> Running in cf736f597794 23:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:39:36 (1/6) Installing dumb-init (1.2.5-r1) 23:39:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:39:36 (3/6) Installing libsodium (1.0.18-r0) 23:39:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:39:36 (5/6) Installing libzmq (4.3.4-r0) 23:39:36 (6/6) Installing zeromq (4.3.4-r0) 23:39:36 Executing busybox-1.35.0-r17.trigger 23:39:36 OK: 8 MiB in 20 packages 23:39:37 Removing intermediate container cf736f597794 23:39:37 ---> 6682f05563f6 23:39:37 Step 18/27 : WORKDIR / 23:39:37 ---> Running in 81c177387c05 23:39:37 Removing intermediate container 81c177387c05 23:39:37 ---> f583b38a5548 23:39:37 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 23:39:39 ---> c5e3da4713c4 23:39:39 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 23:39:39 ---> cd25b3bde8a2 23:39:39 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:39:40 ---> 528bfe274d1b 23:39:40 Step 22/27 : EXPOSE 59984 23:39:40 ---> Running in 401dfce95cbf 23:39:40 Removing intermediate container 401dfce95cbf 23:39:40 ---> 1aa8740d8429 23:39:40 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 23:39:40 ---> Running in 0de62e889a50 23:39:40 Removing intermediate container 0de62e889a50 23:39:40 ---> a10b3fa74379 23:39:40 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:39:41 ---> Running in ca9b63227b5b 23:39:41 Removing intermediate container ca9b63227b5b 23:39:41 ---> 0a16ed4815f8 23:39:41 Step 25/27 : LABEL arch=arm64 23:39:41 ---> Running in e886c48c135f 23:39:41 Removing intermediate container e886c48c135f 23:39:41 ---> ccc4a1b3e3d9 23:39:41 Step 26/27 : LABEL git_sha=3a896a9a9fef18f6179b9077942c70eae6bdba11 23:39:41 ---> Running in 05c3649125cd 23:39:41 Removing intermediate container 05c3649125cd 23:39:41 ---> b4d4d2c48ff2 23:39:41 Step 27/27 : LABEL version=0.0.0 23:39:42 ---> Running in 2cfc78a53a62 23:39:42 Removing intermediate container 2cfc78a53a62 23:39:42 ---> 847884d528b7 23:39:42 [Warning] One or more build-args [ARCH] were not consumed 23:39:42 Successfully built 847884d528b7 23:39:42 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 23:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:43 23:39:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:43 arm64: Pulling from edgex-lftools-log-publisher 23:39:43 8998bd30e6a1: Pulling fs layer 23:39:43 04944245beec: Pulling fs layer 23:39:43 699f458cf7ca: Pulling fs layer 23:39:43 765212b225bb: Pulling fs layer 23:39:43 f23df028b6ca: Pulling fs layer 23:39:43 d65c8cfc05b1: Pulling fs layer 23:39:43 2437ff75d9bd: Pulling fs layer 23:39:43 765212b225bb: Waiting 23:39:43 d65c8cfc05b1: Waiting 23:39:43 2437ff75d9bd: Waiting 23:39:43 04944245beec: Verifying Checksum 23:39:43 04944245beec: Download complete 23:39:43 765212b225bb: Verifying Checksum 23:39:43 765212b225bb: Download complete 23:39:43 f23df028b6ca: Verifying Checksum 23:39:43 f23df028b6ca: Download complete 23:39:43 d65c8cfc05b1: Verifying Checksum 23:39:43 d65c8cfc05b1: Download complete 23:39:44 699f458cf7ca: Verifying Checksum 23:39:44 699f458cf7ca: Download complete 23:39:44 8998bd30e6a1: Verifying Checksum 23:39:44 8998bd30e6a1: Download complete 23:39:47 2437ff75d9bd: Verifying Checksum 23:39:47 2437ff75d9bd: Download complete 23:39:48 8998bd30e6a1: Pull complete 23:39:48 04944245beec: Pull complete 23:39:50 699f458cf7ca: Pull complete 23:39:50 765212b225bb: Pull complete 23:39:51 f23df028b6ca: Pull complete 23:39:51 d65c8cfc05b1: Pull complete 23:40:06 2437ff75d9bd: Pull complete 23:40:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:06 prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container 23:40:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:08 $ docker top 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:09 ---> job-cost.sh 23:40:09 lf-activate-venv: SKIPPING 23:40:09 INFO: No Stack... 23:40:10 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:12 INFO: Archiving Costs [Pipeline] sh 23:40:12 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 23:40:12 + cut -d, -f6 [Pipeline] lock 23:40:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] 23:40:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] did not exist. Created. 23:40:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:13 /w/workspace/device-onvif-camera/1@tmp/durable-77935754/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:13 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:13 Warning: overwriting stash ‘stack-cost’ 23:40:13 Stashed 1 file(s) [Pipeline] } 23:40:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:13 $ docker stop --time=1 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 23:40:15 $ docker rm -f 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 [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 23:40:16 provisioning config files... 23:40:16 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config3441321492375201110tmp [Pipeline] { [Pipeline] sh 23:40:16 + set +x 23:40:16 + bash -s -- 23:40:16 + curl -s https://codecov.io/bash 23:40:16 23:40:16 _____ _ 23:40:16 / ____| | | 23:40:16 | | ___ __| | ___ ___ _____ __ 23:40:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:16 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:16 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:16 Bash-1.0.6 23:40:16 23:40:16 23:40:16 ==> git version 2.25.1 found 23:40:16 ==> 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 23:40:16 Release-Date: 2020-01-08 23:40:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:16 ==> Jenkins CI detected. 23:40:16 current dir:  /w/workspace/undry_device-onvif-camera_PR-171 23:40:16 project root: . 23:40:16 --> token set from env 23:40:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:16 ==> Running gcov in . (disable via -X gcov) 23:40:16 ==> Python coveragepy not found 23:40:16 ==> Searching for coverage reports in: 23:40:16 + . 23:40:16 -> Found 1 reports 23:40:16 ==> Detecting git/mercurial file structure 23:40:17 ==> Reading reports 23:40:17 + ./coverage.out bytes=78461 23:40:17 ==> Appending adjustments 23:40:17 https://docs.codecov.io/docs/fixing-reports 23:40:17 + Found adjustments 23:40:17 ==> Gzipping contents 23:40:17 12K /tmp/codecov.FLzcZL.gz 23:40:17 ==> Uploading reports 23:40:17 url: https://codecov.io 23:40:17 query: branch=PR-171&commit=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= 23:40:17 -> Pinging Codecov 23:40:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-171&commit=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= 23:40:17 -> Uploading to 23:40:17 https://storage.googleapis.com/codecov/v4/raw/2022-10-04/F29A59C45E3A92E06B3E522C9905F8EF/d0414d5c0ff28bdf69f7026e887cf3e30b478ad5/4fdf0a65-2423-4481-ac6b-9c200687bd38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T234017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7db0ee5485b607cddc1d277a09cc9c5378e0d020b705a86c23e8e00abc8b068c 23:40:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:17 Dload Upload Total Spent Left Speed 23:40:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10709 0 0 100 10709 0 44995 --:--:-- --:--:-- --:--:-- 44995 23:40:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] } 23:40:17 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 23:40:19 + [ -d /w/workspace/undry_device-onvif-camera_PR-171/archives ] 23:40:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives 23:40:19 total 16 23:40:19 drwxr-xr-x 3 root root 4096 Oct 4 23:32 . 23:40:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 23:32 .. 23:40:19 drwxr-xr-x 2 root root 4096 Oct 4 23:32 cost 23:40:19 -rw-r--r-- 1 root root 91 Oct 4 23:32 cost.csv 23:40:19 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-171/archives 23:40:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives 23:40:19 total 16 23:40:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 23:32 . 23:40:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 23:32 .. 23:40:19 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 23:32 cost 23:40:19 -rw-r--r-- 1 jenkins jenkins 91 Oct 4 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:40:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:40:20 ---> package-listing.sh 23:40:20 ++ facter osfamily 23:40:20 ++ tr '[:upper:]' '[:lower:]' 23:40:20 + OS_FAMILY=debian 23:40:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-171 23:40:20 + START_PACKAGES=/tmp/packages_start.txt 23:40:20 + END_PACKAGES=/tmp/packages_end.txt 23:40:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:40:20 + PACKAGES=/tmp/packages_start.txt 23:40:20 + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' 23:40:20 + PACKAGES=/tmp/packages_end.txt 23:40:20 + case "${OS_FAMILY}" in 23:40:20 + dpkg -l 23:40:20 + grep '^ii' 23:40:20 + '[' -f /tmp/packages_start.txt ']' 23:40:20 + '[' -f /tmp/packages_end.txt ']' 23:40:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:20 + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' 23:40:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-171/archives/ 23:40:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-171/archives/ [Pipeline] echo 23:40:20 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:21 prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container 23:40:21 $ 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-171/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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 23:40:22 $ docker top 79d06aaa75df0816ffbec22e32e60edaae833c3156e26feb5f6dbb6a626df8a8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:22 + touch /tmp/pre-build-complete [Pipeline] sh 23:40:22 + mkdir -p /var/log/sysstat [Pipeline] sh 23:40:23 + ls /var/log/sa-host 23:40:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:23 provisioning config files... 23:40:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config14641807151928919156tmp [Pipeline] { [Pipeline] echo 23:40:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:40:23 ---> create-netrc.sh [Pipeline] } 23:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:40:24 ---> python-tools-install.sh [Pipeline] echo 23:40:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:40:24 ---> sudo-logs.sh 23:40:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:40:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:40:24 ---> job-cost.sh 23:40:24 lf-activate-venv: SKIPPING 23:40:24 DEBUG: total: 0.2199999988079071 23:40:24 INFO: Retrieving Stack Cost... 23:40:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:25 INFO: Archiving Costs [Pipeline] echo 23:40:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:26 ---> logs-deploy.sh 23:40:26 lf-activate-venv: SKIPPING 23:40:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-171/1 23:40:26 INFO: archiving workspace using pattern(s): 23:40:27 Archives upload complete. 23:40:27 INFO: archiving logs to Nexus