Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9+4a9e67fa37862f83ef90b637e6c765491ff37d3a (a507003836240b69cb2334d33d109f4be995a307) 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-ssh14845894750530234934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1937248558165352686.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15435831688598291456.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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8445412972591103474.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3715092495258512728.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8067651215351135486.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-6683’ Running on prd-ubuntu20.04-docker-8c-8g-6695 in /w/workspace/undry_device-onvif-camera_PR-236 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-236 # 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 > 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/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 Merge succeeded, producing b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 Checking out Revision b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 (PR-236) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:49 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:50 ========================================================= 04:06:50 EdgeX Global Pipelines Version Info 04:06:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:50 ------------------- 04:06:50 stable info: 04:06:50 ------------------- 04:06:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:06:50 Message: update stable to v1.0.244 04:06:51 ------------------- 04:06:51 experimental info: 04:06:51 ------------------- 04:06:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:06:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:06:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:06:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b041086 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:53 provisioning config files... 04:06:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-236@tmp/config16654096364613543012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:53 ---> docker-login.sh 04:06:53 nexus3.edgexfoundry.org:10001 04:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:53 Configure a credential helper to remove this warning. See 04:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:53 04:06:53 Login Succeeded 04:06:53 nexus3.edgexfoundry.org:10002 04:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:53 Configure a credential helper to remove this warning. See 04:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:53 04:06:53 Login Succeeded 04:06:53 nexus3.edgexfoundry.org:10003 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 nexus3.edgexfoundry.org:10004 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 docker.io 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 ---> docker-login.sh ends [Pipeline] } 04:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:55 + git rev-list -1 --merges b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9~1..b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [Pipeline] echo 04:06:55 -----------> git rev-list -1 --merges b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9~1..b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [false] [Pipeline] sh 04:06:55 + git log --format=format:%s -1 b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [Pipeline] echo 04:06:55 ========================================================= 04:06:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:55 + git log --format=format:%s -1 b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [Pipeline] echo 04:06:55 [semverPrep] GIT_COMMIT: b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:06:56 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:56 + grep -v github /etc/ssh/ssh_known_hosts 04:06:56 + [ -e /tmp/ssh_known_hosts ] 04:06:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:56 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:56 04:06:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:57 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:57 b85a868b505f: Pulling fs layer 04:06:57 e2be974225ed: Pulling fs layer 04:06:57 339a4e72a1f5: Pulling fs layer 04:06:57 988bab9f4d93: Pulling fs layer 04:06:57 1469e6f7b9e6: Pulling fs layer 04:06:57 eaf3925da568: Pulling fs layer 04:06:57 bab4dde63d76: Pulling fs layer 04:06:57 bde34c3a00c8: Pulling fs layer 04:06:57 b352a97aabf1: Pulling fs layer 04:06:57 4872d77fe225: Pulling fs layer 04:06:57 5851b861e8e6: Pulling fs layer 04:06:57 988bab9f4d93: Waiting 04:06:57 1469e6f7b9e6: Waiting 04:06:57 bab4dde63d76: Waiting 04:06:57 bde34c3a00c8: Waiting 04:06:57 4872d77fe225: Waiting 04:06:57 5851b861e8e6: Waiting 04:06:57 b352a97aabf1: Waiting 04:06:57 e2be974225ed: Verifying Checksum 04:06:57 e2be974225ed: Download complete 04:06:57 988bab9f4d93: Verifying Checksum 04:06:57 988bab9f4d93: Download complete 04:06:57 1469e6f7b9e6: Verifying Checksum 04:06:57 1469e6f7b9e6: Download complete 04:06:57 eaf3925da568: Verifying Checksum 04:06:57 eaf3925da568: Download complete 04:06:57 339a4e72a1f5: Verifying Checksum 04:06:57 339a4e72a1f5: Download complete 04:06:57 bde34c3a00c8: Verifying Checksum 04:06:57 bde34c3a00c8: Download complete 04:06:57 b352a97aabf1: Download complete 04:06:57 4872d77fe225: Verifying Checksum 04:06:57 4872d77fe225: Download complete 04:06:57 5851b861e8e6: Verifying Checksum 04:06:57 5851b861e8e6: Download complete 04:06:57 b85a868b505f: Verifying Checksum 04:06:57 b85a868b505f: Download complete 04:06:57 bab4dde63d76: Verifying Checksum 04:06:57 bab4dde63d76: Download complete 04:06:58 b85a868b505f: Pull complete 04:06:58 e2be974225ed: Pull complete 04:06:59 339a4e72a1f5: Pull complete 04:06:59 988bab9f4d93: Pull complete 04:06:59 1469e6f7b9e6: Pull complete 04:06:59 eaf3925da568: Pull complete 04:07:01 bab4dde63d76: Pull complete 04:07:01 bde34c3a00c8: Pull complete 04:07:01 b352a97aabf1: Pull complete 04:07:01 4872d77fe225: Pull complete 04:07:01 5851b861e8e6: Pull complete 04:07:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:02 prd-ubuntu20.04-docker-8c-8g-6695 does not seem to be running inside a container 04:07:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-236 -v /w/workspace/undry_device-onvif-camera_PR-236:/w/workspace/undry_device-onvif-camera_PR-236:rw,z -v /w/workspace/undry_device-onvif-camera_PR-236@tmp:/w/workspace/undry_device-onvif-camera_PR-236@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 04:07:04 $ docker top a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 -eo pid,comm 04:07:04 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). 04:07:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:05 [ssh-agent] Looking for ssh-agent implementation... 04:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:05 $ docker exec a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 ssh-agent 04:07:05 SSH_AUTH_SOCK=/tmp/ssh-A4IvnVIznVjt/agent.32 04:07:05 SSH_AGENT_PID=38 04:07:05 Running ssh-add (command line suppressed) 04:07:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-236@tmp/private_key_5540396273284731587.key (/w/workspace/undry_device-onvif-camera_PR-236@tmp/private_key_5540396273284731587.key) 04:07:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:05 + git tag --points-at HEAD [Pipeline] } 04:07:05 $ docker exec --env ******** --env ******** a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 ssh-agent -k 04:07:05 unset SSH_AUTH_SOCK; 04:07:05 unset SSH_AGENT_PID; 04:07:05 echo Agent pid 38 killed; 04:07:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:06 [ssh-agent] Looking for ssh-agent implementation... 04:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:06 $ docker exec a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 ssh-agent 04:07:06 SSH_AUTH_SOCK=/tmp/ssh-YtgZDrj4Oht6/agent.70 04:07:06 SSH_AGENT_PID=76 04:07:06 Running ssh-add (command line suppressed) 04:07:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-236@tmp/private_key_1415713573343469957.key (/w/workspace/undry_device-onvif-camera_PR-236@tmp/private_key_1415713573343469957.key) 04:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:06 + git semver init 04:07:06 2023-02-20 04:07:06,927 [run_init] DEBUG init version:0.0.0 force:False 04:07:06 2023-02-20 04:07:06,928 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-236/.semver 04:07:06 2023-02-20 04:07:06,928 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-236/.semver 04:07:06 2023-02-20 04:07:06,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-236/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-236, universal_newlines=False, shell=None, istream=None) 04:07:08 2023-02-20 04:07:08,001 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-236/.git/info/exclude 04:07:08 2023-02-20 04:07:08,002 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-236/.semver/PR-236 with force:False 04:07:08 2023-02-20 04:07:08,002 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-236/.semver/PR-236 04:07:08 2023-02-20 04:07:08,007 [execute] INFO git cat-file --batch-check 04:07:08 2023-02-20 04:07:08,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-236/.semver, universal_newlines=False, shell=None, istream=) 04:07:08 2023-02-20 04:07:08,014 [execute] INFO git cat-file --batch 04:07:08 2023-02-20 04:07:08,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-236/.semver, universal_newlines=False, shell=None, istream=) 04:07:08 2023-02-20 04:07:08,018 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-236/.semver/PR-236 04:07:08 0.0.0 [Pipeline] } 04:07:08 $ docker exec --env ******** --env ******** a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 ssh-agent -k 04:07:08 unset SSH_AUTH_SOCK; 04:07:08 unset SSH_AGENT_PID; 04:07:08 echo Agent pid 76 killed; 04:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:08 + git semver [Pipeline] } 04:07:09 $ docker stop --time=1 a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 04:07:10 $ docker rm -f --volumes a0087f079ce91a13cbb33d03a8c92dec2ec20c43132d672f831946e9092562c2 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:11 Stashed 1 file(s) [Pipeline] echo 04:07:11 [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 04:07:11 provisioning config files... 04:07:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-236@tmp/config17465868789270058790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:12 ---> docker-login.sh 04:07:12 nexus3.edgexfoundry.org:10001 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 nexus3.edgexfoundry.org:10002 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 nexus3.edgexfoundry.org:10003 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 nexus3.edgexfoundry.org:10004 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 docker.io 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 ---> docker-login.sh ends [Pipeline] } 04:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:12 ========================================================= 04:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:13 + 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 . 04:07:13 Sending build context to Docker daemon 27.72MB 04:07:13 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:07:13 Step 2/13 : FROM ${BASE} AS builder 04:07:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:13 213ec9aee27d: Pulling fs layer 04:07:13 4583459ba037: Pulling fs layer 04:07:13 93c1e223e6f2: Pulling fs layer 04:07:13 53926ce57604: Pulling fs layer 04:07:13 21b2b0c7a3f4: Pulling fs layer 04:07:13 22ff95d597cd: Pulling fs layer 04:07:13 12d6caf4c0d1: Pulling fs layer 04:07:13 96b7cbca73a9: Pulling fs layer 04:07:13 a7acece74701: Pulling fs layer 04:07:13 22ff95d597cd: Waiting 04:07:13 53926ce57604: Waiting 04:07:13 12d6caf4c0d1: Waiting 04:07:13 21b2b0c7a3f4: Waiting 04:07:13 96b7cbca73a9: Waiting 04:07:13 a7acece74701: Waiting 04:07:13 93c1e223e6f2: Verifying Checksum 04:07:13 93c1e223e6f2: Download complete 04:07:13 4583459ba037: Download complete 04:07:13 21b2b0c7a3f4: Download complete 04:07:13 22ff95d597cd: Verifying Checksum 04:07:13 22ff95d597cd: Download complete 04:07:13 213ec9aee27d: Verifying Checksum 04:07:13 12d6caf4c0d1: Download complete 04:07:13 213ec9aee27d: Pull complete 04:07:13 4583459ba037: Pull complete 04:07:13 93c1e223e6f2: Pull complete 04:07:14 a7acece74701: Verifying Checksum 04:07:14 96b7cbca73a9: Verifying Checksum 04:07:14 96b7cbca73a9: Download complete 04:07:14 53926ce57604: Verifying Checksum 04:07:14 53926ce57604: Download complete 04:07:18 53926ce57604: Pull complete 04:07:18 21b2b0c7a3f4: Pull complete 04:07:18 22ff95d597cd: Pull complete 04:07:18 12d6caf4c0d1: Pull complete 04:07:20 96b7cbca73a9: Pull complete 04:07:20 a7acece74701: Pull complete 04:07:20 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:07:20 ---> db6d94c90886 04:07:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:25 ---> Running in cf4d3eabe0f9 04:07:25 Removing intermediate container cf4d3eabe0f9 04:07:25 ---> 55cc75959bd7 04:07:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:25 ---> Running in 79f5b6f7fcd1 04:07:25 Removing intermediate container 79f5b6f7fcd1 04:07:25 ---> d59077c47121 04:07:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:25 ---> Running in 55a89c5792a2 04:07:25 Removing intermediate container 55a89c5792a2 04:07:25 ---> 507baf98b539 04:07:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:25 ---> Running in ce1883b64e88 04:07:25 Removing intermediate container ce1883b64e88 04:07:25 ---> e47d03785df1 04:07:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:25 ---> Running in 3d784bc0aca5 04:07:25 Removing intermediate container 3d784bc0aca5 04:07:25 ---> b16cff414bf3 04:07:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:25 ---> Running in 5fe1ea26ffaf 04:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:26 OK: 211 MiB in 51 packages 04:07:26 Still waiting to schedule task 04:07:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6692’ 04:07:26 Removing intermediate container 5fe1ea26ffaf 04:07:26 ---> a535cb232917 04:07:26 Step 9/13 : WORKDIR /device-onvif-camera 04:07:26 ---> Running in 55f2a0202532 04:07:26 Removing intermediate container 55f2a0202532 04:07:26 ---> a40279d79373 04:07:26 Step 10/13 : COPY go.mod vendor* ./ 04:07:26 ---> 3c50e5b4a946 04:07:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:26 ---> Running in e5519ded7772 04:08:22 Removing intermediate container e5519ded7772 04:08:22 ---> becc6d643183 04:08:22 Step 12/13 : COPY . . 04:08:22 ---> ec2ce3d6e7d7 04:08:22 Step 13/13 : RUN ${MAKE} 04:08:22 ---> Running in 8cac31fbbc01 04:08:22 noop 04:08:22 Removing intermediate container 8cac31fbbc01 04:08:22 ---> 531fc3bebde5 04:08:22 Successfully built 531fc3bebde5 04:08:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:23 + docker inspect -f . ci-base-image-x86_64 04:08:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:23 prd-ubuntu20.04-docker-8c-8g-6695 does not seem to be running inside a container 04:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-236 -v /w/workspace/undry_device-onvif-camera_PR-236:/w/workspace/undry_device-onvif-camera_PR-236:rw,z -v /w/workspace/undry_device-onvif-camera_PR-236@tmp:/w/workspace/undry_device-onvif-camera_PR-236@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 04:08:23 $ docker top 35a422d514e077559f7c263630bc4b3f9fb48f7ce2eea4f0c655ffe44be24fcc -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:24 + go version 04:08:24 go version go1.18.7 linux/amd64 [Pipeline] } 04:08:24 $ docker stop --time=1 35a422d514e077559f7c263630bc4b3f9fb48f7ce2eea4f0c655ffe44be24fcc 04:08:25 $ docker rm -f --volumes 35a422d514e077559f7c263630bc4b3f9fb48f7ce2eea4f0c655ffe44be24fcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:26 + docker inspect -f . ci-base-image-x86_64 04:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:26 prd-ubuntu20.04-docker-8c-8g-6695 does not seem to be running inside a container 04:08:26 $ 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-236 -v /w/workspace/undry_device-onvif-camera_PR-236:/w/workspace/undry_device-onvif-camera_PR-236:rw,z -v /w/workspace/undry_device-onvif-camera_PR-236@tmp:/w/workspace/undry_device-onvif-camera_PR-236@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 04:08:26 $ docker top 14f34db4bc2b09ca223fc25552c81f32cee38c45110c7f4d507cc9957d7196db -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:27 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-236 [Pipeline] fileExists [Pipeline] sh 04:08:27 + make test 04:08:27 go test ./... -coverprofile=coverage.out ./... 04:08:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:08:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:08:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.051s coverage: 29.3% of statements 04:08:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:08:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.902s coverage: 86.5% of statements 04:08:50 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." 04:08:50 go vet ./... 04:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:53 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:53 $ docker stop --time=1 14f34db4bc2b09ca223fc25552c81f32cee38c45110c7f4d507cc9957d7196db 04:08:56 $ docker rm -f --volumes 14f34db4bc2b09ca223fc25552c81f32cee38c45110c7f4d507cc9957d7196db [Pipeline] // withDockerContainer [Pipeline] sh 04:08:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:58 + ls -al . 04:08:58 total 236 04:08:58 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 04:08 . 04:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:06 .. 04:08:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 04:08 .git 04:08:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 04:06 .github 04:08:58 -rw-rw-r-- 1 jenkins jenkins 496 Feb 20 04:06 .gitignore 04:08:58 -rw-rw-r-- 1 jenkins jenkins 42 Feb 20 04:06 .golangci.yml 04:08:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 04:07 .semver 04:08:58 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 20 04:06 Attribution.txt 04:08:58 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 20 04:06 CHANGELOG.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 20 04:06 Dockerfile 04:08:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 04:06 GOVERNANCE.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 734 Feb 20 04:06 Jenkinsfile 04:08:58 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 20 04:06 LICENSE 04:08:58 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 20 04:06 Makefile 04:08:58 -rw-rw-r-- 1 jenkins jenkins 625 Feb 20 04:06 OWNERS.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 20 04:06 README.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 04:07 VERSION 04:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 04:06 bin 04:08:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 04:06 cmd 04:08:58 -rw-r--r-- 1 jenkins jenkins 79184 Feb 20 04:08 coverage.out 04:08:58 drwxrwxr-x 6 jenkins jenkins 4096 Feb 20 04:06 doc 04:08:58 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 20 04:06 go.mod 04:08:58 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 20 04:06 go.sum 04:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:06 internal 04:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:06 snap 04:08:58 -rw-rw-r-- 1 jenkins jenkins 236 Feb 20 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:58 + 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=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 --label arch=amd64 --label version=0.0.0 . 04:08:58 Sending build context to Docker daemon 27.8MB 04:08:58 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:08:58 Step 2/26 : FROM ${BASE} AS builder 04:08:58 ---> 531fc3bebde5 04:08:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:08:58 ---> Running in 8da110f649b2 04:08:58 Removing intermediate container 8da110f649b2 04:08:58 ---> 1c6511b8a36d 04:08:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:58 ---> Running in 31ab47215cf3 04:08:58 Removing intermediate container 31ab47215cf3 04:08:58 ---> a458c30bb11c 04:08:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:08:58 ---> Running in 6d5aa04720be 04:08:59 Removing intermediate container 6d5aa04720be 04:08:59 ---> 13b8980ec960 04:08:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:08:59 ---> Running in ce9134bbfd6f 04:08:59 Removing intermediate container ce9134bbfd6f 04:08:59 ---> b7b8afc6e7ac 04:08:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:08:59 ---> Running in fcfab532be08 04:08:59 Removing intermediate container fcfab532be08 04:08:59 ---> 3dd4e2ee626e 04:08:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:59 ---> Running in 0566457abc29 04:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:59 OK: 211 MiB in 51 packages 04:09:00 Removing intermediate container 0566457abc29 04:09:00 ---> 53ec2b910126 04:09:00 Step 9/26 : WORKDIR /device-onvif-camera 04:09:00 ---> Running in b1afe1067469 04:09:00 Removing intermediate container b1afe1067469 04:09:00 ---> fa05d356daa4 04:09:00 Step 10/26 : COPY go.mod vendor* ./ 04:09:00 ---> 9731d8819933 04:09:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:00 ---> Running in f93bd503fdda 04:09:01 Removing intermediate container f93bd503fdda 04:09:01 ---> 900e01d39630 04:09:01 Step 12/26 : COPY . . 04:09:02 ---> 29b239ce8492 04:09:02 Step 13/26 : RUN ${MAKE} 04:09:02 ---> Running in fe956592c619 04:09:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:09:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6696 in /w/workspace/undry_device-onvif-camera_PR-236 [Pipeline] { [Pipeline] ws 04:09:21 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:09:21 The recommended git tool is: git 04:09:24 Removing intermediate container fe956592c619 04:09:24 ---> 8c5742eca969 04:09:24 Step 14/26 : FROM alpine:3.16 04:09:24 3.16: Pulling from library/alpine 04:09:24 ef5531b6e74e: Pulling fs layer 04:09:24 ef5531b6e74e: Verifying Checksum 04:09:24 ef5531b6e74e: Download complete 04:09:24 ef5531b6e74e: Pull complete 04:09:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:09:24 Status: Downloaded newer image for alpine:3.16 04:09:24 ---> dfd21b5a31f5 04:09:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:09:24 ---> Running in 3784d9b4985c 04:09:24 Removing intermediate container 3784d9b4985c 04:09:24 ---> 39caf2845abe 04:09:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:09:24 ---> Running in 21bb4cb81733 04:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:24 (1/1) Installing dumb-init (1.2.5-r1) 04:09:24 Executing busybox-1.35.0-r17.trigger 04:09:24 OK: 6 MiB in 15 packages 04:09:24 Removing intermediate container 21bb4cb81733 04:09:24 ---> 0d2d9192fb38 04:09:24 Step 17/26 : WORKDIR / 04:09:24 ---> Running in 4d4473c5ab24 04:09:24 Removing intermediate container 4d4473c5ab24 04:09:24 ---> f0628accd091 04:09:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:09:25 ---> 800507706fd2 04:09:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:09:25 ---> 82930934ffeb 04:09:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:09:25 ---> ce3f727561dc 04:09:25 Step 21/26 : EXPOSE 59984 04:09:25 ---> Running in 362cae26cfc7 04:09:25 Removing intermediate container 362cae26cfc7 04:09:25 ---> add1dac93b40 04:09:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:09:25 ---> Running in 3b646d02e20a 04:09:25 Removing intermediate container 3b646d02e20a 04:09:25 ---> 7e9d3be73196 04:09:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:09:25 ---> Running in 485a7fa1a729 04:09:25 Removing intermediate container 485a7fa1a729 04:09:25 ---> 42f65b8e7278 04:09:25 Step 24/26 : LABEL arch=amd64 04:09:25 ---> Running in 0d9c1161ba10 04:09:26 Removing intermediate container 0d9c1161ba10 04:09:26 ---> c8b45bafef30 04:09:26 Step 25/26 : LABEL git_sha=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 04:09:26 ---> Running in 15d983b0e76b 04:09:26 Removing intermediate container 15d983b0e76b 04:09:26 ---> e6834cb0cb69 04:09:26 Step 26/26 : LABEL version=0.0.0 04:09:26 ---> Running in 9034c3461fc2 04:09:26 Removing intermediate container 9034c3461fc2 04:09:26 ---> 3709f6099049 04:09:26 [Warning] One or more build-args [ARCH] were not consumed 04:09:26 Successfully built 3709f6099049 04:09:26 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 04:09:26 using credential edgex-jenkins-ssh 04:09:27 Cloning the remote Git repository 04:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:27 04:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:27 latest: Pulling from edgex-lftools-log-publisher 04:09:27 5eb5b503b376: Pulling fs layer 04:09:27 5c69ac0246d0: Pulling fs layer 04:09:27 ec43610c2a17: Pulling fs layer 04:09:27 3a2ae6a8a46f: Pulling fs layer 04:09:27 33b1e0a273af: Pulling fs layer 04:09:27 5d3b04190fa2: Pulling fs layer 04:09:27 2f39f015ded8: Pulling fs layer 04:09:27 5d3b04190fa2: Waiting 04:09:27 33b1e0a273af: Waiting 04:09:27 3a2ae6a8a46f: Waiting 04:09:27 2f39f015ded8: Waiting 04:09:27 5c69ac0246d0: Verifying Checksum 04:09:27 5c69ac0246d0: Download complete 04:09:27 3a2ae6a8a46f: Download complete 04:09:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:09:27 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:09:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:09:27 > git --version # timeout=10 04:09:27 > git --version # 'git version 2.25.1' 04:09:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:27 33b1e0a273af: Verifying Checksum 04:09:27 33b1e0a273af: Download complete 04:09:27 5d3b04190fa2: Verifying Checksum 04:09:27 5d3b04190fa2: Download complete 04:09:27 ec43610c2a17: Verifying Checksum 04:09:27 ec43610c2a17: Download complete 04:09:27 5eb5b503b376: Verifying Checksum 04:09:27 5eb5b503b376: Download complete 04:09:28 2f39f015ded8: Download complete 04:09:28 5eb5b503b376: Pull complete 04:09:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:09:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:29 5c69ac0246d0: Pull complete 04:09:29 ec43610c2a17: Pull complete 04:09:29 3a2ae6a8a46f: Pull complete 04:09:29 33b1e0a273af: Pull complete 04:09:29 5d3b04190fa2: Pull complete 04:09:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:09:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:09:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:09:30 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 04:09:30 Merge succeeded, producing b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 04:09:30 Checking out Revision b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 (PR-236) 04:09:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:09:31 > git --version # timeout=10 04:09:31 > git --version # 'git version 2.25.1' 04:09:31 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:09:30 > git config core.sparsecheckout # timeout=10 04:09:30 > git checkout -f b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 # timeout=10 04:09:30 > git remote # timeout=10 04:09:30 > git config --get remote.origin.url # timeout=10 04:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:30 > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 04:09:30 > git rev-parse HEAD^{commit} # timeout=10 04:09:30 > git config core.sparsecheckout # timeout=10 04:09:30 > git checkout -f b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 # timeout=10 04:09:32 04:09:32 GitHub has been notified of this commit’s build result 04:09:32 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:09:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:32 Dload Upload Total Spent Left Speed 04:09:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 04:09:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:09:33 + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:09:33 /etc/docker/daemon.new 04:09:33 { 04:09:33 "registry-mirrors": [ 04:09:33 "https://nexus3.edgexfoundry.org:10001" 04:09:33 ], 04:09:33 "bip": "10.250.0.254/24", 04:09:33 "hosts": [ 04:09:33 "tcp://0.0.0.0:5555", 04:09:33 "unix:///var/run/docker.sock" 04:09:33 ], 04:09:33 "mtu": 1458, 04:09:33 "selinux-enabled": true, 04:09:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:09:33 } [Pipeline] sh 04:09:33 2f39f015ded8: Pull complete 04:09:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:34 prd-ubuntu20.04-docker-8c-8g-6695 does not seem to be running inside a container 04:09:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:09:34 $ 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-236 -v /w/workspace/undry_device-onvif-camera_PR-236:/w/workspace/undry_device-onvif-camera_PR-236:rw,z -v /w/workspace/undry_device-onvif-camera_PR-236@tmp:/w/workspace/undry_device-onvif-camera_PR-236@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 04:09:39 $ docker top 8d4475abd2b55c91b1d456a97d83ef6366f04737896e55ed07bc64d91b792f96 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 04:09:54 + sudo service docker restart 04:09:54 ---> job-cost.sh 04:09:54 lf-activate-venv: SKIPPING 04:09:54 INFO: No Stack... 04:09:54 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:54 INFO: Archiving Costs [Pipeline] sh 04:09:55 + + cat /w/workspace/undry_device-onvif-camera_PR-236/archives/cost.csv 04:09:55 cut -d, -f6 [Pipeline] lock 04:09:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] 04:09:55 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] did not exist. Created. 04:09:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:55 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:55 Stashed 1 file(s) [Pipeline] } 04:09:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:55 $ docker stop --time=1 8d4475abd2b55c91b1d456a97d83ef6366f04737896e55ed07bc64d91b792f96 04:09:56 $ docker rm -f --volumes 8d4475abd2b55c91b1d456a97d83ef6366f04737896e55ed07bc64d91b792f96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:12 provisioning config files... 04:10:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4218923613489216114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:12 ---> docker-login.sh 04:10:12 nexus3.edgexfoundry.org:10001 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 nexus3.edgexfoundry.org:10002 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 nexus3.edgexfoundry.org:10003 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:14 Configure a credential helper to remove this warning. See 04:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:14 04:10:14 Login Succeeded 04:10:14 nexus3.edgexfoundry.org:10004 04:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:14 Configure a credential helper to remove this warning. See 04:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:14 04:10:14 Login Succeeded 04:10:14 docker.io 04:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:14 Configure a credential helper to remove this warning. See 04:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:14 04:10:14 Login Succeeded 04:10:14 ---> docker-login.sh ends [Pipeline] } 04:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:15 ========================================================= 04:10:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:10:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:15 + 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 . 04:10:16 Sending build context to Docker daemon 20.55MB 04:10:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:10:16 Step 2/13 : FROM ${BASE} AS builder 04:10:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:17 9b18e9b68314: Pulling fs layer 04:10:17 35d82f9e3411: Pulling fs layer 04:10:17 e16973657156: Pulling fs layer 04:10:17 fc693d55d65f: Pulling fs layer 04:10:17 7e9fc2657dce: Pulling fs layer 04:10:17 dda99020689f: Pulling fs layer 04:10:17 db1c61fa0a46: Pulling fs layer 04:10:17 891c053d2c06: Pulling fs layer 04:10:17 fc693d55d65f: Waiting 04:10:17 db1c61fa0a46: Waiting 04:10:17 7e9fc2657dce: Waiting 04:10:17 dda99020689f: Waiting 04:10:17 891c053d2c06: Waiting 04:10:17 e16973657156: Verifying Checksum 04:10:17 e16973657156: Download complete 04:10:17 35d82f9e3411: Verifying Checksum 04:10:17 35d82f9e3411: Download complete 04:10:17 7e9fc2657dce: Download complete 04:10:17 dda99020689f: Verifying Checksum 04:10:17 dda99020689f: Download complete 04:10:17 9b18e9b68314: Verifying Checksum 04:10:17 9b18e9b68314: Download complete 04:10:18 9b18e9b68314: Pull complete 04:10:18 891c053d2c06: Verifying Checksum 04:10:18 891c053d2c06: Download complete 04:10:19 35d82f9e3411: Pull complete 04:10:19 e16973657156: Pull complete 04:10:19 db1c61fa0a46: Verifying Checksum 04:10:19 db1c61fa0a46: Download complete 04:10:20 fc693d55d65f: Verifying Checksum 04:10:20 fc693d55d65f: Download complete 04:10:32 fc693d55d65f: Pull complete 04:10:32 7e9fc2657dce: Pull complete 04:10:33 dda99020689f: Pull complete 04:10:39 db1c61fa0a46: Pull complete 04:10:40 891c053d2c06: Pull complete 04:10:41 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:10:41 ---> f96f9c87975a 04:10:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:10:43 ---> Running in e5c9e8702cf6 04:10:43 Removing intermediate container e5c9e8702cf6 04:10:43 ---> df3b5611fa9c 04:10:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:43 ---> Running in a2a6e356f646 04:10:43 Removing intermediate container a2a6e356f646 04:10:43 ---> 9798ba764228 04:10:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:10:43 ---> Running in 3b409cc16d35 04:10:43 Removing intermediate container 3b409cc16d35 04:10:43 ---> b2fee51611aa 04:10:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:10:44 ---> Running in 08f02a772b4f 04:10:44 Removing intermediate container 08f02a772b4f 04:10:44 ---> a15f80a9c2bc 04:10:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:10:44 ---> Running in 925ebfa7ed6d 04:10:44 Removing intermediate container 925ebfa7ed6d 04:10:44 ---> da92bbf20352 04:10:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:45 ---> Running in ca0b04e64c4f 04:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:10:47 OK: 221 MiB in 51 packages 04:10:48 Removing intermediate container ca0b04e64c4f 04:10:48 ---> 51ce8c18d810 04:10:48 Step 9/13 : WORKDIR /device-onvif-camera 04:10:48 ---> Running in 164bee1f756d 04:10:48 Removing intermediate container 164bee1f756d 04:10:48 ---> 21b6e822b8bd 04:10:48 Step 10/13 : COPY go.mod vendor* ./ 04:10:49 ---> e788f4189b1c 04:10:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:49 ---> Running in 492340335e50 04:12:10 Removing intermediate container 492340335e50 04:12:10 ---> 609ae55efdcf 04:12:10 Step 12/13 : COPY . . 04:12:10 ---> ec45530383bb 04:12:10 Step 13/13 : RUN ${MAKE} 04:12:10 ---> Running in 69cb5f7566f9 04:12:10 noop 04:12:10 Removing intermediate container 69cb5f7566f9 04:12:10 ---> ab83aa57c2de 04:12:10 Successfully built ab83aa57c2de 04:12:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:11 + docker inspect -f . ci-base-image-arm64 04:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:11 prd-ubuntu20.04-docker-arm64-4c-16g-6696 does not seem to be running inside a container 04:12:11 $ 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 04:12:12 $ docker top 60620e403db7463cec889892485b6bf1d6916a1be1393af3f98ca7a8dd994c7c -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:13 + go version 04:12:13 go version go1.18.7 linux/arm64 [Pipeline] } 04:12:13 $ docker stop --time=1 60620e403db7463cec889892485b6bf1d6916a1be1393af3f98ca7a8dd994c7c 04:12:15 $ docker rm -f --volumes 60620e403db7463cec889892485b6bf1d6916a1be1393af3f98ca7a8dd994c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:16 + docker inspect -f . ci-base-image-arm64 04:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-6696 does not seem to be running inside a container 04:12:16 $ 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 04:12:17 $ docker top 65c68ae1b19b16f9b65669b0824fddc1da8c20ca7a617c982fa9af600e9e702f -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:12:19 + make test 04:12:19 go test ./... -coverprofile=coverage.out ./... 04:12:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:13:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:13:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 29.3% of statements 04:13:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:14:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.858s coverage: 86.5% of statements 04:14:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:14:15 go vet ./... 04:14:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:48 ./bin/test-attribution-txt.sh [Pipeline] echo 04:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:48 $ docker stop --time=1 65c68ae1b19b16f9b65669b0824fddc1da8c20ca7a617c982fa9af600e9e702f 04:14:49 $ docker rm -f --volumes 65c68ae1b19b16f9b65669b0824fddc1da8c20ca7a617c982fa9af600e9e702f [Pipeline] // withDockerContainer [Pipeline] sh 04:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:51 Warning: overwriting stash ‘coverage-report’ 04:14:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:52 + ls -al . 04:14:52 total 232 04:14:52 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 04:12 . 04:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:09 .. 04:14:52 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 04:09 .git 04:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 04:09 .github 04:14:52 -rw-rw-r-- 1 jenkins jenkins 496 Feb 20 04:09 .gitignore 04:14:52 -rw-rw-r-- 1 jenkins jenkins 42 Feb 20 04:09 .golangci.yml 04:14:52 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 20 04:09 Attribution.txt 04:14:52 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 20 04:09 CHANGELOG.md 04:14:52 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 20 04:09 Dockerfile 04:14:52 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 04:09 GOVERNANCE.md 04:14:52 -rw-rw-r-- 1 jenkins jenkins 734 Feb 20 04:09 Jenkinsfile 04:14:52 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 20 04:09 LICENSE 04:14:52 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 20 04:09 Makefile 04:14:52 -rw-rw-r-- 1 jenkins jenkins 625 Feb 20 04:09 OWNERS.md 04:14:52 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 20 04:09 README.md 04:14:52 -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 04:07 VERSION 04:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 04:09 bin 04:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 04:09 cmd 04:14:52 -rw-r--r-- 1 jenkins jenkins 79184 Feb 20 04:14 coverage.out 04:14:52 drwxrwxr-x 6 jenkins jenkins 4096 Feb 20 04:09 doc 04:14:52 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 20 04:09 go.mod 04:14:52 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 20 04:09 go.sum 04:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:09 internal 04:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 04:09 snap 04:14:52 -rw-rw-r-- 1 jenkins jenkins 236 Feb 20 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:52 + 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=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 --label arch=arm64 --label version=0.0.0 . 04:14:53 Sending build context to Docker daemon 20.63MB 04:14:53 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:14:53 Step 2/26 : FROM ${BASE} AS builder 04:14:53 ---> ab83aa57c2de 04:14:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:14:53 ---> Running in 3cb81127f7b2 04:14:54 Removing intermediate container 3cb81127f7b2 04:14:54 ---> b76de5ea36e3 04:14:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:14:54 ---> Running in 96195c35fefa 04:14:54 Removing intermediate container 96195c35fefa 04:14:54 ---> 44e393a7e205 04:14:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:14:54 ---> Running in 2f7a3b3b1939 04:14:54 Removing intermediate container 2f7a3b3b1939 04:14:54 ---> e4a84356825d 04:14:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:14:54 ---> Running in 523d4981b133 04:14:55 Removing intermediate container 523d4981b133 04:14:55 ---> cf480a4da92c 04:14:55 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:14:55 ---> Running in 1ca8ac09aecb 04:14:55 Removing intermediate container 1ca8ac09aecb 04:14:55 ---> 1332b5a19d2f 04:14:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:14:55 ---> Running in a8ef5eb5e3aa 04:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:14:57 OK: 221 MiB in 51 packages 04:14:58 Removing intermediate container a8ef5eb5e3aa 04:14:58 ---> 76a0e0e03606 04:14:58 Step 9/26 : WORKDIR /device-onvif-camera 04:14:58 ---> Running in 45f1d1c68bcc 04:14:58 Removing intermediate container 45f1d1c68bcc 04:14:58 ---> e1208b306776 04:14:58 Step 10/26 : COPY go.mod vendor* ./ 04:14:59 ---> 8701832e6e1c 04:14:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:59 ---> Running in 909d98a11b68 04:15:02 Removing intermediate container 909d98a11b68 04:15:02 ---> 53cb12c07763 04:15:02 Step 12/26 : COPY . . 04:15:03 ---> eaa79ba65ae7 04:15:03 Step 13/26 : RUN ${MAKE} 04:15:03 ---> Running in 5db196ef8c9e 04:15:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:17:11 Removing intermediate container 5db196ef8c9e 04:17:11 ---> 9b1e70c06334 04:17:11 Step 14/26 : FROM alpine:3.16 04:17:11 3.16: Pulling from library/alpine 04:17:11 3760b48202b3: Pulling fs layer 04:17:11 3760b48202b3: Verifying Checksum 04:17:11 3760b48202b3: Download complete 04:17:11 3760b48202b3: Pull complete 04:17:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:17:11 Status: Downloaded newer image for alpine:3.16 04:17:11 ---> 4c81e5bf8899 04:17:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:17:11 ---> Running in a5b18e93a886 04:17:11 Removing intermediate container a5b18e93a886 04:17:11 ---> e0564da02fab 04:17:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:17:11 ---> Running in 6debf0272fda 04:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:11 (1/1) Installing dumb-init (1.2.5-r1) 04:17:11 Executing busybox-1.35.0-r17.trigger 04:17:11 OK: 5 MiB in 15 packages 04:17:12 Removing intermediate container 6debf0272fda 04:17:12 ---> c077118b64ee 04:17:12 Step 17/26 : WORKDIR / 04:17:12 ---> Running in f1ae2acb0304 04:17:13 Removing intermediate container f1ae2acb0304 04:17:13 ---> 246611436c8c 04:17:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:17:14 ---> 3294757db222 04:17:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:17:15 ---> a4117a9ff0da 04:17:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:17:15 ---> 4941a128ebc0 04:17:15 Step 21/26 : EXPOSE 59984 04:17:15 ---> Running in 677449b3d0c9 04:17:15 Removing intermediate container 677449b3d0c9 04:17:15 ---> 97bc30d34a9f 04:17:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:17:15 ---> Running in 516e6eafc7cf 04:17:16 Removing intermediate container 516e6eafc7cf 04:17:16 ---> 164ac647af13 04:17:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:17:16 ---> Running in 09ded16a04aa 04:17:16 Removing intermediate container 09ded16a04aa 04:17:16 ---> 59a0c7528d92 04:17:16 Step 24/26 : LABEL arch=arm64 04:17:16 ---> Running in 86b49edab0a7 04:17:16 Removing intermediate container 86b49edab0a7 04:17:16 ---> a34f9db12afe 04:17:16 Step 25/26 : LABEL git_sha=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 04:17:16 ---> Running in dc3832f4cef6 04:17:17 Removing intermediate container dc3832f4cef6 04:17:17 ---> edaf7d565aa2 04:17:17 Step 26/26 : LABEL version=0.0.0 04:17:17 ---> Running in 8307fa9295f0 04:17:17 Removing intermediate container 8307fa9295f0 04:17:17 ---> 12982a268cd1 04:17:17 [Warning] One or more build-args [ARCH] were not consumed 04:17:17 Successfully built 12982a268cd1 04:17:17 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 04:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:18 04:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:18 arm64: Pulling from edgex-lftools-log-publisher 04:17:18 8998bd30e6a1: Pulling fs layer 04:17:18 04944245beec: Pulling fs layer 04:17:18 699f458cf7ca: Pulling fs layer 04:17:18 765212b225bb: Pulling fs layer 04:17:18 f23df028b6ca: Pulling fs layer 04:17:18 d65c8cfc05b1: Pulling fs layer 04:17:18 2437ff75d9bd: Pulling fs layer 04:17:18 f23df028b6ca: Waiting 04:17:18 d65c8cfc05b1: Waiting 04:17:18 2437ff75d9bd: Waiting 04:17:18 765212b225bb: Waiting 04:17:18 04944245beec: Verifying Checksum 04:17:18 04944245beec: Download complete 04:17:18 765212b225bb: Verifying Checksum 04:17:18 765212b225bb: Download complete 04:17:18 f23df028b6ca: Verifying Checksum 04:17:18 f23df028b6ca: Download complete 04:17:18 d65c8cfc05b1: Verifying Checksum 04:17:18 d65c8cfc05b1: Download complete 04:17:18 699f458cf7ca: Verifying Checksum 04:17:18 699f458cf7ca: Download complete 04:17:19 8998bd30e6a1: Verifying Checksum 04:17:19 8998bd30e6a1: Download complete 04:17:21 2437ff75d9bd: Verifying Checksum 04:17:21 2437ff75d9bd: Download complete 04:17:23 8998bd30e6a1: Pull complete 04:17:24 04944245beec: Pull complete 04:17:25 699f458cf7ca: Pull complete 04:17:25 765212b225bb: Pull complete 04:17:26 f23df028b6ca: Pull complete 04:17:26 d65c8cfc05b1: Pull complete 04:17:41 2437ff75d9bd: Pull complete 04:17:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:41 prd-ubuntu20.04-docker-arm64-4c-16g-6696 does not seem to be running inside a container 04:17:41 $ 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 04:17:44 $ docker top 0f7ded314609b99d81785c1834157516f0e55856f3559cf5b6a7c14f2d1db237 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:45 ---> job-cost.sh 04:17:45 lf-activate-venv: SKIPPING 04:17:45 INFO: No Stack... 04:17:45 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:46 INFO: Archiving Costs [Pipeline] sh 04:17:47 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv+ 04:17:47 cut -d, -f6 [Pipeline] lock 04:17:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] 04:17:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] did not exist. Created. 04:17:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:47 /w/workspace/device-onvif-camera/1@tmp/durable-b91e884b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:48 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:48 Warning: overwriting stash ‘stack-cost’ 04:17:48 Stashed 1 file(s) [Pipeline] } 04:17:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:48 $ docker stop --time=1 0f7ded314609b99d81785c1834157516f0e55856f3559cf5b6a7c14f2d1db237 04:17:50 $ docker rm -f --volumes 0f7ded314609b99d81785c1834157516f0e55856f3559cf5b6a7c14f2d1db237 [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 04:17:50 provisioning config files... 04:17:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-236@tmp/config18136074278635988328tmp [Pipeline] { [Pipeline] sh 04:17:51 + set +x 04:17:51 + curl -s https://codecov.io/bash 04:17:51 + bash -s -- 04:17:51 04:17:51 _____ _ 04:17:51 / ____| | | 04:17:51 | | ___ __| | ___ ___ _____ __ 04:17:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:51 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:51 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:51 Bash-1.0.6 04:17:51 04:17:51 04:17:51 ==> git version 2.25.1 found 04:17:51 ==> 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 04:17:51 Release-Date: 2020-01-08 04:17:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:51 ==> Jenkins CI detected. 04:17:51 current dir:  /w/workspace/undry_device-onvif-camera_PR-236 04:17:51 project root: . 04:17:51 --> token set from env 04:17:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:51 ==> Running gcov in . (disable via -X gcov) 04:17:51 ==> Python coveragepy not found 04:17:51 ==> Searching for coverage reports in: 04:17:51 + . 04:17:51 -> Found 1 reports 04:17:51 ==> Detecting git/mercurial file structure 04:17:51 ==> Reading reports 04:17:51 + ./coverage.out bytes=79184 04:17:51 ==> Appending adjustments 04:17:51 https://docs.codecov.io/docs/fixing-reports 04:17:51 + Found adjustments 04:17:51 ==> Gzipping contents 04:17:51 12K /tmp/codecov.t2sYB1.gz 04:17:51 ==> Uploading reports 04:17:51 url: https://codecov.io 04:17:51 query: branch=PR-236&commit=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=236&job=&cmd_args= 04:17:51 -> Pinging Codecov 04:17:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-236&commit=b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=236&job=&cmd_args= 04:17:51 -> Uploading to 04:17:51 https://storage.googleapis.com/codecov/v4/raw/2023-02-20/F29A59C45E3A92E06B3E522C9905F8EF/b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9/0dc94acd-ded6-4b07-aab7-2cb1791a6fae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T041751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=037c352eedb7a5fde51020389a3ba3133532e8a0ab33526c489b1dda7c6905d6 04:17:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:51 Dload Upload Total Spent Left Speed 04:17:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10828 0 0 100 10828 0 48995 --:--:-- --:--:-- --:--:-- 48774 100 10828 0 0 100 10828 0 35385 --:--:-- --:--:-- --:--:-- 35270 04:17:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b0410866e1d1c9232f2e2295f0b0fc2b15d1ecd9 [Pipeline] } 04:17:52 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 04:17:53 + [ -d /w/workspace/undry_device-onvif-camera_PR-236/archives ] 04:17:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-236/archives 04:17:53 total 16 04:17:53 drwxr-xr-x 3 root root 4096 Feb 20 04:09 . 04:17:53 drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 04:09 .. 04:17:53 drwxr-xr-x 2 root root 4096 Feb 20 04:09 cost 04:17:53 -rw-r--r-- 1 root root 91 Feb 20 04:09 cost.csv 04:17:53 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-236/archives 04:17:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-236/archives 04:17:53 total 16 04:17:53 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 04:09 . 04:17:53 drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 04:09 .. 04:17:53 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 04:09 cost 04:17:53 -rw-r--r-- 1 jenkins jenkins 91 Feb 20 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> package-listing.sh 04:17:54 ++ facter osfamily 04:17:54 ++ tr '[:upper:]' '[:lower:]' 04:17:55 + OS_FAMILY=debian 04:17:55 + workspace=/w/workspace/undry_device-onvif-camera_PR-236 04:17:55 + START_PACKAGES=/tmp/packages_start.txt 04:17:55 + END_PACKAGES=/tmp/packages_end.txt 04:17:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:55 + PACKAGES=/tmp/packages_start.txt 04:17:55 + '[' /w/workspace/undry_device-onvif-camera_PR-236 ']' 04:17:55 + PACKAGES=/tmp/packages_end.txt 04:17:55 + case "${OS_FAMILY}" in 04:17:55 + dpkg -l 04:17:55 + grep '^ii' 04:17:55 + '[' -f /tmp/packages_start.txt ']' 04:17:55 + '[' -f /tmp/packages_end.txt ']' 04:17:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:55 + '[' /w/workspace/undry_device-onvif-camera_PR-236 ']' 04:17:55 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-236/archives/ 04:17:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-236/archives/ [Pipeline] echo 04:17:55 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:56 prd-ubuntu20.04-docker-8c-8g-6695 does not seem to be running inside a container 04:17:56 $ 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-236/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-236 -v /w/workspace/undry_device-onvif-camera_PR-236:/w/workspace/undry_device-onvif-camera_PR-236:rw,z -v /w/workspace/undry_device-onvif-camera_PR-236@tmp:/w/workspace/undry_device-onvif-camera_PR-236@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 04:17:56 $ docker top fcf6d048b9ea72dedeb3b494bd2e6e9fe13b6af01acb850e0587297e22cf44ae -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:56 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:57 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:57 + ls /var/log/sa-host 04:17:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:57 provisioning config files... 04:17:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-236@tmp/config8386494067183000203tmp [Pipeline] { [Pipeline] echo 04:17:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:58 ---> create-netrc.sh [Pipeline] } 04:17:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:58 ---> python-tools-install.sh [Pipeline] echo 04:17:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:58 ---> sudo-logs.sh 04:17:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:59 ---> job-cost.sh 04:17:59 lf-activate-venv: SKIPPING 04:17:59 DEBUG: total: 0.2199999988079071 04:17:59 INFO: Retrieving Stack Cost... 04:17:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:00 INFO: Archiving Costs [Pipeline] echo 04:18:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:00 ---> logs-deploy.sh 04:18:00 lf-activate-venv: SKIPPING 04:18:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-236/1 04:18:00 INFO: archiving workspace using pattern(s): 04:18:01 Archives upload complete. 04:18:01 INFO: archiving logs to Nexus 04:18:02 ---> uname -a: 04:18:02 Linux prd-ubuntu20-04-docker-8c-8g-6695 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:18:02 04:18:02 04:18:02 ---> lscpu: 04:18:02 Architecture: x86_64 04:18:02 CPU op-mode(s): 32-bit, 64-bit 04:18:02 Byte Order: Little Endian 04:18:02 Address sizes: 40 bits physical, 48 bits virtual 04:18:02 CPU(s): 8 04:18:02 On-line CPU(s) list: 0-7 04:18:02 Thread(s) per core: 1 04:18:02 Core(s) per socket: 1 04:18:02 Socket(s): 8 04:18:02 NUMA node(s): 1 04:18:02 Vendor ID: AuthenticAMD 04:18:02 CPU family: 23 04:18:02 Model: 49 04:18:02 Model name: AMD EPYC-Rome Processor 04:18:02 Stepping: 0 04:18:02 CPU MHz: 2799.998 04:18:02 BogoMIPS: 5599.99 04:18:02 Virtualization: AMD-V 04:18:02 Hypervisor vendor: KVM 04:18:02 Virtualization type: full 04:18:02 L1d cache: 256 KiB 04:18:02 L1i cache: 256 KiB 04:18:02 L2 cache: 4 MiB 04:18:02 L3 cache: 128 MiB 04:18:02 NUMA node0 CPU(s): 0-7 04:18:02 Vulnerability Itlb multihit: Not affected 04:18:02 Vulnerability L1tf: Not affected 04:18:02 Vulnerability Mds: Not affected 04:18:02 Vulnerability Meltdown: Not affected 04:18:02 Vulnerability Mmio stale data: Not affected 04:18:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:18:02 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:18:02 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:18:02 Vulnerability Srbds: Not affected 04:18:02 Vulnerability Tsx async abort: Not affected 04:18:02 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 04:18:02 04:18:02 04:18:02 ---> nproc: 04:18:02 8 04:18:02 04:18:02 04:18:02 ---> df -h: 04:18:02 Filesystem Size Used Avail Use% Mounted on 04:18:02 overlay 155G 12G 144G 8% / 04:18:02 tmpfs 64M 0 64M 0% /dev 04:18:02 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:18:02 shm 64M 0 64M 0% /dev/shm 04:18:02 /dev/vda1 155G 12G 144G 8% /facter-os 04:18:02 04:18:02 04:18:02 ---> sar -b -r -n DEV: 04:18:02 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6695) 02/20/23 _x86_64_ (8 CPU) 04:18:02 04:18:02 04:06:12 LINUX RESTART (8 CPU) 04:18:02 04:18:02 04:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:18:02 04:08:01 156.19 3.83 152.36 0.00 413.62 58491.37 0.00 04:18:02 04:09:01 133.93 0.18 133.74 0.00 9.07 33185.40 0.00 04:18:02 04:10:01 121.29 0.05 121.24 0.00 3.87 36160.88 0.00 04:18:02 04:11:01 2.08 0.00 2.08 0.00 0.00 27.21 0.00 04:18:02 04:12:01 53.31 10.78 42.53 0.00 5173.54 8851.46 0.00 04:18:02 04:13:01 6.62 0.02 6.60 0.00 0.13 129.05 0.00 04:18:02 04:14:01 1.32 0.00 1.32 0.00 0.00 15.33 0.00 04:18:02 04:15:01 1.68 0.00 1.68 0.00 0.00 17.86 0.00 04:18:02 04:16:01 1.50 0.00 1.50 0.00 0.00 17.06 0.00 04:18:02 04:17:01 1.67 0.02 1.65 0.00 0.13 17.73 0.00 04:18:02 04:18:01 6.13 0.22 5.92 0.00 19.06 119.85 0.00 04:18:02 Average: 43.99 1.37 42.62 0.00 510.99 12387.89 0.00 04:18:02 04:18:02 04:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:18:02 04:08:01 28317972 31588540 712724 2.17 113640 3368376 2038496 6.01 1155588 2971640 141196 04:18:02 04:09:01 28303892 31559104 738176 2.24 149668 3311900 1891456 5.57 1276308 2851932 29060 04:18:02 04:10:01 27625224 31587892 707180 2.15 159768 3949888 1745556 5.14 1296588 3449580 84 04:18:02 04:11:01 27624848 31587620 707144 2.15 159816 3949892 1761640 5.19 1296324 3449584 48 04:18:02 04:12:01 27087300 31566956 719368 2.19 193288 4408432 1815972 5.35 1619424 3628200 1100 04:18:02 04:13:01 27091868 31566752 719280 2.19 191856 4405180 1789372 5.27 1617764 3625072 4 04:18:02 04:14:01 27093624 31568616 717420 2.18 191936 4405184 1789372 5.27 1616080 3625076 12 04:18:02 04:15:01 27100316 31575420 710680 2.16 191980 4405184 1789372 5.27 1609152 3625140 8 04:18:02 04:16:01 27100472 31575648 710384 2.16 192064 4405176 1789372 5.27 1609196 3625156 8 04:18:02 04:17:01 27099852 31575072 710672 2.16 192104 4405188 1789372 5.27 1609004 3625164 8 04:18:02 04:18:01 27018768 31500740 779876 2.37 192268 4406364 1896716 5.59 1689916 3614432 896 04:18:02 Average: 27405831 31568396 721173 2.19 175308 4129160 1826972 5.38 1490486 3462816 15675 04:18:02 04:18:02 04:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:18:02 04:08:01 docker0 192.76 322.69 15.44 2103.99 0.00 0.00 0.00 0.00 04:18:02 04:08:01 ens3 494.81 296.83 6204.57 38.67 0.00 0.00 0.00 0.00 04:18:02 04:08:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 04:18:02 04:09:01 docker0 1.82 4.18 0.11 40.58 0.00 0.00 0.00 0.00 04:18:02 04:09:01 ens3 55.92 47.08 79.76 92.42 0.00 0.00 0.00 0.00 04:18:02 04:09:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 04:18:02 04:10:01 docker0 1.35 2.38 0.09 40.97 0.00 0.00 0.00 0.00 04:18:02 04:10:01 ens3 121.33 73.44 2615.70 14.85 0.00 0.00 0.00 0.00 04:18:02 04:10:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 04:18:02 04:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:11:01 ens3 0.20 0.13 0.01 0.02 0.00 0.00 0.00 0.00 04:18:02 04:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:18:02 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:12:01 ens3 164.12 90.85 2790.64 6.49 0.00 0.00 0.00 0.00 04:18:02 04:12:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 04:18:02 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:13:01 ens3 0.30 0.23 0.02 0.02 0.00 0.00 0.00 0.00 04:18:02 04:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:18:02 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:14:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:15:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 04:18:02 04:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:18:02 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:16:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:17:01 ens3 0.30 0.23 0.08 0.07 0.00 0.00 0.00 0.00 04:18:02 04:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:18:02 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:02 04:18:01 ens3 31.23 17.76 31.55 12.24 0.00 0.00 0.00 0.00 04:18:02 04:18:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 04:18:02 Average: docker0 17.55 29.49 1.40 195.79 0.00 0.00 0.00 0.00 04:18:02 Average: ens3 78.31 47.50 1057.88 14.94 0.00 0.00 0.00 0.00 04:18:02 Average: lo 0.65 0.65 0.06 0.06 0.00 0.00 0.00 0.00 04:18:02 04:18:02 04:18:02 ---> sar -P ALL: 04:18:02 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6695) 02/20/23 _x86_64_ (8 CPU) 04:18:02 04:18:02 04:06:12 LINUX RESTART (8 CPU) 04:18:02 04:18:02 04:07:02 CPU %user %nice %system %iowait %steal %idle 04:18:02 04:08:01 all 6.56 0.00 2.75 3.17 0.07 87.46 04:18:02 04:08:01 0 7.79 0.00 3.02 0.15 0.14 88.90 04:18:02 04:08:01 1 6.52 0.00 2.85 0.75 0.05 89.83 04:18:02 04:08:01 2 5.98 0.00 3.04 0.67 0.07 90.24 04:18:02 04:08:01 3 6.85 0.00 2.44 0.43 0.05 90.22 04:18:02 04:08:01 4 6.08 0.00 2.92 7.81 0.03 83.16 04:18:02 04:08:01 5 5.82 0.00 3.00 11.59 0.05 79.55 04:18:02 04:08:01 6 5.41 0.00 2.60 3.58 0.07 88.35 04:18:02 04:08:01 7 7.99 0.00 2.12 0.46 0.07 89.37 04:18:02 04:09:01 all 26.65 0.00 4.75 2.41 0.06 66.13 04:18:02 04:09:01 0 26.78 0.00 4.39 0.62 0.05 68.16 04:18:02 04:09:01 1 26.83 0.00 4.91 0.35 0.07 67.84 04:18:02 04:09:01 2 26.41 0.00 4.98 0.27 0.07 68.27 04:18:02 04:09:01 3 26.98 0.00 4.85 0.15 0.05 67.97 04:18:02 04:09:01 4 26.29 0.00 4.74 10.05 0.07 58.86 04:18:02 04:09:01 5 26.65 0.00 4.86 4.15 0.07 64.27 04:18:02 04:09:01 6 26.40 0.00 4.39 0.02 0.07 69.13 04:18:02 04:09:01 7 26.84 0.00 4.88 3.70 0.07 64.51 04:18:02 04:10:01 all 17.90 0.00 3.57 2.21 0.07 76.25 04:18:02 04:10:01 0 18.15 0.00 3.91 0.02 0.05 77.87 04:18:02 04:10:01 1 18.17 0.00 3.69 0.15 0.05 77.94 04:18:02 04:10:01 2 19.19 0.00 3.24 2.74 0.05 74.78 04:18:02 04:10:01 3 18.50 0.00 3.18 0.03 0.05 78.24 04:18:02 04:10:01 4 15.43 0.00 3.53 9.42 0.05 71.57 04:18:02 04:10:01 5 17.67 0.00 3.02 1.11 0.07 78.13 04:18:02 04:10:01 6 17.90 0.00 3.55 0.30 0.05 78.20 04:18:02 04:10:01 7 18.15 0.00 4.48 3.91 0.17 73.29 04:18:02 04:11:01 all 0.01 0.00 0.01 0.00 0.00 99.97 04:18:02 04:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:11:01 1 0.00 0.00 0.00 0.00 0.02 99.98 04:18:02 04:11:01 2 0.03 0.00 0.02 0.00 0.02 99.93 04:18:02 04:11:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:18:02 04:11:01 4 0.00 0.00 0.02 0.03 0.00 99.95 04:18:02 04:11:01 5 0.03 0.00 0.00 0.00 0.00 99.97 04:18:02 04:11:01 6 0.02 0.00 0.03 0.00 0.00 99.95 04:18:02 04:11:01 7 0.00 0.00 0.02 0.00 0.00 99.98 04:18:02 04:12:01 all 2.25 0.00 1.48 0.51 0.03 95.73 04:18:02 04:12:01 0 1.27 0.00 1.82 0.15 0.03 96.73 04:18:02 04:12:01 1 1.73 0.00 1.43 0.29 0.03 96.53 04:18:02 04:12:01 2 3.33 0.00 2.01 0.95 0.03 93.68 04:18:02 04:12:01 3 1.92 0.00 1.37 0.37 0.02 96.32 04:18:02 04:12:01 4 1.77 0.00 1.08 0.43 0.02 96.70 04:18:02 04:12:01 5 2.37 0.00 0.90 0.03 0.02 96.67 04:18:02 04:12:01 6 3.76 0.00 2.12 0.62 0.02 93.48 04:18:02 04:12:01 7 1.86 0.00 1.12 1.21 0.05 95.76 04:18:02 04:13:01 all 0.06 0.00 0.05 0.02 0.00 99.86 04:18:02 04:13:01 0 0.07 0.00 0.03 0.02 0.00 99.88 04:18:02 04:13:01 1 0.00 0.00 0.03 0.00 0.00 99.97 04:18:02 04:13:01 2 0.05 0.00 0.07 0.00 0.00 99.88 04:18:02 04:13:01 3 0.22 0.00 0.12 0.00 0.02 99.65 04:18:02 04:13:01 4 0.05 0.00 0.05 0.00 0.02 99.88 04:18:02 04:13:01 5 0.03 0.00 0.05 0.02 0.00 99.90 04:18:02 04:13:01 6 0.02 0.00 0.07 0.00 0.00 99.92 04:18:02 04:13:01 7 0.07 0.00 0.02 0.10 0.00 99.82 04:18:02 04:14:01 all 0.03 0.00 0.00 0.00 0.01 99.96 04:18:02 04:14:01 0 0.02 0.00 0.00 0.00 0.02 99.97 04:18:02 04:14:01 1 0.00 0.00 0.00 0.00 0.02 99.98 04:18:02 04:14:01 2 0.03 0.00 0.00 0.00 0.00 99.97 04:18:02 04:14:01 3 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:14:01 4 0.02 0.00 0.00 0.00 0.02 99.97 04:18:02 04:14:01 5 0.08 0.00 0.00 0.02 0.02 99.88 04:18:02 04:14:01 6 0.03 0.00 0.00 0.00 0.00 99.97 04:18:02 04:14:01 7 0.02 0.00 0.00 0.02 0.02 99.95 04:18:02 04:15:01 all 0.01 0.00 0.01 0.01 0.01 99.97 04:18:02 04:15:01 0 0.00 0.00 0.02 0.00 0.00 99.98 04:18:02 04:15:01 1 0.00 0.00 0.00 0.00 0.02 99.98 04:18:02 04:15:01 2 0.00 0.00 0.02 0.00 0.02 99.97 04:18:02 04:15:01 3 0.02 0.00 0.00 0.02 0.00 99.97 04:18:02 04:15:01 4 0.02 0.00 0.02 0.00 0.02 99.95 04:18:02 04:15:01 5 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:15:01 6 0.02 0.00 0.02 0.00 0.00 99.97 04:18:02 04:15:01 7 0.00 0.00 0.00 0.03 0.00 99.97 04:18:02 04:16:01 all 0.01 0.00 0.01 0.01 0.00 99.97 04:18:02 04:16:01 0 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:16:01 1 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:16:01 2 0.02 0.00 0.02 0.02 0.00 99.95 04:18:02 04:16:01 3 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:16:01 4 0.00 0.00 0.03 0.00 0.02 99.95 04:18:02 04:16:01 5 0.02 0.00 0.00 0.00 0.02 99.97 04:18:02 04:16:01 6 0.00 0.00 0.00 0.00 0.00 100.00 04:18:02 04:16:01 7 0.02 0.00 0.02 0.03 0.00 99.93 04:18:02 04:17:01 all 0.02 0.00 0.01 0.01 0.01 99.96 04:18:02 04:17:01 0 0.03 0.00 0.02 0.00 0.02 99.93 04:18:02 04:17:01 1 0.00 0.00 0.00 0.00 0.02 99.98 04:18:02 04:17:01 2 0.02 0.00 0.02 0.00 0.00 99.97 04:18:02 04:17:01 3 0.03 0.00 0.00 0.00 0.00 99.97 04:18:02 04:17:01 4 0.02 0.00 0.02 0.00 0.02 99.95 04:18:02 04:17:01 5 0.02 0.00 0.02 0.03 0.00 99.93 04:18:02 04:17:01 6 0.00 0.00 0.02 0.00 0.00 99.98 04:18:02 04:17:01 7 0.02 0.00 0.02 0.02 0.02 99.93 04:18:02 04:18:01 all 1.07 0.00 0.31 0.02 0.01 98.60 04:18:02 04:18:01 0 0.57 0.00 0.43 0.00 0.00 99.00 04:18:02 04:18:01 1 2.04 0.00 0.25 0.00 0.02 97.69 04:18:02 04:18:01 2 0.72 0.00 0.23 0.00 0.00 99.05 04:18:02 04:18:01 3 0.52 0.00 0.30 0.03 0.02 99.13 04:18:02 04:18:01 4 0.37 0.00 0.33 0.00 0.03 99.27 04:18:02 04:18:01 5 0.70 0.00 0.22 0.02 0.00 99.07 04:18:02 04:18:01 6 0.93 0.00 0.30 0.03 0.02 98.72 04:18:02 04:18:01 7 2.67 0.00 0.40 0.07 0.02 96.85 04:18:02 04:18:02 Average: CPU %user %nice %system %iowait %steal %idle 04:18:02 Average: all 4.93 0.00 1.17 0.75 0.02 93.12 04:18:02 Average: 0 4.94 0.00 1.23 0.09 0.03 93.72 04:18:02 Average: 1 5.00 0.00 1.19 0.14 0.03 93.65 04:18:02 Average: 2 5.04 0.00 1.23 0.42 0.02 93.29 04:18:02 Average: 3 4.99 0.00 1.11 0.09 0.02 93.79 04:18:02 Average: 4 4.51 0.00 1.15 2.50 0.03 91.82 04:18:02 Average: 5 4.82 0.00 1.09 1.52 0.02 92.56 04:18:02 Average: 6 4.92 0.00 1.18 0.41 0.02 93.47 04:18:02 Average: 7 5.21 0.00 1.18 0.86 0.04 92.71 04:18:02 04:18:02 04:18:02