Pull request #161 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than cb8adc2a121b654032cd11a61f1f4d648e4e07e2 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9054513015215316204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13962169558095759359.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3198501174650634372.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8517900304734793925.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh262402892861179075.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-30010’ is offline Running on prd-ubuntu20.04-docker-8c-8g-30013 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-161 # 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 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit cb8adc2a121b654032cd11a61f1f4d648e4e07e2 Merge succeeded, producing 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a Checking out Revision 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb8adc2a121b654032cd11a61f1f4d648e4e07e2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:04:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:04:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:04:28 ========================================================= 23:04:28 EdgeX Global Pipelines Version Info 23:04:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ee863d80d5781c421c4d98fd3037029426b69d47 # timeout=10 23:04:29 ------------------- 23:04:29 stable info: 23:04:29 ------------------- 23:04:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:04:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:04:29 Message: update stable to v1.0.239 23:04:30 ------------------- 23:04:30 experimental info: 23:04:30 ------------------- 23:04:30 Commited By: **** collab-it+edgex@linuxfoundation.org 23:04:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:04:30 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e31cd8 [Pipeline] echo 23:04:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:30 provisioning config files... 23:04:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5962070825671126974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:31 ---> docker-login.sh 23:04:31 nexus3.edgexfoundry.org:10001 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 nexus3.edgexfoundry.org:10002 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 nexus3.edgexfoundry.org:10003 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 nexus3.edgexfoundry.org:10004 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 docker.io 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:32 Configure a credential helper to remove this warning. See 23:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:32 23:04:32 Login Succeeded 23:04:32 ---> docker-login.sh ends [Pipeline] } 23:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:04:32 + git rev-list -1 --merges 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a~1..4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo 23:04:32 -----------> git rev-list -1 --merges 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a~1..4e31cd800a5b1ff0ea34fe4c0be91ff04168766a 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a 23:04:32 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [false] [Pipeline] sh 23:04:33 + git log --format=format:%s -1 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo 23:04:33 ========================================================= 23:04:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:04:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:33 + git log --format=format:%s -1 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo 23:04:33 [semverPrep] GIT_COMMIT: 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo 23:04:33 [semverPrep] This is not a build commit. [Pipeline] sh 23:04:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:04:33 + grep -v github /etc/ssh/ssh_known_hosts 23:04:33 + [ -e /tmp/ssh_known_hosts ] 23:04:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:04:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:04:33 + sudo tee -a /etc/ssh/ssh_known_hosts 23:04:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:34 23:04:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:34 0.1.4: Pulling from edgex-devops/py-git-semver 23:04:34 b85a868b505f: Pulling fs layer 23:04:34 e2be974225ed: Pulling fs layer 23:04:34 339a4e72a1f5: Pulling fs layer 23:04:34 988bab9f4d93: Pulling fs layer 23:04:34 1469e6f7b9e6: Pulling fs layer 23:04:34 eaf3925da568: Pulling fs layer 23:04:34 bab4dde63d76: Pulling fs layer 23:04:34 bde34c3a00c8: Pulling fs layer 23:04:34 b352a97aabf1: Pulling fs layer 23:04:34 4872d77fe225: Pulling fs layer 23:04:34 5851b861e8e6: Pulling fs layer 23:04:34 1469e6f7b9e6: Waiting 23:04:34 bab4dde63d76: Waiting 23:04:34 b352a97aabf1: Waiting 23:04:34 4872d77fe225: Waiting 23:04:34 eaf3925da568: Waiting 23:04:34 bde34c3a00c8: Waiting 23:04:34 988bab9f4d93: Waiting 23:04:34 e2be974225ed: Verifying Checksum 23:04:34 e2be974225ed: Download complete 23:04:34 988bab9f4d93: Verifying Checksum 23:04:34 988bab9f4d93: Download complete 23:04:34 339a4e72a1f5: Verifying Checksum 23:04:34 339a4e72a1f5: Download complete 23:04:34 1469e6f7b9e6: Verifying Checksum 23:04:34 1469e6f7b9e6: Download complete 23:04:34 eaf3925da568: Verifying Checksum 23:04:34 eaf3925da568: Download complete 23:04:34 bde34c3a00c8: Download complete 23:04:34 b352a97aabf1: Download complete 23:04:34 4872d77fe225: Download complete 23:04:34 5851b861e8e6: Verifying Checksum 23:04:34 5851b861e8e6: Download complete 23:04:34 b85a868b505f: Verifying Checksum 23:04:34 b85a868b505f: Download complete 23:04:35 bab4dde63d76: Verifying Checksum 23:04:35 bab4dde63d76: Download complete 23:04:36 b85a868b505f: Pull complete 23:04:36 e2be974225ed: Pull complete 23:04:37 339a4e72a1f5: Pull complete 23:04:37 988bab9f4d93: Pull complete 23:04:37 1469e6f7b9e6: Pull complete 23:04:37 eaf3925da568: Pull complete 23:04:39 bab4dde63d76: Pull complete 23:04:39 bde34c3a00c8: Pull complete 23:04:39 b352a97aabf1: Pull complete 23:04:39 4872d77fe225: Pull complete 23:04:40 5851b861e8e6: Pull complete 23:04:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:40 prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container 23:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:04:41 $ docker top 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 -eo pid,comm 23:04:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:04:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:04:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:41 [ssh-agent] Looking for ssh-agent implementation... 23:04:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:41 $ docker exec 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent 23:04:41 SSH_AUTH_SOCK=/tmp/ssh-Xth9GTHncPcT/agent.34 23:04:41 SSH_AGENT_PID=40 23:04:41 Running ssh-add (command line suppressed) 23:04:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1986769344823175417.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1986769344823175417.key) 23:04:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:42 + git tag --points-at HEAD [Pipeline] } 23:04:42 $ docker exec --env ******** --env ******** 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent -k 23:04:42 unset SSH_AUTH_SOCK; 23:04:42 unset SSH_AGENT_PID; 23:04:42 echo Agent pid 40 killed; 23:04:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:04:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:42 [ssh-agent] Looking for ssh-agent implementation... 23:04:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:42 $ docker exec 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent 23:04:42 SSH_AUTH_SOCK=/tmp/ssh-cPku3bPOj3uF/agent.72 23:04:42 SSH_AGENT_PID=79 23:04:42 Running ssh-add (command line suppressed) 23:04:42 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_656913720731640552.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_656913720731640552.key) 23:04:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:43 + git semver init 23:04:43 2022-09-20 23:04:43,357 [run_init] DEBUG init version:0.0.0 force:False 23:04:43 2022-09-20 23:04:43,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver 23:04:43 2022-09-20 23:04:43,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver 23:04:43 2022-09-20 23:04:43,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) 23:04:44 2022-09-20 23:04:44,294 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude 23:04:44 2022-09-20 23:04:44,294 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False 23:04:44 2022-09-20 23:04:44,294 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 23:04:44 2022-09-20 23:04:44,298 [execute] INFO git cat-file --batch-check 23:04:44 2022-09-20 23:04:44,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 23:04:44 2022-09-20 23:04:44,305 [execute] INFO git cat-file --batch 23:04:44 2022-09-20 23:04:44,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 23:04:44 2022-09-20 23:04:44,311 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 23:04:44 0.0.0 [Pipeline] } 23:04:44 $ docker exec --env ******** --env ******** 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent -k 23:04:44 unset SSH_AUTH_SOCK; 23:04:44 unset SSH_AGENT_PID; 23:04:44 echo Agent pid 79 killed; 23:04:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:04:44 + git semver [Pipeline] } 23:04:45 $ docker stop --time=1 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 23:04:46 $ docker rm -f 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:04:47 Stashed 1 file(s) [Pipeline] echo 23:04:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:47 provisioning config files... 23:04:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1961694364886332567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:47 ---> docker-login.sh 23:04:47 nexus3.edgexfoundry.org:10001 23:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:47 Configure a credential helper to remove this warning. See 23:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:47 23:04:47 Login Succeeded 23:04:47 nexus3.edgexfoundry.org:10002 23:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:47 Configure a credential helper to remove this warning. See 23:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:47 23:04:47 Login Succeeded 23:04:47 nexus3.edgexfoundry.org:10003 23:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:47 Configure a credential helper to remove this warning. See 23:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:47 23:04:47 Login Succeeded 23:04:47 nexus3.edgexfoundry.org:10004 23:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:47 Configure a credential helper to remove this warning. See 23:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:47 23:04:47 Login Succeeded 23:04:47 docker.io 23:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:48 Configure a credential helper to remove this warning. See 23:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:48 23:04:48 Login Succeeded 23:04:48 ---> docker-login.sh ends [Pipeline] } 23:04:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:48 ========================================================= 23:04:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:04:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:04:48 Sending build context to Docker daemon 20.79MB 23:04:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:04:48 Step 2/13 : FROM ${BASE} AS builder 23:04:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:04:48 2408cc74d12b: Pulling fs layer 23:04:48 ea60b727a1ce: Pulling fs layer 23:04:48 30c4a7721957: Pulling fs layer 23:04:48 370296b7ddb6: Pulling fs layer 23:04:48 7c6cee850709: Pulling fs layer 23:04:48 39a5fcdaea64: Pulling fs layer 23:04:48 d94ebbe4e438: Pulling fs layer 23:04:48 bcfd1f05c69d: Pulling fs layer 23:04:48 59ccb84bbe0f: Pulling fs layer 23:04:48 370296b7ddb6: Waiting 23:04:48 7c6cee850709: Waiting 23:04:48 39a5fcdaea64: Waiting 23:04:48 bcfd1f05c69d: Waiting 23:04:48 d94ebbe4e438: Waiting 23:04:48 59ccb84bbe0f: Waiting 23:04:48 30c4a7721957: Download complete 23:04:48 ea60b727a1ce: Download complete 23:04:48 7c6cee850709: Download complete 23:04:48 39a5fcdaea64: Verifying Checksum 23:04:48 39a5fcdaea64: Download complete 23:04:48 2408cc74d12b: Verifying Checksum 23:04:48 2408cc74d12b: Download complete 23:04:48 d94ebbe4e438: Verifying Checksum 23:04:48 2408cc74d12b: Pull complete 23:04:49 ea60b727a1ce: Pull complete 23:04:49 30c4a7721957: Pull complete 23:04:49 59ccb84bbe0f: Verifying Checksum 23:04:49 59ccb84bbe0f: Download complete 23:04:49 bcfd1f05c69d: Verifying Checksum 23:04:49 bcfd1f05c69d: Download complete 23:04:49 370296b7ddb6: Verifying Checksum 23:04:49 370296b7ddb6: Download complete 23:04:53 370296b7ddb6: Pull complete 23:04:53 7c6cee850709: Pull complete 23:04:53 39a5fcdaea64: Pull complete 23:04:53 d94ebbe4e438: Pull complete 23:04:55 bcfd1f05c69d: Pull complete 23:04:56 59ccb84bbe0f: Pull complete 23:04:56 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:04:56 ---> a4fb48ad2a94 23:04:56 Step 3/13 : ARG MAKE="make build" 23:04:57 ---> Running in f3e96902b43e 23:04:57 Removing intermediate container f3e96902b43e 23:04:57 ---> 6355df845516 23:04:57 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:04:57 ---> Running in 092017b56ec9 23:04:57 Removing intermediate container 092017b56ec9 23:04:57 ---> 7182cde26d43 23:04:57 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:04:57 ---> Running in f26ad32f390e 23:04:57 Removing intermediate container f26ad32f390e 23:04:57 ---> ced099b295a6 23:04:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:04:57 ---> Running in 6c8d2ab2ea6f 23:04:57 Removing intermediate container 6c8d2ab2ea6f 23:04:57 ---> 85f615edc206 23:04:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:04:57 ---> Running in fea7f68ccf5f 23:04:58 Removing intermediate container fea7f68ccf5f 23:04:58 ---> fc47dc07ddf7 23:04:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:58 ---> Running in 5fd3dbc2f213 23:04:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:04:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:04:59 OK: 211 MiB in 51 packages 23:05:00 Removing intermediate container 5fd3dbc2f213 23:05:00 ---> c5978a29916c 23:05:00 Step 9/13 : WORKDIR /device-onvif-camera 23:05:00 ---> Running in a4bf8400510b 23:05:00 Removing intermediate container a4bf8400510b 23:05:00 ---> 8462db6ae6cc 23:05:00 Step 10/13 : COPY go.mod vendor* ./ 23:05:00 ---> 5bd7cc47d876 23:05:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:00 ---> Running in d285663cfcd0 23:05:02 Still waiting to schedule task 23:05:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-30011’ is offline 23:05:18 Removing intermediate container d285663cfcd0 23:05:18 ---> 376ffafef183 23:05:18 Step 12/13 : COPY . . 23:05:18 ---> fd53ecce29f8 23:05:18 Step 13/13 : RUN ${MAKE} 23:05:18 ---> Running in 7173e58db16d 23:05:18 noop 23:05:18 Removing intermediate container 7173e58db16d 23:05:18 ---> 964638c2865e 23:05:18 Successfully built 964638c2865e 23:05:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:19 + docker inspect -f . ci-base-image-x86_64 23:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:19 prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container 23:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:05:19 $ docker top 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:19 + go version 23:05:19 go version go1.18.3 linux/amd64 [Pipeline] } 23:05:19 $ docker stop --time=1 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 23:05:21 $ docker rm -f 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:21 + docker inspect -f . ci-base-image-x86_64 23:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:21 prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container 23:05:21 $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:05:22 $ docker top 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:22 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh 23:05:22 + make test 23:05:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:05:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:05:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:05:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.6% of statements 23:05:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:05:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.151s coverage: 13.8% of statements 23:05:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:05:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:47 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:47 $ docker stop --time=1 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 23:05:48 $ docker rm -f 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:05:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:50 + ls -al . 23:05:50 total 232 23:05:50 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 23:05 . 23:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 .. 23:05:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 23:05 .git 23:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:04 .github 23:05:50 -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 23:04 .gitignore 23:05:50 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 23:04 .golangci.yml 23:05:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 23:04 .semver 23:05:50 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 23:04 Attribution.txt 23:05:50 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 23:04 CHANGELOG.md 23:05:50 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 23:04 Dockerfile 23:05:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 23:04 GOVERNANCE.md 23:05:50 -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 23:04 Jenkinsfile 23:05:50 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 23:04 LICENSE 23:05:50 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 23:04 Makefile 23:05:50 -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 23:04 OWNERS.md 23:05:50 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 23:04 README.md 23:05:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 23:04 VERSION 23:05:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 23:04 bin 23:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:04 cmd 23:05:50 -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 23:05 coverage.out 23:05:50 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 23:04 doc 23:05:50 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 23:04 go.mod 23:05:50 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 23:04 go.sum 23:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 internal 23:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 snap 23:05:50 -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:50 + 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=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a --label arch=amd64 --label version=0.0.0 . 23:05:50 Sending build context to Docker daemon 20.87MB 23:05:50 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:05:50 Step 2/26 : FROM ${BASE} AS builder 23:05:50 ---> 964638c2865e 23:05:50 Step 3/26 : ARG MAKE="make build" 23:05:50 ---> Running in 3dbd1b6e9c41 23:05:50 Removing intermediate container 3dbd1b6e9c41 23:05:50 ---> 33eff2487a05 23:05:50 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:05:50 ---> Running in 61717bed2035 23:05:51 Removing intermediate container 61717bed2035 23:05:51 ---> 6df41864ca2f 23:05:51 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:05:51 ---> Running in 29c216086993 23:05:51 Removing intermediate container 29c216086993 23:05:51 ---> f4512af2de0b 23:05:51 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:05:51 ---> Running in cfc8e1eeef11 23:05:51 Removing intermediate container cfc8e1eeef11 23:05:51 ---> 1ff7e71dccde 23:05:51 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:05:51 ---> Running in 393e8057cc70 23:05:51 Removing intermediate container 393e8057cc70 23:05:51 ---> 7bc692b32b06 23:05:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:05:51 ---> Running in 39dadcadaaba 23:05:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:05:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:05:53 OK: 211 MiB in 51 packages 23:05:53 Removing intermediate container 39dadcadaaba 23:05:53 ---> 6bfeb2056b75 23:05:53 Step 9/26 : WORKDIR /device-onvif-camera 23:05:53 ---> Running in 6c023301b5e0 23:05:53 Removing intermediate container 6c023301b5e0 23:05:53 ---> 6c2c691b1a93 23:05:53 Step 10/26 : COPY go.mod vendor* ./ 23:05:53 ---> fba0c2f8eb81 23:05:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:53 ---> Running in fa48211d1141 23:05:54 Removing intermediate container fa48211d1141 23:05:54 ---> 21c89d0e2d36 23:05:54 Step 12/26 : COPY . . 23:05:55 ---> 8924f91f991a 23:05:55 Step 13/26 : RUN ${MAKE} 23:05:55 ---> Running in 84351872c2f5 23:05:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:06:17 Removing intermediate container 84351872c2f5 23:06:17 ---> 56c68d0c6317 23:06:17 Step 14/26 : FROM alpine:3.16 23:06:17 3.16: Pulling from library/alpine 23:06:17 213ec9aee27d: Pulling fs layer 23:06:17 213ec9aee27d: Verifying Checksum 23:06:17 213ec9aee27d: Download complete 23:06:17 213ec9aee27d: Pull complete 23:06:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:06:17 Status: Downloaded newer image for alpine:3.16 23:06:17 ---> 9c6f07244728 23:06:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:06:17 ---> Running in fc238d38ef73 23:06:17 Removing intermediate container fc238d38ef73 23:06:17 ---> 9ce5741c3125 23:06:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:06:17 ---> Running in 7824e8ce9f8b 23:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:06:17 (1/6) Installing dumb-init (1.2.5-r1) 23:06:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:06:17 (3/6) Installing libsodium (1.0.18-r0) 23:06:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:06:17 (5/6) Installing libzmq (4.3.4-r0) 23:06:17 (6/6) Installing zeromq (4.3.4-r0) 23:06:17 Executing busybox-1.35.0-r17.trigger 23:06:17 OK: 8 MiB in 20 packages 23:06:17 Removing intermediate container 7824e8ce9f8b 23:06:17 ---> 98f01f33f798 23:06:17 Step 17/26 : WORKDIR / 23:06:17 ---> Running in 5acd91bd2d4b 23:06:17 Removing intermediate container 5acd91bd2d4b 23:06:17 ---> 7413c57def3d 23:06:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:06:17 ---> cca9d5aae2c1 23:06:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:06:17 ---> a021f2abe872 23:06:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:06:18 ---> 768d84672195 23:06:18 Step 21/26 : EXPOSE 59984 23:06:18 ---> Running in b06bbda1de65 23:06:18 Removing intermediate container b06bbda1de65 23:06:18 ---> df6e2428e3ce 23:06:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:06:18 ---> Running in b69f641e9dcb 23:06:18 Removing intermediate container b69f641e9dcb 23:06:18 ---> 24a2892ca295 23:06:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:06:18 ---> Running in 505c90b24a61 23:06:18 Removing intermediate container 505c90b24a61 23:06:18 ---> d6ad45007d03 23:06:18 Step 24/26 : LABEL arch=amd64 23:06:18 ---> Running in b541869247cf 23:06:18 Removing intermediate container b541869247cf 23:06:18 ---> 3765d32166c7 23:06:18 Step 25/26 : LABEL git_sha=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a 23:06:18 ---> Running in 3911cab62992 23:06:18 Removing intermediate container 3911cab62992 23:06:18 ---> 3d9cfc72629a 23:06:18 Step 26/26 : LABEL version=0.0.0 23:06:18 ---> Running in 17f302472a98 23:06:18 Removing intermediate container 17f302472a98 23:06:18 ---> 1ea4536d8efe 23:06:18 [Warning] One or more build-args [ARCH] were not consumed 23:06:18 Successfully built 1ea4536d8efe 23:06:18 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:19 23:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:19 latest: Pulling from edgex-lftools-log-publisher 23:06:19 5eb5b503b376: Pulling fs layer 23:06:19 5c69ac0246d0: Pulling fs layer 23:06:19 ec43610c2a17: Pulling fs layer 23:06:19 3a2ae6a8a46f: Pulling fs layer 23:06:19 33b1e0a273af: Pulling fs layer 23:06:19 3a2ae6a8a46f: Waiting 23:06:19 5d3b04190fa2: Pulling fs layer 23:06:19 2f39f015ded8: Pulling fs layer 23:06:19 33b1e0a273af: Waiting 23:06:19 5d3b04190fa2: Waiting 23:06:19 2f39f015ded8: Waiting 23:06:19 5c69ac0246d0: Verifying Checksum 23:06:19 5c69ac0246d0: Download complete 23:06:19 33b1e0a273af: Verifying Checksum 23:06:19 33b1e0a273af: Download complete 23:06:19 5d3b04190fa2: Verifying Checksum 23:06:19 5d3b04190fa2: Download complete 23:06:19 ec43610c2a17: Download complete 23:06:19 5eb5b503b376: Verifying Checksum 23:06:19 5eb5b503b376: Download complete 23:06:20 2f39f015ded8: Download complete 23:06:20 5eb5b503b376: Pull complete 23:06:21 5c69ac0246d0: Pull complete 23:06:21 ec43610c2a17: Pull complete 23:06:21 3a2ae6a8a46f: Pull complete 23:06:21 33b1e0a273af: Pull complete 23:06:21 5d3b04190fa2: Pull complete 23:06:26 2f39f015ded8: Pull complete 23:06:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:26 prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container 23:06:26 $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:06:27 $ docker top ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:28 ---> job-cost.sh 23:06:28 lf-activate-venv: SKIPPING 23:06:28 INFO: No Stack... 23:06:28 INFO: Retrieving Pricing Info for: v3-standard-8 23:06:29 INFO: Archiving Costs [Pipeline] sh 23:06:29 + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv 23:06:29 + cut -d, -f6 [Pipeline] lock 23:06:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] 23:06:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] did not exist. Created. 23:06:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:06:29 + echo total: 0.2199999988079071 [Pipeline] stash 23:06:29 Stashed 1 file(s) [Pipeline] } 23:06:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:06:29 $ docker stop --time=1 ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a 23:06:30 $ docker rm -f ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:06:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-30014 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws 23:06:38 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 23:06:39 Selected Git installation does not exist. Using Default 23:06:39 The recommended git tool is: NONE 23:06:45 using credential edgex-jenkins-ssh 23:06:45 Cloning the remote Git repository 23:06:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:06:45 > git init /w/workspace/device-onvif-camera/7 # timeout=10 23:06:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:06:45 > git --version # timeout=10 23:06:45 > git --version # 'git version 2.25.1' 23:06:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:06:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:06:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:06:48 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit cb8adc2a121b654032cd11a61f1f4d648e4e07e2 23:06:48 Merge succeeded, producing 64d4f836b6b10d226b67576ddd627f17e7300d2a 23:06:48 Checking out Revision 64d4f836b6b10d226b67576ddd627f17e7300d2a (PR-161) 23:06:48 > git config core.sparsecheckout # timeout=10 23:06:48 > git checkout -f cb8adc2a121b654032cd11a61f1f4d648e4e07e2 # timeout=10 23:06:48 > git remote # timeout=10 23:06:48 > git config --get remote.origin.url # timeout=10 23:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:48 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 23:06:48 > git rev-parse HEAD^{commit} # timeout=10 23:06:48 > git config core.sparsecheckout # timeout=10 23:06:48 > git checkout -f 64d4f836b6b10d226b67576ddd627f17e7300d2a # timeout=10 23:06:53 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" 23:06:53 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:06:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:06:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:53 Dload Upload Total Spent Left Speed 23:06:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76841 0 --:--:-- --:--:-- --:--:-- 77312 23:06:53 > git rev-list --no-walk ee863d80d5781c421c4d98fd3037029426b69d47 # timeout=10 [Pipeline] sh 23:06:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:06:55 + sudo tee /etc/docker/daemon.new 23:06:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:06:55 { 23:06:55 "registry-mirrors": [ 23:06:55 "https://nexus3.edgexfoundry.org:10001" 23:06:55 ], 23:06:55 "bip": "10.250.0.254/24", 23:06:55 "hosts": [ 23:06:55 "tcp://0.0.0.0:5555", 23:06:55 "unix:///var/run/docker.sock" 23:06:55 ], 23:06:55 "mtu": 1458, 23:06:55 "selinux-enabled": true, 23:06:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:06:55 } [Pipeline] sh 23:06:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:06:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:14 provisioning config files... 23:07:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config8732317880732413703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:14 ---> docker-login.sh 23:07:14 nexus3.edgexfoundry.org:10001 23:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:15 Configure a credential helper to remove this warning. See 23:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:15 23:07:15 Login Succeeded 23:07:15 nexus3.edgexfoundry.org:10002 23:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:15 Configure a credential helper to remove this warning. See 23:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:15 23:07:15 Login Succeeded 23:07:15 nexus3.edgexfoundry.org:10003 23:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:16 Configure a credential helper to remove this warning. See 23:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:16 23:07:16 Login Succeeded 23:07:16 nexus3.edgexfoundry.org:10004 23:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:16 Configure a credential helper to remove this warning. See 23:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:16 23:07:16 Login Succeeded 23:07:16 docker.io 23:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:17 Configure a credential helper to remove this warning. See 23:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:17 23:07:17 Login Succeeded 23:07:17 ---> docker-login.sh ends [Pipeline] } 23:07:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:07:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:18 ========================================================= 23:07:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:07:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:07:19 Sending build context to Docker daemon 14.27MB 23:07:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:07:19 Step 2/13 : FROM ${BASE} AS builder 23:07:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:19 b3c136eddcbf: Pulling fs layer 23:07:19 c0a3192eca97: Pulling fs layer 23:07:19 a050256f5b6f: Pulling fs layer 23:07:19 656be50a0ddc: Pulling fs layer 23:07:19 2bbca73fdf42: Pulling fs layer 23:07:19 46d945488cbd: Pulling fs layer 23:07:19 8a5474983e97: Pulling fs layer 23:07:19 329c88fbcd65: Pulling fs layer 23:07:19 656be50a0ddc: Waiting 23:07:19 2bbca73fdf42: Waiting 23:07:19 46d945488cbd: Waiting 23:07:19 8a5474983e97: Waiting 23:07:19 329c88fbcd65: Waiting 23:07:19 a050256f5b6f: Verifying Checksum 23:07:19 a050256f5b6f: Download complete 23:07:19 c0a3192eca97: Verifying Checksum 23:07:19 c0a3192eca97: Download complete 23:07:19 2bbca73fdf42: Verifying Checksum 23:07:19 2bbca73fdf42: Download complete 23:07:19 46d945488cbd: Download complete 23:07:19 b3c136eddcbf: Download complete 23:07:20 b3c136eddcbf: Pull complete 23:07:20 329c88fbcd65: Verifying Checksum 23:07:20 329c88fbcd65: Download complete 23:07:20 c0a3192eca97: Pull complete 23:07:21 a050256f5b6f: Pull complete 23:07:21 8a5474983e97: Verifying Checksum 23:07:21 8a5474983e97: Download complete 23:07:22 656be50a0ddc: Verifying Checksum 23:07:22 656be50a0ddc: Download complete 23:07:34 656be50a0ddc: Pull complete 23:07:35 2bbca73fdf42: Pull complete 23:07:35 46d945488cbd: Pull complete 23:07:42 8a5474983e97: Pull complete 23:07:43 329c88fbcd65: Pull complete 23:07:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:07:43 ---> ff4287adb874 23:07:43 Step 3/13 : ARG MAKE="make build" 23:07:45 ---> Running in 8774b74ee32e 23:07:45 Removing intermediate container 8774b74ee32e 23:07:45 ---> 3eaf20d2fcf5 23:07:45 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:07:45 ---> Running in 36eb28838e44 23:07:45 Removing intermediate container 36eb28838e44 23:07:45 ---> 3e47c1e9aa48 23:07:45 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:07:46 ---> Running in a8f397b48acd 23:07:46 Removing intermediate container a8f397b48acd 23:07:46 ---> 324ccfa277d2 23:07:46 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:07:46 ---> Running in 752c1618e0e4 23:07:46 Removing intermediate container 752c1618e0e4 23:07:46 ---> 0cd22a194d59 23:07:46 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:07:46 ---> Running in 81e21d41580a 23:07:50 Removing intermediate container 81e21d41580a 23:07:50 ---> 7c696f9df21b 23:07:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:07:50 ---> Running in fb28ff49ab78 23:07:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:07:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:07:52 OK: 221 MiB in 51 packages 23:07:53 Removing intermediate container fb28ff49ab78 23:07:53 ---> f22708fd4a57 23:07:53 Step 9/13 : WORKDIR /device-onvif-camera 23:07:53 ---> Running in 88db6c378669 23:07:53 Removing intermediate container 88db6c378669 23:07:53 ---> 7da80de3bbde 23:07:53 Step 10/13 : COPY go.mod vendor* ./ 23:07:54 ---> 51527c04cf13 23:07:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:07:54 ---> Running in 2e2d109d8898 23:08:51 Removing intermediate container 2e2d109d8898 23:08:51 ---> 7dfa6233bcf4 23:08:51 Step 12/13 : COPY . . 23:08:51 ---> cf385d4500e6 23:08:51 Step 13/13 : RUN ${MAKE} 23:08:51 ---> Running in 5f24fc52799c 23:08:51 noop 23:08:51 Removing intermediate container 5f24fc52799c 23:08:51 ---> 51be1483075a 23:08:51 Successfully built 51be1483075a 23:08:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:51 + docker inspect -f . ci-base-image-arm64 23:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:52 prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container 23:08:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:08:53 $ docker top c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:54 + go version 23:08:54 go version go1.18.3 linux/arm64 [Pipeline] } 23:08:54 $ docker stop --time=1 c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 23:08:56 $ docker rm -f c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:56 + docker inspect -f . ci-base-image-arm64 23:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container 23:08:56 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:08:58 $ docker top 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 23:08:59 + make test 23:08:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:09:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:10:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:10:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.213s coverage: 28.6% of statements 23:10:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:11:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.697s coverage: 13.8% of statements 23:11:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:11:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:11:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:11:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:11:27 ./bin/test-attribution-txt.sh [Pipeline] echo 23:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:11:27 $ docker stop --time=1 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a 23:11:29 $ docker rm -f 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a [Pipeline] // withDockerContainer [Pipeline] sh 23:11:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:11:30 Warning: overwriting stash ‘coverage-report’ 23:11:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:11:31 + ls -al . 23:11:31 total 228 23:11:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 23:09 . 23:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 .. 23:11:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 23:06 .git 23:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:06 .github 23:11:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 23:06 .gitignore 23:11:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 23:06 .golangci.yml 23:11:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 23:06 Attribution.txt 23:11:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 23:06 CHANGELOG.md 23:11:31 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 23:06 Dockerfile 23:11:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 23:06 GOVERNANCE.md 23:11:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 23:06 Jenkinsfile 23:11:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 23:06 LICENSE 23:11:31 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 23:06 Makefile 23:11:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 23:06 OWNERS.md 23:11:31 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 23:06 README.md 23:11:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 23:04 VERSION 23:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 23:06 bin 23:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:06 cmd 23:11:31 -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 23:11 coverage.out 23:11:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 23:06 doc 23:11:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 23:06 go.mod 23:11:31 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 23:06 go.sum 23:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 internal 23:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 snap 23:11:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:32 + 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=64d4f836b6b10d226b67576ddd627f17e7300d2a --label arch=arm64 --label version=0.0.0 . 23:11:32 Sending build context to Docker daemon 14.35MB 23:11:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:11:32 Step 2/26 : FROM ${BASE} AS builder 23:11:32 ---> 51be1483075a 23:11:32 Step 3/26 : ARG MAKE="make build" 23:11:32 ---> Running in c4b90e80ff75 23:11:33 Removing intermediate container c4b90e80ff75 23:11:33 ---> d9de24165a06 23:11:33 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:11:33 ---> Running in ac5290d5cca0 23:11:33 Removing intermediate container ac5290d5cca0 23:11:33 ---> 6b6cc7d14de9 23:11:33 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:11:33 ---> Running in 827bf0209e5b 23:11:33 Removing intermediate container 827bf0209e5b 23:11:33 ---> 93247d1fecd5 23:11:33 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:11:34 ---> Running in 7a28b922fc56 23:11:34 Removing intermediate container 7a28b922fc56 23:11:34 ---> 1eeeca55ed04 23:11:34 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:34 ---> Running in a03000f2e556 23:11:36 Removing intermediate container a03000f2e556 23:11:36 ---> 33fc4bbe27f4 23:11:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:36 ---> Running in 956d77c23e69 23:11:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:11:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:11:38 OK: 221 MiB in 51 packages 23:11:39 Removing intermediate container 956d77c23e69 23:11:39 ---> 6af92b6fb9c1 23:11:39 Step 9/26 : WORKDIR /device-onvif-camera 23:11:39 ---> Running in ecd6949ca317 23:11:39 Removing intermediate container ecd6949ca317 23:11:39 ---> 36738d927f37 23:11:39 Step 10/26 : COPY go.mod vendor* ./ 23:11:40 ---> c7c9c3c4ebae 23:11:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:40 ---> Running in ba4fd9e6a59d 23:11:42 Removing intermediate container ba4fd9e6a59d 23:11:42 ---> 213e1856be67 23:11:42 Step 12/26 : COPY . . 23:11:44 ---> 1bd87b8df834 23:11:44 Step 13/26 : RUN ${MAKE} 23:11:44 ---> Running in e198358c8984 23:11:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:13:52 Removing intermediate container e198358c8984 23:13:52 ---> d76cabccf12f 23:13:52 Step 14/26 : FROM alpine:3.16 23:13:53 3.16: Pulling from library/alpine 23:13:53 9b18e9b68314: Pulling fs layer 23:13:55 9b18e9b68314: Verifying Checksum 23:13:55 9b18e9b68314: Download complete 23:13:55 9b18e9b68314: Pull complete 23:13:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:13:55 Status: Downloaded newer image for alpine:3.16 23:13:55 ---> a6215f271958 23:13:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:13:55 ---> Running in 74b9c9835fa6 23:13:56 Removing intermediate container 74b9c9835fa6 23:13:56 ---> 3c9c64702a6d 23:13:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:13:56 ---> Running in f3426631b20b 23:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:14:04 (1/6) Installing dumb-init (1.2.5-r1) 23:14:04 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:14:04 (3/6) Installing libsodium (1.0.18-r0) 23:14:04 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:14:04 (5/6) Installing libzmq (4.3.4-r0) 23:14:04 (6/6) Installing zeromq (4.3.4-r0) 23:14:04 Executing busybox-1.35.0-r17.trigger 23:14:04 OK: 8 MiB in 20 packages 23:14:05 Removing intermediate container f3426631b20b 23:14:05 ---> eadfd80f6e35 23:14:05 Step 17/26 : WORKDIR / 23:14:05 ---> Running in 8d072fc1e0cd 23:14:06 Removing intermediate container 8d072fc1e0cd 23:14:06 ---> 37ae313eea3e 23:14:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:14:07 ---> e410f1bb1b24 23:14:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:14:08 ---> e8b85603315d 23:14:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:14:08 ---> 44c538350f0c 23:14:08 Step 21/26 : EXPOSE 59984 23:14:08 ---> Running in d332b1d11688 23:14:09 Removing intermediate container d332b1d11688 23:14:09 ---> 0e481094f349 23:14:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:14:09 ---> Running in f193f0bedd0f 23:14:09 Removing intermediate container f193f0bedd0f 23:14:09 ---> d3a26eaa13f4 23:14:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:14:09 ---> Running in a95b20159d69 23:14:10 Removing intermediate container a95b20159d69 23:14:10 ---> 1db8e34e887c 23:14:10 Step 24/26 : LABEL arch=arm64 23:14:10 ---> Running in b109c306f089 23:14:10 Removing intermediate container b109c306f089 23:14:10 ---> 4c362637bfd6 23:14:10 Step 25/26 : LABEL git_sha=64d4f836b6b10d226b67576ddd627f17e7300d2a 23:14:10 ---> Running in 48b36946f85a 23:14:10 Removing intermediate container 48b36946f85a 23:14:10 ---> 8cd36956f962 23:14:10 Step 26/26 : LABEL version=0.0.0 23:14:10 ---> Running in 3b78546c8efd 23:14:11 Removing intermediate container 3b78546c8efd 23:14:11 ---> 3d416269e08f 23:14:11 [Warning] One or more build-args [ARCH] were not consumed 23:14:11 Successfully built 3d416269e08f 23:14:11 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:14:11 23:14:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:14:12 arm64: Pulling from edgex-lftools-log-publisher 23:14:12 8998bd30e6a1: Pulling fs layer 23:14:12 04944245beec: Pulling fs layer 23:14:12 699f458cf7ca: Pulling fs layer 23:14:12 765212b225bb: Pulling fs layer 23:14:12 f23df028b6ca: Pulling fs layer 23:14:12 d65c8cfc05b1: Pulling fs layer 23:14:12 2437ff75d9bd: Pulling fs layer 23:14:12 f23df028b6ca: Waiting 23:14:12 d65c8cfc05b1: Waiting 23:14:12 2437ff75d9bd: Waiting 23:14:12 765212b225bb: Waiting 23:14:12 04944245beec: Verifying Checksum 23:14:12 04944245beec: Download complete 23:14:12 765212b225bb: Verifying Checksum 23:14:12 765212b225bb: Download complete 23:14:12 f23df028b6ca: Verifying Checksum 23:14:12 f23df028b6ca: Download complete 23:14:12 d65c8cfc05b1: Verifying Checksum 23:14:12 d65c8cfc05b1: Download complete 23:14:12 699f458cf7ca: Verifying Checksum 23:14:12 699f458cf7ca: Download complete 23:14:13 8998bd30e6a1: Verifying Checksum 23:14:13 8998bd30e6a1: Download complete 23:14:15 2437ff75d9bd: Download complete 23:14:17 8998bd30e6a1: Pull complete 23:14:18 04944245beec: Pull complete 23:14:19 699f458cf7ca: Pull complete 23:14:19 765212b225bb: Pull complete 23:14:20 f23df028b6ca: Pull complete 23:14:20 d65c8cfc05b1: Pull complete 23:14:35 2437ff75d9bd: Pull complete 23:14:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:14:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:36 prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container 23:14:36 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:14:38 $ docker top cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:39 ---> job-cost.sh 23:14:39 lf-activate-venv: SKIPPING 23:14:39 INFO: No Stack... 23:14:39 INFO: Retrieving Pricing Info for: v3-standard-4 23:14:40 INFO: Archiving Costs [Pipeline] sh 23:14:41 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv 23:14:41 + cut -d, -f6 [Pipeline] lock 23:14:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] 23:14:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] did not exist. Created. 23:14:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:14:42 /w/workspace/device-onvif-camera/7@tmp/durable-f6f33d30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:14:43 + echo total: 0.10999999940395355 [Pipeline] stash 23:14:43 Warning: overwriting stash ‘stack-cost’ 23:14:43 Stashed 1 file(s) [Pipeline] } 23:14:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:14:43 $ docker stop --time=1 cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 23:14:44 $ docker rm -f cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:14:45 provisioning config files... 23:14:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config4606814301071685660tmp [Pipeline] { [Pipeline] sh 23:14:45 + set +x 23:14:45 + curl -s https://codecov.io/bash 23:14:45 + bash -s -- 23:14:45 23:14:45 _____ _ 23:14:45 / ____| | | 23:14:45 | | ___ __| | ___ ___ _____ __ 23:14:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:14:45 | |___| (_) | (_| | __/ (_| (_) \ V / 23:14:45 \_____\___/ \__,_|\___|\___\___/ \_/ 23:14:45 Bash-1.0.6 23:14:45 23:14:45 23:14:45 ==> git version 2.25.1 found 23:14:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:14:45 Release-Date: 2020-01-08 23:14:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:14:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:14:45 ==> Jenkins CI detected. 23:14:45 current dir:  /w/workspace/undry_device-onvif-camera_PR-161 23:14:45 project root: . 23:14:45 --> token set from env 23:14:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:14:45 ==> Running gcov in . (disable via -X gcov) 23:14:45 ==> Python coveragepy not found 23:14:45 ==> Searching for coverage reports in: 23:14:45 + . 23:14:45 -> Found 1 reports 23:14:45 ==> Detecting git/mercurial file structure 23:14:45 ==> Reading reports 23:14:45 + ./coverage.out bytes=77283 23:14:45 ==> Appending adjustments 23:14:45 https://docs.codecov.io/docs/fixing-reports 23:14:45 + Found adjustments 23:14:45 ==> Gzipping contents 23:14:45 12K /tmp/codecov.Aa7rFK.gz 23:14:45 ==> Uploading reports 23:14:45 url: https://codecov.io 23:14:45 query: branch=PR-161&commit=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 23:14:45 -> Pinging Codecov 23:14:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 23:14:46 -> Uploading to 23:14:46 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/F29A59C45E3A92E06B3E522C9905F8EF/4e31cd800a5b1ff0ea34fe4c0be91ff04168766a/ff29e977-0119-4bea-a1bb-797c1a9b4ad2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T231445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc171d31fe24f895d1fed7660f4bac3d3df3032f451be6b1240d82812520c9ba 23:14:46 % Total % Received % Xferd Average Speed Time Time Time Current 23:14:46 Dload Upload Total Spent Left Speed 23:14:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10559 0 0 100 10559 0 31613 --:--:-- --:--:-- --:--:-- 31613 23:14:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] } 23:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:14:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] 23:14:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 23:14:47 total 16 23:14:47 drwxr-xr-x 3 root root 4096 Sep 20 23:06 . 23:14:47 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 23:06 .. 23:14:47 drwxr-xr-x 2 root root 4096 Sep 20 23:06 cost 23:14:47 -rw-r--r-- 1 root root 91 Sep 20 23:06 cost.csv 23:14:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives 23:14:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 23:14:47 total 16 23:14:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 23:06 . 23:14:47 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 23:06 .. 23:14:47 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 23:06 cost 23:14:47 -rw-r--r-- 1 jenkins jenkins 91 Sep 20 23:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:14:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:14:48 ---> package-listing.sh 23:14:48 ++ facter osfamily 23:14:48 ++ tr '[:upper:]' '[:lower:]' 23:14:48 + OS_FAMILY=debian 23:14:48 + workspace=/w/workspace/undry_device-onvif-camera_PR-161 23:14:48 + START_PACKAGES=/tmp/packages_start.txt 23:14:48 + END_PACKAGES=/tmp/packages_end.txt 23:14:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:14:48 + PACKAGES=/tmp/packages_start.txt 23:14:48 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 23:14:48 + PACKAGES=/tmp/packages_end.txt 23:14:48 + case "${OS_FAMILY}" in 23:14:48 + dpkg -l 23:14:48 + grep '^ii' 23:14:48 + '[' -f /tmp/packages_start.txt ']' 23:14:48 + '[' -f /tmp/packages_end.txt ']' 23:14:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:14:48 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 23:14:48 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ 23:14:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo 23:14:48 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:14:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:49 prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container 23:14:49 $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:14:49 $ docker top 3318ac843e596dec163d294c91d3b34d4e6ae1baf4f7984c018a59f888a4ec03 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:50 + touch /tmp/pre-build-complete [Pipeline] sh 23:14:50 + mkdir -p /var/log/sysstat [Pipeline] sh 23:14:50 + ls /var/log/sa-host 23:14:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:50 provisioning config files... 23:14:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5084030506429529290tmp [Pipeline] { [Pipeline] echo 23:14:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:14:51 ---> create-netrc.sh [Pipeline] } 23:14:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:14:51 ---> python-tools-install.sh [Pipeline] echo 23:14:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:14:51 ---> sudo-logs.sh 23:14:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:14:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:14:52 ---> job-cost.sh 23:14:52 lf-activate-venv: SKIPPING 23:14:52 DEBUG: total: 0.2199999988079071 23:14:52 INFO: Retrieving Stack Cost... 23:14:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:14:53 INFO: Archiving Costs [Pipeline] echo 23:14:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:14:53 ---> logs-deploy.sh 23:14:53 lf-activate-venv: SKIPPING 23:14:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/7 23:14:53 INFO: archiving workspace using pattern(s): 23:14:54 Archives upload complete. 23:14:54 INFO: archiving logs to Nexus 23:14:55 ---> uname -a: 23:14:55 Linux prd-ubuntu20-04-docker-8c-8g-30013 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 23:14:55 23:14:55 23:14:55 ---> lscpu: 23:14:55 Architecture: x86_64 23:14:55 CPU op-mode(s): 32-bit, 64-bit 23:14:55 Byte Order: Little Endian 23:14:55 Address sizes: 40 bits physical, 48 bits virtual 23:14:55 CPU(s): 8 23:14:55 On-line CPU(s) list: 0-7 23:14:55 Thread(s) per core: 1 23:14:55 Core(s) per socket: 1 23:14:55 Socket(s): 8 23:14:55 NUMA node(s): 1 23:14:55 Vendor ID: AuthenticAMD 23:14:55 CPU family: 23 23:14:55 Model: 49 23:14:55 Model name: AMD EPYC-Rome Processor 23:14:55 Stepping: 0 23:14:55 CPU MHz: 2799.998 23:14:55 BogoMIPS: 5599.99 23:14:55 Virtualization: AMD-V 23:14:55 Hypervisor vendor: KVM 23:14:55 Virtualization type: full 23:14:55 L1d cache: 256 KiB 23:14:55 L1i cache: 256 KiB 23:14:55 L2 cache: 4 MiB 23:14:55 L3 cache: 128 MiB 23:14:55 NUMA node0 CPU(s): 0-7 23:14:55 Vulnerability Itlb multihit: Not affected 23:14:55 Vulnerability L1tf: Not affected 23:14:55 Vulnerability Mds: Not affected 23:14:55 Vulnerability Meltdown: Not affected 23:14:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:14:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:14:55 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:14:55 Vulnerability Srbds: Not affected 23:14:55 Vulnerability Tsx async abort: Not affected 23:14:55 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 23:14:55 23:14:55 23:14:55 ---> nproc: 23:14:55 8 23:14:55 23:14:55 23:14:55 ---> df -h: 23:14:55 Filesystem Size Used Avail Use% Mounted on 23:14:55 overlay 155G 11G 145G 8% / 23:14:55 tmpfs 64M 0 64M 0% /dev 23:14:55 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:14:55 shm 64M 0 64M 0% /dev/shm 23:14:55 /dev/vda1 155G 11G 145G 8% /facter-os 23:14:55 23:14:55 23:14:55 ---> sar -b -r -n DEV: 23:14:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-30013) 09/20/22 _x86_64_ (8 CPU) 23:14:55 23:14:55 23:03:51 LINUX RESTART (8 CPU) 23:14:55 23:14:55 23:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:14:55 23:05:01 433.38 59.46 373.92 0.00 7960.41 199035.49 0.00 23:14:55 23:06:01 177.86 1.27 176.59 0.00 13.73 46499.97 0.00 23:14:55 23:07:01 114.81 0.02 114.80 0.00 2.80 34230.69 0.00 23:14:55 23:08:01 2.08 0.00 2.08 0.00 0.00 26.81 0.00 23:14:55 23:09:01 1.35 0.02 1.33 0.00 0.13 15.06 0.00 23:14:55 23:10:01 1.53 0.00 1.53 0.00 0.00 17.60 0.00 23:14:55 23:11:01 1.10 0.00 1.10 0.00 0.00 13.73 0.00 23:14:55 23:12:01 1.38 0.00 1.38 0.00 0.00 17.60 0.00 23:14:55 23:13:01 0.97 0.00 0.97 0.00 0.00 10.53 0.00 23:14:55 23:14:01 1.60 0.00 1.60 0.00 0.00 19.60 0.00 23:14:55 Average: 73.61 6.08 67.53 0.00 797.68 27988.55 0.00 23:14:55 23:14:55 23:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:14:55 23:05:01 28808220 31741232 557792 1.70 118872 3083752 2177508 6.42 1153512 2539180 668 23:14:55 23:06:01 27980548 31609496 680044 2.07 167992 3652388 2582840 7.61 1539760 2890840 127364 23:14:55 23:07:01 27539408 31771708 520508 1.58 178012 4199876 1785552 5.26 1370536 3458288 376 23:14:55 23:08:01 27539116 31771476 520356 1.58 178044 4199876 1785552 5.26 1369584 3458288 48 23:14:55 23:09:01 27547960 31780340 511508 1.56 178080 4199880 1806732 5.32 1361344 3458296 16 23:14:55 23:10:01 27548008 31780452 511376 1.56 178092 4199892 1806732 5.32 1361324 3458360 0 23:14:55 23:11:01 27549188 31781692 510096 1.55 178128 4199896 1806732 5.32 1360760 3458368 24 23:14:55 23:12:01 27549716 31782252 509512 1.55 178156 4199896 1806732 5.32 1360380 3458372 8 23:14:55 23:13:01 27549780 31782316 509588 1.55 178168 4199900 1806732 5.32 1360364 3458372 12 23:14:55 23:14:01 27549488 31782064 509764 1.55 178208 4199888 1806732 5.32 1360088 3458376 12 23:14:55 Average: 27716143 31758303 534054 1.62 171175 4033524 1917184 5.65 1359765 3309674 12853 23:14:55 23:14:55 23:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:14:55 23:05:01 ens3 660.87 430.34 7596.89 105.43 0.00 0.00 0.00 0.00 23:14:55 23:05:01 veth5df7c40 8.72 9.57 0.85 10.97 0.00 0.00 0.00 0.00 23:14:55 23:05:01 lo 7.27 7.27 0.70 0.70 0.00 0.00 0.00 0.00 23:14:55 23:05:01 docker0 26.03 27.45 2.05 157.19 0.00 0.00 0.00 0.00 23:14:55 23:06:01 ens3 212.95 168.41 1563.13 70.68 0.00 0.00 0.00 0.00 23:14:55 23:06:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 23:14:55 23:06:01 vethb78430c 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 23:14:55 23:06:01 docker0 123.59 153.20 10.03 1520.74 0.00 0.00 0.00 0.00 23:14:55 23:07:01 ens3 132.98 98.68 2630.67 62.88 0.00 0.00 0.00 0.00 23:14:55 23:07:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 23:14:55 23:07:01 docker0 2.35 5.10 0.16 57.93 0.00 0.00 0.00 0.00 23:14:55 23:08:01 ens3 6.27 3.48 13.00 0.24 0.00 0.00 0.00 0.00 23:14:55 23:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:09:01 ens3 0.05 0.07 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:10:01 ens3 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 23:14:55 23:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:11:01 ens3 0.48 0.35 0.26 0.21 0.00 0.00 0.00 0.00 23:14:55 23:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:12:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:13:01 ens3 0.10 0.05 0.01 0.00 0.00 0.00 0.00 0.00 23:14:55 23:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 23:14:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:14:55 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:14:55 Average: ens3 101.41 70.18 1180.39 23.95 0.00 0.00 0.00 0.00 23:14:55 Average: lo 1.02 1.02 0.10 0.10 0.00 0.00 0.00 0.00 23:14:55 Average: docker0 15.20 18.58 1.22 173.61 0.00 0.00 0.00 0.00 23:14:55 23:14:55 23:14:55 ---> sar -P ALL: 23:14:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-30013) 09/20/22 _x86_64_ (8 CPU) 23:14:55 23:14:55 23:03:51 LINUX RESTART (8 CPU) 23:14:55 23:14:55 23:04:01 CPU %user %nice %system %iowait %steal %idle 23:14:55 23:05:01 all 11.32 0.00 4.75 1.94 0.07 81.92 23:14:55 23:05:01 0 13.30 0.00 4.10 1.41 0.07 81.12 23:14:55 23:05:01 1 12.95 0.00 5.30 0.59 0.07 81.09 23:14:55 23:05:01 2 11.98 0.00 5.52 5.55 0.07 76.88 23:14:55 23:05:01 3 10.31 0.00 4.41 2.11 0.07 83.10 23:14:55 23:05:01 4 9.15 0.00 4.65 2.33 0.07 83.80 23:14:55 23:05:01 5 12.68 0.00 4.31 1.73 0.05 81.23 23:14:55 23:05:01 6 11.44 0.00 4.32 0.66 0.07 83.51 23:14:55 23:05:01 7 8.71 0.00 5.40 1.15 0.07 84.68 23:14:55 23:06:01 all 34.57 0.00 6.43 1.07 0.08 57.84 23:14:55 23:06:01 0 33.52 0.00 7.35 2.48 0.07 56.58 23:14:55 23:06:01 1 35.13 0.00 6.15 0.23 0.08 58.41 23:14:55 23:06:01 2 34.12 0.00 6.13 0.15 0.08 59.51 23:14:55 23:06:01 3 33.37 0.00 7.28 1.96 0.08 57.31 23:14:55 23:06:01 4 33.85 0.00 5.84 2.29 0.05 57.97 23:14:55 23:06:01 5 35.27 0.00 6.11 0.14 0.07 58.41 23:14:55 23:06:01 6 36.53 0.00 5.62 0.08 0.07 57.69 23:14:55 23:06:01 7 34.74 0.00 6.98 1.25 0.17 56.87 23:14:55 23:07:01 all 13.74 0.00 2.77 0.74 0.05 82.71 23:14:55 23:07:01 0 12.81 0.00 3.44 3.59 0.05 80.11 23:14:55 23:07:01 1 14.07 0.00 2.52 0.18 0.03 83.20 23:14:55 23:07:01 2 13.71 0.00 2.32 0.17 0.03 83.78 23:14:55 23:07:01 3 15.38 0.00 2.93 0.02 0.05 81.62 23:14:55 23:07:01 4 13.71 0.00 2.80 0.69 0.05 82.75 23:14:55 23:07:01 5 13.57 0.00 3.29 0.20 0.05 82.89 23:14:55 23:07:01 6 13.69 0.00 2.47 0.42 0.05 83.37 23:14:55 23:07:01 7 12.98 0.00 2.39 0.62 0.05 83.95 23:14:55 23:08:01 all 0.10 0.00 0.02 0.00 0.00 99.87 23:14:55 23:08:01 0 0.00 0.00 0.02 0.00 0.00 99.98 23:14:55 23:08:01 1 0.63 0.00 0.02 0.00 0.00 99.35 23:14:55 23:08:01 2 0.02 0.00 0.00 0.00 0.00 99.98 23:14:55 23:08:01 3 0.03 0.00 0.03 0.00 0.02 99.92 23:14:55 23:08:01 4 0.02 0.00 0.02 0.00 0.00 99.97 23:14:55 23:08:01 5 0.05 0.00 0.03 0.02 0.00 99.90 23:14:55 23:08:01 6 0.03 0.00 0.02 0.02 0.02 99.92 23:14:55 23:08:01 7 0.03 0.00 0.02 0.00 0.00 99.95 23:14:55 23:09:01 all 0.03 0.00 0.02 0.00 0.01 99.94 23:14:55 23:09:01 0 0.02 0.00 0.03 0.02 0.00 99.93 23:14:55 23:09:01 1 0.02 0.00 0.00 0.00 0.02 99.97 23:14:55 23:09:01 2 0.02 0.00 0.02 0.00 0.02 99.95 23:14:55 23:09:01 3 0.07 0.00 0.03 0.00 0.00 99.90 23:14:55 23:09:01 4 0.02 0.00 0.00 0.00 0.02 99.97 23:14:55 23:09:01 5 0.03 0.00 0.03 0.00 0.02 99.92 23:14:55 23:09:01 6 0.05 0.00 0.03 0.02 0.03 99.87 23:14:55 23:09:01 7 0.02 0.00 0.00 0.00 0.00 99.98 23:14:55 23:10:01 all 0.01 0.00 0.01 0.00 0.00 99.97 23:14:55 23:10:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:14:55 23:10:01 1 0.00 0.00 0.00 0.00 0.00 100.00 23:14:55 23:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 23:14:55 23:10:01 3 0.02 0.00 0.02 0.00 0.02 99.95 23:14:55 23:10:01 4 0.00 0.00 0.03 0.02 0.00 99.95 23:14:55 23:10:01 5 0.00 0.00 0.00 0.00 0.00 100.00 23:14:55 23:10:01 6 0.02 0.00 0.02 0.00 0.02 99.95 23:14:55 23:10:01 7 0.02 0.00 0.00 0.00 0.00 99.98 23:14:55 23:11:01 all 0.02 0.00 0.01 0.00 0.01 99.96 23:14:55 23:11:01 0 0.03 0.00 0.03 0.00 0.02 99.92 23:14:55 23:11:01 1 0.02 0.00 0.00 0.00 0.02 99.97 23:14:55 23:11:01 2 0.07 0.00 0.00 0.00 0.00 99.93 23:14:55 23:11:01 3 0.02 0.00 0.02 0.00 0.00 99.97 23:14:55 23:11:01 4 0.02 0.00 0.00 0.02 0.02 99.95 23:14:55 23:11:01 5 0.03 0.00 0.00 0.02 0.00 99.95 23:14:55 23:11:01 6 0.00 0.00 0.02 0.00 0.02 99.97 23:14:55 23:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:14:55 23:12:01 all 0.01 0.00 0.02 0.01 0.00 99.96 23:14:55 23:12:01 0 0.02 0.00 0.02 0.02 0.00 99.95 23:14:55 23:12:01 1 0.02 0.00 0.02 0.00 0.00 99.97 23:14:55 23:12:01 2 0.02 0.00 0.02 0.00 0.00 99.97 23:14:55 23:12:01 3 0.00 0.00 0.05 0.00 0.02 99.93 23:14:55 23:12:01 4 0.02 0.00 0.02 0.02 0.00 99.95 23:14:55 23:12:01 5 0.00 0.00 0.00 0.02 0.00 99.98 23:14:55 23:12:01 6 0.03 0.00 0.03 0.00 0.02 99.92 23:14:55 23:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 23:14:55 23:13:01 all 0.04 0.00 0.01 0.00 0.01 99.94 23:14:55 23:13:01 0 0.03 0.00 0.02 0.00 0.00 99.95 23:14:55 23:13:01 1 0.03 0.00 0.00 0.00 0.02 99.95 23:14:55 23:13:01 2 0.07 0.00 0.02 0.00 0.02 99.90 23:14:55 23:13:01 3 0.07 0.00 0.00 0.00 0.00 99.93 23:14:55 23:13:01 4 0.03 0.00 0.00 0.02 0.02 99.93 23:14:55 23:13:01 5 0.03 0.00 0.02 0.00 0.00 99.95 23:14:55 23:13:01 6 0.03 0.00 0.02 0.00 0.02 99.93 23:14:55 23:13:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:14:55 23:14:01 all 0.02 0.00 0.01 0.00 0.01 99.95 23:14:55 23:14:01 0 0.02 0.00 0.00 0.02 0.00 99.97 23:14:55 23:14:01 1 0.03 0.00 0.00 0.00 0.02 99.95 23:14:55 23:14:01 2 0.08 0.00 0.02 0.00 0.00 99.90 23:14:55 23:14:01 3 0.00 0.00 0.02 0.00 0.02 99.97 23:14:55 23:14:01 4 0.03 0.00 0.02 0.02 0.00 99.93 23:14:55 23:14:01 5 0.00 0.00 0.00 0.00 0.02 99.98 23:14:55 23:14:01 6 0.02 0.00 0.02 0.00 0.02 99.95 23:14:55 23:14:01 7 0.00 0.00 0.02 0.00 0.02 99.97 23:14:55 Average: all 5.95 0.00 1.39 0.38 0.02 92.26 23:14:55 Average: 0 5.93 0.00 1.49 0.75 0.02 91.81 23:14:55 Average: 1 6.29 0.00 1.40 0.10 0.03 92.19 23:14:55 Average: 2 5.96 0.00 1.39 0.58 0.02 92.04 23:14:55 Average: 3 5.88 0.00 1.47 0.40 0.03 92.22 23:14:55 Average: 4 5.64 0.00 1.33 0.54 0.02 92.48 23:14:55 Average: 5 6.12 0.00 1.37 0.21 0.02 92.28 23:14:55 Average: 6 6.14 0.00 1.25 0.12 0.03 92.46 23:14:55 Average: 7 5.61 0.00 1.47 0.30 0.03 92.60 23:14:55 23:14:55 23:14:55