Pull request #103 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 MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than 1a7e4ec04873150078f59f6a168f4fdb28d2a847 Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 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-ssh14839046928738605961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh14939865282939411343.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10032578555869770848.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh15753963231638998592.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8364170662391127405.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19834 in /w/workspace/undry_device-onvif-camera_PR-103 [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-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1a7e4ec04873150078f59f6a168f4fdb28d2a847 Merge succeeded, producing 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 Checking out Revision 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 (PR-103) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a7e4ec04873150078f59f6a168f4fdb28d2a847 # 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 e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:53:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:53:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:53:35 ========================================================= 07:53:35 EdgeX Global Pipelines Version Info 07:53:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f62c5088c81a77f5f8155fa76f8b672cae66440b # timeout=10 07:53:36 ------------------- 07:53:36 stable info: 07:53:36 ------------------- 07:53:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:53:36 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 07:53:36 Message: update stable to v1.0.237 07:53:36 ------------------- 07:53:36 experimental info: 07:53:36 ------------------- 07:53:36 Commited By: **** collab-it+edgex@linuxfoundation.org 07:53:36 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 07:53:36 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 07:53:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 07:53:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo 07:53:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48ea7c9 [Pipeline] echo 07:53:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:37 provisioning config files... 07:53:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config9117097288663322759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:37 ---> docker-login.sh 07:53:37 nexus3.edgexfoundry.org:10001 07:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:37 Configure a credential helper to remove this warning. See 07:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:37 07:53:37 Login Succeeded 07:53:37 nexus3.edgexfoundry.org:10002 07:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:38 Configure a credential helper to remove this warning. See 07:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:38 07:53:38 Login Succeeded 07:53:38 nexus3.edgexfoundry.org:10003 07:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:38 Configure a credential helper to remove this warning. See 07:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:38 07:53:38 Login Succeeded 07:53:38 nexus3.edgexfoundry.org:10004 07:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:38 Configure a credential helper to remove this warning. See 07:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:38 07:53:38 Login Succeeded 07:53:38 docker.io 07:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:38 Configure a credential helper to remove this warning. See 07:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:38 07:53:38 Login Succeeded 07:53:38 ---> docker-login.sh ends [Pipeline] } 07:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:53:39 + git rev-list -1 --merges 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131~1..48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo 07:53:39 -----------> git rev-list -1 --merges 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131~1..48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 07:53:39 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [false] [Pipeline] sh 07:53:39 + git log --format=format:%s -1 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo 07:53:39 ========================================================= 07:53:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:53:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:53:39 + git log --format=format:%s -1 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo 07:53:39 [semverPrep] GIT_COMMIT: 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo 07:53:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:53:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:40 + grep -v github /etc/ssh/ssh_known_hosts 07:53:40 + [ -e /tmp/ssh_known_hosts ] 07:53:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:53:40 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 07:53:40 -a /etc/ssh/ssh_known_hosts 07:53:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:40 07:53:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:53:40 b85a868b505f: Pulling fs layer 07:53:40 e2be974225ed: Pulling fs layer 07:53:40 339a4e72a1f5: Pulling fs layer 07:53:40 988bab9f4d93: Pulling fs layer 07:53:40 1469e6f7b9e6: Pulling fs layer 07:53:40 eaf3925da568: Pulling fs layer 07:53:40 bab4dde63d76: Pulling fs layer 07:53:40 bde34c3a00c8: Pulling fs layer 07:53:40 b352a97aabf1: Pulling fs layer 07:53:40 4872d77fe225: Pulling fs layer 07:53:40 5851b861e8e6: Pulling fs layer 07:53:40 eaf3925da568: Waiting 07:53:40 988bab9f4d93: Waiting 07:53:40 bab4dde63d76: Waiting 07:53:40 bde34c3a00c8: Waiting 07:53:40 b352a97aabf1: Waiting 07:53:40 4872d77fe225: Waiting 07:53:40 5851b861e8e6: Waiting 07:53:40 1469e6f7b9e6: Waiting 07:53:40 e2be974225ed: Verifying Checksum 07:53:40 e2be974225ed: Download complete 07:53:40 988bab9f4d93: Verifying Checksum 07:53:40 988bab9f4d93: Download complete 07:53:41 1469e6f7b9e6: Verifying Checksum 07:53:41 eaf3925da568: Verifying Checksum 07:53:41 eaf3925da568: Download complete 07:53:41 339a4e72a1f5: Verifying Checksum 07:53:41 339a4e72a1f5: Download complete 07:53:41 bde34c3a00c8: Verifying Checksum 07:53:41 bde34c3a00c8: Download complete 07:53:41 b352a97aabf1: Verifying Checksum 07:53:41 b352a97aabf1: Download complete 07:53:41 4872d77fe225: Download complete 07:53:41 5851b861e8e6: Download complete 07:53:41 b85a868b505f: Verifying Checksum 07:53:41 b85a868b505f: Download complete 07:53:41 bab4dde63d76: Verifying Checksum 07:53:41 bab4dde63d76: Download complete 07:53:42 b85a868b505f: Pull complete 07:53:42 e2be974225ed: Pull complete 07:53:43 339a4e72a1f5: Pull complete 07:53:43 988bab9f4d93: Pull complete 07:53:43 1469e6f7b9e6: Pull complete 07:53:43 eaf3925da568: Pull complete 07:53:45 bab4dde63d76: Pull complete 07:53:45 bde34c3a00c8: Pull complete 07:53:45 b352a97aabf1: Pull complete 07:53:45 4872d77fe225: Pull complete 07:53:45 5851b861e8e6: Pull complete 07:53:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:46 prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container 07:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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-devops/py-git-semver:0.1.4 cat 07:53:47 $ docker top 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 -eo pid,comm 07:53:47 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). 07:53:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:47 [ssh-agent] Looking for ssh-agent implementation... 07:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:47 $ docker exec 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent 07:53:47 SSH_AUTH_SOCK=/tmp/ssh-JsddFZnZdpX2/agent.34 07:53:47 SSH_AGENT_PID=40 07:53:47 Running ssh-add (command line suppressed) 07:53:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1763943185864007414.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1763943185864007414.key) 07:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:48 + git tag --points-at HEAD [Pipeline] } 07:53:48 $ docker exec --env ******** --env ******** 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent -k 07:53:48 unset SSH_AUTH_SOCK; 07:53:48 unset SSH_AGENT_PID; 07:53:48 echo Agent pid 40 killed; 07:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:48 [ssh-agent] Looking for ssh-agent implementation... 07:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:48 $ docker exec 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent 07:53:48 SSH_AUTH_SOCK=/tmp/ssh-ipmDIXsDJGHn/agent.72 07:53:48 SSH_AGENT_PID=78 07:53:48 Running ssh-add (command line suppressed) 07:53:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4630664748253295846.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4630664748253295846.key) 07:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:49 + git semver init 07:53:49 2022-07-13 07:53:49,388 [run_init] DEBUG init version:0.0.0 force:False 07:53:49 2022-07-13 07:53:49,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver 07:53:49 2022-07-13 07:53:49,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver 07:53:49 2022-07-13 07:53:49,390 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) 07:53:50 2022-07-13 07:53:50,092 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude 07:53:50 2022-07-13 07:53:50,092 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False 07:53:50 2022-07-13 07:53:50,092 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 07:53:50 2022-07-13 07:53:50,095 [execute] INFO git cat-file --batch-check 07:53:50 2022-07-13 07:53:50,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 07:53:50 2022-07-13 07:53:50,101 [execute] INFO git cat-file --batch 07:53:50 2022-07-13 07:53:50,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 07:53:50 2022-07-13 07:53:50,107 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 07:53:50 0.0.0 [Pipeline] } 07:53:50 $ docker exec --env ******** --env ******** 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent -k 07:53:50 unset SSH_AUTH_SOCK; 07:53:50 unset SSH_AGENT_PID; 07:53:50 echo Agent pid 78 killed; 07:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:50 + git semver [Pipeline] } 07:53:51 $ docker stop --time=1 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 07:53:52 $ docker rm -f 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 [Pipeline] // withDockerContainer [Pipeline] sh 07:53:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:53:53 Stashed 1 file(s) [Pipeline] echo 07:53:53 [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 07:53:53 provisioning config files... 07:53:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5685167500957230564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:53 ---> docker-login.sh 07:53:53 nexus3.edgexfoundry.org:10001 07:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:53 Configure a credential helper to remove this warning. See 07:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:53 07:53:53 Login Succeeded 07:53:53 nexus3.edgexfoundry.org:10002 07:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:53 Configure a credential helper to remove this warning. See 07:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:53 07:53:53 Login Succeeded 07:53:53 nexus3.edgexfoundry.org:10003 07:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:53 Configure a credential helper to remove this warning. See 07:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:53 07:53:53 Login Succeeded 07:53:53 nexus3.edgexfoundry.org:10004 07:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:54 Configure a credential helper to remove this warning. See 07:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:54 07:53:54 Login Succeeded 07:53:54 docker.io 07:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:54 Configure a credential helper to remove this warning. See 07:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:54 07:53:54 Login Succeeded 07:53:54 ---> docker-login.sh ends [Pipeline] } 07:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:53:54 ========================================================= 07:53:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:53:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:54 + 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 . 07:53:54 Sending build context to Docker daemon 9.427MB 07:53:54 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:53:54 Step 2/13 : FROM ${BASE} AS builder 07:53:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:53:54 2408cc74d12b: Pulling fs layer 07:53:54 ea60b727a1ce: Pulling fs layer 07:53:54 30c4a7721957: Pulling fs layer 07:53:54 370296b7ddb6: Pulling fs layer 07:53:54 7c6cee850709: Pulling fs layer 07:53:54 39a5fcdaea64: Pulling fs layer 07:53:54 d94ebbe4e438: Pulling fs layer 07:53:54 bcfd1f05c69d: Pulling fs layer 07:53:54 59ccb84bbe0f: Pulling fs layer 07:53:54 370296b7ddb6: Waiting 07:53:54 7c6cee850709: Waiting 07:53:54 39a5fcdaea64: Waiting 07:53:54 d94ebbe4e438: Waiting 07:53:54 bcfd1f05c69d: Waiting 07:53:54 59ccb84bbe0f: Waiting 07:53:54 30c4a7721957: Download complete 07:53:54 ea60b727a1ce: Verifying Checksum 07:53:54 ea60b727a1ce: Download complete 07:53:54 7c6cee850709: Verifying Checksum 07:53:54 7c6cee850709: Download complete 07:53:54 2408cc74d12b: Verifying Checksum 07:53:54 2408cc74d12b: Download complete 07:53:54 39a5fcdaea64: Verifying Checksum 07:53:54 39a5fcdaea64: Download complete 07:53:54 d94ebbe4e438: Verifying Checksum 07:53:54 d94ebbe4e438: Download complete 07:53:54 2408cc74d12b: Pull complete 07:53:55 ea60b727a1ce: Pull complete 07:53:55 30c4a7721957: Pull complete 07:53:55 59ccb84bbe0f: Verifying Checksum 07:53:55 59ccb84bbe0f: Download complete 07:53:55 bcfd1f05c69d: Verifying Checksum 07:53:55 bcfd1f05c69d: Download complete 07:53:55 370296b7ddb6: Verifying Checksum 07:53:55 370296b7ddb6: Download complete 07:53:59 370296b7ddb6: Pull complete 07:53:59 7c6cee850709: Pull complete 07:53:59 39a5fcdaea64: Pull complete 07:54:00 d94ebbe4e438: Pull complete 07:54:02 bcfd1f05c69d: Pull complete 07:54:03 59ccb84bbe0f: Pull complete 07:54:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 07:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:54:03 ---> a4fb48ad2a94 07:54:03 Step 3/13 : ARG MAKE="make build" 07:54:04 ---> Running in ac795b9c361e 07:54:04 Removing intermediate container ac795b9c361e 07:54:04 ---> 16eab6363fd8 07:54:04 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:54:04 ---> Running in 107929b55323 07:54:04 Removing intermediate container 107929b55323 07:54:04 ---> fe2b0088a46f 07:54:04 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 07:54:04 ---> Running in 0028abaf18d3 07:54:05 Removing intermediate container 0028abaf18d3 07:54:05 ---> 13cb1f9449f6 07:54:05 Step 6/13 : LABEL Name=edgex-device-onvif-camera 07:54:05 ---> Running in b86d8cb0e0e9 07:54:05 Removing intermediate container b86d8cb0e0e9 07:54:05 ---> 91910b3e09d0 07:54:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:05 ---> Running in 57aad3b80774 07:54:05 Removing intermediate container 57aad3b80774 07:54:05 ---> df1dd22d9277 07:54:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:54:05 ---> Running in 83632dfa0314 07:54:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:54:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:54:07 OK: 211 MiB in 51 packages 07:54:07 Removing intermediate container 83632dfa0314 07:54:07 ---> bdc37053a84a 07:54:07 Step 9/13 : WORKDIR /device-onvif-camera 07:54:07 ---> Running in d270d913dabb 07:54:07 Removing intermediate container d270d913dabb 07:54:07 ---> b48527aa71a1 07:54:07 Step 10/13 : COPY go.mod vendor* ./ 07:54:07 ---> 928344db81f3 07:54:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:07 ---> Running in d417f7a8a3f5 07:54:08 Still waiting to schedule task 07:54:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:54:25 Removing intermediate container d417f7a8a3f5 07:54:25 ---> 220d6b596909 07:54:25 Step 12/13 : COPY . . 07:54:25 ---> 59116e0f8f7f 07:54:25 Step 13/13 : RUN ${MAKE} 07:54:25 ---> Running in 237fded1ad15 07:54:25 noop 07:54:26 Removing intermediate container 237fded1ad15 07:54:26 ---> b65b73be4749 07:54:26 Successfully built b65b73be4749 07:54:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:26 + docker inspect -f . ci-base-image-x86_64 07:54:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:26 prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container 07:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:54:27 $ docker top 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:27 + go version 07:54:27 go version go1.18.3 linux/amd64 [Pipeline] } 07:54:27 $ docker stop --time=1 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb 07:54:28 $ docker rm -f 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:29 + docker inspect -f . ci-base-image-x86_64 07:54:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:29 prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container 07:54:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:54:29 $ docker top c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:30 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] fileExists [Pipeline] sh 07:54:30 + make test 07:54:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:54:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:54:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:54:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 7.0% of statements 07:54:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:54:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.762s coverage: 13.8% of statements 07:54:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:54:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:54:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:54:55 ./bin/test-attribution-txt.sh [Pipeline] echo 07:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:54:56 $ docker stop --time=1 c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa 07:54:57 $ docker rm -f c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa [Pipeline] // withDockerContainer [Pipeline] sh 07:54:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:54:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:54:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:59 + ls -al . 07:54:59 total 252 07:54:59 drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 07:54 . 07:54:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 .. 07:54:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 07:54 .git 07:54:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:53 .github 07:54:59 -rw-rw-r-- 1 jenkins jenkins 418 Jul 13 07:53 .gitignore 07:54:59 -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 07:53 .golangci.yml 07:54:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 07:53 .semver 07:54:59 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 13 07:53 Attribution.txt 07:54:59 -rw-rw-r-- 1 jenkins jenkins 189 Jul 13 07:53 CHANGELOG.md 07:54:59 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 13 07:53 Dockerfile 07:54:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 07:53 GOVERNANCE.md 07:54:59 -rw-rw-r-- 1 jenkins jenkins 660 Jul 13 07:53 Jenkinsfile 07:54:59 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 07:53 LICENSE 07:54:59 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 13 07:53 Makefile 07:54:59 -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 07:53 OWNERS.md 07:54:59 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 13 07:53 README.md 07:54:59 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 07:53 VERSION 07:54:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 07:53 bin 07:54:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:53 cmd 07:54:59 -rw-r--r-- 1 jenkins jenkins 70262 Jul 13 07:54 coverage.out 07:54:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 doc 07:54:59 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 13 07:53 go.mod 07:54:59 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 13 07:53 go.sum 07:54:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 internal 07:54:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 snap 07:54:59 -rw-rw-r-- 1 jenkins jenkins 236 Jul 13 07:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:59 + 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=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 --label arch=amd64 --label version=0.0.0 . 07:54:59 Sending build context to Docker daemon 9.498MB 07:54:59 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:54:59 Step 2/26 : FROM ${BASE} AS builder 07:54:59 ---> b65b73be4749 07:54:59 Step 3/26 : ARG MAKE="make build" 07:54:59 ---> Running in 896f4133b4ad 07:54:59 Removing intermediate container 896f4133b4ad 07:54:59 ---> 72f2687bea39 07:54:59 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:54:59 ---> Running in ddaf684dd018 07:54:59 Removing intermediate container ddaf684dd018 07:54:59 ---> a7bc0bfae6f2 07:54:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 07:54:59 ---> Running in 6f4304b4d177 07:54:59 Removing intermediate container 6f4304b4d177 07:54:59 ---> 777b2b9e93b8 07:54:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 07:54:59 ---> Running in 1ebd06c98626 07:54:59 Removing intermediate container 1ebd06c98626 07:54:59 ---> 6a061f01f8f4 07:54:59 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:59 ---> Running in 06183ed6ea4e 07:55:00 Removing intermediate container 06183ed6ea4e 07:55:00 ---> 900d6e61771f 07:55:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:00 ---> Running in f774f62497f4 07:55:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:55:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:55:02 OK: 211 MiB in 51 packages 07:55:02 Removing intermediate container f774f62497f4 07:55:02 ---> 8e995500943d 07:55:02 Step 9/26 : WORKDIR /device-onvif-camera 07:55:02 ---> Running in 0e40672dfffc 07:55:02 Removing intermediate container 0e40672dfffc 07:55:02 ---> 6a86f997b245 07:55:02 Step 10/26 : COPY go.mod vendor* ./ 07:55:02 ---> 2c6e6ca3169b 07:55:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:02 ---> Running in 39904b5746fa 07:55:03 Removing intermediate container 39904b5746fa 07:55:03 ---> 2440fba86209 07:55:03 Step 12/26 : COPY . . 07:55:03 ---> 2c01478e0a62 07:55:03 Step 13/26 : RUN ${MAKE} 07:55:03 ---> Running in 6ad132eb78f1 07:55:04 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:55:26 Removing intermediate container 6ad132eb78f1 07:55:26 ---> dcd9f307505b 07:55:26 Step 14/26 : FROM alpine:3.15 07:55:26 3.15: Pulling from library/alpine 07:55:26 df9b9388f04a: Pulling fs layer 07:55:26 df9b9388f04a: Verifying Checksum 07:55:26 df9b9388f04a: Download complete 07:55:26 df9b9388f04a: Pull complete 07:55:26 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 07:55:26 Status: Downloaded newer image for alpine:3.15 07:55:26 ---> 0ac33e5f5afa 07:55:26 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:55:26 ---> Running in 13c463775df6 07:55:26 Removing intermediate container 13c463775df6 07:55:26 ---> fc7af5ad2ce7 07:55:26 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:55:26 ---> Running in 3d992b8c247c 07:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:55:26 (1/6) Installing dumb-init (1.2.5-r1) 07:55:26 (2/6) Installing libgcc (10.3.1_git20211027-r0) 07:55:26 (3/6) Installing libsodium (1.0.18-r0) 07:55:26 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 07:55:26 (5/6) Installing libzmq (4.3.4-r0) 07:55:26 (6/6) Installing zeromq (4.3.4-r0) 07:55:26 Executing busybox-1.34.1-r5.trigger 07:55:26 OK: 8 MiB in 20 packages 07:55:26 Removing intermediate container 3d992b8c247c 07:55:26 ---> 6388a060eb6e 07:55:26 Step 17/26 : WORKDIR / 07:55:26 ---> Running in e020bedb7bcc 07:55:26 Removing intermediate container e020bedb7bcc 07:55:26 ---> 49e90d1f5ab6 07:55:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:55:26 ---> b9623b82ac59 07:55:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:55:26 ---> 2c25bf715883 07:55:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:55:27 ---> 3920e5f2de32 07:55:27 Step 21/26 : EXPOSE 59984 07:55:27 ---> Running in 2e2ed3a25ea7 07:55:27 Removing intermediate container 2e2ed3a25ea7 07:55:27 ---> 04586301b4ab 07:55:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:55:27 ---> Running in 3dd91e999f63 07:55:27 Removing intermediate container 3dd91e999f63 07:55:27 ---> 3579e2d6b327 07:55:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:55:27 ---> Running in e6c0c311f9e9 07:55:27 Removing intermediate container e6c0c311f9e9 07:55:27 ---> 0dc3a65c9525 07:55:27 Step 24/26 : LABEL arch=amd64 07:55:27 ---> Running in dd8a92b00e70 07:55:27 Removing intermediate container dd8a92b00e70 07:55:27 ---> 16489a155280 07:55:27 Step 25/26 : LABEL git_sha=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 07:55:27 ---> Running in 845b3e439d2b 07:55:27 Removing intermediate container 845b3e439d2b 07:55:27 ---> e4dd9be6a695 07:55:27 Step 26/26 : LABEL version=0.0.0 07:55:27 ---> Running in 15dc93e69893 07:55:27 Removing intermediate container 15dc93e69893 07:55:27 ---> dd88352aedfe 07:55:27 [Warning] One or more build-args [ARCH] were not consumed 07:55:27 Successfully built dd88352aedfe 07:55:27 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 07:55:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:28 07:55:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:28 latest: Pulling from edgex-lftools-log-publisher 07:55:28 5eb5b503b376: Pulling fs layer 07:55:28 5c69ac0246d0: Pulling fs layer 07:55:28 ec43610c2a17: Pulling fs layer 07:55:28 3a2ae6a8a46f: Pulling fs layer 07:55:28 33b1e0a273af: Pulling fs layer 07:55:28 5d3b04190fa2: Pulling fs layer 07:55:28 2f39f015ded8: Pulling fs layer 07:55:28 3a2ae6a8a46f: Waiting 07:55:28 33b1e0a273af: Waiting 07:55:28 5d3b04190fa2: Waiting 07:55:28 2f39f015ded8: Waiting 07:55:28 5c69ac0246d0: Verifying Checksum 07:55:28 5c69ac0246d0: Download complete 07:55:28 3a2ae6a8a46f: Download complete 07:55:28 ec43610c2a17: Verifying Checksum 07:55:28 ec43610c2a17: Download complete 07:55:28 33b1e0a273af: Verifying Checksum 07:55:28 33b1e0a273af: Download complete 07:55:28 5d3b04190fa2: Verifying Checksum 07:55:28 5d3b04190fa2: Download complete 07:55:28 5eb5b503b376: Verifying Checksum 07:55:28 5eb5b503b376: Download complete 07:55:30 5eb5b503b376: Pull complete 07:55:30 5c69ac0246d0: Pull complete 07:55:30 ec43610c2a17: Pull complete 07:55:30 3a2ae6a8a46f: Pull complete 07:55:30 33b1e0a273af: Pull complete 07:55:30 5d3b04190fa2: Pull complete 07:55:36 2f39f015ded8: Pull complete 07:55:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:36 prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container 07:55: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/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:55:37 $ docker top 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:38 ---> job-cost.sh 07:55:38 lf-activate-venv: SKIPPING 07:55:38 INFO: No Stack... 07:55:38 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:39 INFO: Archiving Costs [Pipeline] sh 07:55:39 + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv 07:55:39 + cut -d, -f6 [Pipeline] lock 07:55:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] 07:55:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] did not exist. Created. 07:55:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:39 + echo total: 0.2199999988079071 [Pipeline] stash 07:55:39 Stashed 1 file(s) [Pipeline] } 07:55:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:39 $ docker stop --time=1 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 07:55:41 $ docker rm -f 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:55:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19835 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws 07:55:48 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 07:55:48 Selected Git installation does not exist. Using Default 07:55:48 The recommended git tool is: NONE 07:55:55 using credential edgex-jenkins-ssh 07:55:55 Cloning the remote Git repository 07:55:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:55:55 > git init /w/workspace/device-onvif-camera/7 # timeout=10 07:55:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:55:56 > git --version # timeout=10 07:55:56 > git --version # 'git version 2.25.1' 07:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:57 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1a7e4ec04873150078f59f6a168f4fdb28d2a847 07:55:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:55:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:55:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:55:58 Merge succeeded, producing cff4aca8f7d76d33ff69704428573c157e88f735 07:55:58 Checking out Revision cff4aca8f7d76d33ff69704428573c157e88f735 (PR-103) 07:55:57 > git config core.sparsecheckout # timeout=10 07:55:58 > git checkout -f 1a7e4ec04873150078f59f6a168f4fdb28d2a847 # timeout=10 07:55:58 > git remote # timeout=10 07:55:58 > git config --get remote.origin.url # timeout=10 07:55:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:58 > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 07:55:58 > git rev-parse HEAD^{commit} # timeout=10 07:55:58 > git config core.sparsecheckout # timeout=10 07:55:58 > git checkout -f cff4aca8f7d76d33ff69704428573c157e88f735 # timeout=10 07:56:03 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" 07:56:04 First time build. Skipping changelog. 07:56:03 > git rev-list --no-walk f62c5088c81a77f5f8155fa76f8b672cae66440b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:56:05 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:05 Dload Upload Total Spent Left Speed 07:56:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 69750 0 --:--:-- --:--:-- --:--:-- 70148 [Pipeline] sh 07:56:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:56:06 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 07:56:06 07:56:06 { 07:56:06 "registry-mirrors": [ 07:56:06 "https://nexus3.edgexfoundry.org:10001" 07:56:06 ], 07:56:06 "bip": "10.250.0.254/24", 07:56:06 "hosts": [ 07:56:06 "tcp://0.0.0.0:5555", 07:56:06 "unix:///var/run/docker.sock" 07:56:06 ], 07:56:06 "mtu": 1458, 07:56:06 "selinux-enabled": true, 07:56:06 "seccomp-profile": "/etc/docker/seccomp.json" 07:56:06 } [Pipeline] sh 07:56:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:56:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:25 provisioning config files... 07:56:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config4896731306731954339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:26 ---> docker-login.sh 07:56:26 nexus3.edgexfoundry.org:10001 07:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:26 Configure a credential helper to remove this warning. See 07:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:26 07:56:26 Login Succeeded 07:56:26 nexus3.edgexfoundry.org:10002 07:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:27 Configure a credential helper to remove this warning. See 07:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:27 07:56:27 Login Succeeded 07:56:27 nexus3.edgexfoundry.org:10003 07:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 nexus3.edgexfoundry.org:10004 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 docker.io 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:29 Configure a credential helper to remove this warning. See 07:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:29 07:56:29 Login Succeeded 07:56:29 ---> docker-login.sh ends [Pipeline] } 07:56:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:29 ========================================================= 07:56:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:56:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:29 + 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 . 07:56:30 Sending build context to Docker daemon 6.505MB 07:56:30 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:56:30 Step 2/13 : FROM ${BASE} AS builder 07:56:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:56:30 b3c136eddcbf: Pulling fs layer 07:56:30 c0a3192eca97: Pulling fs layer 07:56:30 a050256f5b6f: Pulling fs layer 07:56:30 656be50a0ddc: Pulling fs layer 07:56:30 2bbca73fdf42: Pulling fs layer 07:56:30 46d945488cbd: Pulling fs layer 07:56:30 8a5474983e97: Pulling fs layer 07:56:30 329c88fbcd65: Pulling fs layer 07:56:30 46d945488cbd: Waiting 07:56:30 8a5474983e97: Waiting 07:56:30 329c88fbcd65: Waiting 07:56:30 656be50a0ddc: Waiting 07:56:30 2bbca73fdf42: Waiting 07:56:30 a050256f5b6f: Verifying Checksum 07:56:30 a050256f5b6f: Download complete 07:56:30 c0a3192eca97: Download complete 07:56:30 2bbca73fdf42: Verifying Checksum 07:56:30 2bbca73fdf42: Download complete 07:56:30 46d945488cbd: Verifying Checksum 07:56:30 46d945488cbd: Download complete 07:56:30 b3c136eddcbf: Verifying Checksum 07:56:30 b3c136eddcbf: Download complete 07:56:31 b3c136eddcbf: Pull complete 07:56:31 329c88fbcd65: Verifying Checksum 07:56:31 329c88fbcd65: Download complete 07:56:31 c0a3192eca97: Pull complete 07:56:32 a050256f5b6f: Pull complete 07:56:32 8a5474983e97: Verifying Checksum 07:56:32 8a5474983e97: Download complete 07:56:33 656be50a0ddc: Download complete 07:56:48 656be50a0ddc: Pull complete 07:56:48 2bbca73fdf42: Pull complete 07:56:48 46d945488cbd: Pull complete 07:56:53 8a5474983e97: Pull complete 07:56:55 329c88fbcd65: Pull complete 07:56:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 07:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:56:55 ---> ff4287adb874 07:56:55 Step 3/13 : ARG MAKE="make build" 07:56:56 ---> Running in 87a7eaef0f42 07:56:56 Removing intermediate container 87a7eaef0f42 07:56:56 ---> 11aa17cf3bc9 07:56:56 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:56:56 ---> Running in 9c6dc8f567cd 07:56:56 Removing intermediate container 9c6dc8f567cd 07:56:56 ---> 87de535f9ae4 07:56:56 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 07:56:56 ---> Running in 6b354fe85bbb 07:56:57 Removing intermediate container 6b354fe85bbb 07:56:57 ---> 18eaa1456ebe 07:56:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 07:56:57 ---> Running in 2705d8972b71 07:56:57 Removing intermediate container 2705d8972b71 07:56:57 ---> beb4337c586b 07:56:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:57 ---> Running in 58cfb4d8a2f6 07:56:59 Removing intermediate container 58cfb4d8a2f6 07:56:59 ---> e43004c8e749 07:56:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:59 ---> Running in 26c13a0f8627 07:57:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:57:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:57:02 OK: 221 MiB in 51 packages 07:57:02 Removing intermediate container 26c13a0f8627 07:57:02 ---> eb091831bebb 07:57:02 Step 9/13 : WORKDIR /device-onvif-camera 07:57:02 ---> Running in 7522ea37286d 07:57:03 Removing intermediate container 7522ea37286d 07:57:03 ---> 561dcb2aea9f 07:57:03 Step 10/13 : COPY go.mod vendor* ./ 07:57:05 ---> a3fb495c63e3 07:57:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:05 ---> Running in 78d12174ac3a 07:57:52 Removing intermediate container 78d12174ac3a 07:57:52 ---> cbdcb86f542b 07:57:52 Step 12/13 : COPY . . 07:57:52 ---> 8999bbfaf3bd 07:57:52 Step 13/13 : RUN ${MAKE} 07:57:52 ---> Running in 6f912b1bd10d 07:57:52 noop 07:57:52 Removing intermediate container 6f912b1bd10d 07:57:52 ---> 97311edff0ac 07:57:52 Successfully built 97311edff0ac 07:57:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:52 + docker inspect -f . ci-base-image-arm64 07:57:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:52 prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container 07:57: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:53 $ docker top d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:54 + go version 07:57:54 go version go1.18.3 linux/arm64 [Pipeline] } 07:57:54 $ docker stop --time=1 d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 07:57:56 $ docker rm -f d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:57 + docker inspect -f . ci-base-image-arm64 07:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:57 prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container 07:57:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:58 $ docker top 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 07:58:00 + make test 07:58:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:58:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:59:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:59:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 7.0% of statements 07:59:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:59:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.011s coverage: 13.8% of statements 07:59:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:59:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:00:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:00:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:00:08 ./bin/test-attribution-txt.sh [Pipeline] echo 08:00:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:00:08 $ docker stop --time=1 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 08:00:10 $ docker rm -f 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:11 Warning: overwriting stash ‘coverage-report’ 08:00:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:12 + ls -al . 08:00:12 total 248 08:00:12 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 08:00 . 08:00:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 .. 08:00:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 07:56 .git 08:00:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:55 .github 08:00:12 -rw-rw-r-- 1 jenkins jenkins 418 Jul 13 07:55 .gitignore 08:00:12 -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 07:55 .golangci.yml 08:00:12 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 13 07:55 Attribution.txt 08:00:12 -rw-rw-r-- 1 jenkins jenkins 189 Jul 13 07:55 CHANGELOG.md 08:00:12 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 13 07:55 Dockerfile 08:00:12 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 07:55 GOVERNANCE.md 08:00:12 -rw-rw-r-- 1 jenkins jenkins 660 Jul 13 07:55 Jenkinsfile 08:00:12 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 07:55 LICENSE 08:00:12 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 13 07:55 Makefile 08:00:12 -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 07:55 OWNERS.md 08:00:12 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 13 07:55 README.md 08:00:12 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 07:53 VERSION 08:00:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 07:55 bin 08:00:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:55 cmd 08:00:12 -rw-r--r-- 1 jenkins jenkins 70262 Jul 13 07:59 coverage.out 08:00:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 doc 08:00:12 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 13 07:55 go.mod 08:00:12 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 13 07:55 go.sum 08:00:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 internal 08:00:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 snap 08:00:12 -rw-rw-r-- 1 jenkins jenkins 236 Jul 13 07:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:13 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cff4aca8f7d76d33ff69704428573c157e88f735 --label arch=arm64 --label version=0.0.0 . 08:00:13 Sending build context to Docker daemon 6.577MB 08:00:13 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 08:00:13 Step 2/26 : FROM ${BASE} AS builder 08:00:13 ---> 97311edff0ac 08:00:13 Step 3/26 : ARG MAKE="make build" 08:00:13 ---> Running in a2f82ac03f91 08:00:14 Removing intermediate container a2f82ac03f91 08:00:14 ---> 956371378bfc 08:00:14 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:00:14 ---> Running in e65483d9c1e1 08:00:14 Removing intermediate container e65483d9c1e1 08:00:14 ---> 1048afb8c329 08:00:14 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:00:14 ---> Running in c78fe2070d10 08:00:14 Removing intermediate container c78fe2070d10 08:00:14 ---> 2a36d2815aaa 08:00:14 Step 6/26 : LABEL Name=edgex-device-onvif-camera 08:00:15 ---> Running in ea9d3702fefe 08:00:15 Removing intermediate container ea9d3702fefe 08:00:15 ---> 7c3fe0a075c4 08:00:15 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:15 ---> Running in 5a2cb95baf7a 08:00:17 Removing intermediate container 5a2cb95baf7a 08:00:17 ---> f7b009b6972b 08:00:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:17 ---> Running in 54204ecd7d86 08:00:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:00:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:00:19 OK: 221 MiB in 51 packages 08:00:20 Removing intermediate container 54204ecd7d86 08:00:20 ---> fdc274fd78a7 08:00:20 Step 9/26 : WORKDIR /device-onvif-camera 08:00:20 ---> Running in de416c84aacb 08:00:21 Removing intermediate container de416c84aacb 08:00:21 ---> 4c78487786eb 08:00:21 Step 10/26 : COPY go.mod vendor* ./ 08:00:21 ---> c9e5794fd633 08:00:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:21 ---> Running in adf3e2256f9c 08:00:23 Removing intermediate container adf3e2256f9c 08:00:23 ---> 4914cc105216 08:00:23 Step 12/26 : COPY . . 08:00:24 ---> 57c201cf163e 08:00:24 Step 13/26 : RUN ${MAKE} 08:00:24 ---> Running in a88d7ddfb4d3 08:00:26 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:02:33 Removing intermediate container a88d7ddfb4d3 08:02:33 ---> 80ea8aff799a 08:02:33 Step 14/26 : FROM alpine:3.15 08:02:33 3.15: Pulling from library/alpine 08:02:33 9981e73032c8: Pulling fs layer 08:02:33 9981e73032c8: Verifying Checksum 08:02:33 9981e73032c8: Download complete 08:02:34 9981e73032c8: Pull complete 08:02:34 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:02:34 Status: Downloaded newer image for alpine:3.15 08:02:34 ---> 3fb3c9af89a9 08:02:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:02:34 ---> Running in d8a533d43860 08:02:34 Removing intermediate container d8a533d43860 08:02:34 ---> c129bb680d13 08:02:34 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:02:35 ---> Running in f5cc2e09d740 08:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:02:37 (1/6) Installing dumb-init (1.2.5-r1) 08:02:37 (2/6) Installing libgcc (10.3.1_git20211027-r0) 08:02:37 (3/6) Installing libsodium (1.0.18-r0) 08:02:37 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 08:02:38 (5/6) Installing libzmq (4.3.4-r0) 08:02:38 (6/6) Installing zeromq (4.3.4-r0) 08:02:38 Executing busybox-1.34.1-r5.trigger 08:02:38 OK: 8 MiB in 20 packages 08:02:39 Removing intermediate container f5cc2e09d740 08:02:39 ---> 25caa269a3fd 08:02:39 Step 17/26 : WORKDIR / 08:02:39 ---> Running in 85bad7139041 08:02:39 Removing intermediate container 85bad7139041 08:02:39 ---> 523da8c3396d 08:02:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:02:40 ---> d10b3f6b58d9 08:02:40 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:02:41 ---> ce8d01d5747b 08:02:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:02:41 ---> 88a9c20e9fc4 08:02:41 Step 21/26 : EXPOSE 59984 08:02:42 ---> Running in cb8509dbdfd5 08:02:42 Removing intermediate container cb8509dbdfd5 08:02:42 ---> 24591a851c28 08:02:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:02:42 ---> Running in 9d26554296ce 08:02:42 Removing intermediate container 9d26554296ce 08:02:42 ---> 4fb979c0cfb2 08:02:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:02:42 ---> Running in 28fc78c59e5a 08:02:43 Removing intermediate container 28fc78c59e5a 08:02:43 ---> cb9bb8af85a4 08:02:43 Step 24/26 : LABEL arch=arm64 08:02:43 ---> Running in 55401666af65 08:02:43 Removing intermediate container 55401666af65 08:02:43 ---> 387707d072a1 08:02:43 Step 25/26 : LABEL git_sha=cff4aca8f7d76d33ff69704428573c157e88f735 08:02:43 ---> Running in 9883388092b1 08:02:43 Removing intermediate container 9883388092b1 08:02:43 ---> ee7dc61eef96 08:02:43 Step 26/26 : LABEL version=0.0.0 08:02:44 ---> Running in 767a063e0b3d 08:02:44 Removing intermediate container 767a063e0b3d 08:02:44 ---> 200b01ab37ed 08:02:44 [Warning] One or more build-args [ARCH] were not consumed 08:02:44 Successfully built 200b01ab37ed 08:02:44 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 08:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:02:45 08:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:02:46 arm64: Pulling from edgex-lftools-log-publisher 08:02:46 8998bd30e6a1: Pulling fs layer 08:02:46 04944245beec: Pulling fs layer 08:02:46 699f458cf7ca: Pulling fs layer 08:02:46 765212b225bb: Pulling fs layer 08:02:46 f23df028b6ca: Pulling fs layer 08:02:46 d65c8cfc05b1: Pulling fs layer 08:02:46 2437ff75d9bd: Pulling fs layer 08:02:46 f23df028b6ca: Waiting 08:02:46 d65c8cfc05b1: Waiting 08:02:46 2437ff75d9bd: Waiting 08:02:46 765212b225bb: Waiting 08:02:46 04944245beec: Verifying Checksum 08:02:46 04944245beec: Download complete 08:02:46 765212b225bb: Verifying Checksum 08:02:46 765212b225bb: Download complete 08:02:46 f23df028b6ca: Download complete 08:02:46 d65c8cfc05b1: Verifying Checksum 08:02:46 d65c8cfc05b1: Download complete 08:02:46 699f458cf7ca: Verifying Checksum 08:02:46 699f458cf7ca: Download complete 08:02:46 8998bd30e6a1: Verifying Checksum 08:02:46 8998bd30e6a1: Download complete 08:02:50 2437ff75d9bd: Verifying Checksum 08:02:50 2437ff75d9bd: Download complete 08:02:50 8998bd30e6a1: Pull complete 08:02:50 04944245beec: Pull complete 08:02:52 699f458cf7ca: Pull complete 08:02:52 765212b225bb: Pull complete 08:02:53 f23df028b6ca: Pull complete 08:02:53 d65c8cfc05b1: Pull complete 08:03:09 2437ff75d9bd: Pull complete 08:03:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container 08:03:09 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:03:12 $ docker top 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:13 ---> job-cost.sh 08:03:13 lf-activate-venv: SKIPPING 08:03:13 INFO: No Stack... 08:03:15 INFO: Retrieving Pricing Info for: v3-standard-4 08:03:15 INFO: Archiving Costs [Pipeline] sh 08:03:15 + cut -d, -f6 08:03:15 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock 08:03:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] 08:03:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] did not exist. Created. 08:03:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:03:16 /w/workspace/device-onvif-camera/7@tmp/durable-63369750/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:03:17 + echo total: 0.10999999940395355 [Pipeline] stash 08:03:17 Warning: overwriting stash ‘stack-cost’ 08:03:17 Stashed 1 file(s) [Pipeline] } 08:03:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] // lock [Pipeline] } 08:03:17 $ docker stop --time=1 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e 08:03:18 $ docker rm -f 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e [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 08:03:19 provisioning config files... 08:03:19 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config8152751828105568178tmp [Pipeline] { [Pipeline] sh 08:03:19 + set +x 08:03:19 + + bash -s -- 08:03:19 curl -s https://codecov.io/bash 08:03:19 08:03:19 _____ _ 08:03:19 / ____| | | 08:03:19 | | ___ __| | ___ ___ _____ __ 08:03:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:03:19 | |___| (_) | (_| | __/ (_| (_) \ V / 08:03:19 \_____\___/ \__,_|\___|\___\___/ \_/ 08:03:19 Bash-1.0.6 08:03:19 08:03:19 08:03:19 ==> git version 2.25.1 found 08:03:19 ==> 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 08:03:19 Release-Date: 2020-01-08 08:03:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:03:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:03:19 ==> Jenkins CI detected. 08:03:19 current dir:  /w/workspace/undry_device-onvif-camera_PR-103 08:03:19 project root: . 08:03:19 --> token set from env 08:03:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:03:19 ==> Running gcov in . (disable via -X gcov) 08:03:19 ==> Python coveragepy not found 08:03:19 ==> Searching for coverage reports in: 08:03:19 + . 08:03:19 -> Found 1 reports 08:03:19 ==> Detecting git/mercurial file structure 08:03:19 ==> Reading reports 08:03:19 + ./coverage.out bytes=70262 08:03:19 ==> Appending adjustments 08:03:19 https://docs.codecov.io/docs/fixing-reports 08:03:20 + Found adjustments 08:03:20 ==> Gzipping contents 08:03:20 12K /tmp/codecov.655fMm.gz 08:03:20 ==> Uploading reports 08:03:20 url: https://codecov.io 08:03:20 query: branch=PR-103&commit=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 08:03:20 -> Pinging Codecov 08:03:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 08:03:20 -> Uploading to 08:03:20 https://storage.googleapis.com/codecov/v4/raw/2022-07-13/F29A59C45E3A92E06B3E522C9905F8EF/48ea7c93e96ec5f0c72c7e1836acc4d4639ea131/703511e3-2434-42a6-ae8c-a0e5481795cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220713T080320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38831adf65301bceacb2f19f444f2bb476e94eba838d307585c6d8db94a49e33 08:03:20 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:20 Dload Upload Total Spent Left Speed 08:03:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9517 0 0 100 9517 0 13480 --:--:-- --:--:-- --:--:-- 13461 08:03:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] } 08:03:21 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 08:03:22 + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] 08:03:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 08:03:22 total 16 08:03:22 drwxr-xr-x 3 root root 4096 Jul 13 07:55 . 08:03:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 07:55 .. 08:03:22 drwxr-xr-x 2 root root 4096 Jul 13 07:55 cost 08:03:22 -rw-r--r-- 1 root root 90 Jul 13 07:55 cost.csv 08:03:22 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives 08:03:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 08:03:22 total 16 08:03:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 07:55 . 08:03:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 07:55 .. 08:03:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 07:55 cost 08:03:22 -rw-r--r-- 1 jenkins jenkins 90 Jul 13 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:03:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:03:24 ---> package-listing.sh 08:03:24 ++ facter osfamily 08:03:24 ++ tr '[:upper:]' '[:lower:]' 08:03:24 + OS_FAMILY=debian 08:03:24 + workspace=/w/workspace/undry_device-onvif-camera_PR-103 08:03:24 + START_PACKAGES=/tmp/packages_start.txt 08:03:24 + END_PACKAGES=/tmp/packages_end.txt 08:03:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:03:24 + PACKAGES=/tmp/packages_start.txt 08:03:24 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 08:03:24 + PACKAGES=/tmp/packages_end.txt 08:03:24 + case "${OS_FAMILY}" in 08:03:24 + grep '^ii' 08:03:24 + dpkg -l 08:03:24 + '[' -f /tmp/packages_start.txt ']' 08:03:24 + '[' -f /tmp/packages_end.txt ']' 08:03:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:03:24 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 08:03:24 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ 08:03:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo 08:03:24 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:03:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:03:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:26 prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container 08:03:26 $ 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-103/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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:03:26 $ docker top 9eceedc02ca480557a3ff1c796b24834287a40ef438481d9f97cf66682c64b72 -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:27 + touch /tmp/pre-build-complete [Pipeline] sh 08:03:28 + mkdir -p /var/log/sysstat [Pipeline] sh 08:03:28 + ls /var/log/sa-host 08:03:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:28 provisioning config files... 08:03:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5689308700180765794tmp [Pipeline] { [Pipeline] echo 08:03:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:03:28 ---> create-netrc.sh [Pipeline] } 08:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:03:29 ---> python-tools-install.sh [Pipeline] echo 08:03:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:03:29 ---> sudo-logs.sh 08:03:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:03:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:03:29 ---> job-cost.sh 08:03:29 lf-activate-venv: SKIPPING 08:03:29 DEBUG: total: 0.2199999988079071 08:03:29 INFO: Retrieving Stack Cost... 08:03:30 INFO: Retrieving Pricing Info for: v3-standard-8 08:03:31 INFO: Archiving Costs [Pipeline] echo 08:03:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:03:31 ---> logs-deploy.sh 08:03:31 lf-activate-venv: SKIPPING 08:03:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/7 08:03:31 INFO: archiving workspace using pattern(s): 08:03:32 Archives upload complete. 08:03:33 INFO: archiving logs to Nexus 08:03:33 ---> uname -a: 08:03:33 Linux prd-ubuntu20-04-docker-8c-8g-19834 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 08:03:33 08:03:33 08:03:33 ---> lscpu: 08:03:33 Architecture: x86_64 08:03:33 CPU op-mode(s): 32-bit, 64-bit 08:03:33 Byte Order: Little Endian 08:03:33 Address sizes: 40 bits physical, 48 bits virtual 08:03:33 CPU(s): 8 08:03:33 On-line CPU(s) list: 0-7 08:03:33 Thread(s) per core: 1 08:03:33 Core(s) per socket: 1 08:03:33 Socket(s): 8 08:03:33 NUMA node(s): 1 08:03:33 Vendor ID: AuthenticAMD 08:03:33 CPU family: 23 08:03:33 Model: 49 08:03:33 Model name: AMD EPYC-Rome Processor 08:03:33 Stepping: 0 08:03:33 CPU MHz: 2800.000 08:03:33 BogoMIPS: 5600.00 08:03:33 Virtualization: AMD-V 08:03:33 Hypervisor vendor: KVM 08:03:33 Virtualization type: full 08:03:33 L1d cache: 256 KiB 08:03:33 L1i cache: 256 KiB 08:03:33 L2 cache: 4 MiB 08:03:33 L3 cache: 128 MiB 08:03:33 NUMA node0 CPU(s): 0-7 08:03:33 Vulnerability Itlb multihit: Not affected 08:03:33 Vulnerability L1tf: Not affected 08:03:33 Vulnerability Mds: Not affected 08:03:33 Vulnerability Meltdown: Not affected 08:03:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:03:33 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 08:03:33 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 08:03:33 Vulnerability Srbds: Not affected 08:03:33 Vulnerability Tsx async abort: Not affected 08:03:33 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 08:03:33 08:03:33 08:03:33 ---> nproc: 08:03:33 8 08:03:33 08:03:33 08:03:33 ---> df -h: 08:03:33 Filesystem Size Used Avail Use% Mounted on 08:03:33 overlay 155G 11G 145G 7% / 08:03:33 tmpfs 64M 0 64M 0% /dev 08:03:33 tmpfs 16G 0 16G 0% /sys/fs/cgroup 08:03:33 shm 64M 0 64M 0% /dev/shm 08:03:33 /dev/vda1 155G 11G 145G 7% /facter-os 08:03:33 08:03:33 08:03:33 ---> sar -b -r -n DEV: 08:03:33 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19834) 07/13/22 _x86_64_ (8 CPU) 08:03:33 08:03:33 07:53:00 LINUX RESTART (8 CPU) 08:03:33 08:03:33 07:54:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:03:33 07:55:01 209.42 0.80 208.62 0.00 9.73 112105.85 0.00 08:03:33 07:56:01 146.21 0.08 146.13 0.00 17.33 84223.30 0.00 08:03:33 07:57:01 1.77 0.00 1.77 0.00 0.00 3240.81 0.00 08:03:33 07:58:01 2.28 0.00 2.28 0.00 0.00 25.06 0.00 08:03:33 07:59:01 1.57 0.02 1.55 0.00 0.13 17.33 0.00 08:03:33 08:00:01 1.70 0.00 1.70 0.00 0.00 19.47 0.00 08:03:33 08:01:01 1.17 0.00 1.17 0.00 0.00 13.86 0.00 08:03:33 08:02:01 4.10 0.87 3.23 0.00 18.39 42.39 0.00 08:03:33 08:03:01 1.03 0.00 1.03 0.00 0.00 11.86 0.00 08:03:33 Average: 41.03 0.20 40.83 0.00 5.07 22188.47 0.00 08:03:33 08:03:33 07:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:03:33 07:55:01 28401480 31748796 544908 1.66 165032 3391640 2253300 6.64 1316788 2713736 548 08:03:33 07:56:01 27672628 31782648 506944 1.54 174328 4082472 1865276 5.50 1332948 3360336 152 08:03:33 07:57:01 27673168 31783228 506312 1.54 174348 4082480 1865276 5.50 1331700 3360340 16 08:03:33 07:58:01 27677152 31787336 501992 1.53 174424 4082472 1865276 5.50 1327844 3360340 12 08:03:33 07:59:01 27677144 31787380 501872 1.53 174488 4082480 1865276 5.50 1328436 3360348 0 08:03:33 08:00:01 27683608 31793944 495268 1.51 174552 4082492 1865276 5.50 1322068 3360348 28 08:03:33 08:01:01 27683844 31794284 494956 1.51 174592 4082496 1865276 5.50 1321984 3360448 12 08:03:33 08:02:01 27683140 31794544 494624 1.50 174688 4083004 1910252 5.63 1322360 3360900 300 08:03:33 08:03:01 27683576 31794980 494616 1.50 174724 4083004 1910252 5.63 1322172 3360900 12 08:03:33 Average: 27759527 31785238 504610 1.53 173464 4005838 1918384 5.65 1325144 3288633 120 08:03:33 08:03:33 07:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:03:33 07:55:01 ens3 224.00 177.25 1127.54 81.26 0.00 0.00 0.00 0.00 08:03:33 07:55:01 docker0 120.13 146.63 9.52 1081.81 0.00 0.00 0.00 0.00 08:03:33 07:55:01 vethe3b9475 0.95 1.03 0.07 2.02 0.00 0.00 0.00 0.00 08:03:33 07:55:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 08:03:33 07:56:01 ens3 152.61 107.12 2679.38 63.86 0.00 0.00 0.00 0.00 08:03:33 07:56:01 docker0 6.92 11.35 0.41 92.48 0.00 0.00 0.00 0.00 08:03:33 07:56:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 08:03:33 07:57:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 07:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 07:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 07:58:01 ens3 0.13 0.15 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 07:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 07:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 07:59:01 ens3 0.18 0.15 0.09 0.07 0.00 0.00 0.00 0.00 08:03:33 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:00:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 08:01:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:02:01 ens3 0.12 0.15 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 08:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 08:03:33 08:03:01 ens3 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 08:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:03:33 Average: ens3 41.91 31.66 423.00 16.14 0.00 0.00 0.00 0.00 08:03:33 Average: docker0 14.12 17.55 1.10 130.47 0.00 0.00 0.00 0.00 08:03:33 Average: lo 0.30 0.30 0.03 0.03 0.00 0.00 0.00 0.00 08:03:33 08:03:33 08:03:33 ---> sar -P ALL: 08:03:33 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19834) 07/13/22 _x86_64_ (8 CPU) 08:03:33 08:03:33 07:53:00 LINUX RESTART (8 CPU) 08:03:33 08:03:33 07:54:01 CPU %user %nice %system %iowait %steal %idle 08:03:33 07:55:01 all 29.42 0.00 6.20 1.27 0.08 63.03 08:03:33 07:55:01 0 28.09 0.00 5.79 0.17 0.07 65.89 08:03:33 07:55:01 1 30.48 0.00 6.60 2.68 0.07 60.17 08:03:33 07:55:01 2 29.52 0.00 5.77 0.29 0.07 64.35 08:03:33 07:55:01 3 30.15 0.00 6.18 1.72 0.08 61.88 08:03:33 07:55:01 4 29.96 0.00 6.96 3.57 0.10 59.41 08:03:33 07:55:01 5 29.14 0.00 5.89 0.37 0.07 64.54 08:03:33 07:55:01 6 28.66 0.00 6.27 0.67 0.08 64.32 08:03:33 07:55:01 7 29.39 0.00 6.11 0.70 0.10 63.70 08:03:33 07:56:01 all 20.17 0.00 4.27 0.89 0.06 74.62 08:03:33 07:56:01 0 20.30 0.00 4.03 2.15 0.07 73.45 08:03:33 07:56:01 1 19.69 0.00 4.45 0.05 0.07 75.74 08:03:33 07:56:01 2 19.82 0.00 4.25 0.27 0.05 75.61 08:03:33 07:56:01 3 19.11 0.00 4.18 2.44 0.05 74.22 08:03:33 07:56:01 4 20.43 0.00 4.32 1.18 0.05 74.02 08:03:33 07:56:01 5 20.30 0.00 4.52 0.30 0.07 74.82 08:03:33 07:56:01 6 22.00 0.00 4.18 0.56 0.07 73.20 08:03:33 07:56:01 7 19.70 0.00 4.20 0.14 0.07 75.89 08:03:33 07:57:01 all 0.02 0.00 0.01 0.01 0.01 99.96 08:03:33 07:57:01 0 0.00 0.00 0.02 0.00 0.00 99.98 08:03:33 07:57:01 1 0.03 0.00 0.00 0.00 0.00 99.97 08:03:33 07:57:01 2 0.03 0.00 0.02 0.03 0.02 99.90 08:03:33 07:57:01 3 0.02 0.00 0.02 0.02 0.02 99.93 08:03:33 07:57:01 4 0.03 0.00 0.03 0.00 0.02 99.92 08:03:33 07:57:01 5 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 07:57:01 6 0.02 0.00 0.02 0.00 0.00 99.97 08:03:33 07:57:01 7 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 07:58:01 all 0.03 0.00 0.01 0.01 0.00 99.95 08:03:33 07:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:03:33 07:58:01 1 0.03 0.00 0.02 0.00 0.00 99.95 08:03:33 07:58:01 2 0.10 0.00 0.05 0.03 0.02 99.80 08:03:33 07:58:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:03:33 07:58:01 4 0.02 0.00 0.02 0.02 0.00 99.95 08:03:33 07:58:01 5 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 07:58:01 6 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 07:58:01 7 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 07:59:01 all 0.00 0.00 0.01 0.01 0.00 99.98 08:03:33 07:59:01 0 0.00 0.00 0.02 0.00 0.02 99.97 08:03:33 07:59:01 1 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 07:59:01 2 0.00 0.00 0.03 0.03 0.02 99.92 08:03:33 07:59:01 3 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 07:59:01 4 0.02 0.00 0.02 0.02 0.00 99.95 08:03:33 07:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 07:59:01 6 0.00 0.00 0.02 0.00 0.00 99.98 08:03:33 07:59:01 7 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:00:01 all 0.02 0.00 0.02 0.00 0.00 99.95 08:03:33 08:00:01 0 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 08:00:01 1 0.03 0.00 0.03 0.00 0.00 99.93 08:03:33 08:00:01 2 0.03 0.00 0.05 0.02 0.00 99.90 08:03:33 08:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:00:01 4 0.03 0.00 0.05 0.02 0.02 99.88 08:03:33 08:00:01 5 0.00 0.00 0.02 0.00 0.00 99.98 08:03:33 08:00:01 6 0.03 0.00 0.03 0.00 0.02 99.92 08:03:33 08:00:01 7 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 08:01:01 all 0.01 0.00 0.01 0.00 0.00 99.98 08:03:33 08:01:01 0 0.02 0.00 0.02 0.00 0.02 99.95 08:03:33 08:01:01 1 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 08:01:01 2 0.00 0.00 0.00 0.02 0.00 99.98 08:03:33 08:01:01 3 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:01:01 4 0.02 0.00 0.03 0.02 0.00 99.93 08:03:33 08:01:01 5 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:01:01 6 0.02 0.00 0.00 0.00 0.00 99.98 08:03:33 08:01:01 7 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:02:01 all 0.06 0.00 0.04 0.01 0.01 99.88 08:03:33 08:02:01 0 0.02 0.00 0.03 0.00 0.02 99.93 08:03:33 08:02:01 1 0.03 0.00 0.02 0.00 0.02 99.93 08:03:33 08:02:01 2 0.03 0.00 0.00 0.03 0.00 99.93 08:03:33 08:02:01 3 0.00 0.00 0.03 0.00 0.00 99.97 08:03:33 08:02:01 4 0.07 0.00 0.05 0.02 0.00 99.87 08:03:33 08:02:01 5 0.02 0.00 0.05 0.02 0.00 99.92 08:03:33 08:02:01 6 0.28 0.00 0.12 0.03 0.02 99.55 08:03:33 08:02:01 7 0.03 0.00 0.03 0.02 0.00 99.92 08:03:33 08:03:01 all 0.00 0.00 0.01 0.00 0.00 99.98 08:03:33 08:03:01 0 0.00 0.00 0.02 0.00 0.00 99.98 08:03:33 08:03:01 1 0.00 0.00 0.02 0.00 0.00 99.98 08:03:33 08:03:01 2 0.00 0.00 0.02 0.02 0.00 99.97 08:03:33 08:03:01 3 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:03:01 4 0.00 0.00 0.02 0.00 0.02 99.97 08:03:33 08:03:01 5 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 08:03:01 6 0.02 0.00 0.03 0.00 0.02 99.93 08:03:33 08:03:01 7 0.00 0.00 0.00 0.00 0.00 100.00 08:03:33 Average: all 5.48 0.00 1.17 0.24 0.02 93.09 08:03:33 Average: 0 5.37 0.00 1.10 0.26 0.02 93.26 08:03:33 Average: 1 5.55 0.00 1.23 0.30 0.02 92.91 08:03:33 Average: 2 5.47 0.00 1.12 0.08 0.02 93.31 08:03:33 Average: 3 5.43 0.00 1.15 0.46 0.02 92.94 08:03:33 Average: 4 5.56 0.00 1.27 0.53 0.02 92.62 08:03:33 Average: 5 5.44 0.00 1.15 0.08 0.01 93.31 08:03:33 Average: 6 5.63 0.00 1.18 0.14 0.02 93.04 08:03:33 Average: 7 5.39 0.00 1.14 0.09 0.02 93.36 08:03:33 08:03:33 08:03:33