Pull request #245 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3db9ec9e4acb35ac194ded49032763a22c354391+5eec883b2bb43bf890ad540a9146487d6a3ec42a (b0c697db7661fc1ad23bf83038321b7653d28b30) 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-ssh14042142161533635337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8551177186979707437.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-245/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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10365908106345562092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1404920771755693580.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-245/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-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4455883806845627402.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8573’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8582 in /w/workspace/undry_device-onvif-camera_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 3db9ec9e4acb35ac194ded49032763a22c354391 Merge succeeded, producing 3db9ec9e4acb35ac194ded49032763a22c354391 Checking out Revision 3db9ec9e4acb35ac194ded49032763a22c354391 (PR-245) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" First time build. Skipping changelog. > 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/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # 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 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 > git rev-list --no-walk c3c4e2fe4d4098176da55fece96e0a94ee4d6394 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:17:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:17:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:17:38 ========================================================= 17:17:38 EdgeX Global Pipelines Version Info 17:17:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:17:38 ------------------- 17:17:38 stable info: 17:17:38 ------------------- 17:17:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:17:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:17:38 Message: update stable to v1.0.244 17:17:39 ------------------- 17:17:39 experimental info: 17:17:39 ------------------- 17:17:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:17:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:17:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo 17:17:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo 17:17:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo 17:17:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3db9ec9 [Pipeline] echo 17:17:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:40 provisioning config files... 17:17:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config4436459075399209894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:40 ---> docker-login.sh 17:17:40 nexus3.edgexfoundry.org:10001 17:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:40 Configure a credential helper to remove this warning. See 17:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:40 17:17:40 Login Succeeded 17:17:40 nexus3.edgexfoundry.org:10002 17:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:40 Configure a credential helper to remove this warning. See 17:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:40 17:17:40 Login Succeeded 17:17:40 nexus3.edgexfoundry.org:10003 17:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:40 Configure a credential helper to remove this warning. See 17:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:40 17:17:40 Login Succeeded 17:17:40 nexus3.edgexfoundry.org:10004 17:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:41 Configure a credential helper to remove this warning. See 17:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:41 17:17:41 Login Succeeded 17:17:41 docker.io 17:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:41 Configure a credential helper to remove this warning. See 17:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:41 17:17:41 Login Succeeded 17:17:41 ---> docker-login.sh ends [Pipeline] } 17:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:17:41 + git rev-list -1 --merges 3db9ec9e4acb35ac194ded49032763a22c354391~1..3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo 17:17:41 -----------> git rev-list -1 --merges 3db9ec9e4acb35ac194ded49032763a22c354391~1..3db9ec9e4acb35ac194ded49032763a22c354391 3db9ec9e4acb35ac194ded49032763a22c354391 [false] [Pipeline] sh 17:17:42 + git log --format=format:%s -1 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo 17:17:42 ========================================================= 17:17:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:17:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:17:42 + git log --format=format:%s -1 3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] echo 17:17:42 [semverPrep] GIT_COMMIT: 3db9ec9e4acb35ac194ded49032763a22c354391, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6 [Pipeline] echo 17:17:42 [semverPrep] This is not a build commit. [Pipeline] sh 17:17:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:42 + grep -v github /etc/ssh/ssh_known_hosts 17:17:42 + [ -e /tmp/ssh_known_hosts ] 17:17:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:17:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:17:42 + sudo tee -a /etc/ssh/ssh_known_hosts 17:17:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:43 17:17:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:43 0.1.4: Pulling from edgex-devops/py-git-semver 17:17:43 b85a868b505f: Pulling fs layer 17:17:43 e2be974225ed: Pulling fs layer 17:17:43 339a4e72a1f5: Pulling fs layer 17:17:43 988bab9f4d93: Pulling fs layer 17:17:43 1469e6f7b9e6: Pulling fs layer 17:17:43 eaf3925da568: Pulling fs layer 17:17:43 bab4dde63d76: Pulling fs layer 17:17:43 bde34c3a00c8: Pulling fs layer 17:17:43 b352a97aabf1: Pulling fs layer 17:17:43 4872d77fe225: Pulling fs layer 17:17:43 5851b861e8e6: Pulling fs layer 17:17:43 bab4dde63d76: Waiting 17:17:43 bde34c3a00c8: Waiting 17:17:43 b352a97aabf1: Waiting 17:17:43 4872d77fe225: Waiting 17:17:43 988bab9f4d93: Waiting 17:17:43 eaf3925da568: Waiting 17:17:43 1469e6f7b9e6: Waiting 17:17:43 5851b861e8e6: Waiting 17:17:43 e2be974225ed: Verifying Checksum 17:17:43 e2be974225ed: Download complete 17:17:43 988bab9f4d93: Verifying Checksum 17:17:43 988bab9f4d93: Download complete 17:17:43 1469e6f7b9e6: Verifying Checksum 17:17:43 1469e6f7b9e6: Download complete 17:17:43 eaf3925da568: Download complete 17:17:43 339a4e72a1f5: Verifying Checksum 17:17:43 339a4e72a1f5: Download complete 17:17:43 bde34c3a00c8: Download complete 17:17:43 b352a97aabf1: Verifying Checksum 17:17:43 b352a97aabf1: Download complete 17:17:43 4872d77fe225: Verifying Checksum 17:17:43 4872d77fe225: Download complete 17:17:43 5851b861e8e6: Verifying Checksum 17:17:43 5851b861e8e6: Download complete 17:17:43 b85a868b505f: Verifying Checksum 17:17:43 b85a868b505f: Download complete 17:17:44 bab4dde63d76: Verifying Checksum 17:17:44 bab4dde63d76: Download complete 17:17:45 b85a868b505f: Pull complete 17:17:45 e2be974225ed: Pull complete 17:17:45 339a4e72a1f5: Pull complete 17:17:45 988bab9f4d93: Pull complete 17:17:46 1469e6f7b9e6: Pull complete 17:17:46 eaf3925da568: Pull complete 17:17:48 bab4dde63d76: Pull complete 17:17:48 bde34c3a00c8: Pull complete 17:17:48 b352a97aabf1: Pull complete 17:17:48 4872d77fe225: Pull complete 17:17:48 5851b861e8e6: Pull complete 17:17:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:48 prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container 17:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:17:51 $ docker top 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 -eo pid,comm 17:17:51 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). 17:17:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:51 [ssh-agent] Looking for ssh-agent implementation... 17:17:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:51 $ docker exec 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent 17:17:51 SSH_AUTH_SOCK=/tmp/ssh-a4taIX9ZfBW6/agent.34 17:17:51 SSH_AGENT_PID=40 17:17:51 Running ssh-add (command line suppressed) 17:17:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12744044441929798050.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12744044441929798050.key) 17:17:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:52 + git tag --points-at HEAD [Pipeline] } 17:17:52 $ docker exec --env ******** --env ******** 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent -k 17:17:52 unset SSH_AUTH_SOCK; 17:17:52 unset SSH_AGENT_PID; 17:17:52 echo Agent pid 40 killed; 17:17:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:17:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:52 [ssh-agent] Looking for ssh-agent implementation... 17:17:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:52 $ docker exec 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent 17:17:52 SSH_AUTH_SOCK=/tmp/ssh-Dd2p7BjNSJYK/agent.72 17:17:52 SSH_AGENT_PID=78 17:17:52 Running ssh-add (command line suppressed) 17:17:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_15654595692233752147.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_15654595692233752147.key) 17:17:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:52 + git semver init 17:17:53 2023-03-07 17:17:53,141 [run_init] DEBUG init version:0.0.0 force:False 17:17:53 2023-03-07 17:17:53,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-245/.semver 17:17:53 2023-03-07 17:17:53,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-245/.semver 17:17:53 2023-03-07 17:17:53,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-245/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-245, universal_newlines=False, shell=None, istream=None) 17:17:54 2023-03-07 17:17:54,113 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-245/.git/info/exclude 17:17:54 2023-03-07 17:17:54,113 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 with force:False 17:17:54 2023-03-07 17:17:54,113 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 17:17:54 2023-03-07 17:17:54,118 [execute] INFO git cat-file --batch-check 17:17:54 2023-03-07 17:17:54,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 17:17:54 2023-03-07 17:17:54,125 [execute] INFO git cat-file --batch 17:17:54 2023-03-07 17:17:54,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 17:17:54 2023-03-07 17:17:54,132 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 17:17:54 0.0.0 [Pipeline] } 17:17:54 $ docker exec --env ******** --env ******** 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 ssh-agent -k 17:17:54 unset SSH_AUTH_SOCK; 17:17:54 unset SSH_AGENT_PID; 17:17:54 echo Agent pid 78 killed; 17:17:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:54 + git semver [Pipeline] } 17:17:55 $ docker stop --time=1 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 17:17:56 $ docker rm -f --volumes 544771b6a46f646edeffc4be48ca308918d330a26b54319255e4da6af7055c47 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:17:56 Stashed 1 file(s) [Pipeline] echo 17:17:56 [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 17:17:57 provisioning config files... 17:17:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config8725917064807883725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:57 ---> docker-login.sh 17:17:57 nexus3.edgexfoundry.org:10001 17:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:57 Configure a credential helper to remove this warning. See 17:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:57 17:17:57 Login Succeeded 17:17:57 nexus3.edgexfoundry.org:10002 17:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:57 Configure a credential helper to remove this warning. See 17:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:57 17:17:57 Login Succeeded 17:17:57 nexus3.edgexfoundry.org:10003 17:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:57 Configure a credential helper to remove this warning. See 17:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:57 17:17:57 Login Succeeded 17:17:57 nexus3.edgexfoundry.org:10004 17:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:57 Configure a credential helper to remove this warning. See 17:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:57 17:17:57 Login Succeeded 17:17:57 docker.io 17:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:57 Configure a credential helper to remove this warning. See 17:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:57 17:17:57 Login Succeeded 17:17:57 ---> docker-login.sh ends [Pipeline] } 17:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:17:58 ========================================================= 17:17:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:17:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:58 + 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 . 17:17:58 Sending build context to Docker daemon 27.84MB 17:17:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:17:58 Step 2/13 : FROM ${BASE} AS builder 17:17:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:17:58 213ec9aee27d: Pulling fs layer 17:17:58 4583459ba037: Pulling fs layer 17:17:58 93c1e223e6f2: Pulling fs layer 17:17:58 53926ce57604: Pulling fs layer 17:17:58 21b2b0c7a3f4: Pulling fs layer 17:17:58 22ff95d597cd: Pulling fs layer 17:17:58 12d6caf4c0d1: Pulling fs layer 17:17:58 96b7cbca73a9: Pulling fs layer 17:17:58 a7acece74701: Pulling fs layer 17:17:58 21b2b0c7a3f4: Waiting 17:17:58 22ff95d597cd: Waiting 17:17:58 12d6caf4c0d1: Waiting 17:17:58 96b7cbca73a9: Waiting 17:17:58 a7acece74701: Waiting 17:17:58 53926ce57604: Waiting 17:17:58 93c1e223e6f2: Verifying Checksum 17:17:58 93c1e223e6f2: Download complete 17:17:58 4583459ba037: Verifying Checksum 17:17:58 4583459ba037: Download complete 17:17:58 21b2b0c7a3f4: Verifying Checksum 17:17:58 21b2b0c7a3f4: Download complete 17:17:58 22ff95d597cd: Verifying Checksum 17:17:58 22ff95d597cd: Download complete 17:17:58 213ec9aee27d: Verifying Checksum 17:17:58 213ec9aee27d: Download complete 17:17:58 12d6caf4c0d1: Download complete 17:17:58 213ec9aee27d: Pull complete 17:17:58 4583459ba037: Pull complete 17:17:58 93c1e223e6f2: Pull complete 17:17:59 a7acece74701: Verifying Checksum 17:17:59 a7acece74701: Download complete 17:17:59 53926ce57604: Download complete 17:17:59 96b7cbca73a9: Verifying Checksum 17:17:59 96b7cbca73a9: Download complete 17:18:03 53926ce57604: Pull complete 17:18:04 21b2b0c7a3f4: Pull complete 17:18:04 22ff95d597cd: Pull complete 17:18:04 12d6caf4c0d1: Pull complete 17:18:06 96b7cbca73a9: Pull complete 17:18:07 a7acece74701: Pull complete 17:18:07 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:18:07 ---> db6d94c90886 17:18:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:18:12 Still waiting to schedule task 17:18:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:18:16 ---> Running in 5ce40e937050 17:18:16 Removing intermediate container 5ce40e937050 17:18:16 ---> 7f445a0cf310 17:18:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:18:16 ---> Running in 3a8e3f168904 17:18:16 Removing intermediate container 3a8e3f168904 17:18:16 ---> 9b9c6599b2f7 17:18:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:18:16 ---> Running in 3cdc5132d1ab 17:18:16 Removing intermediate container 3cdc5132d1ab 17:18:16 ---> 5af0dd4010c7 17:18:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:18:16 ---> Running in baeea1125b87 17:18:16 Removing intermediate container baeea1125b87 17:18:16 ---> 12f212811a67 17:18:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:18:16 ---> Running in 409bfb90acb0 17:18:16 Removing intermediate container 409bfb90acb0 17:18:16 ---> 5808387d3c62 17:18:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:18:16 ---> Running in 8b630d619e75 17:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:18:16 OK: 211 MiB in 51 packages 17:18:16 Removing intermediate container 8b630d619e75 17:18:16 ---> 3a8ab4881074 17:18:16 Step 9/13 : WORKDIR /device-onvif-camera 17:18:16 ---> Running in 002de23475a3 17:18:17 Removing intermediate container 002de23475a3 17:18:17 ---> 9066655c60cb 17:18:17 Step 10/13 : COPY go.mod vendor* ./ 17:18:17 ---> 6f2fcdf8644f 17:18:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:18:17 ---> Running in 61da2db23332 17:18:55 Removing intermediate container 61da2db23332 17:18:55 ---> 6cd6f4a7da1e 17:18:55 Step 12/13 : COPY . . 17:18:55 ---> 0e26db9e0b0a 17:18:55 Step 13/13 : RUN ${MAKE} 17:18:55 ---> Running in a8bb1537cb83 17:18:56 noop 17:18:56 Removing intermediate container a8bb1537cb83 17:18:56 ---> a95d24c88b6b 17:18:56 Successfully built a95d24c88b6b 17:18:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:56 + docker inspect -f . ci-base-image-x86_64 17:18:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:57 prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container 17:18:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** ci-base-image-x86_64 cat 17:18:57 $ docker top 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:57 + go version 17:18:57 go version go1.18.7 linux/amd64 [Pipeline] } 17:18:57 $ docker stop --time=1 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b 17:18:59 $ docker rm -f --volumes 86173032f1bb725883f683f724508299ebf57d452f864ea27e20402b155b362b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:59 + docker inspect -f . ci-base-image-x86_64 17:18:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:59 prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container 17:18:59 $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** ci-base-image-x86_64 cat 17:18:59 $ docker top 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:00 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] fileExists [Pipeline] sh 17:19:00 + make test 17:19:00 go test ./... -coverprofile=coverage.out ./... 17:19:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:19:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:19:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements 17:19:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:19:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.715s coverage: 86.5% of statements 17:19:22 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." 17:19:22 go vet ./... 17:19:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:19:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:19:27 ./bin/test-attribution-txt.sh [Pipeline] echo 17:19:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:19:27 $ docker stop --time=1 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d 17:19:29 $ docker rm -f --volumes 42a389fa38c3dce7391ac815d99416533942405029e1e2b6020ff07e8b5e233d [Pipeline] // withDockerContainer [Pipeline] sh 17:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:19:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:19:31 + ls -al . 17:19:31 total 236 17:19:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 17:19 . 17:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 .. 17:19:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:19 .git 17:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:17 .github 17:19:31 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:17 .gitignore 17:19:31 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:17 .golangci.yml 17:19:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:17 .semver 17:19:31 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:17 Attribution.txt 17:19:31 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:17 CHANGELOG.md 17:19:31 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:17 Dockerfile 17:19:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:17 GOVERNANCE.md 17:19:31 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:17 Jenkinsfile 17:19:31 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:17 LICENSE 17:19:31 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:17 Makefile 17:19:31 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:17 OWNERS.md 17:19:31 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:17 README.md 17:19:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION 17:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:17 bin 17:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:17 cmd 17:19:31 -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:19 coverage.out 17:19:31 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:17 doc 17:19:31 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:17 go.mod 17:19:31 -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:17 go.sum 17:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 internal 17:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:17 snap 17:19:31 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:31 + 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=3db9ec9e4acb35ac194ded49032763a22c354391 --label arch=amd64 --label version=0.0.0 . 17:19:31 Sending build context to Docker daemon 27.92MB 17:19:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:19:31 Step 2/26 : FROM ${BASE} AS builder 17:19:31 ---> a95d24c88b6b 17:19:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:19:31 ---> Running in 9ac5bf6a5f63 17:19:31 Removing intermediate container 9ac5bf6a5f63 17:19:31 ---> 127490cdba14 17:19:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:31 ---> Running in 52d2b47f969b 17:19:31 Removing intermediate container 52d2b47f969b 17:19:31 ---> 513d29b88edf 17:19:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:19:31 ---> Running in af2dffd69814 17:19:31 Removing intermediate container af2dffd69814 17:19:31 ---> 1747be4b1266 17:19:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:19:31 ---> Running in 8847ea6e1d3d 17:19:32 Removing intermediate container 8847ea6e1d3d 17:19:32 ---> cfbf7fa833b1 17:19:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:19:32 ---> Running in 9dbeec204c4c 17:19:32 Removing intermediate container 9dbeec204c4c 17:19:32 ---> b0752fa84da7 17:19:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:32 ---> Running in fe64c72ab949 17:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:19:32 OK: 211 MiB in 51 packages 17:19:32 Removing intermediate container fe64c72ab949 17:19:32 ---> 40c1e2cc358b 17:19:32 Step 9/26 : WORKDIR /device-onvif-camera 17:19:33 ---> Running in aad7fdfdcf93 17:19:33 Removing intermediate container aad7fdfdcf93 17:19:33 ---> 49287df4add2 17:19:33 Step 10/26 : COPY go.mod vendor* ./ 17:19:33 ---> da55310956ca 17:19:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:33 ---> Running in 6f3a76872fc5 17:19:34 Removing intermediate container 6f3a76872fc5 17:19:34 ---> 90764de00c01 17:19:34 Step 12/26 : COPY . . 17:19:35 ---> bb93758b2ee4 17:19:35 Step 13/26 : RUN ${MAKE} 17:19:35 ---> Running in f90f332cc8a1 17:19:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:20:02 Removing intermediate container f90f332cc8a1 17:20:02 ---> d2495abca81a 17:20:02 Step 14/26 : FROM alpine:3.16 17:20:02 3.16: Pulling from library/alpine 17:20:02 ef5531b6e74e: Pulling fs layer 17:20:02 ef5531b6e74e: Download complete 17:20:02 ef5531b6e74e: Pull complete 17:20:02 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:20:02 Status: Downloaded newer image for alpine:3.16 17:20:02 ---> dfd21b5a31f5 17:20:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:20:02 ---> Running in 9670561bd34a 17:20:02 Removing intermediate container 9670561bd34a 17:20:02 ---> 600dee64ad54 17:20:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:20:02 ---> Running in 1558dd2b0eee 17:20:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:20:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:20:02 (1/1) Installing dumb-init (1.2.5-r1) 17:20:02 Executing busybox-1.35.0-r17.trigger 17:20:02 OK: 6 MiB in 15 packages 17:20:02 Removing intermediate container 1558dd2b0eee 17:20:02 ---> aaed8a72c485 17:20:02 Step 17/26 : WORKDIR / 17:20:02 ---> Running in 15944d49d1ad 17:20:02 Removing intermediate container 15944d49d1ad 17:20:02 ---> d31e3a01bbfe 17:20:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:20:02 ---> ae1af7e9cb18 17:20:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:20:02 ---> 5264206f2fd6 17:20:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:20:02 ---> b4fac3aa3b6f 17:20:02 Step 21/26 : EXPOSE 59984 17:20:02 ---> Running in 2d9dd9db51ed 17:20:02 Removing intermediate container 2d9dd9db51ed 17:20:02 ---> d9b8159793e4 17:20:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:20:02 ---> Running in 220afe598058 17:20:02 Removing intermediate container 220afe598058 17:20:02 ---> 815eda63c6bd 17:20:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:20:02 ---> Running in e132bca39c59 17:20:02 Removing intermediate container e132bca39c59 17:20:02 ---> 493171772f35 17:20:02 Step 24/26 : LABEL arch=amd64 17:20:02 ---> Running in 7c5001c3cf61 17:20:02 Removing intermediate container 7c5001c3cf61 17:20:02 ---> 6a59f30d49f3 17:20:02 Step 25/26 : LABEL git_sha=3db9ec9e4acb35ac194ded49032763a22c354391 17:20:02 ---> Running in 23d0e4f023f9 17:20:02 Removing intermediate container 23d0e4f023f9 17:20:02 ---> bda6da33e8c4 17:20:02 Step 26/26 : LABEL version=0.0.0 17:20:02 ---> Running in 8d3f028689fb 17:20:02 Removing intermediate container 8d3f028689fb 17:20:02 ---> 71d180c31d93 17:20:02 [Warning] One or more build-args [ARCH] were not consumed 17:20:02 Successfully built 71d180c31d93 17:20:02 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 17:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:03 17:20:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:03 latest: Pulling from edgex-lftools-log-publisher 17:20:03 5eb5b503b376: Pulling fs layer 17:20:03 5c69ac0246d0: Pulling fs layer 17:20:03 ec43610c2a17: Pulling fs layer 17:20:03 3a2ae6a8a46f: Pulling fs layer 17:20:03 33b1e0a273af: Pulling fs layer 17:20:03 5d3b04190fa2: Pulling fs layer 17:20:03 2f39f015ded8: Pulling fs layer 17:20:03 33b1e0a273af: Waiting 17:20:03 3a2ae6a8a46f: Waiting 17:20:03 2f39f015ded8: Waiting 17:20:03 5c69ac0246d0: Verifying Checksum 17:20:03 5c69ac0246d0: Download complete 17:20:03 3a2ae6a8a46f: Verifying Checksum 17:20:03 3a2ae6a8a46f: Download complete 17:20:03 33b1e0a273af: Verifying Checksum 17:20:03 33b1e0a273af: Download complete 17:20:03 5d3b04190fa2: Verifying Checksum 17:20:03 5d3b04190fa2: Download complete 17:20:03 ec43610c2a17: Verifying Checksum 17:20:03 ec43610c2a17: Download complete 17:20:03 5eb5b503b376: Verifying Checksum 17:20:03 5eb5b503b376: Download complete 17:20:04 2f39f015ded8: Download complete 17:20:05 5eb5b503b376: Pull complete 17:20:05 5c69ac0246d0: Pull complete 17:20:05 ec43610c2a17: Pull complete 17:20:05 3a2ae6a8a46f: Pull complete 17:20:06 33b1e0a273af: Pull complete 17:20:06 5d3b04190fa2: Pull complete 17:20:11 2f39f015ded8: Pull complete 17:20:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:11 prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container 17:20:11 $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 17:20:16 $ docker top 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:17 ---> job-cost.sh 17:20:17 lf-activate-venv: SKIPPING 17:20:17 INFO: No Stack... 17:20:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:20:18 INFO: Archiving Costs [Pipeline] sh 17:20:18 + cat /w/workspace/undry_device-onvif-camera_PR-245/archives/cost.csv 17:20:18 + cut -d, -f6 [Pipeline] lock 17:20:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] 17:20:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] did not exist. Created. 17:20:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:20:18 + echo total: 0.2199999988079071 [Pipeline] stash 17:20:18 Stashed 1 file(s) [Pipeline] } 17:20:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } 17:20:18 $ docker stop --time=1 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 17:20:19 $ docker rm -f --volumes 8a5b52fe2e872826c759c2bf3607377f14e242037a76311f79c6351a8e8e8e76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:20:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8587 in /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] { [Pipeline] ws 17:20:50 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 17:20:50 The recommended git tool is: git 17:20:58 using credential edgex-jenkins-ssh 17:20:58 Cloning the remote Git repository 17:20:58 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:20:58 > git init /w/workspace/device-onvif-camera/4 # timeout=10 17:20:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:20:58 > git --version # timeout=10 17:20:58 > git --version # 'git version 2.25.1' 17:20:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:21:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:21:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:21:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:21:02 Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 3db9ec9e4acb35ac194ded49032763a22c354391 17:21:02 Merge succeeded, producing 3db9ec9e4acb35ac194ded49032763a22c354391 17:21:02 Checking out Revision 3db9ec9e4acb35ac194ded49032763a22c354391 (PR-245) 17:21:02 > git config core.sparsecheckout # timeout=10 17:21:02 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 17:21:02 > git remote # timeout=10 17:21:02 > git config --get remote.origin.url # timeout=10 17:21:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:02 > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 17:21:02 > git rev-parse HEAD^{commit} # timeout=10 17:21:02 > git config core.sparsecheckout # timeout=10 17:21:02 > git checkout -f 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 17:21:03 Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:21:04 % Total % Received % Xferd Average Speed Time Time Time Current 17:21:04 Dload Upload Total Spent Left Speed 17:21:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 17:21:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:21:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:21:05 + sudo tee /etc/docker/daemon.new 17:21:05 { 17:21:05 "registry-mirrors": [ 17:21:05 "https://nexus3.edgexfoundry.org:10001" 17:21:05 ], 17:21:05 "bip": "10.250.0.254/24", 17:21:05 "hosts": [ 17:21:05 "tcp://0.0.0.0:5555", 17:21:05 "unix:///var/run/docker.sock" 17:21:05 ], 17:21:05 "mtu": 1458, 17:21:05 "selinux-enabled": true, 17:21:05 "seccomp-profile": "/etc/docker/seccomp.json" 17:21:05 } [Pipeline] sh 17:21:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:21:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:24 provisioning config files... 17:21:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config1188332642812624190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:25 ---> docker-login.sh 17:21:25 nexus3.edgexfoundry.org:10001 17:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:25 Configure a credential helper to remove this warning. See 17:21:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:25 17:21:25 Login Succeeded 17:21:25 nexus3.edgexfoundry.org:10002 17:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:26 Configure a credential helper to remove this warning. See 17:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:26 17:21:26 Login Succeeded 17:21:26 nexus3.edgexfoundry.org:10003 17:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:26 Configure a credential helper to remove this warning. See 17:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:26 17:21:26 Login Succeeded 17:21:26 nexus3.edgexfoundry.org:10004 17:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:27 Configure a credential helper to remove this warning. See 17:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:27 17:21:27 Login Succeeded 17:21:27 docker.io 17:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:27 Configure a credential helper to remove this warning. See 17:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:27 17:21:27 Login Succeeded 17:21:27 ---> docker-login.sh ends [Pipeline] } 17:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:21:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:28 ========================================================= 17:21:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:21:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:28 + 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 . 17:21:29 Sending build context to Docker daemon 20.61MB 17:21:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:21:29 Step 2/13 : FROM ${BASE} AS builder 17:21:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:21:29 9b18e9b68314: Pulling fs layer 17:21:29 35d82f9e3411: Pulling fs layer 17:21:29 e16973657156: Pulling fs layer 17:21:29 fc693d55d65f: Pulling fs layer 17:21:29 7e9fc2657dce: Pulling fs layer 17:21:29 dda99020689f: Pulling fs layer 17:21:29 db1c61fa0a46: Pulling fs layer 17:21:29 891c053d2c06: Pulling fs layer 17:21:29 dda99020689f: Waiting 17:21:29 db1c61fa0a46: Waiting 17:21:29 fc693d55d65f: Waiting 17:21:29 7e9fc2657dce: Waiting 17:21:29 e16973657156: Verifying Checksum 17:21:29 e16973657156: Download complete 17:21:29 35d82f9e3411: Verifying Checksum 17:21:29 35d82f9e3411: Download complete 17:21:29 7e9fc2657dce: Verifying Checksum 17:21:29 7e9fc2657dce: Download complete 17:21:29 dda99020689f: Verifying Checksum 17:21:29 dda99020689f: Download complete 17:21:29 9b18e9b68314: Verifying Checksum 17:21:29 9b18e9b68314: Download complete 17:21:30 9b18e9b68314: Pull complete 17:21:30 891c053d2c06: Verifying Checksum 17:21:30 891c053d2c06: Download complete 17:21:31 35d82f9e3411: Pull complete 17:21:31 e16973657156: Pull complete 17:21:32 db1c61fa0a46: Verifying Checksum 17:21:32 db1c61fa0a46: Download complete 17:21:33 fc693d55d65f: Verifying Checksum 17:21:33 fc693d55d65f: Download complete 17:21:48 fc693d55d65f: Pull complete 17:21:48 7e9fc2657dce: Pull complete 17:21:48 dda99020689f: Pull complete 17:21:53 db1c61fa0a46: Pull complete 17:21:55 891c053d2c06: Pull complete 17:21:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:21:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:21:55 ---> f96f9c87975a 17:21:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:21:57 ---> Running in 65ae9879c8cb 17:21:57 Removing intermediate container 65ae9879c8cb 17:21:57 ---> ce786832bbd3 17:21:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:21:57 ---> Running in 37ea5328f602 17:21:58 Removing intermediate container 37ea5328f602 17:21:58 ---> 16863556d17f 17:21:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:21:58 ---> Running in 12e24a4ba7ab 17:21:58 Removing intermediate container 12e24a4ba7ab 17:21:58 ---> b3634cc74e7c 17:21:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:21:58 ---> Running in 92472228fd90 17:21:59 Removing intermediate container 92472228fd90 17:21:59 ---> 30d58da6cccc 17:21:59 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:21:59 ---> Running in be03b383210e 17:21:59 Removing intermediate container be03b383210e 17:21:59 ---> 90217261b319 17:21:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:59 ---> Running in c73f939615c9 17:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:22:02 OK: 221 MiB in 51 packages 17:22:03 Removing intermediate container c73f939615c9 17:22:03 ---> e6844585f989 17:22:03 Step 9/13 : WORKDIR /device-onvif-camera 17:22:03 ---> Running in 2ba3e7486053 17:22:03 Removing intermediate container 2ba3e7486053 17:22:03 ---> 080e7c9d6233 17:22:03 Step 10/13 : COPY go.mod vendor* ./ 17:22:04 ---> f70e32051fff 17:22:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:04 ---> Running in 1d9e8e73cf7e 17:23:25 Removing intermediate container 1d9e8e73cf7e 17:23:25 ---> bc27620aa373 17:23:25 Step 12/13 : COPY . . 17:23:25 ---> 853009b1878d 17:23:25 Step 13/13 : RUN ${MAKE} 17:23:25 ---> Running in b731b91d0071 17:23:25 noop 17:23:25 Removing intermediate container b731b91d0071 17:23:25 ---> 85cb2d33e8c1 17:23:25 Successfully built 85cb2d33e8c1 17:23:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:26 + docker inspect -f . ci-base-image-arm64 17:23:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:26 prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container 17:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 17:23:28 $ docker top ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:28 + go version 17:23:28 go version go1.18.7 linux/arm64 [Pipeline] } 17:23:28 $ docker stop --time=1 ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 17:23:30 $ docker rm -f --volumes ea0f690b24ff266291957c702b62aa60b397ee681cce037e1618c25926597a62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:31 + docker inspect -f . ci-base-image-arm64 17:23:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:31 prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container 17:23:31 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 17:23:32 $ docker top 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:33 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 17:23:34 + make test 17:23:34 go test ./... -coverprofile=coverage.out ./... 17:23:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:25:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:25:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.264s coverage: 29.3% of statements 17:25:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:26:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.897s coverage: 86.5% of statements 17:26:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:26:09 go vet ./... 17:26:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:48 ./bin/test-attribution-txt.sh [Pipeline] echo 17:26:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:48 $ docker stop --time=1 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 17:26:50 $ docker rm -f --volumes 8672e28cc228dc7cbee824be4cdab71b14e9f4621a32f6b6d64d7fb4f5c7e3e3 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:51 Warning: overwriting stash ‘coverage-report’ 17:26:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:52 + ls -al . 17:26:52 total 232 17:26:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 17:23 . 17:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:20 .. 17:26:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:21 .git 17:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:21 .github 17:26:52 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:21 .gitignore 17:26:52 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:21 .golangci.yml 17:26:52 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:21 Attribution.txt 17:26:52 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:21 CHANGELOG.md 17:26:52 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:21 Dockerfile 17:26:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:21 GOVERNANCE.md 17:26:52 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:21 Jenkinsfile 17:26:52 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:21 LICENSE 17:26:52 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:21 Makefile 17:26:52 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:21 OWNERS.md 17:26:52 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:21 README.md 17:26:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 17:17 VERSION 17:26:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:21 bin 17:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:21 cmd 17:26:52 -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:26 coverage.out 17:26:52 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:21 doc 17:26:52 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:21 go.mod 17:26:52 -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:21 go.sum 17:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:21 internal 17:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:21 snap 17:26:52 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:53 + 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=3db9ec9e4acb35ac194ded49032763a22c354391 --label arch=arm64 --label version=0.0.0 . 17:26:53 Sending build context to Docker daemon 20.69MB 17:26:53 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:26:53 Step 2/26 : FROM ${BASE} AS builder 17:26:53 ---> 85cb2d33e8c1 17:26:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:26:53 ---> Running in dcf332c601e1 17:26:54 Removing intermediate container dcf332c601e1 17:26:54 ---> 384ada8c5faa 17:26:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:54 ---> Running in 8d085adab590 17:26:54 Removing intermediate container 8d085adab590 17:26:54 ---> aad590f444a0 17:26:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:26:54 ---> Running in 95366db2ade5 17:26:54 Removing intermediate container 95366db2ade5 17:26:54 ---> 2dee74bc3832 17:26:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:26:54 ---> Running in b6851d586bad 17:26:55 Removing intermediate container b6851d586bad 17:26:55 ---> 70d48b7f9fc5 17:26:55 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:26:55 ---> Running in 58f31f4d681b 17:26:55 Removing intermediate container 58f31f4d681b 17:26:55 ---> bd5cb90ffbf4 17:26:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:55 ---> Running in 32a0623b195f 17:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:26:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:26:58 OK: 221 MiB in 51 packages 17:27:00 Removing intermediate container 32a0623b195f 17:27:00 ---> dd858445f804 17:27:00 Step 9/26 : WORKDIR /device-onvif-camera 17:27:00 ---> Running in 48ac46185822 17:27:00 Removing intermediate container 48ac46185822 17:27:00 ---> 02ff38915a79 17:27:00 Step 10/26 : COPY go.mod vendor* ./ 17:27:01 ---> e379f2121da4 17:27:01 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:01 ---> Running in 0816b60ce311 17:27:04 Removing intermediate container 0816b60ce311 17:27:04 ---> cafc873434eb 17:27:04 Step 12/26 : COPY . . 17:27:06 ---> e97debeed69f 17:27:06 Step 13/26 : RUN ${MAKE} 17:27:06 ---> Running in 05c1d1e4edc1 17:27:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:29:44 Removing intermediate container 05c1d1e4edc1 17:29:44 ---> 1675cb4c2f4d 17:29:44 Step 14/26 : FROM alpine:3.16 17:29:44 3.16: Pulling from library/alpine 17:29:44 3760b48202b3: Pulling fs layer 17:29:44 3760b48202b3: Download complete 17:29:44 3760b48202b3: Pull complete 17:29:44 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:29:44 Status: Downloaded newer image for alpine:3.16 17:29:44 ---> 4c81e5bf8899 17:29:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:29:44 ---> Running in 80609f572afd 17:29:44 Removing intermediate container 80609f572afd 17:29:44 ---> b11afcb3bef1 17:29:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:29:44 ---> Running in a207b8bc79fe 17:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:29:44 (1/1) Installing dumb-init (1.2.5-r1) 17:29:44 Executing busybox-1.35.0-r17.trigger 17:29:44 OK: 5 MiB in 15 packages 17:29:44 Removing intermediate container a207b8bc79fe 17:29:44 ---> 47f4be49b5b8 17:29:44 Step 17/26 : WORKDIR / 17:29:44 ---> Running in 5b945c54dc40 17:29:44 Removing intermediate container 5b945c54dc40 17:29:44 ---> 67f2b400d532 17:29:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:29:44 ---> 6f50678c13c1 17:29:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:29:44 ---> fcc8e839be16 17:29:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:29:44 ---> 88536df361d1 17:29:44 Step 21/26 : EXPOSE 59984 17:29:44 ---> Running in 1bb9a4645af1 17:29:44 Removing intermediate container 1bb9a4645af1 17:29:44 ---> 80fcd79e515e 17:29:44 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:29:44 ---> Running in f123e4ff3814 17:29:44 Removing intermediate container f123e4ff3814 17:29:44 ---> db258803f4f8 17:29:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:29:44 ---> Running in 9ff46be55c0e 17:29:44 Removing intermediate container 9ff46be55c0e 17:29:44 ---> 2a4131364432 17:29:44 Step 24/26 : LABEL arch=arm64 17:29:44 ---> Running in ddd063d3c81f 17:29:44 Removing intermediate container ddd063d3c81f 17:29:44 ---> 9c37aa4c7db0 17:29:44 Step 25/26 : LABEL git_sha=3db9ec9e4acb35ac194ded49032763a22c354391 17:29:44 ---> Running in 318cde7f92e7 17:29:44 Removing intermediate container 318cde7f92e7 17:29:44 ---> 47290e188d9f 17:29:44 Step 26/26 : LABEL version=0.0.0 17:29:44 ---> Running in 2ca5bef3de77 17:29:45 Removing intermediate container 2ca5bef3de77 17:29:45 ---> abd412d17094 17:29:45 [Warning] One or more build-args [ARCH] were not consumed 17:29:45 Successfully built abd412d17094 17:29:45 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 17:29:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:45 17:29:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:46 arm64: Pulling from edgex-lftools-log-publisher 17:29:46 8998bd30e6a1: Pulling fs layer 17:29:46 04944245beec: Pulling fs layer 17:29:46 699f458cf7ca: Pulling fs layer 17:29:46 765212b225bb: Pulling fs layer 17:29:46 f23df028b6ca: Pulling fs layer 17:29:46 d65c8cfc05b1: Pulling fs layer 17:29:46 2437ff75d9bd: Pulling fs layer 17:29:46 765212b225bb: Waiting 17:29:46 f23df028b6ca: Waiting 17:29:46 d65c8cfc05b1: Waiting 17:29:46 2437ff75d9bd: Waiting 17:29:46 04944245beec: Verifying Checksum 17:29:46 04944245beec: Download complete 17:29:46 765212b225bb: Verifying Checksum 17:29:46 765212b225bb: Download complete 17:29:46 f23df028b6ca: Verifying Checksum 17:29:46 f23df028b6ca: Download complete 17:29:46 d65c8cfc05b1: Verifying Checksum 17:29:46 d65c8cfc05b1: Download complete 17:29:46 699f458cf7ca: Verifying Checksum 17:29:46 699f458cf7ca: Download complete 17:29:46 8998bd30e6a1: Verifying Checksum 17:29:46 8998bd30e6a1: Download complete 17:29:49 2437ff75d9bd: Verifying Checksum 17:29:49 2437ff75d9bd: Download complete 17:29:51 8998bd30e6a1: Pull complete 17:29:51 04944245beec: Pull complete 17:29:53 699f458cf7ca: Pull complete 17:29:53 765212b225bb: Pull complete 17:29:54 f23df028b6ca: Pull complete 17:29:54 d65c8cfc05b1: Pull complete 17:30:09 2437ff75d9bd: Pull complete 17:30:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:09 prd-ubuntu20.04-docker-arm64-4c-16g-8587 does not seem to be running inside a container 17:30:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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:arm64 cat 17:30:12 $ docker top 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:13 ---> job-cost.sh 17:30:13 lf-activate-venv: SKIPPING 17:30:13 INFO: No Stack... 17:30:13 INFO: Retrieving Pricing Info for: v3-standard-4 17:30:14 INFO: Archiving Costs [Pipeline] sh 17:30:14 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 17:30:14 + cut -d, -f6 [Pipeline] lock 17:30:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] 17:30:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] did not exist. Created. 17:30:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:15 /w/workspace/device-onvif-camera/4@tmp/durable-4938c3a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:30:16 + echo total: 0.10999999940395355 [Pipeline] stash 17:30:16 Warning: overwriting stash ‘stack-cost’ 17:30:16 Stashed 1 file(s) [Pipeline] } 17:30:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-4-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:16 $ docker stop --time=1 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef 17:30:18 $ docker rm -f --volumes 8d27467cb0871da783bca4f17208e31dade098474f20205572f090bf7ce87cef [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 17:30:18 provisioning config files... 17:30:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config11110313526655430154tmp [Pipeline] { [Pipeline] sh 17:30:18 + set +x 17:30:18 + curl -s https://codecov.io/bash 17:30:18 + bash -s -- 17:30:18 17:30:18 _____ _ 17:30:18 / ____| | | 17:30:18 | | ___ __| | ___ ___ _____ __ 17:30:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:30:18 | |___| (_) | (_| | __/ (_| (_) \ V / 17:30:18 \_____\___/ \__,_|\___|\___\___/ \_/ 17:30:18 Bash-1.0.6 17:30:18 17:30:18 17:30:18 ==> git version 2.25.1 found 17:30:18 ==> 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 17:30:18 Release-Date: 2020-01-08 17:30:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:30:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:30:18 ==> Jenkins CI detected. 17:30:18 current dir:  /w/workspace/undry_device-onvif-camera_PR-245 17:30:18 project root: . 17:30:18 --> token set from env 17:30:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:30:18 ==> Running gcov in . (disable via -X gcov) 17:30:18 ==> Python coveragepy not found 17:30:18 ==> Searching for coverage reports in: 17:30:18 + . 17:30:18 -> Found 1 reports 17:30:18 ==> Detecting git/mercurial file structure 17:30:18 ==> Reading reports 17:30:18 + ./coverage.out bytes=79184 17:30:18 ==> Appending adjustments 17:30:18 https://docs.codecov.io/docs/fixing-reports 17:30:18 + Found adjustments 17:30:18 ==> Gzipping contents 17:30:18 12K /tmp/codecov.SKfgD7.gz 17:30:18 ==> Uploading reports 17:30:18 url: https://codecov.io 17:30:18 query: branch=PR-245&commit=3db9ec9e4acb35ac194ded49032763a22c354391&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 17:30:18 -> Pinging Codecov 17:30:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-245&commit=3db9ec9e4acb35ac194ded49032763a22c354391&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 17:30:19 -> Uploading to 17:30:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/3db9ec9e4acb35ac194ded49032763a22c354391/bd8241b7-a23c-4604-9699-5fbc40034769.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T173018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f343c8bc7c6b278d37ed56a748cc69165ad871a4a57597a0bd03aed635c7a5c4 17:30:19 % Total % Received % Xferd Average Speed Time Time Time Current 17:30:19 Dload Upload Total Spent Left Speed 17:30:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10848 0 0 100 10848 0 39882 --:--:-- --:--:-- --:--:-- 39882 17:30:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3db9ec9e4acb35ac194ded49032763a22c354391 [Pipeline] } 17:30:19 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 17:30:20 + [ -d /w/workspace/undry_device-onvif-camera_PR-245/archives ] 17:30:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 17:30:20 total 16 17:30:20 drwxr-xr-x 3 root root 4096 Mar 7 17:20 . 17:30:20 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:20 .. 17:30:20 drwxr-xr-x 2 root root 4096 Mar 7 17:20 cost 17:30:20 -rw-r--r-- 1 root root 91 Mar 7 17:20 cost.csv 17:30:20 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-245/archives 17:30:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 17:30:20 total 16 17:30:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:20 . 17:30:20 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:20 .. 17:30:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 17:20 cost 17:30:20 -rw-r--r-- 1 jenkins jenkins 91 Mar 7 17:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:30:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:30:21 ---> package-listing.sh 17:30:21 ++ facter osfamily 17:30:21 ++ tr '[:upper:]' '[:lower:]' 17:30:21 + OS_FAMILY=debian 17:30:21 + workspace=/w/workspace/undry_device-onvif-camera_PR-245 17:30:21 + START_PACKAGES=/tmp/packages_start.txt 17:30:21 + END_PACKAGES=/tmp/packages_end.txt 17:30:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:30:21 + PACKAGES=/tmp/packages_start.txt 17:30:21 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 17:30:21 + PACKAGES=/tmp/packages_end.txt 17:30:21 + case "${OS_FAMILY}" in 17:30:21 + dpkg -l 17:30:21 + grep '^ii' 17:30:21 + '[' -f /tmp/packages_start.txt ']' 17:30:21 + '[' -f /tmp/packages_end.txt ']' 17:30:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:30:21 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 17:30:21 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-245/archives/ 17:30:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-245/archives/ [Pipeline] echo 17:30:21 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:30:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:22 prd-ubuntu20.04-docker-8c-8g-8582 does not seem to be running inside a container 17:30:22 $ 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-245/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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:22 $ docker top b05adacd429fcf6e6cdd489b917c9baf4945df2748b6eecbdc12f8bad7d14325 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:22 + touch /tmp/pre-build-complete [Pipeline] sh 17:30:23 + mkdir -p /var/log/sysstat [Pipeline] sh 17:30:23 + ls /var/log/sa-host 17:30:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:23 provisioning config files... 17:30:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config14686571146163498134tmp [Pipeline] { [Pipeline] echo 17:30:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:30:23 ---> create-netrc.sh [Pipeline] } 17:30:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:30:24 ---> python-tools-install.sh [Pipeline] echo 17:30:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:30:24 ---> sudo-logs.sh 17:30:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:30:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:30:24 ---> job-cost.sh 17:30:24 lf-activate-venv: SKIPPING 17:30:24 DEBUG: total: 0.2199999988079071 17:30:24 INFO: Retrieving Stack Cost... 17:30:25 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:25 INFO: Archiving Costs [Pipeline] echo 17:30:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:30:25 ---> logs-deploy.sh 17:30:25 lf-activate-venv: SKIPPING 17:30:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-245/4 17:30:25 INFO: archiving workspace using pattern(s): 17:30:26 Archives upload complete. 17:30:26 INFO: archiving logs to Nexus