Pull request #304 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 4d60271c1a122ad73ad4ab446ee385de813631e9 rather than a1952d58cc79031288275be91c62b396b9595faa Obtained Jenkinsfile from 4d60271c1a122ad73ad4ab446ee385de813631e9 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-ssh16421399886496445043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12094911865300582764.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-304/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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6081980318482681284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3053387041480325844.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-304/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-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3410171202962752774.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8929’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8927’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8930 in /w/workspace/undry_device-onvif-camera_PR-304 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-304 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit a1952d58cc79031288275be91c62b396b9595faa Merge succeeded, producing a1952d58cc79031288275be91c62b396b9595faa Checking out Revision a1952d58cc79031288275be91c62b396b9595faa (PR-304) > 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/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # 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 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 Commit message: "docs: remove broken links" > git rev-list --no-walk ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:02:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:02:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:02:30 ========================================================= 15:02:30 EdgeX Global Pipelines Version Info 15:02:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:02:31 ------------------- 15:02:31 stable info: 15:02:31 ------------------- 15:02:31 Commited By: Bill Mahoney bill.mahoney@intel.com 15:02:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:02:31 Message: update stable to v1.0.248 15:02:32 ------------------- 15:02:32 experimental info: 15:02:32 ------------------- 15:02:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:02:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:02:32 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1952d5 [Pipeline] echo 15:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:02:32 provisioning config files... 15:02:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config1988724588820462388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:33 ---> docker-login.sh 15:02:33 nexus3.edgexfoundry.org:10001 15:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:35 Configure a credential helper to remove this warning. See 15:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:35 15:02:35 Login Succeeded 15:02:35 nexus3.edgexfoundry.org:10002 15:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:35 Configure a credential helper to remove this warning. See 15:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:35 15:02:35 Login Succeeded 15:02:35 nexus3.edgexfoundry.org:10003 15:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:35 Configure a credential helper to remove this warning. See 15:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:35 15:02:35 Login Succeeded 15:02:35 nexus3.edgexfoundry.org:10004 15:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:35 Configure a credential helper to remove this warning. See 15:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:35 15:02:35 Login Succeeded 15:02:35 docker.io 15:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:35 Configure a credential helper to remove this warning. See 15:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:35 15:02:35 Login Succeeded 15:02:35 ---> docker-login.sh ends [Pipeline] } 15:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:02:35 + git rev-list -1 --merges a1952d58cc79031288275be91c62b396b9595faa~1..a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo 15:02:35 -----------> git rev-list -1 --merges a1952d58cc79031288275be91c62b396b9595faa~1..a1952d58cc79031288275be91c62b396b9595faa a1952d58cc79031288275be91c62b396b9595faa [false] [Pipeline] sh 15:02:36 + git log --format=format:%s -1 a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo 15:02:36 ========================================================= 15:02:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:02:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:02:36 + git log --format=format:%s -1 a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo 15:02:36 [semverPrep] GIT_COMMIT: a1952d58cc79031288275be91c62b396b9595faa, Commit Message: docs: remove broken links [Pipeline] echo 15:02:36 [semverPrep] This is not a build commit. [Pipeline] sh 15:02:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:02:37 + grep -v github /etc/ssh/ssh_known_hosts 15:02:37 + [ -e /tmp/ssh_known_hosts ] 15:02:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:02:37 + sudo tee -a /etc/ssh/ssh_known_hosts 15:02:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:02:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:02:37 15:02:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:02:37 0.1.4: Pulling from edgex-devops/py-git-semver 15:02:37 b85a868b505f: Pulling fs layer 15:02:37 e2be974225ed: Pulling fs layer 15:02:37 339a4e72a1f5: Pulling fs layer 15:02:37 988bab9f4d93: Pulling fs layer 15:02:37 1469e6f7b9e6: Pulling fs layer 15:02:37 eaf3925da568: Pulling fs layer 15:02:37 bab4dde63d76: Pulling fs layer 15:02:37 bde34c3a00c8: Pulling fs layer 15:02:37 b352a97aabf1: Pulling fs layer 15:02:37 4872d77fe225: Pulling fs layer 15:02:37 5851b861e8e6: Pulling fs layer 15:02:37 bab4dde63d76: Waiting 15:02:37 bde34c3a00c8: Waiting 15:02:37 b352a97aabf1: Waiting 15:02:37 4872d77fe225: Waiting 15:02:37 5851b861e8e6: Waiting 15:02:37 988bab9f4d93: Waiting 15:02:37 1469e6f7b9e6: Waiting 15:02:37 eaf3925da568: Waiting 15:02:37 e2be974225ed: Download complete 15:02:37 988bab9f4d93: Verifying Checksum 15:02:37 988bab9f4d93: Download complete 15:02:37 1469e6f7b9e6: Verifying Checksum 15:02:37 1469e6f7b9e6: Download complete 15:02:37 eaf3925da568: Verifying Checksum 15:02:37 eaf3925da568: Download complete 15:02:37 339a4e72a1f5: Verifying Checksum 15:02:37 339a4e72a1f5: Download complete 15:02:37 bde34c3a00c8: Verifying Checksum 15:02:37 bde34c3a00c8: Download complete 15:02:37 b352a97aabf1: Verifying Checksum 15:02:37 b352a97aabf1: Download complete 15:02:37 4872d77fe225: Verifying Checksum 15:02:37 4872d77fe225: Download complete 15:02:37 5851b861e8e6: Verifying Checksum 15:02:37 5851b861e8e6: Download complete 15:02:37 b85a868b505f: Verifying Checksum 15:02:37 b85a868b505f: Download complete 15:02:38 bab4dde63d76: Verifying Checksum 15:02:38 bab4dde63d76: Download complete 15:02:39 b85a868b505f: Pull complete 15:02:39 e2be974225ed: Pull complete 15:02:40 339a4e72a1f5: Pull complete 15:02:40 988bab9f4d93: Pull complete 15:02:40 1469e6f7b9e6: Pull complete 15:02:40 eaf3925da568: Pull complete 15:02:42 bab4dde63d76: Pull complete 15:02:42 bde34c3a00c8: Pull complete 15:02:42 b352a97aabf1: Pull complete 15:02:42 4872d77fe225: Pull complete 15:02:42 5851b861e8e6: Pull complete 15:02:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:02:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:42 prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container 15:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:02:47 $ docker top 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d -eo pid,comm 15:02: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). 15:02:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:47 [ssh-agent] Looking for ssh-agent implementation... 15:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:47 $ docker exec 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent 15:02:47 SSH_AUTH_SOCK=/tmp/ssh-3VGPiGjeDfIn/agent.33 15:02:47 SSH_AGENT_PID=39 15:02:47 Running ssh-add (command line suppressed) 15:02:47 Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9839239030855346891.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9839239030855346891.key) 15:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:47 + git tag --points-at HEAD [Pipeline] } 15:02:47 $ docker exec --env ******** --env ******** 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent -k 15:02:47 unset SSH_AUTH_SOCK; 15:02:47 unset SSH_AGENT_PID; 15:02:47 echo Agent pid 39 killed; 15:02:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:02:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:48 [ssh-agent] Looking for ssh-agent implementation... 15:02:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:48 $ docker exec 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent 15:02:48 SSH_AUTH_SOCK=/tmp/ssh-mLyq6Yq8JvEI/agent.71 15:02:48 SSH_AGENT_PID=77 15:02:48 Running ssh-add (command line suppressed) 15:02:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_920950142119902291.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_920950142119902291.key) 15:02:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:48 + git semver init 15:02:48 2023-04-18 15:02:48,837 [run_init] DEBUG init version:0.0.0 force:False 15:02:48 2023-04-18 15:02:48,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-304/.semver 15:02:48 2023-04-18 15:02:48,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-304/.semver 15:02:48 2023-04-18 15:02:48,838 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-304/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-304, universal_newlines=False, shell=None, istream=None) 15:02:49 2023-04-18 15:02:49,830 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-304/.git/info/exclude 15:02:49 2023-04-18 15:02:49,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 with force:False 15:02:49 2023-04-18 15:02:49,830 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 15:02:49 2023-04-18 15:02:49,833 [execute] INFO git cat-file --batch-check 15:02:49 2023-04-18 15:02:49,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) 15:02:49 2023-04-18 15:02:49,839 [execute] INFO git cat-file --batch 15:02:49 2023-04-18 15:02:49,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) 15:02:49 2023-04-18 15:02:49,843 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 15:02:49 0.0.0 [Pipeline] } 15:02:50 $ docker exec --env ******** --env ******** 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent -k 15:02:50 unset SSH_AUTH_SOCK; 15:02:50 unset SSH_AGENT_PID; 15:02:50 echo Agent pid 77 killed; 15:02:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:02:50 + git semver [Pipeline] } 15:02:50 $ docker stop --time=1 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d 15:02:52 $ docker rm -f --volumes 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d [Pipeline] // withDockerContainer [Pipeline] sh 15:02:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:02:52 Stashed 1 file(s) [Pipeline] echo 15:02:52 [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 15:02:53 provisioning config files... 15:02:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config14379924439256181269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:53 ---> docker-login.sh 15:02:53 nexus3.edgexfoundry.org:10001 15:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:53 Configure a credential helper to remove this warning. See 15:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:53 15:02:53 Login Succeeded 15:02:53 nexus3.edgexfoundry.org:10002 15:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:53 Configure a credential helper to remove this warning. See 15:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:53 15:02:53 Login Succeeded 15:02:53 nexus3.edgexfoundry.org:10003 15:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:53 Configure a credential helper to remove this warning. See 15:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:53 15:02:53 Login Succeeded 15:02:53 nexus3.edgexfoundry.org:10004 15:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:53 Configure a credential helper to remove this warning. See 15:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:53 15:02:53 Login Succeeded 15:02:53 docker.io 15:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:53 Configure a credential helper to remove this warning. See 15:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:53 15:02:53 Login Succeeded 15:02:53 ---> docker-login.sh ends [Pipeline] } 15:02:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:02:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:02:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:02:54 ========================================================= 15:02:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:02:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02: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 . 15:02:54 Sending build context to Docker daemon 21.48MB 15:02:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:02:54 Step 2/13 : FROM ${BASE} AS builder 15:02:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:02:54 213ec9aee27d: Pulling fs layer 15:02:54 4583459ba037: Pulling fs layer 15:02:54 93c1e223e6f2: Pulling fs layer 15:02:54 53926ce57604: Pulling fs layer 15:02:54 21b2b0c7a3f4: Pulling fs layer 15:02:54 22ff95d597cd: Pulling fs layer 15:02:54 12d6caf4c0d1: Pulling fs layer 15:02:54 96b7cbca73a9: Pulling fs layer 15:02:54 a7acece74701: Pulling fs layer 15:02:54 22ff95d597cd: Waiting 15:02:54 96b7cbca73a9: Waiting 15:02:54 a7acece74701: Waiting 15:02:54 53926ce57604: Waiting 15:02:54 12d6caf4c0d1: Waiting 15:02:54 93c1e223e6f2: Verifying Checksum 15:02:54 93c1e223e6f2: Download complete 15:02:54 4583459ba037: Download complete 15:02:54 21b2b0c7a3f4: Download complete 15:02:54 213ec9aee27d: Download complete 15:02:54 22ff95d597cd: Verifying Checksum 15:02:54 22ff95d597cd: Download complete 15:02:54 12d6caf4c0d1: Verifying Checksum 15:02:54 213ec9aee27d: Pull complete 15:02:55 4583459ba037: Pull complete 15:02:55 93c1e223e6f2: Pull complete 15:02:55 a7acece74701: Verifying Checksum 15:02:55 a7acece74701: Download complete 15:02:55 96b7cbca73a9: Verifying Checksum 15:02:55 96b7cbca73a9: Download complete 15:02:55 53926ce57604: Verifying Checksum 15:02:55 53926ce57604: Download complete 15:02:59 53926ce57604: Pull complete 15:02:59 21b2b0c7a3f4: Pull complete 15:02:59 22ff95d597cd: Pull complete 15:02:59 12d6caf4c0d1: Pull complete 15:03:02 96b7cbca73a9: Pull complete 15:03:03 a7acece74701: Pull complete 15:03:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:03:03 ---> db6d94c90886 15:03:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:03:08 Still waiting to schedule task 15:03:08 ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:03:08 ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:03:08 ‘prd-ubuntu20.04-docker-8c-8g-8926’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:03:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8927’ is offline 15:03:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8931’ is offline 15:03:11 ---> Running in 1d579f8d7ff0 15:03:11 Removing intermediate container 1d579f8d7ff0 15:03:11 ---> 6ddd3f27d903 15:03:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:03:11 ---> Running in 8e216f1c3f1d 15:03:11 Removing intermediate container 8e216f1c3f1d 15:03:11 ---> cc022c3c3d5d 15:03:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:03:11 ---> Running in cd9afc415d11 15:03:11 Removing intermediate container cd9afc415d11 15:03:11 ---> 501f0e4bffff 15:03:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:03:11 ---> Running in e22ca8c7cb39 15:03:11 Removing intermediate container e22ca8c7cb39 15:03:11 ---> 9c09406079cd 15:03:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:03:11 ---> Running in f7fc8190583b 15:03:11 Removing intermediate container f7fc8190583b 15:03:11 ---> 257937085bdf 15:03:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:03:11 ---> Running in b75872445b3e 15:03:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:03:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:03:12 OK: 211 MiB in 51 packages 15:03:12 Removing intermediate container b75872445b3e 15:03:12 ---> 56d1f8186f86 15:03:12 Step 9/13 : WORKDIR /device-onvif-camera 15:03:12 ---> Running in 6498f1a200a3 15:03:12 Removing intermediate container 6498f1a200a3 15:03:12 ---> e9544f7df6ef 15:03:12 Step 10/13 : COPY go.mod vendor* ./ 15:03:12 ---> d21179b546cd 15:03:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:12 ---> Running in dcdbb263ce97 15:03:51 Removing intermediate container dcdbb263ce97 15:03:51 ---> bd5649c42ca4 15:03:51 Step 12/13 : COPY . . 15:03:51 ---> 30a449a82c82 15:03:51 Step 13/13 : RUN ${MAKE} 15:03:51 ---> Running in 223ddfa79ab7 15:03:51 noop 15:03:52 Removing intermediate container 223ddfa79ab7 15:03:52 ---> ef026476a218 15:03:52 Successfully built ef026476a218 15:03:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:52 + docker inspect -f . ci-base-image-x86_64 15:03:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:53 prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container 15:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:03:53 $ docker top 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:54 + go version 15:03:54 go version go1.18.7 linux/amd64 [Pipeline] } 15:03:54 $ docker stop --time=1 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e 15:03:55 $ docker rm -f --volumes 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:55 + docker inspect -f . ci-base-image-x86_64 15:03:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:55 prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container 15:03:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:03:56 $ docker top 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-304 [Pipeline] fileExists [Pipeline] sh 15:03:56 + make test 15:03:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:03:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:04:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:04:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 29.3% of statements 15:04:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:04:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.392s coverage: 86.5% of statements 15:04:20 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:04:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:04:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:04:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:04:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:04:25 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:04:25 $ docker stop --time=1 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 15:04:27 $ docker rm -f --volumes 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 [Pipeline] // withDockerContainer [Pipeline] sh 15:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:04:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:04:29 + ls -al . 15:04:29 total 248 15:04:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:03 . 15:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 .. 15:04:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:04 .git 15:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:02 .github 15:04:29 -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:02 .gitignore 15:04:29 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:02 .golangci.yml 15:04:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:02 .semver 15:04:29 -rw-rw-r-- 1 jenkins jenkins 9739 Apr 18 15:02 Attribution.txt 15:04:29 -rw-rw-r-- 1 jenkins jenkins 6535 Apr 18 15:02 CHANGELOG.md 15:04:29 -rw-rw-r-- 1 jenkins jenkins 1637 Apr 18 15:02 Dockerfile 15:04:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:02 GOVERNANCE.md 15:04:29 -rw-rw-r-- 1 jenkins jenkins 762 Apr 18 15:02 Jenkinsfile 15:04:29 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:02 LICENSE 15:04:29 -rw-rw-r-- 1 jenkins jenkins 2997 Apr 18 15:02 Makefile 15:04:29 -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:02 OWNERS.md 15:04:29 -rw-rw-r-- 1 jenkins jenkins 4875 Apr 18 15:02 README.md 15:04:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:02 VERSION 15:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:02 bin 15:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:02 cmd 15:04:29 -rw-r--r-- 1 jenkins jenkins 79184 Apr 18 15:04 coverage.out 15:04:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:02 doc 15:04:29 -rw-rw-r-- 1 jenkins jenkins 3687 Apr 18 15:02 go.mod 15:04:29 -rw-rw-r-- 1 jenkins jenkins 46105 Apr 18 15:02 go.sum 15:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 internal 15:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 snap 15:04:29 -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:29 + 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=a1952d58cc79031288275be91c62b396b9595faa --label arch=amd64 --label version=0.0.0 . 15:04:29 Sending build context to Docker daemon 21.56MB 15:04:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:04:29 Step 2/26 : FROM ${BASE} AS builder 15:04:29 ---> ef026476a218 15:04:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:04:29 ---> Running in b1451fa65c38 15:04:29 Removing intermediate container b1451fa65c38 15:04:29 ---> aaf4c2c2312c 15:04:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:04:29 ---> Running in 8336b87767b3 15:04:29 Removing intermediate container 8336b87767b3 15:04:29 ---> a4534b453f43 15:04:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:04:29 ---> Running in ab0f9e7fb03e 15:04:29 Removing intermediate container ab0f9e7fb03e 15:04:29 ---> a889ac39405a 15:04:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:04:29 ---> Running in 06ee37b6c795 15:04:29 Removing intermediate container 06ee37b6c795 15:04:29 ---> 47e3550899d9 15:04:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:04:30 ---> Running in c5710f282cea 15:04:30 Removing intermediate container c5710f282cea 15:04:30 ---> e75d816fa9e5 15:04:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:04:30 ---> Running in fff1e7adafcd 15:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:04:31 OK: 211 MiB in 51 packages 15:04:31 Removing intermediate container fff1e7adafcd 15:04:31 ---> e71ebf8b21ad 15:04:31 Step 9/26 : WORKDIR /device-onvif-camera 15:04:31 ---> Running in 93760012071c 15:04:31 Removing intermediate container 93760012071c 15:04:31 ---> cbf1cff93721 15:04:31 Step 10/26 : COPY go.mod vendor* ./ 15:04:31 ---> 715a3247a60d 15:04:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:04:31 ---> Running in 87b5048f067c 15:04:32 Removing intermediate container 87b5048f067c 15:04:32 ---> a0bb7ea689f5 15:04:32 Step 12/26 : COPY . . 15:04:33 ---> 9c94e1ad5c46 15:04:33 Step 13/26 : RUN ${MAKE} 15:04:33 ---> Running in 8d7feac81384 15:04:33 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:05:00 Removing intermediate container 8d7feac81384 15:05:00 ---> cdd7837d661e 15:05:00 Step 14/26 : FROM alpine:3.16 15:05:00 3.16: Pulling from library/alpine 15:05:00 91d30c5bc195: Pulling fs layer 15:05:00 91d30c5bc195: Download complete 15:05:00 91d30c5bc195: Pull complete 15:05:00 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 15:05:00 Status: Downloaded newer image for alpine:3.16 15:05:00 ---> 8471affe5de5 15:05:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:05:00 ---> Running in fdd7e4f27e69 15:05:00 Removing intermediate container fdd7e4f27e69 15:05:00 ---> 62756e22ab2e 15:05:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:05:00 ---> Running in 235ae2c00f2e 15:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:05:01 (1/6) Installing dumb-init (1.2.5-r1) 15:05:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:05:01 (3/6) Installing libsodium (1.0.18-r0) 15:05:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:05:01 (5/6) Installing libzmq (4.3.4-r0) 15:05:01 (6/6) Installing zeromq (4.3.4-r0) 15:05:01 Executing busybox-1.35.0-r17.trigger 15:05:01 OK: 8 MiB in 20 packages 15:05:01 Removing intermediate container 235ae2c00f2e 15:05:01 ---> 5edb4439cf4c 15:05:01 Step 17/26 : WORKDIR / 15:05:01 ---> Running in 67ad5dadac2a 15:05:02 Removing intermediate container 67ad5dadac2a 15:05:02 ---> 96a6ab78e178 15:05:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:05:03 ---> 86ce096d3a9a 15:05:03 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:05:03 ---> cd6141eabf7c 15:05:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:05:03 ---> 7b7866cc3a46 15:05:03 Step 21/26 : EXPOSE 59984 15:05:03 ---> Running in 80946e08ef3e 15:05:03 Removing intermediate container 80946e08ef3e 15:05:03 ---> f9a9f0256476 15:05:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:05:03 ---> Running in 6c44ed97cd23 15:05:03 Removing intermediate container 6c44ed97cd23 15:05:03 ---> 70d6543fad3d 15:05:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:05:03 ---> Running in 5d30cbe5de72 15:05:03 Removing intermediate container 5d30cbe5de72 15:05:03 ---> c418e755e744 15:05:03 Step 24/26 : LABEL arch=amd64 15:05:03 ---> Running in a9b0caaef769 15:05:03 Removing intermediate container a9b0caaef769 15:05:03 ---> 532571f4c031 15:05:03 Step 25/26 : LABEL git_sha=a1952d58cc79031288275be91c62b396b9595faa 15:05:03 ---> Running in 80b6f3f8037c 15:05:03 Removing intermediate container 80b6f3f8037c 15:05:03 ---> d1528a4800bb 15:05:03 Step 26/26 : LABEL version=0.0.0 15:05:03 ---> Running in b50190261478 15:05:03 Removing intermediate container b50190261478 15:05:03 ---> b52dfad7484b 15:05:03 [Warning] One or more build-args [ARCH] were not consumed 15:05:03 Successfully built b52dfad7484b 15:05:03 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 15:05:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:04 15:05:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:04 latest: Pulling from edgex-lftools-log-publisher 15:05:04 5eb5b503b376: Pulling fs layer 15:05:04 5c69ac0246d0: Pulling fs layer 15:05:04 ec43610c2a17: Pulling fs layer 15:05:04 3a2ae6a8a46f: Pulling fs layer 15:05:04 33b1e0a273af: Pulling fs layer 15:05:04 5d3b04190fa2: Pulling fs layer 15:05:04 2f39f015ded8: Pulling fs layer 15:05:04 33b1e0a273af: Waiting 15:05:04 5d3b04190fa2: Waiting 15:05:04 3a2ae6a8a46f: Waiting 15:05:04 2f39f015ded8: Waiting 15:05:04 5c69ac0246d0: Verifying Checksum 15:05:04 5c69ac0246d0: Download complete 15:05:04 3a2ae6a8a46f: Verifying Checksum 15:05:04 3a2ae6a8a46f: Download complete 15:05:04 33b1e0a273af: Verifying Checksum 15:05:04 33b1e0a273af: Download complete 15:05:04 ec43610c2a17: Verifying Checksum 15:05:04 ec43610c2a17: Download complete 15:05:04 5d3b04190fa2: Verifying Checksum 15:05:04 5d3b04190fa2: Download complete 15:05:04 5eb5b503b376: Verifying Checksum 15:05:04 5eb5b503b376: Download complete 15:05:05 2f39f015ded8: Download complete 15:05:06 5eb5b503b376: Pull complete 15:05:06 5c69ac0246d0: Pull complete 15:05:06 ec43610c2a17: Pull complete 15:05:06 3a2ae6a8a46f: Pull complete 15:05:07 33b1e0a273af: Pull complete 15:05:07 5d3b04190fa2: Pull complete 15:05:12 2f39f015ded8: Pull complete 15:05:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:05:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:12 prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container 15:05:12 $ 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-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:05:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8933 in /w/workspace/undry_device-onvif-camera_PR-304 15:05:16 $ docker top 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 15:05:16 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 15:05:16 The recommended git tool is: git 15:05:17 ---> job-cost.sh 15:05:17 lf-activate-venv: SKIPPING 15:05:17 INFO: No Stack... 15:05:17 INFO: Retrieving Pricing Info for: v3-standard-8 15:05:17 INFO: Archiving Costs [Pipeline] sh 15:05:18 + cat /w/workspace/undry_device-onvif-camera_PR-304/archives/cost.csv 15:05:18 + cut -d, -f6 [Pipeline] lock 15:05:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] 15:05:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] did not exist. Created. 15:05:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:05:18 + echo total: 0.2199999988079071 [Pipeline] stash 15:05:18 Stashed 1 file(s) [Pipeline] } 15:05:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:05:18 $ docker stop --time=1 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d 15:05:19 $ docker rm -f --volumes 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:05:22 using credential edgex-jenkins-ssh 15:05:22 Cloning the remote Git repository 15:05:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:05:22 > git init /w/workspace/device-onvif-camera/2 # timeout=10 15:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:05:22 > git --version # timeout=10 15:05:22 > git --version # 'git version 2.25.1' 15:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:05:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:05:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 15:05:26 Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit a1952d58cc79031288275be91c62b396b9595faa 15:05:26 Merge succeeded, producing a1952d58cc79031288275be91c62b396b9595faa 15:05:26 Checking out Revision a1952d58cc79031288275be91c62b396b9595faa (PR-304) 15:05:26 > git config core.sparsecheckout # timeout=10 15:05:26 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 15:05:26 > git remote # timeout=10 15:05:26 > git config --get remote.origin.url # timeout=10 15:05:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:26 > git merge 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 15:05:26 > git rev-parse HEAD^{commit} # timeout=10 15:05:26 > git config core.sparsecheckout # timeout=10 15:05:26 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 15:05:30 Commit message: "docs: remove broken links" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:05:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:05:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:05:31 Dload Upload Total Spent Left Speed 15:05:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 15:05:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:05:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:05:32 + sudo tee /etc/docker/daemon.new 15:05:32 { 15:05:32 "registry-mirrors": [ 15:05:32 "https://nexus3.edgexfoundry.org:10001" 15:05:32 ], 15:05:32 "bip": "10.250.0.254/24", 15:05:32 "hosts": [ 15:05:32 "tcp://0.0.0.0:5555", 15:05:32 "unix:///var/run/docker.sock" 15:05:32 ], 15:05:32 "mtu": 1458, 15:05:32 "selinux-enabled": true, 15:05:32 "seccomp-profile": "/etc/docker/seccomp.json" 15:05:32 } [Pipeline] sh 15:05:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:05:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:51 provisioning config files... 15:05:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config16542360244642106751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:51 ---> docker-login.sh 15:05:51 nexus3.edgexfoundry.org:10001 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:52 Configure a credential helper to remove this warning. See 15:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:52 15:05:52 Login Succeeded 15:05:52 nexus3.edgexfoundry.org:10002 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:52 Configure a credential helper to remove this warning. See 15:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:52 15:05:52 Login Succeeded 15:05:52 nexus3.edgexfoundry.org:10003 15:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:53 Configure a credential helper to remove this warning. See 15:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:53 15:05:53 Login Succeeded 15:05:53 nexus3.edgexfoundry.org:10004 15:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:53 Configure a credential helper to remove this warning. See 15:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:53 15:05:53 Login Succeeded 15:05:53 docker.io 15:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:53 Configure a credential helper to remove this warning. See 15:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:53 15:05:53 Login Succeeded 15:05:53 ---> docker-login.sh ends [Pipeline] } 15:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:54 ========================================================= 15:05:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:05:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:54 + 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 . 15:05:55 Sending build context to Docker daemon 14.21MB 15:05:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:05:55 Step 2/13 : FROM ${BASE} AS builder 15:05:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:05:55 9b18e9b68314: Pulling fs layer 15:05:55 35d82f9e3411: Pulling fs layer 15:05:55 e16973657156: Pulling fs layer 15:05:55 fc693d55d65f: Pulling fs layer 15:05:55 7e9fc2657dce: Pulling fs layer 15:05:55 dda99020689f: Pulling fs layer 15:05:55 db1c61fa0a46: Pulling fs layer 15:05:55 891c053d2c06: Pulling fs layer 15:05:55 7e9fc2657dce: Waiting 15:05:55 dda99020689f: Waiting 15:05:55 db1c61fa0a46: Waiting 15:05:55 891c053d2c06: Waiting 15:05:55 fc693d55d65f: Waiting 15:05:55 e16973657156: Verifying Checksum 15:05:55 e16973657156: Download complete 15:05:55 35d82f9e3411: Download complete 15:05:55 7e9fc2657dce: Verifying Checksum 15:05:55 7e9fc2657dce: Download complete 15:05:55 9b18e9b68314: Verifying Checksum 15:05:55 9b18e9b68314: Download complete 15:05:55 dda99020689f: Download complete 15:05:56 9b18e9b68314: Pull complete 15:05:56 891c053d2c06: Verifying Checksum 15:05:56 891c053d2c06: Download complete 15:05:56 35d82f9e3411: Pull complete 15:05:56 e16973657156: Pull complete 15:05:57 db1c61fa0a46: Verifying Checksum 15:05:57 db1c61fa0a46: Download complete 15:05:58 fc693d55d65f: Verifying Checksum 15:05:58 fc693d55d65f: Download complete 15:06:10 fc693d55d65f: Pull complete 15:06:10 7e9fc2657dce: Pull complete 15:06:10 dda99020689f: Pull complete 15:06:15 db1c61fa0a46: Pull complete 15:06:17 891c053d2c06: Pull complete 15:06:17 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:06:17 ---> f96f9c87975a 15:06:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:06:19 ---> Running in 2752390809ed 15:06:20 Removing intermediate container 2752390809ed 15:06:20 ---> fd8b94dd77b2 15:06:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:06:20 ---> Running in febe7ad87802 15:06:20 Removing intermediate container febe7ad87802 15:06:20 ---> 33480f43646e 15:06:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:06:20 ---> Running in 7d72a7e68305 15:06:20 Removing intermediate container 7d72a7e68305 15:06:20 ---> 0bd65a26898c 15:06:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:06:20 ---> Running in dff4ed16a611 15:06:21 Removing intermediate container dff4ed16a611 15:06:21 ---> 5c382bd79357 15:06:21 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:06:21 ---> Running in 8faebc614524 15:06:21 Removing intermediate container 8faebc614524 15:06:21 ---> 1d16bace2883 15:06:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:06:21 ---> Running in 5e9c0da60d21 15:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:06:24 OK: 221 MiB in 51 packages 15:06:25 Removing intermediate container 5e9c0da60d21 15:06:25 ---> 1952c0599661 15:06:25 Step 9/13 : WORKDIR /device-onvif-camera 15:06:25 ---> Running in 09cd3f88442f 15:06:25 Removing intermediate container 09cd3f88442f 15:06:25 ---> 2bb3e91fdaaf 15:06:25 Step 10/13 : COPY go.mod vendor* ./ 15:06:25 ---> 7624e0bb2105 15:06:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:26 ---> Running in 430fa0b97755 15:07:22 Removing intermediate container 430fa0b97755 15:07:22 ---> f3b54a32ed5a 15:07:22 Step 12/13 : COPY . . 15:07:22 ---> c46d46313836 15:07:22 Step 13/13 : RUN ${MAKE} 15:07:22 ---> Running in 83a8b5a8e383 15:07:23 noop 15:07:24 Removing intermediate container 83a8b5a8e383 15:07:24 ---> 4b98e532f10a 15:07:24 Successfully built 4b98e532f10a 15:07:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:24 + docker inspect -f . ci-base-image-arm64 15:07:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:24 prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container 15:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:07:26 $ docker top 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:27 + go version 15:07:27 go version go1.18.7 linux/arm64 [Pipeline] } 15:07:27 $ docker stop --time=1 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 15:07:28 $ docker rm -f --volumes 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:29 + docker inspect -f . ci-base-image-arm64 15:07:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:29 prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container 15:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:07:30 $ docker top a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b -eo pid,comm [Pipeline] { [Pipeline] sh 15:07:31 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 15:07:32 + make test 15:07:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:07:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:09:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:09:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 29.3% of statements 15:09:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:09:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.366s coverage: 86.5% of statements 15:09:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:09:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:10:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:10:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:10:11 ./bin/test-attribution-txt.sh [Pipeline] echo 15:10:11 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:10:11 $ docker stop --time=1 a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b 15:10:13 $ docker rm -f --volumes a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b [Pipeline] // withDockerContainer [Pipeline] sh 15:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:10:14 Warning: overwriting stash ‘coverage-report’ 15:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:10:15 + ls -al . 15:10:15 total 244 15:10:15 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 15:07 . 15:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 .. 15:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:05 .git 15:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:05 .github 15:10:15 -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:05 .gitignore 15:10:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:05 .golangci.yml 15:10:15 -rw-rw-r-- 1 jenkins jenkins 9739 Apr 18 15:05 Attribution.txt 15:10:15 -rw-rw-r-- 1 jenkins jenkins 6535 Apr 18 15:05 CHANGELOG.md 15:10:15 -rw-rw-r-- 1 jenkins jenkins 1637 Apr 18 15:05 Dockerfile 15:10:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:05 GOVERNANCE.md 15:10:15 -rw-rw-r-- 1 jenkins jenkins 762 Apr 18 15:05 Jenkinsfile 15:10:15 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:05 LICENSE 15:10:15 -rw-rw-r-- 1 jenkins jenkins 2997 Apr 18 15:05 Makefile 15:10:15 -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:05 OWNERS.md 15:10:15 -rw-rw-r-- 1 jenkins jenkins 4875 Apr 18 15:05 README.md 15:10:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:02 VERSION 15:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:05 bin 15:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:05 cmd 15:10:15 -rw-r--r-- 1 jenkins jenkins 79184 Apr 18 15:09 coverage.out 15:10:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:05 doc 15:10:15 -rw-rw-r-- 1 jenkins jenkins 3687 Apr 18 15:05 go.mod 15:10:15 -rw-rw-r-- 1 jenkins jenkins 46105 Apr 18 15:05 go.sum 15:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 internal 15:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 snap 15:10:15 -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:15 + 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=a1952d58cc79031288275be91c62b396b9595faa --label arch=arm64 --label version=0.0.0 . 15:10:16 Sending build context to Docker daemon 14.29MB 15:10:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:10:16 Step 2/26 : FROM ${BASE} AS builder 15:10:16 ---> 4b98e532f10a 15:10:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:10:16 ---> Running in fa8ca186eec0 15:10:17 Removing intermediate container fa8ca186eec0 15:10:17 ---> 2aa55b982ba5 15:10:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:10:18 ---> Running in bdbaced28646 15:10:18 Removing intermediate container bdbaced28646 15:10:18 ---> 9424cafef70d 15:10:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:10:18 ---> Running in a37213802423 15:10:18 Removing intermediate container a37213802423 15:10:18 ---> bdeb18f92a53 15:10:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:10:18 ---> Running in afcdae1f105a 15:10:19 Removing intermediate container afcdae1f105a 15:10:19 ---> 63cbf50c5eb7 15:10:19 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:10:19 ---> Running in bff87e4b639a 15:10:19 Removing intermediate container bff87e4b639a 15:10:19 ---> f1776fcd6f2e 15:10:19 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:19 ---> Running in 2d2c6dde5a93 15:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:10:23 OK: 221 MiB in 51 packages 15:10:24 Removing intermediate container 2d2c6dde5a93 15:10:24 ---> 0b5a5eeb2834 15:10:24 Step 9/26 : WORKDIR /device-onvif-camera 15:10:24 ---> Running in 779fe5a947ad 15:10:24 Removing intermediate container 779fe5a947ad 15:10:24 ---> cd50461d64e1 15:10:24 Step 10/26 : COPY go.mod vendor* ./ 15:10:28 ---> 66ac70ae46d6 15:10:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:28 ---> Running in dfeee5531c9d 15:10:31 Removing intermediate container dfeee5531c9d 15:10:31 ---> 594268769ab4 15:10:31 Step 12/26 : COPY . . 15:10:32 ---> e97656865d97 15:10:32 Step 13/26 : RUN ${MAKE} 15:10:32 ---> Running in a0175f1dc40f 15:10:33 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:13:10 Removing intermediate container a0175f1dc40f 15:13:10 ---> 76a236257f12 15:13:10 Step 14/26 : FROM alpine:3.16 15:13:10 3.16: Pulling from library/alpine 15:13:10 547446be3368: Pulling fs layer 15:13:10 547446be3368: Verifying Checksum 15:13:10 547446be3368: Download complete 15:13:10 547446be3368: Pull complete 15:13:10 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 15:13:10 Status: Downloaded newer image for alpine:3.16 15:13:10 ---> 3b5033019969 15:13:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:13:10 ---> Running in 98578ca8b482 15:13:10 Removing intermediate container 98578ca8b482 15:13:10 ---> c283d7dd4679 15:13:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:13:10 ---> Running in 5db8d67afbaf 15:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:13:10 (1/6) Installing dumb-init (1.2.5-r1) 15:13:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:13:10 (3/6) Installing libsodium (1.0.18-r0) 15:13:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:13:10 (5/6) Installing libzmq (4.3.4-r0) 15:13:10 (6/6) Installing zeromq (4.3.4-r0) 15:13:10 Executing busybox-1.35.0-r17.trigger 15:13:10 OK: 8 MiB in 20 packages 15:13:10 Removing intermediate container 5db8d67afbaf 15:13:10 ---> 9fe1f5961655 15:13:10 Step 17/26 : WORKDIR / 15:13:10 ---> Running in 4ef33de836df 15:13:10 Removing intermediate container 4ef33de836df 15:13:10 ---> 0bc158083530 15:13:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:13:10 ---> d73c5f30ca4f 15:13:10 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:13:10 ---> f5c191110418 15:13:10 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:13:10 ---> 9fb132ea3f94 15:13:10 Step 21/26 : EXPOSE 59984 15:13:10 ---> Running in f63cc62602c3 15:13:10 Removing intermediate container f63cc62602c3 15:13:10 ---> 4382d642ef91 15:13:10 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:13:10 ---> Running in e0b31ed040c2 15:13:10 Removing intermediate container e0b31ed040c2 15:13:10 ---> 55f3ece9c051 15:13:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:13:10 ---> Running in 2bacd29e8755 15:13:10 Removing intermediate container 2bacd29e8755 15:13:10 ---> 978e636d4664 15:13:10 Step 24/26 : LABEL arch=arm64 15:13:10 ---> Running in e5226d4a3388 15:13:10 Removing intermediate container e5226d4a3388 15:13:10 ---> 9736b916a108 15:13:10 Step 25/26 : LABEL git_sha=a1952d58cc79031288275be91c62b396b9595faa 15:13:10 ---> Running in 15a6738ed3d4 15:13:10 Removing intermediate container 15a6738ed3d4 15:13:10 ---> a60d25068784 15:13:10 Step 26/26 : LABEL version=0.0.0 15:13:10 ---> Running in 311acccce0fb 15:13:10 Removing intermediate container 311acccce0fb 15:13:10 ---> dd6d4682862e 15:13:10 [Warning] One or more build-args [ARCH] were not consumed 15:13:10 Successfully built dd6d4682862e 15:13:10 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 15:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:13:11 15:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:13:11 arm64: Pulling from edgex-lftools-log-publisher 15:13:11 8998bd30e6a1: Pulling fs layer 15:13:11 04944245beec: Pulling fs layer 15:13:11 699f458cf7ca: Pulling fs layer 15:13:11 765212b225bb: Pulling fs layer 15:13:11 f23df028b6ca: Pulling fs layer 15:13:11 d65c8cfc05b1: Pulling fs layer 15:13:11 2437ff75d9bd: Pulling fs layer 15:13:11 765212b225bb: Waiting 15:13:11 f23df028b6ca: Waiting 15:13:11 d65c8cfc05b1: Waiting 15:13:11 2437ff75d9bd: Waiting 15:13:11 04944245beec: Verifying Checksum 15:13:11 04944245beec: Download complete 15:13:11 765212b225bb: Verifying Checksum 15:13:11 765212b225bb: Download complete 15:13:11 f23df028b6ca: Verifying Checksum 15:13:11 f23df028b6ca: Download complete 15:13:11 d65c8cfc05b1: Verifying Checksum 15:13:11 d65c8cfc05b1: Download complete 15:13:12 699f458cf7ca: Verifying Checksum 15:13:12 699f458cf7ca: Download complete 15:13:12 8998bd30e6a1: Verifying Checksum 15:13:12 8998bd30e6a1: Download complete 15:13:15 2437ff75d9bd: Verifying Checksum 15:13:15 2437ff75d9bd: Download complete 15:13:16 8998bd30e6a1: Pull complete 15:13:17 04944245beec: Pull complete 15:13:18 699f458cf7ca: Pull complete 15:13:18 765212b225bb: Pull complete 15:13:19 f23df028b6ca: Pull complete 15:13:19 d65c8cfc05b1: Pull complete 15:13:34 2437ff75d9bd: Pull complete 15:13:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:13:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:34 prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container 15:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:13:37 $ docker top ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:13:38 ---> job-cost.sh 15:13:38 lf-activate-venv: SKIPPING 15:13:38 INFO: No Stack... 15:13:38 INFO: Retrieving Pricing Info for: v3-standard-4 15:13:39 INFO: Archiving Costs [Pipeline] sh 15:13:40 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 15:13:40 + cut -d, -f6 [Pipeline] lock 15:13:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] 15:13:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] did not exist. Created. 15:13:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:13:40 /w/workspace/device-onvif-camera/2@tmp/durable-49a442f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:13:41 + echo total: 0.10999999940395355 [Pipeline] stash 15:13:41 Warning: overwriting stash ‘stack-cost’ 15:13:41 Stashed 1 file(s) [Pipeline] } 15:13:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:13:41 $ docker stop --time=1 ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 15:13:43 $ docker rm -f --volumes ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 [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 15:13:43 provisioning config files... 15:13:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config15455829957930669200tmp [Pipeline] { [Pipeline] sh 15:13:43 + set +x 15:13:43 + curl -s https://codecov.io/bash 15:13:43 + bash -s -- 15:13:43 15:13:43 _____ _ 15:13:43 / ____| | | 15:13:43 | | ___ __| | ___ ___ _____ __ 15:13:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:13:43 | |___| (_) | (_| | __/ (_| (_) \ V / 15:13:43 \_____\___/ \__,_|\___|\___\___/ \_/ 15:13:43 Bash-1.0.6 15:13:43 15:13:43 15:13:43 ==> git version 2.25.1 found 15:13:43 ==> 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 15:13:43 Release-Date: 2020-01-08 15:13:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:13:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:13:43 ==> Jenkins CI detected. 15:13:43 current dir:  /w/workspace/undry_device-onvif-camera_PR-304 15:13:43 project root: . 15:13:43 --> token set from env 15:13:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:13:43 ==> Running gcov in . (disable via -X gcov) 15:13:43 ==> Python coveragepy not found 15:13:43 ==> Searching for coverage reports in: 15:13:43 + . 15:13:43 -> Found 1 reports 15:13:43 ==> Detecting git/mercurial file structure 15:13:43 ==> Reading reports 15:13:43 + ./coverage.out bytes=79184 15:13:43 ==> Appending adjustments 15:13:43 https://docs.codecov.io/docs/fixing-reports 15:13:44 + Found adjustments 15:13:44 ==> Gzipping contents 15:13:44 12K /tmp/codecov.rbo0iJ.gz 15:13:44 ==> Uploading reports 15:13:44 url: https://codecov.io 15:13:44 query: branch=PR-304&commit=a1952d58cc79031288275be91c62b396b9595faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= 15:13:44 -> Pinging Codecov 15:13:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-304&commit=a1952d58cc79031288275be91c62b396b9595faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= 15:13:44 -> Uploading to 15:13:44 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/F29A59C45E3A92E06B3E522C9905F8EF/a1952d58cc79031288275be91c62b396b9595faa/30ec6d20-317a-47f5-9a7a-09149041f089.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T151344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2af4da84e81f3bbf8ae587688b8f1df76e0ad03f6ad5083c36884695e3c5c89e 15:13:44 % Total % Received % Xferd Average Speed Time Time Time Current 15:13:44 Dload Upload Total Spent Left Speed 15:13:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10894 0 0 100 10894 0 53930 --:--:-- --:--:-- --:--:-- 53665 100 10894 0 0 100 10894 0 49518 --:--:-- --:--:-- --:--:-- 49294 15:13:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a1952d58cc79031288275be91c62b396b9595faa [Pipeline] } 15:13:44 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 15:13:45 + [ -d /w/workspace/undry_device-onvif-camera_PR-304/archives ] 15:13:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives 15:13:45 total 16 15:13:45 drwxr-xr-x 3 root root 4096 Apr 18 15:05 . 15:13:45 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:05 .. 15:13:45 drwxr-xr-x 2 root root 4096 Apr 18 15:05 cost 15:13:45 -rw-r--r-- 1 root root 91 Apr 18 15:05 cost.csv 15:13:45 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-304/archives 15:13:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives 15:13:45 total 16 15:13:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:05 . 15:13:45 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:05 .. 15:13:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:05 cost 15:13:45 -rw-r--r-- 1 jenkins jenkins 91 Apr 18 15:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:13:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:13:46 ---> package-listing.sh 15:13:46 ++ facter osfamily 15:13:46 ++ tr '[:upper:]' '[:lower:]' 15:13:46 + OS_FAMILY=debian 15:13:46 + workspace=/w/workspace/undry_device-onvif-camera_PR-304 15:13:46 + START_PACKAGES=/tmp/packages_start.txt 15:13:46 + END_PACKAGES=/tmp/packages_end.txt 15:13:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:13:46 + PACKAGES=/tmp/packages_start.txt 15:13:46 + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' 15:13:46 + PACKAGES=/tmp/packages_end.txt 15:13:46 + case "${OS_FAMILY}" in 15:13:46 + dpkg -l 15:13:46 + grep '^ii' 15:13:46 + '[' -f /tmp/packages_start.txt ']' 15:13:46 + '[' -f /tmp/packages_end.txt ']' 15:13:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:13:46 + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' 15:13:46 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-304/archives/ 15:13:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-304/archives/ [Pipeline] echo 15:13:46 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-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:13:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:47 prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container 15:13:47 $ 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-304/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-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:13:47 $ docker top 236adf9b7567a5bf84b1e7a42bc6986508d4e6204e07b0adbe564277b73392a9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:48 + touch /tmp/pre-build-complete [Pipeline] sh 15:13:48 + mkdir -p /var/log/sysstat [Pipeline] sh 15:13:48 + ls /var/log/sa-host 15:13:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:13:48 provisioning config files... 15:13:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config17110512378949442234tmp [Pipeline] { [Pipeline] echo 15:13:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:13:49 ---> create-netrc.sh [Pipeline] } 15:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:13:49 ---> python-tools-install.sh [Pipeline] echo 15:13:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:13:49 ---> sudo-logs.sh 15:13:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:13:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:13:50 ---> job-cost.sh 15:13:50 lf-activate-venv: SKIPPING 15:13:50 DEBUG: total: 0.2199999988079071 15:13:50 INFO: Retrieving Stack Cost... 15:13:50 INFO: Retrieving Pricing Info for: v3-standard-8 15:13:50 INFO: Archiving Costs [Pipeline] echo 15:13:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:13:51 ---> logs-deploy.sh 15:13:51 lf-activate-venv: SKIPPING 15:13:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-304/2 15:13:51 INFO: archiving workspace using pattern(s): 15:13:52 Archives upload complete. 15:13:52 INFO: archiving logs to Nexus 15:13:53 ---> uname -a: 15:13:53 Linux prd-ubuntu20-04-docker-8c-8g-8930 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:13:53 15:13:53 15:13:53 ---> lscpu: 15:13:53 Architecture: x86_64 15:13:53 CPU op-mode(s): 32-bit, 64-bit 15:13:53 Byte Order: Little Endian 15:13:53 Address sizes: 40 bits physical, 48 bits virtual 15:13:53 CPU(s): 8 15:13:53 On-line CPU(s) list: 0-7 15:13:53 Thread(s) per core: 1 15:13:53 Core(s) per socket: 1 15:13:53 Socket(s): 8 15:13:53 NUMA node(s): 1 15:13:53 Vendor ID: AuthenticAMD 15:13:53 CPU family: 23 15:13:53 Model: 49 15:13:53 Model name: AMD EPYC-Rome Processor 15:13:53 Stepping: 0 15:13:53 CPU MHz: 2799.998 15:13:53 BogoMIPS: 5599.99 15:13:53 Virtualization: AMD-V 15:13:53 Hypervisor vendor: KVM 15:13:53 Virtualization type: full 15:13:53 L1d cache: 256 KiB 15:13:53 L1i cache: 256 KiB 15:13:53 L2 cache: 4 MiB 15:13:53 L3 cache: 128 MiB 15:13:53 NUMA node0 CPU(s): 0-7 15:13:53 Vulnerability Itlb multihit: Not affected 15:13:53 Vulnerability L1tf: Not affected 15:13:53 Vulnerability Mds: Not affected 15:13:53 Vulnerability Meltdown: Not affected 15:13:53 Vulnerability Mmio stale data: Not affected 15:13:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:13:53 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:13:53 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:13:53 Vulnerability Srbds: Not affected 15:13:53 Vulnerability Tsx async abort: Not affected 15:13:53 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 15:13:53 15:13:53 15:13:53 ---> nproc: 15:13:53 8 15:13:53 15:13:53 15:13:53 ---> df -h: 15:13:53 Filesystem Size Used Avail Use% Mounted on 15:13:53 overlay 155G 12G 144G 8% / 15:13:53 tmpfs 64M 0 64M 0% /dev 15:13:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 15:13:53 shm 64M 0 64M 0% /dev/shm 15:13:53 /dev/vda1 155G 12G 144G 8% /facter-os 15:13:53 15:13:53 15:13:53 ---> sar -b -r -n DEV: 15:13:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8930) 04/18/23 _x86_64_ (8 CPU) 15:13:53 15:13:53 15:01:33 LINUX RESTART (8 CPU) 15:13:53 15:13:53 15:02:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:13:53 15:03:01 211.49 40.61 170.87 0.00 4478.08 59218.16 0.00 15:13:53 15:04:01 172.45 0.67 171.79 0.00 7.60 76014.53 0.00 15:13:53 15:05:01 110.98 0.28 110.70 0.00 12.53 32993.43 0.00 15:13:53 15:06:01 81.15 0.00 81.15 0.00 0.00 28259.44 0.00 15:13:53 15:07:01 39.79 12.41 27.38 0.00 5489.89 14929.38 0.00 15:13:53 15:08:01 5.45 0.00 5.45 0.00 0.00 8788.00 0.00 15:13:53 15:09:01 2.33 0.00 2.33 0.00 0.00 8748.68 0.00 15:13:53 15:10:01 2.23 0.00 2.23 0.00 0.00 8614.03 0.00 15:13:53 15:11:01 2.57 0.00 2.57 0.00 0.00 8748.56 0.00 15:13:53 15:12:01 3.52 0.00 3.52 0.00 0.00 8775.34 0.00 15:13:53 15:13:01 2.35 0.00 2.35 0.00 0.00 8615.23 0.00 15:13:53 Average: 57.43 4.85 52.58 0.00 902.60 23919.53 0.00 15:13:53 15:13:53 15:02:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:13:53 15:03:01 29192648 31595528 726156 2.21 71672 2615004 2062960 6.08 1001016 2345772 715192 15:13:53 15:04:01 28288232 31474876 823344 2.50 138848 3256528 2243444 6.61 1297184 2851900 110956 15:13:53 15:05:01 28218536 31569932 729084 2.22 143720 3414988 2003096 5.90 1256952 2957460 3572 15:13:53 15:06:01 27729704 31598444 699996 2.13 154012 3872436 1781732 5.25 1280940 3374932 188 15:13:53 15:07:01 27325160 31552352 735052 2.24 162520 4206864 1844592 5.44 1539756 3489788 1060 15:13:53 15:08:01 27355512 31582756 705716 2.15 162604 4206860 1844592 5.44 1511996 3489748 172 15:13:53 15:09:01 27356040 31583348 705100 2.14 162684 4206864 1844592 5.44 1511544 3489756 16 15:13:53 15:10:01 27364140 31591580 696800 2.12 162756 4206872 1844592 5.44 1503572 3489792 260 15:13:53 15:11:01 27364608 31592092 696432 2.12 162828 4206872 1844592 5.44 1503604 3489796 172 15:13:53 15:12:01 27364916 31592932 696032 2.12 162960 4206852 1844592 5.44 1503252 3490164 28 15:13:53 15:13:01 27364584 31592672 696060 2.12 163020 4206856 1844592 5.44 1503324 3490172 12 15:13:53 Average: 27720371 31575137 719070 2.19 149784 3873363 1909398 5.63 1401195 3269025 75603 15:13:53 15:13:53 15:02:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:13:53 15:03:01 lo 7.05 7.05 0.68 0.68 0.00 0.00 0.00 0.00 15:13:53 15:03:01 ens3 638.60 388.95 6755.25 124.52 0.00 0.00 0.00 0.00 15:13:53 15:03:01 docker0 12.78 11.88 1.19 119.47 0.00 0.00 0.00 0.00 15:13:53 15:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:13:53 15:04:01 ens3 348.93 205.48 1850.74 29.22 0.00 0.00 0.00 0.00 15:13:53 15:04:01 veth69b2be7 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 15:13:53 15:04:01 docker0 186.94 320.03 14.25 1818.57 0.00 0.00 0.00 0.00 15:13:53 15:05:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 15:13:53 15:05:01 ens3 39.88 23.96 170.85 12.24 0.00 0.00 0.00 0.00 15:13:53 15:05:01 docker0 3.58 7.98 0.23 98.55 0.00 0.00 0.00 0.00 15:13:53 15:05:01 veth328e1ae 1.77 3.53 0.15 57.94 0.00 0.00 0.00 0.00 15:13:53 15:06:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 15:13:53 15:06:01 ens3 102.12 61.22 2524.08 11.97 0.00 0.00 0.00 0.00 15:13:53 15:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:07:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 15:13:53 15:07:01 ens3 139.08 70.55 1952.99 5.13 0.00 0.00 0.00 0.00 15:13:53 15:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:13:53 15:08:01 ens3 0.52 0.38 0.10 0.09 0.00 0.00 0.00 0.00 15:13:53 15:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:09:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:13:53 15:10:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 15:13:53 15:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:11:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:13:53 15:12:01 ens3 0.53 0.10 0.05 0.01 0.00 0.00 0.00 0.00 15:13:53 15:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 15:13:01 ens3 1.03 0.80 2.41 0.30 0.00 0.00 0.00 0.00 15:13:53 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:13:53 Average: lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 15:13:53 Average: ens3 114.75 67.84 1196.74 16.52 0.00 0.00 0.00 0.00 15:13:53 Average: docker0 18.49 30.93 1.43 185.23 0.00 0.00 0.00 0.00 15:13:53 15:13:53 15:13:53 ---> sar -P ALL: 15:13:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8930) 04/18/23 _x86_64_ (8 CPU) 15:13:53 15:13:53 15:01:33 LINUX RESTART (8 CPU) 15:13:53 15:13:53 15:02:02 CPU %user %nice %system %iowait %steal %idle 15:13:53 15:03:01 all 9.00 0.00 2.98 6.55 0.06 81.41 15:13:53 15:03:01 0 8.04 0.00 2.71 5.35 0.09 83.81 15:13:53 15:03:01 1 12.00 0.00 2.46 6.89 0.07 78.58 15:13:53 15:03:01 2 11.87 0.00 3.19 15.21 0.05 69.68 15:13:53 15:03:01 3 5.38 0.00 2.45 6.73 0.05 85.39 15:13:53 15:03:01 4 7.97 0.00 2.58 9.08 0.05 80.31 15:13:53 15:03:01 5 7.62 0.00 3.52 5.89 0.07 82.90 15:13:53 15:03:01 6 10.00 0.00 2.43 1.88 0.05 85.64 15:13:53 15:03:01 7 9.16 0.00 4.47 1.34 0.07 84.96 15:13:53 15:04:01 all 10.27 0.00 3.39 7.41 0.06 78.87 15:13:53 15:04:01 0 11.49 0.00 4.63 37.43 0.09 46.37 15:13:53 15:04:01 1 10.79 0.00 3.75 3.11 0.03 82.31 15:13:53 15:04:01 2 9.96 0.00 3.55 0.07 0.05 86.37 15:13:53 15:04:01 3 8.85 0.00 2.28 0.81 0.05 88.01 15:13:53 15:04:01 4 8.61 0.00 2.93 1.82 0.05 86.59 15:13:53 15:04:01 5 9.27 0.00 2.67 13.81 0.05 74.20 15:13:53 15:04:01 6 11.67 0.00 3.42 1.28 0.05 83.58 15:13:53 15:04:01 7 11.55 0.00 3.92 1.29 0.08 83.15 15:13:53 15:05:01 all 39.20 0.00 6.48 1.92 0.10 52.30 15:13:53 15:05:01 0 42.23 0.00 6.76 1.11 0.12 49.78 15:13:53 15:05:01 1 41.67 0.00 7.42 6.26 0.10 44.55 15:13:53 15:05:01 2 36.15 0.00 5.82 0.97 0.09 56.97 15:13:53 15:05:01 3 35.65 0.00 5.97 0.19 0.09 58.11 15:13:53 15:05:01 4 36.73 0.00 6.55 1.79 0.09 54.85 15:13:53 15:05:01 5 37.10 0.00 5.86 3.70 0.07 53.28 15:13:53 15:05:01 6 41.58 0.00 6.34 0.29 0.08 51.70 15:13:53 15:05:01 7 42.46 0.00 7.11 1.06 0.14 49.23 15:13:53 15:06:01 all 3.15 0.00 1.40 0.99 0.02 94.43 15:13:53 15:06:01 0 3.95 0.00 1.34 0.07 0.03 94.61 15:13:53 15:06:01 1 2.93 0.00 1.42 0.12 0.02 95.51 15:13:53 15:06:01 2 3.99 0.00 1.15 0.02 0.02 94.82 15:13:53 15:06:01 3 2.88 0.00 1.24 0.54 0.03 95.31 15:13:53 15:06:01 4 2.57 0.00 1.19 1.29 0.02 94.93 15:13:53 15:06:01 5 2.31 0.00 0.99 0.02 0.02 96.67 15:13:53 15:06:01 6 3.20 0.00 1.71 0.28 0.02 94.79 15:13:53 15:06:01 7 3.37 0.00 2.21 5.62 0.03 88.76 15:13:53 15:07:01 all 1.32 0.00 0.67 0.64 0.02 97.35 15:13:53 15:07:01 0 2.12 0.00 0.87 0.70 0.02 96.30 15:13:53 15:07:01 1 1.04 0.00 0.45 0.28 0.02 98.21 15:13:53 15:07:01 2 1.75 0.00 0.77 0.07 0.02 97.40 15:13:53 15:07:01 3 1.19 0.00 0.57 0.94 0.02 97.29 15:13:53 15:07:01 4 0.30 0.00 0.47 1.50 0.02 97.71 15:13:53 15:07:01 5 0.85 0.00 0.78 0.78 0.02 97.57 15:13:53 15:07:01 6 0.70 0.00 0.64 0.80 0.03 97.82 15:13:53 15:07:01 7 2.58 0.00 0.84 0.07 0.02 96.50 15:13:53 15:08:01 all 0.03 0.00 0.03 0.01 0.01 99.92 15:13:53 15:08:01 0 0.03 0.00 0.07 0.02 0.02 99.87 15:13:53 15:08:01 1 0.03 0.00 0.02 0.00 0.02 99.93 15:13:53 15:08:01 2 0.03 0.00 0.02 0.00 0.02 99.93 15:13:53 15:08:01 3 0.03 0.00 0.02 0.02 0.02 99.92 15:13:53 15:08:01 4 0.00 0.00 0.02 0.05 0.00 99.93 15:13:53 15:08:01 5 0.03 0.00 0.02 0.00 0.02 99.93 15:13:53 15:08:01 6 0.03 0.00 0.02 0.00 0.00 99.95 15:13:53 15:08:01 7 0.03 0.00 0.03 0.00 0.02 99.92 15:13:53 15:09:01 all 0.01 0.00 0.01 0.01 0.01 99.96 15:13:53 15:09:01 0 0.05 0.00 0.03 0.02 0.03 99.87 15:13:53 15:09:01 1 0.02 0.00 0.00 0.00 0.00 99.98 15:13:53 15:09:01 2 0.00 0.00 0.02 0.00 0.00 99.98 15:13:53 15:09:01 3 0.02 0.00 0.00 0.00 0.00 99.98 15:13:53 15:09:01 4 0.00 0.00 0.00 0.03 0.00 99.97 15:13:53 15:09:01 5 0.02 0.00 0.02 0.00 0.00 99.97 15:13:53 15:09:01 6 0.02 0.00 0.00 0.00 0.02 99.97 15:13:53 15:09:01 7 0.00 0.00 0.00 0.00 0.00 100.00 15:13:53 15:10:01 all 0.03 0.00 0.01 0.03 0.01 99.93 15:13:53 15:10:01 0 0.02 0.00 0.00 0.02 0.02 99.95 15:13:53 15:10:01 1 0.03 0.00 0.03 0.00 0.00 99.93 15:13:53 15:10:01 2 0.02 0.00 0.00 0.00 0.02 99.97 15:13:53 15:10:01 3 0.05 0.00 0.02 0.00 0.02 99.92 15:13:53 15:10:01 4 0.00 0.00 0.02 0.20 0.00 99.78 15:13:53 15:10:01 5 0.03 0.00 0.00 0.00 0.00 99.97 15:13:53 15:10:01 6 0.05 0.00 0.00 0.00 0.00 99.95 15:13:53 15:10:01 7 0.03 0.00 0.02 0.00 0.00 99.95 15:13:53 15:11:01 all 0.09 0.00 0.01 0.02 0.01 99.86 15:13:53 15:11:01 0 0.05 0.00 0.03 0.03 0.02 99.87 15:13:53 15:11:01 1 0.02 0.00 0.02 0.00 0.02 99.95 15:13:53 15:11:01 2 0.00 0.00 0.02 0.00 0.00 99.98 15:13:53 15:11:01 3 0.02 0.00 0.00 0.00 0.02 99.97 15:13:53 15:11:01 4 0.02 0.00 0.00 0.17 0.00 99.82 15:13:53 15:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 15:13:53 15:11:01 6 0.57 0.00 0.02 0.00 0.02 99.40 15:13:53 15:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 15:13:53 15:12:01 all 0.27 0.00 0.01 0.08 0.01 99.63 15:13:53 15:12:01 0 0.02 0.00 0.03 0.08 0.02 99.85 15:13:53 15:12:01 1 0.07 0.00 0.00 0.00 0.00 99.93 15:13:53 15:12:01 2 0.02 0.00 0.02 0.00 0.02 99.95 15:13:53 15:12:01 3 0.03 0.00 0.02 0.05 0.00 99.90 15:13:53 15:12:01 4 0.00 0.00 0.02 0.48 0.00 99.50 15:13:53 15:12:01 5 0.00 0.00 0.02 0.00 0.02 99.97 15:13:53 15:12:01 6 1.99 0.00 0.00 0.00 0.02 98.00 15:13:53 15:12:01 7 0.03 0.00 0.00 0.00 0.00 99.97 15:13:53 15:13:01 all 0.13 0.00 0.01 0.02 0.01 99.84 15:13:53 15:13:01 0 0.07 0.00 0.02 0.02 0.02 99.88 15:13:53 15:13:01 1 0.02 0.00 0.00 0.00 0.00 99.98 15:13:53 15:13:01 2 0.00 0.00 0.02 0.00 0.02 99.97 15:13:53 15:13:01 3 0.02 0.00 0.00 0.00 0.02 99.97 15:13:53 15:13:01 4 0.00 0.00 0.02 0.12 0.00 99.87 15:13:53 15:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 15:13:53 15:13:01 6 0.93 0.00 0.00 0.00 0.00 99.07 15:13:53 15:13:01 7 0.02 0.00 0.02 0.00 0.00 99.97 15:13:53 15:13:53 Average: CPU %user %nice %system %iowait %steal %idle 15:13:53 Average: all 5.71 0.00 1.35 1.59 0.03 91.32 15:13:53 Average: 0 6.13 0.00 1.48 4.02 0.04 88.33 15:13:53 Average: 1 6.18 0.00 1.40 1.49 0.02 90.90 15:13:53 Average: 2 5.72 0.00 1.31 1.45 0.03 91.49 15:13:53 Average: 3 4.86 0.00 1.13 0.83 0.03 93.15 15:13:53 Average: 4 5.04 0.00 1.24 1.48 0.02 92.22 15:13:53 Average: 5 5.13 0.00 1.25 2.18 0.02 91.42 15:13:53 Average: 6 6.37 0.00 1.31 0.41 0.03 91.88 15:13:53 Average: 7 6.24 0.00 1.68 0.85 0.03 91.21 15:13:53 15:13:53 15:13:53