Pull request #147 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c136cd673afd45f97f0b13521d60db6bfc69804+5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 (c9e6a74825692945a708878e15c8ad1a887f63e0) 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-ssh2603251855217637716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1507484356113806875.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-147/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-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10903026925016675639.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4761045948957697459.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12380178666439536243.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-147/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-147/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3347777016238767591.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-23749’ Running on prd-ubuntu20.04-docker-8c-8g-23751 in /w/workspace/undry_device-onvif-camera_PR-147 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-147 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7c136cd673afd45f97f0b13521d60db6bfc69804 Merge succeeded, producing 7c136cd673afd45f97f0b13521d60db6bfc69804 Checking out Revision 7c136cd673afd45f97f0b13521d60db6bfc69804 (PR-147) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c136cd673afd45f97f0b13521d60db6bfc69804 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c136cd673afd45f97f0b13521d60db6bfc69804 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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 03:25:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:25:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:25:02 ========================================================= 03:25:02 EdgeX Global Pipelines Version Info 03:25:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:25:03 ------------------- 03:25:03 stable info: 03:25:03 ------------------- 03:25:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:25:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:25:03 Message: update stable to v1.0.239 03:25:03 ------------------- 03:25:03 experimental info: 03:25:03 ------------------- 03:25:03 Commited By: **** collab-it+edgex@linuxfoundation.org 03:25:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:25:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:25:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c136cd673afd45f97f0b13521d60db6bfc69804 [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c136cd [Pipeline] echo 03:25:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:05 provisioning config files... 03:25:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-147@tmp/config5831952163826141968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:06 ---> docker-login.sh 03:25:06 nexus3.edgexfoundry.org:10001 03:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:06 Configure a credential helper to remove this warning. See 03:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:06 03:25:06 Login Succeeded 03:25:06 nexus3.edgexfoundry.org:10002 03:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:06 Configure a credential helper to remove this warning. See 03:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:06 03:25:06 Login Succeeded 03:25:06 nexus3.edgexfoundry.org:10003 03:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:07 Configure a credential helper to remove this warning. See 03:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:07 03:25:07 Login Succeeded 03:25:07 nexus3.edgexfoundry.org:10004 03:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:07 Configure a credential helper to remove this warning. See 03:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:07 03:25:07 Login Succeeded 03:25:07 docker.io 03:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:07 Configure a credential helper to remove this warning. See 03:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:07 03:25:07 Login Succeeded 03:25:07 ---> docker-login.sh ends [Pipeline] } 03:25:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:25:08 + git rev-list -1 --merges 7c136cd673afd45f97f0b13521d60db6bfc69804~1..7c136cd673afd45f97f0b13521d60db6bfc69804 [Pipeline] echo 03:25:08 -----------> git rev-list -1 --merges 7c136cd673afd45f97f0b13521d60db6bfc69804~1..7c136cd673afd45f97f0b13521d60db6bfc69804 7c136cd673afd45f97f0b13521d60db6bfc69804 [false] [Pipeline] sh 03:25:08 + git log --format=format:%s -1 7c136cd673afd45f97f0b13521d60db6bfc69804 [Pipeline] echo 03:25:08 ========================================================= 03:25:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:25:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:09 + git log --format=format:%s -1 7c136cd673afd45f97f0b13521d60db6bfc69804 [Pipeline] echo 03:25:09 [semverPrep] GIT_COMMIT: 7c136cd673afd45f97f0b13521d60db6bfc69804, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 03:25:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:25:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:25:09 + grep -v github /etc/ssh/ssh_known_hosts 03:25:09 + [ -e /tmp/ssh_known_hosts ] 03:25:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:25:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:25:09 + sudo tee -a /etc/ssh/ssh_known_hosts 03:25:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:10 03:25:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:10 0.1.4: Pulling from edgex-devops/py-git-semver 03:25:10 b85a868b505f: Pulling fs layer 03:25:10 e2be974225ed: Pulling fs layer 03:25:10 339a4e72a1f5: Pulling fs layer 03:25:10 988bab9f4d93: Pulling fs layer 03:25:10 1469e6f7b9e6: Pulling fs layer 03:25:10 eaf3925da568: Pulling fs layer 03:25:10 bab4dde63d76: Pulling fs layer 03:25:10 bde34c3a00c8: Pulling fs layer 03:25:10 b352a97aabf1: Pulling fs layer 03:25:10 4872d77fe225: Pulling fs layer 03:25:10 5851b861e8e6: Pulling fs layer 03:25:10 bab4dde63d76: Waiting 03:25:10 bde34c3a00c8: Waiting 03:25:10 b352a97aabf1: Waiting 03:25:10 4872d77fe225: Waiting 03:25:10 5851b861e8e6: Waiting 03:25:10 1469e6f7b9e6: Waiting 03:25:10 988bab9f4d93: Waiting 03:25:10 eaf3925da568: Waiting 03:25:10 e2be974225ed: Download complete 03:25:10 988bab9f4d93: Verifying Checksum 03:25:10 988bab9f4d93: Download complete 03:25:10 1469e6f7b9e6: Verifying Checksum 03:25:10 1469e6f7b9e6: Download complete 03:25:10 339a4e72a1f5: Verifying Checksum 03:25:10 339a4e72a1f5: Download complete 03:25:10 eaf3925da568: Verifying Checksum 03:25:10 eaf3925da568: Download complete 03:25:10 bde34c3a00c8: Verifying Checksum 03:25:10 bde34c3a00c8: Download complete 03:25:10 b352a97aabf1: Verifying Checksum 03:25:10 b352a97aabf1: Download complete 03:25:10 4872d77fe225: Verifying Checksum 03:25:10 4872d77fe225: Download complete 03:25:10 5851b861e8e6: Verifying Checksum 03:25:10 5851b861e8e6: Download complete 03:25:10 b85a868b505f: Verifying Checksum 03:25:10 b85a868b505f: Download complete 03:25:11 bab4dde63d76: Verifying Checksum 03:25:11 bab4dde63d76: Download complete 03:25:12 b85a868b505f: Pull complete 03:25:12 e2be974225ed: Pull complete 03:25:13 339a4e72a1f5: Pull complete 03:25:13 988bab9f4d93: Pull complete 03:25:13 1469e6f7b9e6: Pull complete 03:25:13 eaf3925da568: Pull complete 03:25:15 bab4dde63d76: Pull complete 03:25:15 bde34c3a00c8: Pull complete 03:25:15 b352a97aabf1: Pull complete 03:25:15 4872d77fe225: Pull complete 03:25:15 5851b861e8e6: Pull complete 03:25:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:16 prd-ubuntu20.04-docker-8c-8g-23751 does not seem to be running inside a container 03:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-147 -v /w/workspace/undry_device-onvif-camera_PR-147:/w/workspace/undry_device-onvif-camera_PR-147:rw,z -v /w/workspace/undry_device-onvif-camera_PR-147@tmp:/w/workspace/undry_device-onvif-camera_PR-147@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:25:18 $ docker top 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 -eo pid,comm 03:25:18 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). 03:25:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:25:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:18 [ssh-agent] Looking for ssh-agent implementation... 03:25:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:18 $ docker exec 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 ssh-agent 03:25:18 SSH_AUTH_SOCK=/tmp/ssh-jlzNEKXzF8pY/agent.32 03:25:18 SSH_AGENT_PID=39 03:25:18 Running ssh-add (command line suppressed) 03:25:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-147@tmp/private_key_6979998483327993301.key (/w/workspace/undry_device-onvif-camera_PR-147@tmp/private_key_6979998483327993301.key) 03:25:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:19 + git tag --points-at HEAD [Pipeline] } 03:25:19 $ docker exec --env ******** --env ******** 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 ssh-agent -k 03:25:19 unset SSH_AUTH_SOCK; 03:25:19 unset SSH_AGENT_PID; 03:25:19 echo Agent pid 39 killed; 03:25:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:25:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:19 [ssh-agent] Looking for ssh-agent implementation... 03:25:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:19 $ docker exec 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 ssh-agent 03:25:19 SSH_AUTH_SOCK=/tmp/ssh-TIDVeg0fMObd/agent.72 03:25:19 SSH_AGENT_PID=78 03:25:19 Running ssh-add (command line suppressed) 03:25:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-147@tmp/private_key_6082285646764162799.key (/w/workspace/undry_device-onvif-camera_PR-147@tmp/private_key_6082285646764162799.key) 03:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:20 + git semver init 03:25:20 2022-08-29 03:25:20,284 [run_init] DEBUG init version:0.0.0 force:False 03:25:20 2022-08-29 03:25:20,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-147/.semver 03:25:20 2022-08-29 03:25:20,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-147/.semver 03:25:20 2022-08-29 03:25:20,285 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-147/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-147, universal_newlines=False, shell=None, istream=None) 03:25:21 2022-08-29 03:25:21,147 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-147/.git/info/exclude 03:25:21 2022-08-29 03:25:21,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-147/.semver/PR-147 with force:False 03:25:21 2022-08-29 03:25:21,148 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-147/.semver/PR-147 03:25:21 2022-08-29 03:25:21,152 [execute] INFO git cat-file --batch-check 03:25:21 2022-08-29 03:25:21,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-147/.semver, universal_newlines=False, shell=None, istream=) 03:25:21 2022-08-29 03:25:21,160 [execute] INFO git cat-file --batch 03:25:21 2022-08-29 03:25:21,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-147/.semver, universal_newlines=False, shell=None, istream=) 03:25:21 2022-08-29 03:25:21,166 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-147/.semver/PR-147 03:25:21 0.0.0 [Pipeline] } 03:25:21 $ docker exec --env ******** --env ******** 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 ssh-agent -k 03:25:21 unset SSH_AUTH_SOCK; 03:25:21 unset SSH_AGENT_PID; 03:25:21 echo Agent pid 78 killed; 03:25:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:25:21 + git semver [Pipeline] } 03:25:22 $ docker stop --time=1 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 03:25:23 $ docker rm -f 982fca077094cf82d27f21a88996275053cf7357226846deef2ba52ff8ccce62 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:25:24 Stashed 1 file(s) [Pipeline] echo 03:25:24 [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 03:25:24 provisioning config files... 03:25:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-147@tmp/config4600466587468615602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:25 ---> docker-login.sh 03:25:25 nexus3.edgexfoundry.org:10001 03:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:25 Configure a credential helper to remove this warning. See 03:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:25 03:25:25 Login Succeeded 03:25:25 nexus3.edgexfoundry.org:10002 03:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:25 Configure a credential helper to remove this warning. See 03:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:25 03:25:25 Login Succeeded 03:25:25 nexus3.edgexfoundry.org:10003 03:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:25 Configure a credential helper to remove this warning. See 03:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:25 03:25:25 Login Succeeded 03:25:25 nexus3.edgexfoundry.org:10004 03:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:25 Configure a credential helper to remove this warning. See 03:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:25 03:25:25 Login Succeeded 03:25:25 docker.io 03:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:26 Configure a credential helper to remove this warning. See 03:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:26 03:25:26 Login Succeeded 03:25:26 ---> docker-login.sh ends [Pipeline] } 03:25:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:26 ========================================================= 03:25:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:25:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:26 + 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 . 03:25:26 Sending build context to Docker daemon 20.58MB 03:25:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:25:26 Step 2/13 : FROM ${BASE} AS builder 03:25:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:25:27 2408cc74d12b: Pulling fs layer 03:25:27 ea60b727a1ce: Pulling fs layer 03:25:27 30c4a7721957: Pulling fs layer 03:25:27 370296b7ddb6: Pulling fs layer 03:25:27 7c6cee850709: Pulling fs layer 03:25:27 39a5fcdaea64: Pulling fs layer 03:25:27 d94ebbe4e438: Pulling fs layer 03:25:27 bcfd1f05c69d: Pulling fs layer 03:25:27 59ccb84bbe0f: Pulling fs layer 03:25:27 bcfd1f05c69d: Waiting 03:25:27 59ccb84bbe0f: Waiting 03:25:27 39a5fcdaea64: Waiting 03:25:27 d94ebbe4e438: Waiting 03:25:27 370296b7ddb6: Waiting 03:25:27 7c6cee850709: Waiting 03:25:27 30c4a7721957: Download complete 03:25:27 ea60b727a1ce: Download complete 03:25:27 7c6cee850709: Download complete 03:25:27 39a5fcdaea64: Verifying Checksum 03:25:27 39a5fcdaea64: Download complete 03:25:27 2408cc74d12b: Verifying Checksum 03:25:27 2408cc74d12b: Download complete 03:25:27 d94ebbe4e438: Verifying Checksum 03:25:27 d94ebbe4e438: Download complete 03:25:27 2408cc74d12b: Pull complete 03:25:27 ea60b727a1ce: Pull complete 03:25:27 30c4a7721957: Pull complete 03:25:27 59ccb84bbe0f: Verifying Checksum 03:25:27 59ccb84bbe0f: Download complete 03:25:27 370296b7ddb6: Verifying Checksum 03:25:27 370296b7ddb6: Download complete 03:25:27 bcfd1f05c69d: Verifying Checksum 03:25:27 bcfd1f05c69d: Download complete 03:25:33 370296b7ddb6: Pull complete 03:25:33 7c6cee850709: Pull complete 03:25:33 39a5fcdaea64: Pull complete 03:25:33 d94ebbe4e438: Pull complete 03:25:34 bcfd1f05c69d: Pull complete 03:25:35 59ccb84bbe0f: Pull complete 03:25:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:25:35 ---> a4fb48ad2a94 03:25:35 Step 3/13 : ARG MAKE="make build" 03:25:38 ---> Running in 4cba04281b1d 03:25:38 Removing intermediate container 4cba04281b1d 03:25:38 ---> 73c0fb74675e 03:25:38 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:25:38 ---> Running in 3246a314b9c9 03:25:38 Removing intermediate container 3246a314b9c9 03:25:38 ---> 73f742ed196b 03:25:38 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:25:38 ---> Running in 2c0ee6cae08c 03:25:38 Removing intermediate container 2c0ee6cae08c 03:25:38 ---> ff0aff26fcc5 03:25:38 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:25:38 ---> Running in 3060fae68ee8 03:25:38 Removing intermediate container 3060fae68ee8 03:25:38 ---> da3e5d361bb6 03:25:38 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:25:38 ---> Running in f293c81b660c 03:25:39 Removing intermediate container f293c81b660c 03:25:39 ---> 734e476af367 03:25:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:39 ---> Running in f7f3a2dc3910 03:25:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:25:39 Still waiting to schedule task 03:25:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23750’ is offline 03:25:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:25:40 OK: 211 MiB in 51 packages 03:25:40 Removing intermediate container f7f3a2dc3910 03:25:40 ---> 8307c54ca239 03:25:40 Step 9/13 : WORKDIR /device-onvif-camera 03:25:40 ---> Running in 378fc38cb73d 03:25:41 Removing intermediate container 378fc38cb73d 03:25:41 ---> d2f76fc25b71 03:25:41 Step 10/13 : COPY go.mod vendor* ./ 03:25:41 ---> 4292d4cdefb3 03:25:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:41 ---> Running in d955ab7a176a 03:26:03 Removing intermediate container d955ab7a176a 03:26:03 ---> 225888e7a2fe 03:26:03 Step 12/13 : COPY . . 03:26:03 ---> 1b71b6573c56 03:26:03 Step 13/13 : RUN ${MAKE} 03:26:03 ---> Running in e9cfce2d0339 03:26:03 noop 03:26:03 Removing intermediate container e9cfce2d0339 03:26:03 ---> 8ba22896636a 03:26:03 Successfully built 8ba22896636a 03:26:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:03 + docker inspect -f . ci-base-image-x86_64 03:26:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:03 prd-ubuntu20.04-docker-8c-8g-23751 does not seem to be running inside a container 03:26:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-147 -v /w/workspace/undry_device-onvif-camera_PR-147:/w/workspace/undry_device-onvif-camera_PR-147:rw,z -v /w/workspace/undry_device-onvif-camera_PR-147@tmp:/w/workspace/undry_device-onvif-camera_PR-147@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 ******** ci-base-image-x86_64 cat 03:26:04 $ docker top cad6cad83166e6eb810264a4ca24d578c845d3ecce886d9f6381556b02a96bed -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:04 + go version 03:26:04 go version go1.18.3 linux/amd64 [Pipeline] } 03:26:04 $ docker stop --time=1 cad6cad83166e6eb810264a4ca24d578c845d3ecce886d9f6381556b02a96bed 03:26:05 $ docker rm -f cad6cad83166e6eb810264a4ca24d578c845d3ecce886d9f6381556b02a96bed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:06 + docker inspect -f . ci-base-image-x86_64 03:26:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:06 prd-ubuntu20.04-docker-8c-8g-23751 does not seem to be running inside a container 03:26:06 $ 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-147 -v /w/workspace/undry_device-onvif-camera_PR-147:/w/workspace/undry_device-onvif-camera_PR-147:rw,z -v /w/workspace/undry_device-onvif-camera_PR-147@tmp:/w/workspace/undry_device-onvif-camera_PR-147@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 ******** ci-base-image-x86_64 cat 03:26:07 $ docker top 381050185e485d8b7ca41c0021a4771d205cc55f27ce0218896f849aa4973c64 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-147 [Pipeline] fileExists [Pipeline] sh 03:26:07 + make test 03:26:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:26:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:26:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:26:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 10.6% of statements 03:26:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:26:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.723s coverage: 13.8% of statements 03:26:31 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." 03:26:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:26:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:26:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:26:35 ./bin/test-attribution-txt.sh [Pipeline] echo 03:26:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:26:35 $ docker stop --time=1 381050185e485d8b7ca41c0021a4771d205cc55f27ce0218896f849aa4973c64 03:26:37 $ docker rm -f 381050185e485d8b7ca41c0021a4771d205cc55f27ce0218896f849aa4973c64 [Pipeline] // withDockerContainer [Pipeline] sh 03:26:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:26:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:26:38 + ls -al . 03:26:38 total 232 03:26:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 03:26 . 03:26:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:24 .. 03:26:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:26 .git 03:26:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:24 .github 03:26:38 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:24 .gitignore 03:26:38 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:24 .golangci.yml 03:26:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:25 .semver 03:26:38 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:24 Attribution.txt 03:26:38 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:24 CHANGELOG.md 03:26:38 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:24 Dockerfile 03:26:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:24 GOVERNANCE.md 03:26:38 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:24 Jenkinsfile 03:26:38 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:24 LICENSE 03:26:38 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:24 Makefile 03:26:38 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:24 OWNERS.md 03:26:38 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:24 README.md 03:26:38 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:25 VERSION 03:26:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:24 bin 03:26:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:24 cmd 03:26:38 -rw-r--r-- 1 jenkins jenkins 76854 Aug 29 03:26 coverage.out 03:26:38 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:24 doc 03:26:38 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 03:24 go.mod 03:26:38 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 03:24 go.sum 03:26:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:24 internal 03:26:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:24 snap 03:26:38 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:39 + 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=7c136cd673afd45f97f0b13521d60db6bfc69804 --label arch=amd64 --label version=0.0.0 . 03:26:39 Sending build context to Docker daemon 20.66MB 03:26:39 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:26:39 Step 2/26 : FROM ${BASE} AS builder 03:26:39 ---> 8ba22896636a 03:26:39 Step 3/26 : ARG MAKE="make build" 03:26:39 ---> Running in 1928d8a3d4a0 03:26:39 Removing intermediate container 1928d8a3d4a0 03:26:39 ---> d62ed0304c26 03:26:39 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:26:39 ---> Running in 7d538853c097 03:26:39 Removing intermediate container 7d538853c097 03:26:39 ---> 97d0fc294b34 03:26:39 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:26:39 ---> Running in 80a02b1cfcaa 03:26:39 Removing intermediate container 80a02b1cfcaa 03:26:39 ---> 06dc59c7f546 03:26:39 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:26:39 ---> Running in fbe8861ee86d 03:26:39 Removing intermediate container fbe8861ee86d 03:26:39 ---> 7357f66ff58d 03:26:39 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:26:39 ---> Running in e7c3cb928d59 03:26:40 Removing intermediate container e7c3cb928d59 03:26:40 ---> 617bec5d6bfa 03:26:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:40 ---> Running in fe9fbce55fb2 03:26:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:26:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:26:41 OK: 211 MiB in 51 packages 03:26:42 Removing intermediate container fe9fbce55fb2 03:26:42 ---> 7ed36c79b3b4 03:26:42 Step 9/26 : WORKDIR /device-onvif-camera 03:26:42 ---> Running in c1a9e5ae032a 03:26:42 Removing intermediate container c1a9e5ae032a 03:26:42 ---> 213df2894429 03:26:42 Step 10/26 : COPY go.mod vendor* ./ 03:26:42 ---> f32e5550ea5e 03:26:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:42 ---> Running in 4fa1d4540695 03:26:43 Removing intermediate container 4fa1d4540695 03:26:43 ---> 644f460567fe 03:26:43 Step 12/26 : COPY . . 03:26:43 ---> caa66e236245 03:26:43 Step 13/26 : RUN ${MAKE} 03:26:43 ---> Running in e3d2091f4cef 03:26:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:27:06 Removing intermediate container e3d2091f4cef 03:27:06 ---> f89bd78edf83 03:27:06 Step 14/26 : FROM alpine:3.16 03:27:06 3.16: Pulling from library/alpine 03:27:06 213ec9aee27d: Pulling fs layer 03:27:07 213ec9aee27d: Verifying Checksum 03:27:07 213ec9aee27d: Download complete 03:27:07 213ec9aee27d: Pull complete 03:27:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:27:07 Status: Downloaded newer image for alpine:3.16 03:27:07 ---> 9c6f07244728 03:27:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:27:07 ---> Running in 681d643530eb 03:27:07 Removing intermediate container 681d643530eb 03:27:07 ---> ee87ebb74723 03:27:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:27:07 ---> Running in 96ebab533dd7 03:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:27:07 (1/6) Installing dumb-init (1.2.5-r1) 03:27:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:27:07 (3/6) Installing libsodium (1.0.18-r0) 03:27:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:27:08 (5/6) Installing libzmq (4.3.4-r0) 03:27:08 (6/6) Installing zeromq (4.3.4-r0) 03:27:08 Executing busybox-1.35.0-r17.trigger 03:27:08 OK: 8 MiB in 20 packages 03:27:08 Removing intermediate container 96ebab533dd7 03:27:08 ---> f48385e59716 03:27:08 Step 17/26 : WORKDIR / 03:27:08 ---> Running in 0a7a6708c976 03:27:08 Removing intermediate container 0a7a6708c976 03:27:08 ---> 2432a0e56f88 03:27:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:27:09 ---> 48e64841a8ba 03:27:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:27:09 ---> 2b0f11c28d7f 03:27:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:27:09 ---> 4adced3165f2 03:27:09 Step 21/26 : EXPOSE 59984 03:27:09 ---> Running in 43fa6a9e56ec 03:27:09 Removing intermediate container 43fa6a9e56ec 03:27:09 ---> d31dd4ab3b2a 03:27:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:27:09 ---> Running in 4eedadfc8149 03:27:09 Removing intermediate container 4eedadfc8149 03:27:09 ---> 6c8e535f0e6b 03:27:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:27:09 ---> Running in 806766fcd209 03:27:09 Removing intermediate container 806766fcd209 03:27:09 ---> 8321d108d818 03:27:09 Step 24/26 : LABEL arch=amd64 03:27:09 ---> Running in 0b6b7e720cb1 03:27:09 Removing intermediate container 0b6b7e720cb1 03:27:09 ---> ff4cf9adeb73 03:27:09 Step 25/26 : LABEL git_sha=7c136cd673afd45f97f0b13521d60db6bfc69804 03:27:09 ---> Running in 8267e9430c4c 03:27:09 Removing intermediate container 8267e9430c4c 03:27:09 ---> 0f62c7e06a48 03:27:09 Step 26/26 : LABEL version=0.0.0 03:27:10 ---> Running in 4f5a8889016c 03:27:10 Removing intermediate container 4f5a8889016c 03:27:10 ---> 6eec5b44379d 03:27:10 [Warning] One or more build-args [ARCH] were not consumed 03:27:10 Successfully built 6eec5b44379d 03:27:10 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 03:27:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:10 03:27:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:11 latest: Pulling from edgex-lftools-log-publisher 03:27:11 5eb5b503b376: Pulling fs layer 03:27:11 5c69ac0246d0: Pulling fs layer 03:27:11 ec43610c2a17: Pulling fs layer 03:27:11 3a2ae6a8a46f: Pulling fs layer 03:27:11 33b1e0a273af: Pulling fs layer 03:27:11 5d3b04190fa2: Pulling fs layer 03:27:11 2f39f015ded8: Pulling fs layer 03:27:11 33b1e0a273af: Waiting 03:27:11 5d3b04190fa2: Waiting 03:27:11 2f39f015ded8: Waiting 03:27:11 3a2ae6a8a46f: Waiting 03:27:11 5c69ac0246d0: Download complete 03:27:11 3a2ae6a8a46f: Verifying Checksum 03:27:11 3a2ae6a8a46f: Download complete 03:27:11 33b1e0a273af: Verifying Checksum 03:27:11 33b1e0a273af: Download complete 03:27:11 5d3b04190fa2: Verifying Checksum 03:27:11 5d3b04190fa2: Download complete 03:27:11 ec43610c2a17: Verifying Checksum 03:27:11 ec43610c2a17: Download complete 03:27:11 5eb5b503b376: Download complete 03:27:12 2f39f015ded8: Download complete 03:27:13 5eb5b503b376: Pull complete 03:27:13 5c69ac0246d0: Pull complete 03:27:13 ec43610c2a17: Pull complete 03:27:13 3a2ae6a8a46f: Pull complete 03:27:13 33b1e0a273af: Pull complete 03:27:14 5d3b04190fa2: Pull complete 03:27:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23753 in /w/workspace/undry_device-onvif-camera_PR-147 [Pipeline] { [Pipeline] ws 03:27:17 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:27:17 Selected Git installation does not exist. Using Default 03:27:17 The recommended git tool is: NONE 03:27:19 2f39f015ded8: Pull complete 03:27:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:19 prd-ubuntu20.04-docker-8c-8g-23751 does not seem to be running inside a container 03:27: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-147 -v /w/workspace/undry_device-onvif-camera_PR-147:/w/workspace/undry_device-onvif-camera_PR-147:rw,z -v /w/workspace/undry_device-onvif-camera_PR-147@tmp:/w/workspace/undry_device-onvif-camera_PR-147@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:27:21 $ docker top f6a9e9ea14cbcf53de100c9fb553fd7f5e02fde39c3bb03b437ba3469c5ea940 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:22 ---> job-cost.sh 03:27:22 lf-activate-venv: SKIPPING 03:27:22 INFO: No Stack... 03:27:22 INFO: Retrieving Pricing Info for: v3-standard-8 03:27:23 INFO: Archiving Costs [Pipeline] sh 03:27:23 + cat /w/workspace/undry_device-onvif-camera_PR-147/archives/cost.csv 03:27:23 + cut -d, -f6 [Pipeline] lock 03:27:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] 03:27:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] did not exist. Created. 03:27:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:27:23 using credential edgex-jenkins-ssh 03:27:23 Cloning the remote Git repository 03:27:23 + echo total: 0.2199999988079071 [Pipeline] stash 03:27:24 Stashed 1 file(s) [Pipeline] } 03:27:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:27:24 $ docker stop --time=1 f6a9e9ea14cbcf53de100c9fb553fd7f5e02fde39c3bb03b437ba3469c5ea940 03:27:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:27:24 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:27:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:27:24 > git --version # timeout=10 03:27:24 > git --version # 'git version 2.25.1' 03:27:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:25 $ docker rm -f f6a9e9ea14cbcf53de100c9fb553fd7f5e02fde39c3bb03b437ba3469c5ea940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:27:26 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit 7c136cd673afd45f97f0b13521d60db6bfc69804 03:27:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:27:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:27:26 > git config core.sparsecheckout # timeout=10 03:27:26 > git checkout -f 7c136cd673afd45f97f0b13521d60db6bfc69804 # timeout=10 03:27:26 > git remote # timeout=10 03:27:26 > git config --get remote.origin.url # timeout=10 03:27:26 Merge succeeded, producing 7c136cd673afd45f97f0b13521d60db6bfc69804 03:27:26 Checking out Revision 7c136cd673afd45f97f0b13521d60db6bfc69804 (PR-147) 03:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:26 > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 03:27:26 > git rev-parse HEAD^{commit} # timeout=10 03:27:26 > git config core.sparsecheckout # timeout=10 03:27:26 > git checkout -f 7c136cd673afd45f97f0b13521d60db6bfc69804 # timeout=10 03:27:30 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 03:27:31 > git --version # timeout=10 03:27:31 > git --version # 'git version 2.25.1' 03:27:31 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:27:33 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:33 Dload Upload Total Spent Left Speed 03:27:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 03:27:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:27:35 + sudo tee /etc/docker/daemon.new 03:27:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:27:35 { 03:27:35 "registry-mirrors": [ 03:27:35 "https://nexus3.edgexfoundry.org:10001" 03:27:35 ], 03:27:35 "bip": "10.250.0.254/24", 03:27:35 "hosts": [ 03:27:35 "tcp://0.0.0.0:5555", 03:27:35 "unix:///var/run/docker.sock" 03:27:35 ], 03:27:35 "mtu": 1458, 03:27:35 "selinux-enabled": true, 03:27:35 "seccomp-profile": "/etc/docker/seccomp.json" 03:27:35 } [Pipeline] sh 03:27:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:27:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:54 provisioning config files... 03:27:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7511937174669641665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:54 ---> docker-login.sh 03:27:54 nexus3.edgexfoundry.org:10001 03:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:55 Configure a credential helper to remove this warning. See 03:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:55 03:27:55 Login Succeeded 03:27:55 nexus3.edgexfoundry.org:10002 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 nexus3.edgexfoundry.org:10003 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 nexus3.edgexfoundry.org:10004 03:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:57 Configure a credential helper to remove this warning. See 03:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:57 03:27:57 Login Succeeded 03:27:57 docker.io 03:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:57 Configure a credential helper to remove this warning. See 03:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:57 03:27:57 Login Succeeded 03:27:57 ---> docker-login.sh ends [Pipeline] } 03:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:27:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:27:58 ========================================================= 03:27:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:27:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:58 + 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 . 03:27:59 Sending build context to Docker daemon 14.08MB 03:27:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:27:59 Step 2/13 : FROM ${BASE} AS builder 03:27:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:27:59 b3c136eddcbf: Pulling fs layer 03:27:59 c0a3192eca97: Pulling fs layer 03:27:59 a050256f5b6f: Pulling fs layer 03:27:59 656be50a0ddc: Pulling fs layer 03:27:59 2bbca73fdf42: Pulling fs layer 03:27:59 46d945488cbd: Pulling fs layer 03:27:59 8a5474983e97: Pulling fs layer 03:27:59 329c88fbcd65: Pulling fs layer 03:27:59 2bbca73fdf42: Waiting 03:27:59 656be50a0ddc: Waiting 03:27:59 8a5474983e97: Waiting 03:27:59 329c88fbcd65: Waiting 03:27:59 a050256f5b6f: Verifying Checksum 03:27:59 a050256f5b6f: Download complete 03:27:59 c0a3192eca97: Verifying Checksum 03:27:59 c0a3192eca97: Download complete 03:27:59 2bbca73fdf42: Verifying Checksum 03:27:59 2bbca73fdf42: Download complete 03:27:59 46d945488cbd: Verifying Checksum 03:27:59 46d945488cbd: Download complete 03:27:59 b3c136eddcbf: Verifying Checksum 03:27:59 b3c136eddcbf: Download complete 03:28:00 b3c136eddcbf: Pull complete 03:28:00 329c88fbcd65: Verifying Checksum 03:28:00 329c88fbcd65: Download complete 03:28:01 c0a3192eca97: Pull complete 03:28:01 a050256f5b6f: Pull complete 03:28:02 8a5474983e97: Verifying Checksum 03:28:02 8a5474983e97: Download complete 03:28:02 656be50a0ddc: Verifying Checksum 03:28:02 656be50a0ddc: Download complete 03:28:17 656be50a0ddc: Pull complete 03:28:17 2bbca73fdf42: Pull complete 03:28:17 46d945488cbd: Pull complete 03:28:23 8a5474983e97: Pull complete 03:28:24 329c88fbcd65: Pull complete 03:28:24 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:28:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:28:24 ---> ff4287adb874 03:28:24 Step 3/13 : ARG MAKE="make build" 03:28:25 ---> Running in f5a02e9d874c 03:28:25 Removing intermediate container f5a02e9d874c 03:28:25 ---> 4801e6ee07e4 03:28:25 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:28:25 ---> Running in 90ff818c8f34 03:28:26 Removing intermediate container 90ff818c8f34 03:28:26 ---> bca6039d930d 03:28:26 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:28:26 ---> Running in bcc75292c20b 03:28:27 Removing intermediate container bcc75292c20b 03:28:27 ---> bf222523ea75 03:28:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:28:27 ---> Running in 3926fa633e9a 03:28:27 Removing intermediate container 3926fa633e9a 03:28:27 ---> 136369a45a26 03:28:27 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:28:27 ---> Running in 98d6c1ce7cca 03:28:29 Removing intermediate container 98d6c1ce7cca 03:28:29 ---> f205c925cf3a 03:28:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:29 ---> Running in 27c1d95fbb1c 03:28:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:28:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:28:32 OK: 221 MiB in 51 packages 03:28:33 Removing intermediate container 27c1d95fbb1c 03:28:33 ---> d399a0377763 03:28:33 Step 9/13 : WORKDIR /device-onvif-camera 03:28:33 ---> Running in 0834bb66377c 03:28:34 Removing intermediate container 0834bb66377c 03:28:34 ---> 2bd6cb93b3c8 03:28:34 Step 10/13 : COPY go.mod vendor* ./ 03:28:34 ---> 54ec7bb23ef1 03:28:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:34 ---> Running in 5f720370a16f 03:29:31 Removing intermediate container 5f720370a16f 03:29:31 ---> d23da56a6006 03:29:31 Step 12/13 : COPY . . 03:29:31 ---> 079c4d59a690 03:29:31 Step 13/13 : RUN ${MAKE} 03:29:31 ---> Running in ef324b2f594b 03:29:31 noop 03:29:31 Removing intermediate container ef324b2f594b 03:29:31 ---> 4cd5d3e92830 03:29:31 Successfully built 4cd5d3e92830 03:29:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:31 + docker inspect -f . ci-base-image-arm64 03:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:32 prd-ubuntu20.04-docker-arm64-4c-16g-23753 does not seem to be running inside a container 03:29:32 $ 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 ******** ci-base-image-arm64 cat 03:29:33 $ docker top ae1cd46987bb35ab64547f592da50ae5b26aa27cb2dc11df9330e2e281e84428 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:34 + go version 03:29:34 go version go1.18.3 linux/arm64 [Pipeline] } 03:29:34 $ docker stop --time=1 ae1cd46987bb35ab64547f592da50ae5b26aa27cb2dc11df9330e2e281e84428 03:29:36 $ docker rm -f ae1cd46987bb35ab64547f592da50ae5b26aa27cb2dc11df9330e2e281e84428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:36 + docker inspect -f . ci-base-image-arm64 03:29:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:37 prd-ubuntu20.04-docker-arm64-4c-16g-23753 does not seem to be running inside a container 03:29:37 $ 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 ******** ci-base-image-arm64 cat 03:29:38 $ docker top 93f30e567b42bce3f4e9f625c15686da1157a63b8448d069409d1f6193ab4885 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:29:40 + make test 03:29:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:29:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:31:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:31:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements 03:31:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:31:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.647s coverage: 13.8% of statements 03:31:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:31:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:32:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:32:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:32:08 ./bin/test-attribution-txt.sh [Pipeline] echo 03:32:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:32:08 $ docker stop --time=1 93f30e567b42bce3f4e9f625c15686da1157a63b8448d069409d1f6193ab4885 03:32:09 $ docker rm -f 93f30e567b42bce3f4e9f625c15686da1157a63b8448d069409d1f6193ab4885 [Pipeline] // withDockerContainer [Pipeline] sh 03:32:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:32:11 Warning: overwriting stash ‘coverage-report’ 03:32:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:32:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:32:12 + ls -al . 03:32:12 total 228 03:32:12 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 03:29 . 03:32:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:27 .. 03:32:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:27 .git 03:32:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:27 .github 03:32:12 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:27 .gitignore 03:32:12 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:27 .golangci.yml 03:32:12 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:27 Attribution.txt 03:32:12 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:27 CHANGELOG.md 03:32:12 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:27 Dockerfile 03:32:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:27 GOVERNANCE.md 03:32:12 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:27 Jenkinsfile 03:32:12 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:27 LICENSE 03:32:12 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:27 Makefile 03:32:12 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:27 OWNERS.md 03:32:12 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:27 README.md 03:32:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:25 VERSION 03:32:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:27 bin 03:32:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:27 cmd 03:32:12 -rw-r--r-- 1 jenkins jenkins 76854 Aug 29 03:31 coverage.out 03:32:12 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:27 doc 03:32:12 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 03:27 go.mod 03:32:12 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 03:27 go.sum 03:32:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:27 internal 03:32:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:27 snap 03:32:12 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:13 + 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=7c136cd673afd45f97f0b13521d60db6bfc69804 --label arch=arm64 --label version=0.0.0 . 03:32:13 Sending build context to Docker daemon 14.15MB 03:32:13 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:32:13 Step 2/26 : FROM ${BASE} AS builder 03:32:13 ---> 4cd5d3e92830 03:32:13 Step 3/26 : ARG MAKE="make build" 03:32:13 ---> Running in a0e0d32bc3ed 03:32:14 Removing intermediate container a0e0d32bc3ed 03:32:14 ---> 595d5baa7221 03:32:14 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:32:14 ---> Running in b20db637d595 03:32:14 Removing intermediate container b20db637d595 03:32:14 ---> 37469edae2f0 03:32:14 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:32:14 ---> Running in d9128be3cdf1 03:32:15 Removing intermediate container d9128be3cdf1 03:32:15 ---> 92b6e741452c 03:32:15 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:32:15 ---> Running in 6c5a52b935ed 03:32:15 Removing intermediate container 6c5a52b935ed 03:32:15 ---> 35fda86aca92 03:32:15 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:32:15 ---> Running in 911e77fb3ee5 03:32:17 Removing intermediate container 911e77fb3ee5 03:32:17 ---> 7a7b7c26f2eb 03:32:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:32:17 ---> Running in 9ee3e825dae2 03:32:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:32:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:32:20 OK: 221 MiB in 51 packages 03:32:21 Removing intermediate container 9ee3e825dae2 03:32:21 ---> 036e83e4284e 03:32:21 Step 9/26 : WORKDIR /device-onvif-camera 03:32:21 ---> Running in dbbe4cf6e82d 03:32:21 Removing intermediate container dbbe4cf6e82d 03:32:21 ---> 24b039722f0b 03:32:21 Step 10/26 : COPY go.mod vendor* ./ 03:32:22 ---> bf26bd498f4d 03:32:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:32:22 ---> Running in a995fde9b1b6 03:32:24 Removing intermediate container a995fde9b1b6 03:32:24 ---> 029d9e10ca7b 03:32:24 Step 12/26 : COPY . . 03:32:26 ---> 3f09704e8cc7 03:32:26 Step 13/26 : RUN ${MAKE} 03:32:26 ---> Running in 9cd5c26eb354 03:32:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:34:49 Removing intermediate container 9cd5c26eb354 03:34:49 ---> 7a92419c8431 03:34:49 Step 14/26 : FROM alpine:3.16 03:34:49 3.16: Pulling from library/alpine 03:34:49 9b18e9b68314: Pulling fs layer 03:34:49 9b18e9b68314: Verifying Checksum 03:34:49 9b18e9b68314: Download complete 03:34:49 9b18e9b68314: Pull complete 03:34:49 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:34:49 Status: Downloaded newer image for alpine:3.16 03:34:49 ---> a6215f271958 03:34:49 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:34:49 ---> Running in 48a888f47b2e 03:34:49 Removing intermediate container 48a888f47b2e 03:34:49 ---> 3c87fe5ce71f 03:34:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:34:50 ---> Running in c810fbb439a7 03:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:34:52 (1/6) Installing dumb-init (1.2.5-r1) 03:34:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:34:52 (3/6) Installing libsodium (1.0.18-r0) 03:34:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:34:52 (5/6) Installing libzmq (4.3.4-r0) 03:34:52 (6/6) Installing zeromq (4.3.4-r0) 03:34:52 Executing busybox-1.35.0-r17.trigger 03:34:52 OK: 8 MiB in 20 packages 03:34:53 Removing intermediate container c810fbb439a7 03:34:53 ---> 766864c7bbef 03:34:53 Step 17/26 : WORKDIR / 03:34:53 ---> Running in 487a99defa2b 03:34:53 Removing intermediate container 487a99defa2b 03:34:53 ---> c40b66acbafa 03:34:53 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:34:55 ---> 1be5940ec5e0 03:34:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:34:55 ---> 2d7d4b45d6bd 03:34:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:34:56 ---> e050bb61e5d8 03:34:56 Step 21/26 : EXPOSE 59984 03:34:56 ---> Running in 78d96f013079 03:34:57 Removing intermediate container 78d96f013079 03:34:57 ---> 0b036137a2ee 03:34:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:34:57 ---> Running in 45ee9b582810 03:34:57 Removing intermediate container 45ee9b582810 03:34:57 ---> 752caad0bac1 03:34:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:34:57 ---> Running in 715afe9c4cdf 03:34:57 Removing intermediate container 715afe9c4cdf 03:34:57 ---> b279c68e8e16 03:34:57 Step 24/26 : LABEL arch=arm64 03:34:58 ---> Running in 638747ab6e3d 03:34:58 Removing intermediate container 638747ab6e3d 03:34:58 ---> 8e1e53991be0 03:34:58 Step 25/26 : LABEL git_sha=7c136cd673afd45f97f0b13521d60db6bfc69804 03:34:58 ---> Running in 20b4eb61f110 03:34:58 Removing intermediate container 20b4eb61f110 03:34:58 ---> 1d53c9271b0d 03:34:58 Step 26/26 : LABEL version=0.0.0 03:34:58 ---> Running in 01fc68baed12 03:34:59 Removing intermediate container 01fc68baed12 03:34:59 ---> a80a9edcb31d 03:34:59 [Warning] One or more build-args [ARCH] were not consumed 03:34:59 Successfully built a80a9edcb31d 03:34:59 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 03:35:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:00 03:35:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:00 arm64: Pulling from edgex-lftools-log-publisher 03:35:00 8998bd30e6a1: Pulling fs layer 03:35:00 04944245beec: Pulling fs layer 03:35:00 699f458cf7ca: Pulling fs layer 03:35:00 765212b225bb: Pulling fs layer 03:35:00 f23df028b6ca: Pulling fs layer 03:35:00 d65c8cfc05b1: Pulling fs layer 03:35:00 2437ff75d9bd: Pulling fs layer 03:35:00 765212b225bb: Waiting 03:35:00 f23df028b6ca: Waiting 03:35:00 d65c8cfc05b1: Waiting 03:35:00 2437ff75d9bd: Waiting 03:35:00 04944245beec: Verifying Checksum 03:35:00 04944245beec: Download complete 03:35:00 765212b225bb: Verifying Checksum 03:35:00 765212b225bb: Download complete 03:35:00 f23df028b6ca: Verifying Checksum 03:35:00 f23df028b6ca: Download complete 03:35:00 d65c8cfc05b1: Verifying Checksum 03:35:00 d65c8cfc05b1: Download complete 03:35:00 699f458cf7ca: Verifying Checksum 03:35:01 8998bd30e6a1: Download complete 03:35:03 2437ff75d9bd: Verifying Checksum 03:35:03 2437ff75d9bd: Download complete 03:35:05 8998bd30e6a1: Pull complete 03:35:06 04944245beec: Pull complete 03:35:07 699f458cf7ca: Pull complete 03:35:07 765212b225bb: Pull complete 03:35:08 f23df028b6ca: Pull complete 03:35:08 d65c8cfc05b1: Pull complete 03:35:23 2437ff75d9bd: Pull complete 03:35:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:24 prd-ubuntu20.04-docker-arm64-4c-16g-23753 does not seem to be running inside a container 03:35:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:35:27 $ docker top 6a1df17357e5d96d4aadc160e294e197184f663f3a0c5bea0681f410354ddbad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:28 ---> job-cost.sh 03:35:28 lf-activate-venv: SKIPPING 03:35:28 INFO: No Stack... 03:35:28 INFO: Retrieving Pricing Info for: v3-standard-4 03:35:29 INFO: Archiving Costs [Pipeline] sh 03:35:30 + cut -d, -f6 03:35:30 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 03:35:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] 03:35:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] did not exist. Created. 03:35:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:31 /w/workspace/device-onvif-camera/1@tmp/durable-6380f994/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:35:31 + echo total: 0.10999999940395355 [Pipeline] stash 03:35:31 Warning: overwriting stash ‘stack-cost’ 03:35:31 Stashed 1 file(s) [Pipeline] } 03:35:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:32 $ docker stop --time=1 6a1df17357e5d96d4aadc160e294e197184f663f3a0c5bea0681f410354ddbad 03:35:33 $ docker rm -f 6a1df17357e5d96d4aadc160e294e197184f663f3a0c5bea0681f410354ddbad [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 03:35:34 provisioning config files... 03:35:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-147@tmp/config3585112509832523059tmp [Pipeline] { [Pipeline] sh 03:35:35 + set +x 03:35:35 + curl -s https://codecov.io/bash 03:35:35 + bash -s -- 03:35:35 03:35:35 _____ _ 03:35:35 / ____| | | 03:35:35 | | ___ __| | ___ ___ _____ __ 03:35:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:35:35 | |___| (_) | (_| | __/ (_| (_) \ V / 03:35:35 \_____\___/ \__,_|\___|\___\___/ \_/ 03:35:35 Bash-1.0.6 03:35:35 03:35:35 03:35:35 ==> git version 2.25.1 found 03:35:35 ==> 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 03:35:35 Release-Date: 2020-01-08 03:35:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:35:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:35:35 ==> Jenkins CI detected. 03:35:35 current dir:  /w/workspace/undry_device-onvif-camera_PR-147 03:35:35 project root: . 03:35:35 --> token set from env 03:35:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:35:35 ==> Running gcov in . (disable via -X gcov) 03:35:35 ==> Python coveragepy not found 03:35:35 ==> Searching for coverage reports in: 03:35:35 + . 03:35:35 -> Found 1 reports 03:35:35 ==> Detecting git/mercurial file structure 03:35:35 ==> Reading reports 03:35:35 + ./coverage.out bytes=76854 03:35:35 ==> Appending adjustments 03:35:35 https://docs.codecov.io/docs/fixing-reports 03:35:35 + Found adjustments 03:35:35 ==> Gzipping contents 03:35:35 12K /tmp/codecov.Zm5bPj.gz 03:35:35 ==> Uploading reports 03:35:35 url: https://codecov.io 03:35:35 query: branch=PR-147&commit=7c136cd673afd45f97f0b13521d60db6bfc69804&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=147&job=&cmd_args= 03:35:35 -> Pinging Codecov 03:35:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-147&commit=7c136cd673afd45f97f0b13521d60db6bfc69804&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=147&job=&cmd_args= 03:35:35 -> Uploading to 03:35:35 https://storage.googleapis.com/codecov/v4/raw/2022-08-29/F29A59C45E3A92E06B3E522C9905F8EF/7c136cd673afd45f97f0b13521d60db6bfc69804/46aa9abf-d4cc-4ecd-8ecb-05c6188c95d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220829%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220829T033535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=377361ab0ba5f61c64304c364dfb27d1db904857c849a203af43b7ca2a8e62d8 03:35:35 % Total % Received % Xferd Average Speed Time Time Time Current 03:35:35 Dload Upload Total Spent Left Speed 03:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10419 0 0 100 10419 0 42700 --:--:-- --:--:-- --:--:-- 42700 03:35:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7c136cd673afd45f97f0b13521d60db6bfc69804 [Pipeline] } 03:35:35 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 03:35:37 + [ -d /w/workspace/undry_device-onvif-camera_PR-147/archives ] 03:35:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-147/archives 03:35:37 total 16 03:35:37 drwxr-xr-x 3 root root 4096 Aug 29 03:27 . 03:35:37 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:27 .. 03:35:37 drwxr-xr-x 2 root root 4096 Aug 29 03:27 cost 03:35:37 -rw-r--r-- 1 root root 91 Aug 29 03:27 cost.csv 03:35:37 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-147/archives 03:35:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-147/archives 03:35:37 total 16 03:35:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:27 . 03:35:37 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:27 .. 03:35:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 03:27 cost 03:35:37 -rw-r--r-- 1 jenkins jenkins 91 Aug 29 03:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:35:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:35:38 ---> package-listing.sh 03:35:38 ++ facter osfamily 03:35:38 ++ tr '[:upper:]' '[:lower:]' 03:35:39 + OS_FAMILY=debian 03:35:39 + workspace=/w/workspace/undry_device-onvif-camera_PR-147 03:35:39 + START_PACKAGES=/tmp/packages_start.txt 03:35:39 + END_PACKAGES=/tmp/packages_end.txt 03:35:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:35:39 + PACKAGES=/tmp/packages_start.txt 03:35:39 + '[' /w/workspace/undry_device-onvif-camera_PR-147 ']' 03:35:39 + PACKAGES=/tmp/packages_end.txt 03:35:39 + case "${OS_FAMILY}" in 03:35:39 + dpkg -l 03:35:39 + grep '^ii' 03:35:39 + '[' -f /tmp/packages_start.txt ']' 03:35:39 + '[' -f /tmp/packages_end.txt ']' 03:35:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:35:39 + '[' /w/workspace/undry_device-onvif-camera_PR-147 ']' 03:35:39 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-147/archives/ 03:35:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-147/archives/ [Pipeline] echo 03:35:39 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-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:35:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:40 prd-ubuntu20.04-docker-8c-8g-23751 does not seem to be running inside a container 03:35:40 $ 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-147/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-147 -v /w/workspace/undry_device-onvif-camera_PR-147:/w/workspace/undry_device-onvif-camera_PR-147:rw,z -v /w/workspace/undry_device-onvif-camera_PR-147@tmp:/w/workspace/undry_device-onvif-camera_PR-147@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-lftools-log-publisher:latest cat 03:35:40 $ docker top 609ff5d182c5298451c4de0dd0216ec1becabe17c32724181159114c9f38c919 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:40 + touch /tmp/pre-build-complete [Pipeline] sh 03:35:41 + mkdir -p /var/log/sysstat [Pipeline] sh 03:35:41 + ls /var/log/sa-host 03:35:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:41 provisioning config files... 03:35:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-147@tmp/config3036367528294828700tmp [Pipeline] { [Pipeline] echo 03:35:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:35:41 ---> create-netrc.sh [Pipeline] } 03:35:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:35:42 ---> python-tools-install.sh [Pipeline] echo 03:35:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:35:42 ---> sudo-logs.sh 03:35:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:35:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:35:43 ---> job-cost.sh 03:35:43 lf-activate-venv: SKIPPING 03:35:43 DEBUG: total: 0.2199999988079071 03:35:43 INFO: Retrieving Stack Cost... 03:35:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:35:43 INFO: Archiving Costs [Pipeline] echo 03:35:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:35:44 ---> logs-deploy.sh 03:35:44 lf-activate-venv: SKIPPING 03:35:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-147/1 03:35:44 INFO: archiving workspace using pattern(s): 03:35:45 Archives upload complete. 03:35:45 INFO: archiving logs to Nexus 03:35:46 ---> uname -a: 03:35:46 Linux prd-ubuntu20-04-docker-8c-8g-23751 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:35:46 03:35:46 03:35:46 ---> lscpu: 03:35:46 Architecture: x86_64 03:35:46 CPU op-mode(s): 32-bit, 64-bit 03:35:46 Byte Order: Little Endian 03:35:46 Address sizes: 40 bits physical, 48 bits virtual 03:35:46 CPU(s): 8 03:35:46 On-line CPU(s) list: 0-7 03:35:46 Thread(s) per core: 1 03:35:46 Core(s) per socket: 1 03:35:46 Socket(s): 8 03:35:46 NUMA node(s): 1 03:35:46 Vendor ID: AuthenticAMD 03:35:46 CPU family: 23 03:35:46 Model: 49 03:35:46 Model name: AMD EPYC-Rome Processor 03:35:46 Stepping: 0 03:35:46 CPU MHz: 2799.998 03:35:46 BogoMIPS: 5599.99 03:35:46 Virtualization: AMD-V 03:35:46 Hypervisor vendor: KVM 03:35:46 Virtualization type: full 03:35:46 L1d cache: 256 KiB 03:35:46 L1i cache: 256 KiB 03:35:46 L2 cache: 4 MiB 03:35:46 L3 cache: 128 MiB 03:35:46 NUMA node0 CPU(s): 0-7 03:35:46 Vulnerability Itlb multihit: Not affected 03:35:46 Vulnerability L1tf: Not affected 03:35:46 Vulnerability Mds: Not affected 03:35:46 Vulnerability Meltdown: Not affected 03:35:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:35:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:35:46 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:35:46 Vulnerability Srbds: Not affected 03:35:46 Vulnerability Tsx async abort: Not affected 03:35:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:35:46 03:35:46 03:35:46 ---> nproc: 03:35:46 8 03:35:46 03:35:46 03:35:46 ---> df -h: 03:35:46 Filesystem Size Used Avail Use% Mounted on 03:35:46 overlay 155G 11G 145G 8% / 03:35:46 tmpfs 64M 0 64M 0% /dev 03:35:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:35:46 shm 64M 0 64M 0% /dev/shm 03:35:46 /dev/vda1 155G 11G 145G 8% /facter-os 03:35:46 03:35:46 03:35:46 ---> sar -b -r -n DEV: 03:35:46 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23751) 08/29/22 _x86_64_ (8 CPU) 03:35:46 03:35:46 03:24:22 LINUX RESTART (8 CPU) 03:35:46 03:35:46 03:25:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:35:46 03:26:01 232.41 12.53 219.88 0.00 2042.73 121942.61 0.00 03:35:46 03:27:01 89.30 0.13 89.17 0.00 5.47 9291.92 0.00 03:35:46 03:28:01 114.68 0.02 114.66 0.00 1.07 34093.80 0.00 03:35:46 03:29:01 2.05 0.00 2.05 0.00 0.00 22.93 0.00 03:35:46 03:30:01 1.67 0.02 1.65 0.00 0.13 19.33 0.00 03:35:46 03:31:01 1.68 0.00 1.68 0.00 0.00 19.33 0.00 03:35:46 03:32:01 0.88 0.00 0.88 0.00 0.00 10.93 0.00 03:35:46 03:33:01 1.28 0.00 1.28 0.00 0.00 15.20 0.00 03:35:46 03:34:01 0.98 0.00 0.98 0.00 0.00 10.80 0.00 03:35:46 03:35:01 1.57 0.00 1.57 0.00 0.00 23.19 0.00 03:35:46 Average: 44.65 1.27 43.38 0.00 204.93 16544.45 0.00 03:35:46 03:35:46 03:25:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:35:46 03:26:01 28339532 31768836 526808 1.60 162840 3477088 1938184 5.71 1142800 2956296 488 03:35:46 03:27:01 27611016 31561192 726484 2.21 167324 3958388 2454588 7.23 1751672 3031400 442000 03:35:46 03:28:01 27532312 31760128 529808 1.61 177408 4193844 1933128 5.70 1371560 3458800 8 03:35:46 03:29:01 27532996 31760864 528968 1.61 177464 4193844 1933128 5.70 1371128 3458804 8 03:35:46 03:30:01 27542768 31770728 519044 1.58 177528 4193860 1933128 5.70 1360684 3458872 36 03:35:46 03:31:01 27543972 31771996 517804 1.57 177556 4193864 1933128 5.70 1359872 3458880 24 03:35:46 03:32:01 27550232 31778340 511484 1.56 177568 4193868 1933128 5.70 1353056 3458964 20 03:35:46 03:33:01 27550728 31778840 510920 1.55 177576 4193872 1933128 5.70 1353040 3458968 44 03:35:46 03:34:01 27550888 31779004 510888 1.55 177592 4193872 1933128 5.70 1353040 3458968 12 03:35:46 03:35:01 27550792 31778968 510932 1.55 177644 4193836 1933128 5.70 1353500 3458944 20 03:35:46 Average: 27630524 31750890 539314 1.64 175050 4098634 1985780 5.85 1377035 3365890 44266 03:35:46 03:35:46 03:25:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:35:46 03:26:01 lo 6.07 6.07 0.59 0.59 0.00 0.00 0.00 0.00 03:35:46 03:26:01 docker0 138.24 167.52 11.52 1636.16 0.00 0.00 0.00 0.00 03:35:46 03:26:01 ens3 468.59 346.64 7310.13 57.00 0.00 0.00 0.00 0.00 03:35:46 03:27:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 03:35:46 03:27:01 docker0 7.37 9.00 0.41 40.76 0.00 0.00 0.00 0.00 03:35:46 03:27:01 veth4364043 0.05 0.22 0.00 0.02 0.00 0.00 0.00 0.00 03:35:46 03:27:01 ens3 88.57 65.99 91.48 67.65 0.00 0.00 0.00 0.00 03:35:46 03:28:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 03:35:46 03:28:01 docker0 2.33 4.78 0.16 57.89 0.00 0.00 0.00 0.00 03:35:46 03:28:01 ens3 134.78 98.45 2632.06 58.49 0.00 0.00 0.00 0.00 03:35:46 03:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:29:01 ens3 3.00 4.25 0.29 6.99 0.00 0.00 0.00 0.00 03:35:46 03:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:30:01 ens3 2.05 1.58 4.33 1.26 0.00 0.00 0.00 0.00 03:35:46 03:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:31:01 ens3 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:32:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:33:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:34:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:35:46 03:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:35:46 03:35:01 ens3 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 03:35:46 Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 03:35:46 Average: docker0 14.79 18.13 1.21 173.48 0.00 0.00 0.00 0.00 03:35:46 Average: ens3 69.76 51.73 1003.81 19.15 0.00 0.00 0.00 0.00 03:35:46 03:35:46 03:35:46 ---> sar -P ALL: 03:35:46 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23751) 08/29/22 _x86_64_ (8 CPU) 03:35:46 03:35:46 03:24:22 LINUX RESTART (8 CPU) 03:35:46 03:35:46 03:25:01 CPU %user %nice %system %iowait %steal %idle 03:35:46 03:26:01 all 11.09 0.00 4.75 2.50 0.07 81.59 03:35:46 03:26:01 0 12.19 0.00 4.59 0.81 0.07 82.34 03:35:46 03:26:01 1 9.87 0.00 5.01 4.32 0.07 80.73 03:35:46 03:26:01 2 11.28 0.00 4.28 0.30 0.05 84.08 03:35:46 03:26:01 3 10.97 0.00 4.63 0.32 0.07 84.00 03:35:46 03:26:01 4 11.04 0.00 4.62 0.52 0.05 83.77 03:35:46 03:26:01 5 12.67 0.00 5.08 7.71 0.07 74.47 03:35:46 03:26:01 6 10.61 0.00 4.22 4.22 0.05 80.91 03:35:46 03:26:01 7 10.09 0.00 5.54 1.78 0.12 82.47 03:35:46 03:27:01 all 44.47 0.00 6.61 0.44 0.08 48.40 03:35:46 03:27:01 0 43.48 0.00 6.30 0.12 0.07 50.03 03:35:46 03:27:01 1 43.40 0.00 6.69 1.23 0.07 48.62 03:35:46 03:27:01 2 43.18 0.00 6.59 0.02 0.08 50.13 03:35:46 03:27:01 3 44.72 0.00 6.73 0.07 0.08 48.40 03:35:46 03:27:01 4 44.08 0.00 6.44 0.25 0.08 49.15 03:35:46 03:27:01 5 48.25 0.00 6.91 0.12 0.08 44.64 03:35:46 03:27:01 6 43.16 0.00 6.60 1.56 0.07 48.62 03:35:46 03:27:01 7 45.48 0.00 6.62 0.20 0.08 47.61 03:35:46 03:28:01 all 4.32 0.00 1.87 1.02 0.02 92.76 03:35:46 03:28:01 0 4.73 0.00 1.86 0.13 0.02 93.26 03:35:46 03:28:01 1 3.97 0.00 1.84 2.97 0.03 91.19 03:35:46 03:28:01 2 4.51 0.00 1.39 0.00 0.02 94.09 03:35:46 03:28:01 3 3.82 0.00 1.84 1.37 0.02 92.96 03:35:46 03:28:01 4 4.61 0.00 2.04 0.08 0.02 93.25 03:35:46 03:28:01 5 4.81 0.00 1.74 0.18 0.02 93.24 03:35:46 03:28:01 6 4.18 0.00 2.32 3.16 0.03 90.30 03:35:46 03:28:01 7 3.93 0.00 1.93 0.29 0.03 93.82 03:35:46 03:29:01 all 0.01 0.00 0.01 0.01 0.00 99.96 03:35:46 03:29:01 0 0.00 0.00 0.02 0.00 0.02 99.97 03:35:46 03:29:01 1 0.00 0.00 0.00 0.03 0.00 99.97 03:35:46 03:29:01 2 0.02 0.00 0.02 0.00 0.00 99.97 03:35:46 03:29:01 3 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:29:01 4 0.03 0.00 0.03 0.00 0.00 99.93 03:35:46 03:29:01 5 0.00 0.00 0.02 0.02 0.00 99.97 03:35:46 03:29:01 6 0.02 0.00 0.02 0.00 0.00 99.97 03:35:46 03:29:01 7 0.05 0.00 0.02 0.00 0.02 99.92 03:35:46 03:30:01 all 0.05 0.00 0.02 0.01 0.01 99.92 03:35:46 03:30:01 0 0.08 0.00 0.03 0.00 0.02 99.87 03:35:46 03:30:01 1 0.03 0.00 0.02 0.03 0.02 99.90 03:35:46 03:30:01 2 0.03 0.00 0.02 0.00 0.02 99.93 03:35:46 03:30:01 3 0.07 0.00 0.00 0.00 0.00 99.93 03:35:46 03:30:01 4 0.03 0.00 0.02 0.00 0.00 99.95 03:35:46 03:30:01 5 0.03 0.00 0.00 0.02 0.00 99.95 03:35:46 03:30:01 6 0.03 0.00 0.02 0.00 0.00 99.95 03:35:46 03:30:01 7 0.07 0.00 0.05 0.00 0.00 99.88 03:35:46 03:31:01 all 0.01 0.00 0.02 0.00 0.00 99.96 03:35:46 03:31:01 0 0.05 0.00 0.03 0.00 0.02 99.90 03:35:46 03:31:01 1 0.00 0.00 0.00 0.02 0.00 99.98 03:35:46 03:31:01 2 0.02 0.00 0.02 0.00 0.00 99.97 03:35:46 03:31:01 3 0.02 0.00 0.02 0.00 0.00 99.97 03:35:46 03:31:01 4 0.02 0.00 0.03 0.00 0.00 99.95 03:35:46 03:31:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:31:01 6 0.02 0.00 0.02 0.00 0.02 99.95 03:35:46 03:31:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:35:46 03:32:01 all 0.03 0.00 0.02 0.00 0.01 99.95 03:35:46 03:32:01 0 0.03 0.00 0.03 0.00 0.00 99.93 03:35:46 03:32:01 1 0.00 0.00 0.00 0.02 0.02 99.97 03:35:46 03:32:01 2 0.03 0.00 0.07 0.00 0.00 99.90 03:35:46 03:32:01 3 0.03 0.00 0.00 0.00 0.00 99.97 03:35:46 03:32:01 4 0.03 0.00 0.02 0.00 0.02 99.93 03:35:46 03:32:01 5 0.00 0.00 0.00 0.02 0.00 99.98 03:35:46 03:32:01 6 0.03 0.00 0.02 0.00 0.02 99.93 03:35:46 03:32:01 7 0.03 0.00 0.00 0.00 0.00 99.97 03:35:46 03:33:01 all 0.01 0.00 0.01 0.00 0.00 99.98 03:35:46 03:33:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:35:46 03:33:01 1 0.00 0.00 0.00 0.02 0.00 99.98 03:35:46 03:33:01 2 0.00 0.00 0.02 0.00 0.00 99.98 03:35:46 03:33:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:35:46 03:33:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:33:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:33:01 6 0.02 0.00 0.05 0.00 0.00 99.93 03:35:46 03:33:01 7 0.02 0.00 0.00 0.02 0.00 99.97 03:35:46 03:34:01 all 0.01 0.00 0.01 0.00 0.00 99.98 03:35:46 03:34:01 0 0.00 0.00 0.00 0.00 0.02 99.98 03:35:46 03:34:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:34:01 2 0.03 0.00 0.00 0.00 0.00 99.97 03:35:46 03:34:01 3 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:34:01 4 0.02 0.00 0.03 0.00 0.00 99.95 03:35:46 03:34:01 5 0.00 0.00 0.00 0.02 0.00 99.98 03:35:46 03:34:01 6 0.02 0.00 0.02 0.00 0.02 99.95 03:35:46 03:34:01 7 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:35:01 all 0.01 0.00 0.01 0.01 0.01 99.96 03:35:46 03:35:01 0 0.00 0.00 0.03 0.00 0.00 99.97 03:35:46 03:35:01 1 0.02 0.00 0.02 0.03 0.02 99.92 03:35:46 03:35:01 2 0.03 0.00 0.02 0.02 0.02 99.92 03:35:46 03:35:01 3 0.00 0.00 0.02 0.00 0.00 99.98 03:35:46 03:35:01 4 0.00 0.00 0.02 0.00 0.00 99.98 03:35:46 03:35:01 5 0.00 0.00 0.00 0.00 0.00 100.00 03:35:46 03:35:01 6 0.03 0.00 0.00 0.00 0.02 99.95 03:35:46 03:35:01 7 0.00 0.00 0.00 0.02 0.02 99.97 03:35:46 Average: all 5.95 0.00 1.32 0.40 0.02 92.31 03:35:46 Average: 0 6.01 0.00 1.28 0.11 0.02 92.59 03:35:46 Average: 1 5.70 0.00 1.35 0.86 0.02 92.07 03:35:46 Average: 2 5.87 0.00 1.23 0.03 0.02 92.85 03:35:46 Average: 3 5.91 0.00 1.31 0.18 0.02 92.59 03:35:46 Average: 4 5.93 0.00 1.31 0.09 0.02 92.66 03:35:46 Average: 5 6.53 0.00 1.37 0.80 0.02 91.28 03:35:46 Average: 6 5.75 0.00 1.31 0.89 0.02 92.02 03:35:46 Average: 7 5.91 0.00 1.40 0.23 0.03 92.43 03:35:46 03:35:46 03:35:46