Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32e96771eeacfa7458d4c87772f375c2ba6e5dcb+d65f0f9877c5d27f36bd97c93e7d86cd57609692 (3f775e522a85c35ce8a9c82509623d4d5d95ee50) 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-ssh13429426865584399640.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-ssh7319172706702466282.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-ssh268455239820230018.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-ssh7650738329763064174.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-ssh16377010348914132624.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8189 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 > 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 Merging remotes/origin/main commit d65f0f9877c5d27f36bd97c93e7d86cd57609692 into PR head commit 32e96771eeacfa7458d4c87772f375c2ba6e5dcb Merge succeeded, producing f4f45df83ae0c37949b95344d06a6a504d3178d2 Checking out Revision f4f45df83ae0c37949b95344d06a6a504d3178d2 (PR-245) > git config core.sparsecheckout # timeout=10 > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # 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 d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4f45df83ae0c37949b95344d06a6a504d3178d2 # timeout=10 Commit message: "Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD" > git rev-list --no-walk 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:45 ========================================================= 22:10:45 EdgeX Global Pipelines Version Info 22:10:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:46 ------------------- 22:10:46 stable info: 22:10:46 ------------------- 22:10:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:46 Message: update stable to v1.0.244 22:10:46 ------------------- 22:10:46 experimental info: 22:10:46 ------------------- 22:10:46 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4f45df83ae0c37949b95344d06a6a504d3178d2 [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4f45df [Pipeline] echo 22:10:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:47 provisioning config files... 22:10:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config2154176073605509783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:47 ---> docker-login.sh 22:10:47 nexus3.edgexfoundry.org:10001 22:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:48 Configure a credential helper to remove this warning. See 22:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:48 22:10:48 Login Succeeded 22:10:48 nexus3.edgexfoundry.org:10002 22:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:48 Configure a credential helper to remove this warning. See 22:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:48 22:10:48 Login Succeeded 22:10:48 nexus3.edgexfoundry.org:10003 22:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:48 Configure a credential helper to remove this warning. See 22:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:48 22:10:48 Login Succeeded 22:10:48 nexus3.edgexfoundry.org:10004 22:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:48 Configure a credential helper to remove this warning. See 22:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:48 22:10:48 Login Succeeded 22:10:48 docker.io 22:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:49 Configure a credential helper to remove this warning. See 22:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:49 22:10:49 Login Succeeded 22:10:49 ---> docker-login.sh ends [Pipeline] } 22:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:49 + git rev-list -1 --merges f4f45df83ae0c37949b95344d06a6a504d3178d2~1..f4f45df83ae0c37949b95344d06a6a504d3178d2 [Pipeline] echo 22:10:49 -----------> git rev-list -1 --merges f4f45df83ae0c37949b95344d06a6a504d3178d2~1..f4f45df83ae0c37949b95344d06a6a504d3178d2 f4f45df83ae0c37949b95344d06a6a504d3178d2 22:10:49 f4f45df83ae0c37949b95344d06a6a504d3178d2 [false] [Pipeline] sh 22:10:50 + git log --format=format:%s -1 f4f45df83ae0c37949b95344d06a6a504d3178d2 [Pipeline] echo 22:10:50 ========================================================= 22:10:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:50 + git log --format=format:%s -1 f4f45df83ae0c37949b95344d06a6a504d3178d2 [Pipeline] echo 22:10:50 [semverPrep] GIT_COMMIT: f4f45df83ae0c37949b95344d06a6a504d3178d2, Commit Message: Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD [Pipeline] echo 22:10:50 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:51 + grep -v github /etc/ssh/ssh_known_hosts 22:10:51 + [ -e /tmp/ssh_known_hosts ] 22:10:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:51 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:51 22:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:51 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:51 b85a868b505f: Pulling fs layer 22:10:51 e2be974225ed: Pulling fs layer 22:10:51 339a4e72a1f5: Pulling fs layer 22:10:51 988bab9f4d93: Pulling fs layer 22:10:51 1469e6f7b9e6: Pulling fs layer 22:10:51 eaf3925da568: Pulling fs layer 22:10:51 bab4dde63d76: Pulling fs layer 22:10:51 bde34c3a00c8: Pulling fs layer 22:10:51 b352a97aabf1: Pulling fs layer 22:10:51 4872d77fe225: Pulling fs layer 22:10:51 5851b861e8e6: Pulling fs layer 22:10:51 bab4dde63d76: Waiting 22:10:51 bde34c3a00c8: Waiting 22:10:51 4872d77fe225: Waiting 22:10:51 b352a97aabf1: Waiting 22:10:51 1469e6f7b9e6: Waiting 22:10:51 eaf3925da568: Waiting 22:10:51 5851b861e8e6: Waiting 22:10:51 e2be974225ed: Download complete 22:10:51 988bab9f4d93: Verifying Checksum 22:10:51 988bab9f4d93: Download complete 22:10:52 1469e6f7b9e6: Verifying Checksum 22:10:52 1469e6f7b9e6: Download complete 22:10:52 339a4e72a1f5: Verifying Checksum 22:10:52 339a4e72a1f5: Download complete 22:10:52 eaf3925da568: Download complete 22:10:52 bde34c3a00c8: Download complete 22:10:52 b352a97aabf1: Verifying Checksum 22:10:52 b352a97aabf1: Download complete 22:10:52 4872d77fe225: Verifying Checksum 22:10:52 4872d77fe225: Download complete 22:10:52 5851b861e8e6: Download complete 22:10:52 b85a868b505f: Verifying Checksum 22:10:52 b85a868b505f: Download complete 22:10:52 bab4dde63d76: Verifying Checksum 22:10:52 bab4dde63d76: Download complete 22:10:53 b85a868b505f: Pull complete 22:10:53 e2be974225ed: Pull complete 22:10:53 339a4e72a1f5: Pull complete 22:10:53 988bab9f4d93: Pull complete 22:10:53 1469e6f7b9e6: Pull complete 22:10:53 eaf3925da568: Pull complete 22:10:55 bab4dde63d76: Pull complete 22:10:55 bde34c3a00c8: Pull complete 22:10:55 b352a97aabf1: Pull complete 22:10:55 4872d77fe225: Pull complete 22:10:55 5851b861e8e6: Pull complete 22:10:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:55 prd-ubuntu20.04-docker-8c-8g-8189 does not seem to be running inside a container 22:10:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:00 $ docker top 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f -eo pid,comm 22:11:00 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). 22:11:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:00 [ssh-agent] Looking for ssh-agent implementation... 22:11:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:00 $ docker exec 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f ssh-agent 22:11:00 SSH_AUTH_SOCK=/tmp/ssh-qOP5BsU3b5Aw/agent.33 22:11:00 SSH_AGENT_PID=39 22:11:00 Running ssh-add (command line suppressed) 22:11:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12413290712262355947.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_12413290712262355947.key) 22:11:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:00 + git tag --points-at HEAD [Pipeline] } 22:11:00 $ docker exec --env ******** --env ******** 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f ssh-agent -k 22:11:00 unset SSH_AUTH_SOCK; 22:11:00 unset SSH_AGENT_PID; 22:11:00 echo Agent pid 39 killed; 22:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:00 [ssh-agent] Looking for ssh-agent implementation... 22:11:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:01 $ docker exec 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f ssh-agent 22:11:01 SSH_AUTH_SOCK=/tmp/ssh-c9OQpvLAZmx3/agent.71 22:11:01 SSH_AGENT_PID=77 22:11:01 Running ssh-add (command line suppressed) 22:11:01 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_5590718644473009886.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_5590718644473009886.key) 22:11:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:01 + git semver init 22:11:01 2023-03-03 22:11:01,755 [run_init] DEBUG init version:0.0.0 force:False 22:11:01 2023-03-03 22:11:01,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-245/.semver 22:11:01 2023-03-03 22:11:01,756 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-245/.semver 22:11:01 2023-03-03 22:11:01,757 [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) 22:11:03 2023-03-03 22:11:02,820 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-245/.git/info/exclude 22:11:03 2023-03-03 22:11:02,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 with force:False 22:11:03 2023-03-03 22:11:02,821 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 22:11:03 2023-03-03 22:11:02,824 [execute] INFO git cat-file --batch-check 22:11:03 2023-03-03 22:11:02,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 22:11:03 2023-03-03 22:11:02,830 [execute] INFO git cat-file --batch 22:11:03 2023-03-03 22:11:02,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 22:11:03 2023-03-03 22:11:02,836 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 22:11:03 0.0.0 [Pipeline] } 22:11:03 $ docker exec --env ******** --env ******** 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f ssh-agent -k 22:11:03 unset SSH_AUTH_SOCK; 22:11:03 unset SSH_AGENT_PID; 22:11:03 echo Agent pid 77 killed; 22:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:03 + git semver [Pipeline] } 22:11:03 $ docker stop --time=1 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f 22:11:05 $ docker rm -f --volumes 2bdb707ef7757ba18a21898c6d9f3534e62b9d9aea0d7cd8e21f3aafa091d02f [Pipeline] // withDockerContainer [Pipeline] sh 22:11:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:05 Stashed 1 file(s) [Pipeline] echo 22:11:05 [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 22:11:05 provisioning config files... 22:11:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config1188288787796763397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:06 ---> docker-login.sh 22:11:06 nexus3.edgexfoundry.org:10001 22:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:06 Configure a credential helper to remove this warning. See 22:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:06 22:11:06 Login Succeeded 22:11:06 nexus3.edgexfoundry.org:10002 22:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:06 Configure a credential helper to remove this warning. See 22:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:06 22:11:06 Login Succeeded 22:11:06 nexus3.edgexfoundry.org:10003 22:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:06 Configure a credential helper to remove this warning. See 22:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:06 22:11:06 Login Succeeded 22:11:06 nexus3.edgexfoundry.org:10004 22:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:06 Configure a credential helper to remove this warning. See 22:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:06 22:11:06 Login Succeeded 22:11:06 docker.io 22:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:06 Configure a credential helper to remove this warning. See 22:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:06 22:11:06 Login Succeeded 22:11:06 ---> docker-login.sh ends [Pipeline] } 22:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:06 ========================================================= 22:11:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:11:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:07 + 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 . 22:11:07 Sending build context to Docker daemon 27.8MB 22:11:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:11:07 Step 2/13 : FROM ${BASE} AS builder 22:11:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:07 213ec9aee27d: Pulling fs layer 22:11:07 4583459ba037: Pulling fs layer 22:11:07 93c1e223e6f2: Pulling fs layer 22:11:07 53926ce57604: Pulling fs layer 22:11:07 21b2b0c7a3f4: Pulling fs layer 22:11:07 22ff95d597cd: Pulling fs layer 22:11:07 12d6caf4c0d1: Pulling fs layer 22:11:07 96b7cbca73a9: Pulling fs layer 22:11:07 21b2b0c7a3f4: Waiting 22:11:07 22ff95d597cd: Waiting 22:11:07 12d6caf4c0d1: Waiting 22:11:07 a7acece74701: Pulling fs layer 22:11:07 96b7cbca73a9: Waiting 22:11:07 a7acece74701: Waiting 22:11:07 93c1e223e6f2: Verifying Checksum 22:11:07 93c1e223e6f2: Download complete 22:11:07 4583459ba037: Verifying Checksum 22:11:07 4583459ba037: Download complete 22:11:07 21b2b0c7a3f4: Verifying Checksum 22:11:07 21b2b0c7a3f4: Download complete 22:11:07 22ff95d597cd: Verifying Checksum 22:11:07 22ff95d597cd: Download complete 22:11:07 213ec9aee27d: Download complete 22:11:07 12d6caf4c0d1: Verifying Checksum 22:11:07 12d6caf4c0d1: Download complete 22:11:07 213ec9aee27d: Pull complete 22:11:07 4583459ba037: Pull complete 22:11:07 93c1e223e6f2: Pull complete 22:11:07 a7acece74701: Verifying Checksum 22:11:07 a7acece74701: Download complete 22:11:08 96b7cbca73a9: Verifying Checksum 22:11:08 96b7cbca73a9: Download complete 22:11:08 53926ce57604: Verifying Checksum 22:11:08 53926ce57604: Download complete 22:11:11 53926ce57604: Pull complete 22:11:11 21b2b0c7a3f4: Pull complete 22:11:11 22ff95d597cd: Pull complete 22:11:11 12d6caf4c0d1: Pull complete 22:11:13 96b7cbca73a9: Pull complete 22:11:14 a7acece74701: Pull complete 22:11:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:11:14 ---> db6d94c90886 22:11:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:19 ---> Running in 0d5d53ba5ac2 22:11:19 Removing intermediate container 0d5d53ba5ac2 22:11:19 ---> cfe7ae5eae74 22:11:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:19 ---> Running in abc76bd86d44 22:11:19 Removing intermediate container abc76bd86d44 22:11:19 ---> 654813466209 22:11:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:19 ---> Running in 2db9a9bd324f 22:11:19 Removing intermediate container 2db9a9bd324f 22:11:19 ---> e78cfea11db9 22:11:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:19 ---> Running in de506921001e 22:11:19 Removing intermediate container de506921001e 22:11:19 ---> a0c7bfec7a36 22:11:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:19 ---> Running in 0d8b379dbb59 22:11:19 Removing intermediate container 0d8b379dbb59 22:11:19 ---> fb5510991c86 22:11:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:19 ---> Running in 4d9951954189 22:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:20 OK: 211 MiB in 51 packages 22:11:20 Removing intermediate container 4d9951954189 22:11:20 ---> b6f438ede1cd 22:11:20 Step 9/13 : WORKDIR /device-onvif-camera 22:11:20 ---> Running in 937feae6c9a6 22:11:20 Removing intermediate container 937feae6c9a6 22:11:20 ---> b45185a86de5 22:11:20 Step 10/13 : COPY go.mod vendor* ./ 22:11:20 Still waiting to schedule task 22:11:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:21 ---> 55fae73dd098 22:11:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:21 ---> Running in 8cd8cabbac00 22:11:59 Removing intermediate container 8cd8cabbac00 22:11:59 ---> 0d57eff90344 22:11:59 Step 12/13 : COPY . . 22:12:00 ---> 66b888eed8c3 22:12:00 Step 13/13 : RUN ${MAKE} 22:12:00 ---> Running in 636676bdfc03 22:12:00 noop 22:12:00 Removing intermediate container 636676bdfc03 22:12:00 ---> 88dc0aed96b5 22:12:00 Successfully built 88dc0aed96b5 22:12:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + docker inspect -f . ci-base-image-x86_64 22:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:01 prd-ubuntu20.04-docker-8c-8g-8189 does not seem to be running inside a container 22:12:01 $ 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 ******** ci-base-image-x86_64 cat 22:12:01 $ docker top 53f200baa94efa47c286e13ecbb0a8a4ce4a3bd9492d15a8f5547c176368298a -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:01 + go version 22:12:01 go version go1.18.7 linux/amd64 [Pipeline] } 22:12:01 $ docker stop --time=1 53f200baa94efa47c286e13ecbb0a8a4ce4a3bd9492d15a8f5547c176368298a 22:12:03 $ docker rm -f --volumes 53f200baa94efa47c286e13ecbb0a8a4ce4a3bd9492d15a8f5547c176368298a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:03 + docker inspect -f . ci-base-image-x86_64 22:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:03 prd-ubuntu20.04-docker-8c-8g-8189 does not seem to be running inside a container 22:12:03 $ 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 ******** ci-base-image-x86_64 cat 22:12:04 $ docker top 67793dcc43dc2049b51df2d60c9b4323328e5a131e2ad2a436db1faf9b13db10 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] fileExists [Pipeline] sh 22:12:04 + make test 22:12:04 go test ./... -coverprofile=coverage.out ./... 22:12:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements 22:12:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.562s coverage: 86.5% of statements 22:12:24 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." 22:12:24 go vet ./... 22:12:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:28 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:28 $ docker stop --time=1 67793dcc43dc2049b51df2d60c9b4323328e5a131e2ad2a436db1faf9b13db10 22:12:33 $ docker rm -f --volumes 67793dcc43dc2049b51df2d60c9b4323328e5a131e2ad2a436db1faf9b13db10 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:35 + ls -al . 22:12:35 total 236 22:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 22:12 . 22:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:10 .. 22:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 22:12 .git 22:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:10 .github 22:12:35 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 22:10 .gitignore 22:12:35 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 22:10 .golangci.yml 22:12:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 22:11 .semver 22:12:35 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 22:10 Attribution.txt 22:12:35 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 22:10 CHANGELOG.md 22:12:35 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 22:10 Dockerfile 22:12:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 22:10 GOVERNANCE.md 22:12:35 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 22:10 Jenkinsfile 22:12:35 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 22:10 LICENSE 22:12:35 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 22:10 Makefile 22:12:35 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 22:10 OWNERS.md 22:12:35 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 22:10 README.md 22:12:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 22:11 VERSION 22:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 22:10 bin 22:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:10 cmd 22:12:35 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 22:12 coverage.out 22:12:35 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 22:10 doc 22:12:35 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 22:10 go.mod 22:12:35 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 22:10 go.sum 22:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:10 internal 22:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:10 snap 22:12:35 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:35 + 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=f4f45df83ae0c37949b95344d06a6a504d3178d2 --label arch=amd64 --label version=0.0.0 . 22:12:35 Sending build context to Docker daemon 27.88MB 22:12:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:12:35 Step 2/26 : FROM ${BASE} AS builder 22:12:35 ---> 88dc0aed96b5 22:12:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:36 ---> Running in 396b528d8422 22:12:37 Removing intermediate container 396b528d8422 22:12:37 ---> 70cb8ec0d219 22:12:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:37 ---> Running in 9bfcd619732c 22:12:38 Removing intermediate container 9bfcd619732c 22:12:38 ---> afaac720b778 22:12:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:38 ---> Running in 03b91693d10a 22:12:39 Removing intermediate container 03b91693d10a 22:12:39 ---> 832ae9e150bf 22:12:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:39 ---> Running in 4dc8fd136ae8 22:12:40 Removing intermediate container 4dc8fd136ae8 22:12:40 ---> a22e3cd96629 22:12:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:40 ---> Running in 606413f9bc56 22:12:40 Removing intermediate container 606413f9bc56 22:12:40 ---> c4828a1dabbc 22:12:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:40 ---> Running in 0e7b30275f8a 22:12:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:41 OK: 211 MiB in 51 packages 22:12:42 Removing intermediate container 0e7b30275f8a 22:12:42 ---> 3d6d720db756 22:12:42 Step 9/26 : WORKDIR /device-onvif-camera 22:12:42 ---> Running in 65c1ecbf8e03 22:12:42 Removing intermediate container 65c1ecbf8e03 22:12:42 ---> 84f8ed617c59 22:12:42 Step 10/26 : COPY go.mod vendor* ./ 22:12:42 ---> 41411726ae59 22:12:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:42 ---> Running in badc81db653b 22:12:43 Removing intermediate container badc81db653b 22:12:43 ---> 341b26afcc52 22:12:43 Step 12/26 : COPY . . 22:12:44 ---> 5a9100bdcc2a 22:12:44 Step 13/26 : RUN ${MAKE} 22:12:44 ---> Running in 2107412c57fc 22:12:44 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 22:12:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8198 in /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] { [Pipeline] ws 22:12:49 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:12:49 The recommended git tool is: git 22:12:55 using credential edgex-jenkins-ssh 22:12:55 Cloning the remote Git repository 22:12:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:55 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:12:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:55 > git --version # timeout=10 22:12:55 > git --version # 'git version 2.25.1' 22:12:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:58 > 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 22:12:58 Merging remotes/origin/main commit d65f0f9877c5d27f36bd97c93e7d86cd57609692 into PR head commit 32e96771eeacfa7458d4c87772f375c2ba6e5dcb 22:12:59 Merge succeeded, producing c3c4e2fe4d4098176da55fece96e0a94ee4d6394 22:12:59 Checking out Revision c3c4e2fe4d4098176da55fece96e0a94ee4d6394 (PR-245) 22:12:58 > git config core.sparsecheckout # timeout=10 22:12:58 > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 22:12:59 > git remote # timeout=10 22:12:59 > git config --get remote.origin.url # timeout=10 22:12:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:59 > git merge d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 22:12:59 > git rev-parse HEAD^{commit} # timeout=10 22:12:59 > git config core.sparsecheckout # timeout=10 22:12:59 > git checkout -f c3c4e2fe4d4098176da55fece96e0a94ee4d6394 # timeout=10 22:13:02 Commit message: "Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD" 22:13:02 > git rev-list --no-walk 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:03 Dload Upload Total Spent Left Speed 22:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh 22:13:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:04 + sudo tee /etc/docker/daemon.new 22:13:04 { 22:13:04 "registry-mirrors": [ 22:13:04 "https://nexus3.edgexfoundry.org:10001" 22:13:04 ], 22:13:04 "bip": "10.250.0.254/24", 22:13:04 "hosts": [ 22:13:04 "tcp://0.0.0.0:5555", 22:13:04 "unix:///var/run/docker.sock" 22:13:04 ], 22:13:04 "mtu": 1458, 22:13:04 "selinux-enabled": true, 22:13:04 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:04 } [Pipeline] sh 22:13:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:05 + sudo service docker restart 22:13:11 Removing intermediate container 2107412c57fc 22:13:11 ---> eb15d93d128c 22:13:11 Step 14/26 : FROM alpine:3.16 22:13:11 3.16: Pulling from library/alpine 22:13:11 ef5531b6e74e: Pulling fs layer 22:13:12 ef5531b6e74e: Download complete 22:13:12 ef5531b6e74e: Pull complete 22:13:12 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:13:12 Status: Downloaded newer image for alpine:3.16 22:13:12 ---> dfd21b5a31f5 22:13:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:12 ---> Running in ff9f369118c8 22:13:12 Removing intermediate container ff9f369118c8 22:13:12 ---> a95eb3bad1ca 22:13:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:12 ---> Running in 395df8f6cf8e 22:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:13:13 (1/1) Installing dumb-init (1.2.5-r1) 22:13:13 Executing busybox-1.35.0-r17.trigger 22:13:13 OK: 6 MiB in 15 packages 22:13:13 Removing intermediate container 395df8f6cf8e 22:13:13 ---> a4d2ae5cf235 22:13:13 Step 17/26 : WORKDIR / 22:13:13 ---> Running in da312f5d670c 22:13:13 Removing intermediate container da312f5d670c 22:13:13 ---> 1d9a85dd631b 22:13:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:14 ---> b1e09f2a9929 22:13:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:14 ---> 3d1ecef82104 22:13:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:14 ---> 75b76d361b0d 22:13:14 Step 21/26 : EXPOSE 59984 22:13:14 ---> Running in 5dcbd4404fe5 22:13:14 Removing intermediate container 5dcbd4404fe5 22:13:14 ---> f537822421bf 22:13:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:14 ---> Running in 8abade97441d 22:13:15 Removing intermediate container 8abade97441d 22:13:15 ---> d66732d7e756 22:13:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:15 ---> Running in 00e62bbbc920 22:13:15 Removing intermediate container 00e62bbbc920 22:13:15 ---> d0f063a3e053 22:13:15 Step 24/26 : LABEL arch=amd64 22:13:15 ---> Running in de62651fd86b 22:13:15 Removing intermediate container de62651fd86b 22:13:15 ---> 29e102db9900 22:13:15 Step 25/26 : LABEL git_sha=f4f45df83ae0c37949b95344d06a6a504d3178d2 22:13:15 ---> Running in d47fcf0d53b8 22:13:15 Removing intermediate container d47fcf0d53b8 22:13:15 ---> c2c733aba167 22:13:15 Step 26/26 : LABEL version=0.0.0 22:13:15 ---> Running in 1c9f973e9e64 22:13:15 Removing intermediate container 1c9f973e9e64 22:13:15 ---> aef714763516 22:13:15 [Warning] One or more build-args [ARCH] were not consumed 22:13:15 Successfully built aef714763516 22:13:15 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 22:13:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:15 22:13:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:16 latest: Pulling from edgex-lftools-log-publisher 22:13:16 5eb5b503b376: Pulling fs layer 22:13:16 5c69ac0246d0: Pulling fs layer 22:13:16 ec43610c2a17: Pulling fs layer 22:13:16 3a2ae6a8a46f: Pulling fs layer 22:13:16 33b1e0a273af: Pulling fs layer 22:13:16 5d3b04190fa2: Pulling fs layer 22:13:16 2f39f015ded8: Pulling fs layer 22:13:16 5d3b04190fa2: Waiting 22:13:16 2f39f015ded8: Waiting 22:13:16 3a2ae6a8a46f: Waiting 22:13:16 33b1e0a273af: Waiting 22:13:16 5c69ac0246d0: Verifying Checksum 22:13:16 5c69ac0246d0: Download complete 22:13:16 3a2ae6a8a46f: Verifying Checksum 22:13:16 3a2ae6a8a46f: Download complete 22:13:16 33b1e0a273af: Verifying Checksum 22:13:16 33b1e0a273af: Download complete 22:13:16 5d3b04190fa2: Verifying Checksum 22:13:16 5d3b04190fa2: Download complete 22:13:16 ec43610c2a17: Verifying Checksum 22:13:16 ec43610c2a17: Download complete 22:13:16 5eb5b503b376: Download complete 22:13:16 2f39f015ded8: Verifying Checksum 22:13:16 2f39f015ded8: Download complete 22:13:17 5eb5b503b376: Pull complete 22:13:18 5c69ac0246d0: Pull complete 22:13:18 ec43610c2a17: Pull complete 22:13:18 3a2ae6a8a46f: Pull complete 22:13:19 33b1e0a273af: Pull complete 22:13:19 5d3b04190fa2: Pull complete 22:13:23 2f39f015ded8: Pull complete 22:13:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:24 prd-ubuntu20.04-docker-8c-8g-8189 does not seem to be running inside a container 22:13:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:13:30 $ docker top f95d3ec70e9ff4456ede8f058bc298af28a6dc2a98b501bf03076e93d0d79b43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 22:13:30 provisioning config files... 22:13:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config15087263203920366756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:30 ---> job-cost.sh 22:13:30 lf-activate-venv: SKIPPING 22:13:30 INFO: No Stack... 22:13:31 ---> docker-login.sh 22:13:31 nexus3.edgexfoundry.org:10001 22:13:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:31 Configure a credential helper to remove this warning. See 22:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:31 22:13:31 Login Succeeded 22:13:31 nexus3.edgexfoundry.org:10002 22:13:31 INFO: Archiving Costs [Pipeline] sh 22:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:32 + cat /w/workspace/undry_device-onvif-camera_PR-245/archives/cost.csv 22:13:32 + cut -d, -f6 [Pipeline] lock 22:13:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] 22:13:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] did not exist. Created. 22:13:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:32 Configure a credential helper to remove this warning. See 22:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:32 22:13:32 Login Succeeded 22:13:32 nexus3.edgexfoundry.org:10003 22:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:32 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:32 Stashed 1 file(s) [Pipeline] } 22:13:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:32 $ docker stop --time=1 f95d3ec70e9ff4456ede8f058bc298af28a6dc2a98b501bf03076e93d0d79b43 22:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:32 Configure a credential helper to remove this warning. See 22:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:32 22:13:32 Login Succeeded 22:13:32 nexus3.edgexfoundry.org:10004 22:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:32 Configure a credential helper to remove this warning. See 22:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:32 22:13:32 Login Succeeded 22:13:32 docker.io 22:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:33 Configure a credential helper to remove this warning. See 22:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:33 22:13:33 Login Succeeded 22:13:33 ---> docker-login.sh ends 22:13:33 $ docker rm -f --volumes f95d3ec70e9ff4456ede8f058bc298af28a6dc2a98b501bf03076e93d0d79b43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 22:13:33 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 22:13:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:33 ========================================================= 22:13:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:13:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:34 + 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 . 22:13:34 Sending build context to Docker daemon 20.59MB 22:13:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:13:34 Step 2/13 : FROM ${BASE} AS builder 22:13:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:36 9b18e9b68314: Pulling fs layer 22:13:36 35d82f9e3411: Pulling fs layer 22:13:36 e16973657156: Pulling fs layer 22:13:36 fc693d55d65f: Pulling fs layer 22:13:36 7e9fc2657dce: Pulling fs layer 22:13:36 dda99020689f: Pulling fs layer 22:13:36 db1c61fa0a46: Pulling fs layer 22:13:36 891c053d2c06: Pulling fs layer 22:13:36 fc693d55d65f: Waiting 22:13:36 db1c61fa0a46: Waiting 22:13:36 7e9fc2657dce: Waiting 22:13:36 891c053d2c06: Waiting 22:13:36 e16973657156: Download complete 22:13:36 35d82f9e3411: Verifying Checksum 22:13:36 35d82f9e3411: Download complete 22:13:36 7e9fc2657dce: Verifying Checksum 22:13:36 7e9fc2657dce: Download complete 22:13:36 dda99020689f: Verifying Checksum 22:13:36 dda99020689f: Download complete 22:13:36 9b18e9b68314: Download complete 22:13:37 9b18e9b68314: Pull complete 22:13:37 891c053d2c06: Verifying Checksum 22:13:37 891c053d2c06: Download complete 22:13:37 35d82f9e3411: Pull complete 22:13:38 e16973657156: Pull complete 22:13:38 db1c61fa0a46: Verifying Checksum 22:13:38 db1c61fa0a46: Download complete 22:13:39 fc693d55d65f: Verifying Checksum 22:13:39 fc693d55d65f: Download complete 22:13:51 fc693d55d65f: Pull complete 22:13:51 7e9fc2657dce: Pull complete 22:13:51 dda99020689f: Pull complete 22:13:57 db1c61fa0a46: Pull complete 22:13:58 891c053d2c06: Pull complete 22:13:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:13:58 ---> f96f9c87975a 22:13:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:00 ---> Running in ecd6d577c2a9 22:14:00 Removing intermediate container ecd6d577c2a9 22:14:00 ---> 56d79ab6fa6d 22:14:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:00 ---> Running in 149deb705ce8 22:14:01 Removing intermediate container 149deb705ce8 22:14:01 ---> 13ae37974408 22:14:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:14:01 ---> Running in abcc6f3ceda2 22:14:01 Removing intermediate container abcc6f3ceda2 22:14:01 ---> 9c7f1204d5e3 22:14:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:01 ---> Running in c303949cc5a5 22:14:02 Removing intermediate container c303949cc5a5 22:14:02 ---> fc920e1502fc 22:14:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:02 ---> Running in 38741bc40969 22:14:02 Removing intermediate container 38741bc40969 22:14:02 ---> 7a1709e3cc61 22:14:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:02 ---> Running in 73501306869c 22:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:14:05 OK: 221 MiB in 51 packages 22:14:05 Removing intermediate container 73501306869c 22:14:05 ---> f42c90803e8b 22:14:05 Step 9/13 : WORKDIR /device-onvif-camera 22:14:06 ---> Running in 1599dbab6144 22:14:06 Removing intermediate container 1599dbab6144 22:14:06 ---> 8e67b29aafb6 22:14:06 Step 10/13 : COPY go.mod vendor* ./ 22:14:07 ---> d87c8ccb76ea 22:14:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:07 ---> Running in a91ad78b9403 22:15:28 Removing intermediate container a91ad78b9403 22:15:28 ---> a92a8f3248d2 22:15:28 Step 12/13 : COPY . . 22:15:28 ---> 5805d0e99f25 22:15:28 Step 13/13 : RUN ${MAKE} 22:15:28 ---> Running in 01d8b880046f 22:15:28 noop 22:15:28 Removing intermediate container 01d8b880046f 22:15:28 ---> 9d74ddd9b7b8 22:15:28 Successfully built 9d74ddd9b7b8 22:15:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:29 + docker inspect -f . ci-base-image-arm64 22:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:29 prd-ubuntu20.04-docker-arm64-4c-16g-8198 does not seem to be running inside a container 22:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:30 $ docker top 3391f10fdbeca9989e5835cde1dcdfd6a7fb1014c4d8707312b0c50d4eb98531 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:31 + go version 22:15:31 go version go1.18.7 linux/arm64 [Pipeline] } 22:15:31 $ docker stop --time=1 3391f10fdbeca9989e5835cde1dcdfd6a7fb1014c4d8707312b0c50d4eb98531 22:15:33 $ docker rm -f --volumes 3391f10fdbeca9989e5835cde1dcdfd6a7fb1014c4d8707312b0c50d4eb98531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:33 + docker inspect -f . ci-base-image-arm64 22:15:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:33 prd-ubuntu20.04-docker-arm64-4c-16g-8198 does not seem to be running inside a container 22:15:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:35 $ docker top 0684151b16680d701f376001f46850b2dde7a1f64311b5e0fcd0467a36849f2d -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:35 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:15:36 + make test 22:15:36 go test ./... -coverprofile=coverage.out ./... 22:15:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.360s coverage: 29.3% of statements 22:17:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.520s coverage: 86.5% of statements 22:17:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:48 go vet ./... 22:18:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:26 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:26 $ docker stop --time=1 0684151b16680d701f376001f46850b2dde7a1f64311b5e0fcd0467a36849f2d 22:18:28 $ docker rm -f --volumes 0684151b16680d701f376001f46850b2dde7a1f64311b5e0fcd0467a36849f2d [Pipeline] // withDockerContainer [Pipeline] sh 22:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:29 Warning: overwriting stash ‘coverage-report’ 22:18:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:34 + ls -al . 22:18:34 total 232 22:18:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 22:15 . 22:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:12 .. 22:18:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 22:12 .git 22:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:12 .github 22:18:34 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 22:12 .gitignore 22:18:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 22:12 .golangci.yml 22:18:34 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 22:12 Attribution.txt 22:18:34 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 22:12 CHANGELOG.md 22:18:34 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 22:12 Dockerfile 22:18:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 22:12 GOVERNANCE.md 22:18:34 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 22:12 Jenkinsfile 22:18:34 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 22:12 LICENSE 22:18:34 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 22:12 Makefile 22:18:34 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 22:12 OWNERS.md 22:18:34 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 22:12 README.md 22:18:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 22:11 VERSION 22:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 22:12 bin 22:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:12 cmd 22:18:34 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 22:17 coverage.out 22:18:34 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 22:12 doc 22:18:34 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 22:12 go.mod 22:18:34 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 22:12 go.sum 22:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:12 internal 22:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:12 snap 22:18:34 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:35 + 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=c3c4e2fe4d4098176da55fece96e0a94ee4d6394 --label arch=arm64 --label version=0.0.0 . 22:18:35 Sending build context to Docker daemon 20.67MB 22:18:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:18:35 Step 2/26 : FROM ${BASE} AS builder 22:18:35 ---> 9d74ddd9b7b8 22:18:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:35 ---> Running in 0dac257ee0cd 22:18:36 Removing intermediate container 0dac257ee0cd 22:18:36 ---> d5ea73c7c895 22:18:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:36 ---> Running in c58ff15c5ebb 22:18:36 Removing intermediate container c58ff15c5ebb 22:18:36 ---> dacf6708ef98 22:18:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:18:36 ---> Running in c2663fde7c9c 22:18:37 Removing intermediate container c2663fde7c9c 22:18:37 ---> cdc286db1257 22:18:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:18:37 ---> Running in 4798951db63b 22:18:37 Removing intermediate container 4798951db63b 22:18:37 ---> 199bcbe28fa5 22:18:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:18:37 ---> Running in fb7ffe94ebd4 22:18:38 Removing intermediate container fb7ffe94ebd4 22:18:38 ---> 1e20e213af9d 22:18:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:38 ---> Running in c34dcbd5fca4 22:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:18:41 OK: 221 MiB in 51 packages 22:18:42 Removing intermediate container c34dcbd5fca4 22:18:42 ---> 8db08403a27e 22:18:42 Step 9/26 : WORKDIR /device-onvif-camera 22:18:42 ---> Running in 354260cf2d3c 22:18:42 Removing intermediate container 354260cf2d3c 22:18:42 ---> 5b9325cb23d1 22:18:42 Step 10/26 : COPY go.mod vendor* ./ 22:18:43 ---> e4dea3a0e51d 22:18:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:43 ---> Running in e8c2b7168513 22:18:46 Removing intermediate container e8c2b7168513 22:18:46 ---> e60cd57d800e 22:18:46 Step 12/26 : COPY . . 22:18:48 ---> 3f742ebdf1c3 22:18:48 Step 13/26 : RUN ${MAKE} 22:18:48 ---> Running in dcb43bf8246b 22:18:49 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 22:21:41 Removing intermediate container dcb43bf8246b 22:21:41 ---> da070e93a95e 22:21:41 Step 14/26 : FROM alpine:3.16 22:21:41 3.16: Pulling from library/alpine 22:21:42 3760b48202b3: Pulling fs layer 22:21:42 3760b48202b3: Verifying Checksum 22:21:42 3760b48202b3: Download complete 22:21:42 3760b48202b3: Pull complete 22:21:42 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:21:42 Status: Downloaded newer image for alpine:3.16 22:21:42 ---> 4c81e5bf8899 22:21:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:42 ---> Running in 750ecdd4d8b5 22:21:43 Removing intermediate container 750ecdd4d8b5 22:21:43 ---> a37f12ceeb5d 22:21:43 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:21:43 ---> Running in e85a31398061 22:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:21:46 (1/1) Installing dumb-init (1.2.5-r1) 22:21:46 Executing busybox-1.35.0-r17.trigger 22:21:46 OK: 5 MiB in 15 packages 22:21:49 Removing intermediate container e85a31398061 22:21:49 ---> 9ebb8e9b3190 22:21:49 Step 17/26 : WORKDIR / 22:21:49 ---> Running in 2aa4984224ab 22:21:49 Removing intermediate container 2aa4984224ab 22:21:49 ---> 679965477258 22:21:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:21:51 ---> 83805edb128e 22:21:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:51 ---> e57fe86eaa37 22:21:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:52 ---> 2192179aeeac 22:21:52 Step 21/26 : EXPOSE 59984 22:21:52 ---> Running in c5b9ceeda505 22:21:52 Removing intermediate container c5b9ceeda505 22:21:52 ---> bb9a8c38c289 22:21:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:21:52 ---> Running in 851e7e7777fd 22:21:53 Removing intermediate container 851e7e7777fd 22:21:53 ---> a57fa00ad7ff 22:21:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:21:53 ---> Running in 7e217b62f112 22:21:53 Removing intermediate container 7e217b62f112 22:21:53 ---> d63ed66dd771 22:21:53 Step 24/26 : LABEL arch=arm64 22:21:53 ---> Running in 4a97e6470044 22:21:53 Removing intermediate container 4a97e6470044 22:21:53 ---> 0b06defda623 22:21:53 Step 25/26 : LABEL git_sha=c3c4e2fe4d4098176da55fece96e0a94ee4d6394 22:21:54 ---> Running in 6e8d3361185a 22:21:54 Removing intermediate container 6e8d3361185a 22:21:54 ---> 96c32f391836 22:21:54 Step 26/26 : LABEL version=0.0.0 22:21:54 ---> Running in 55f8ce9d6a95 22:21:54 Removing intermediate container 55f8ce9d6a95 22:21:54 ---> 5330bf2801bb 22:21:54 [Warning] One or more build-args [ARCH] were not consumed 22:21:55 Successfully built 5330bf2801bb 22:21:55 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 22:21:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:55 22:21:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:55 arm64: Pulling from edgex-lftools-log-publisher 22:21:55 8998bd30e6a1: Pulling fs layer 22:21:55 04944245beec: Pulling fs layer 22:21:55 699f458cf7ca: Pulling fs layer 22:21:55 765212b225bb: Pulling fs layer 22:21:55 f23df028b6ca: Pulling fs layer 22:21:55 d65c8cfc05b1: Pulling fs layer 22:21:55 2437ff75d9bd: Pulling fs layer 22:21:55 d65c8cfc05b1: Waiting 22:21:55 2437ff75d9bd: Waiting 22:21:55 765212b225bb: Waiting 22:21:56 04944245beec: Verifying Checksum 22:21:56 04944245beec: Download complete 22:21:56 765212b225bb: Verifying Checksum 22:21:56 765212b225bb: Download complete 22:21:56 f23df028b6ca: Download complete 22:21:56 d65c8cfc05b1: Verifying Checksum 22:21:56 d65c8cfc05b1: Download complete 22:21:56 699f458cf7ca: Verifying Checksum 22:21:56 699f458cf7ca: Download complete 22:21:56 8998bd30e6a1: Verifying Checksum 22:21:56 8998bd30e6a1: Download complete 22:21:59 2437ff75d9bd: Verifying Checksum 22:21:59 2437ff75d9bd: Download complete 22:22:01 8998bd30e6a1: Pull complete 22:22:01 04944245beec: Pull complete 22:22:02 699f458cf7ca: Pull complete 22:22:02 765212b225bb: Pull complete 22:22:03 f23df028b6ca: Pull complete 22:22:04 d65c8cfc05b1: Pull complete 22:22:19 2437ff75d9bd: Pull complete 22:22:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:22:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:19 prd-ubuntu20.04-docker-arm64-4c-16g-8198 does not seem to be running inside a container 22:22:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:22:22 $ docker top 4adc1e92994d7591c3c07961df80c40ac6190845bc4c6c62dc21da3925e2e4db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:23 ---> job-cost.sh 22:22:23 lf-activate-venv: SKIPPING 22:22:23 INFO: No Stack... 22:22:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:22:24 INFO: Archiving Costs [Pipeline] sh 22:22:25 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:22:25 + cut -d, -f6 [Pipeline] lock 22:22:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] 22:22:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] did not exist. Created. 22:22:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:26 /w/workspace/device-onvif-camera/2@tmp/durable-6bbfc6e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:22:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:22:26 Warning: overwriting stash ‘stack-cost’ 22:22:27 Stashed 1 file(s) [Pipeline] } 22:22:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:27 $ docker stop --time=1 4adc1e92994d7591c3c07961df80c40ac6190845bc4c6c62dc21da3925e2e4db 22:22:28 $ docker rm -f --volumes 4adc1e92994d7591c3c07961df80c40ac6190845bc4c6c62dc21da3925e2e4db [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 22:22:29 provisioning config files... 22:22:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config15213175432576694522tmp [Pipeline] { [Pipeline] sh 22:22:29 + set +x 22:22:29 + + bashcurl -s -s -- https://codecov.io/bash 22:22:29 22:22:29 22:22:29 _____ _ 22:22:29 / ____| | | 22:22:29 | | ___ __| | ___ ___ _____ __ 22:22:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:29 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:29 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:29 Bash-1.0.6 22:22:29 22:22:29 22:22:29 ==> git version 2.25.1 found 22:22:29 ==> 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 22:22:29 Release-Date: 2020-01-08 22:22:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:22:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:29 ==> Jenkins CI detected. 22:22:29 current dir:  /w/workspace/undry_device-onvif-camera_PR-245 22:22:29 project root: . 22:22:29 --> token set from env 22:22:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:29 ==> Running gcov in . (disable via -X gcov) 22:22:29 ==> Python coveragepy not found 22:22:29 ==> Searching for coverage reports in: 22:22:29 + . 22:22:29 -> Found 1 reports 22:22:29 ==> Detecting git/mercurial file structure 22:22:29 ==> Reading reports 22:22:29 + ./coverage.out bytes=79184 22:22:29 ==> Appending adjustments 22:22:29 https://docs.codecov.io/docs/fixing-reports 22:22:29 + Found adjustments 22:22:29 ==> Gzipping contents 22:22:29 12K /tmp/codecov.Bouxk5.gz 22:22:29 ==> Uploading reports 22:22:29 url: https://codecov.io 22:22:29 query: branch=PR-245&commit=f4f45df83ae0c37949b95344d06a6a504d3178d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 22:22:29 -> Pinging Codecov 22:22:29 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=f4f45df83ae0c37949b95344d06a6a504d3178d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 22:22:29 -> Uploading to 22:22:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-03/F29A59C45E3A92E06B3E522C9905F8EF/f4f45df83ae0c37949b95344d06a6a504d3178d2/5860af03-4276-406a-846c-188c2522a0b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T222229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f04335ad04748f7139c04504ecb435574d07093052eec6204599a541fea3a68b 22:22:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:29 Dload Upload Total Spent Left Speed 22:22:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10787 0 0 100 10787 0 35136 --:--:-- --:--:-- --:--:-- 35136 22:22:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f4f45df83ae0c37949b95344d06a6a504d3178d2 [Pipeline] } 22:22:30 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 22:22:30 + [ -d /w/workspace/undry_device-onvif-camera_PR-245/archives ] 22:22:30 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 22:22:30 total 16 22:22:30 drwxr-xr-x 3 root root 4096 Mar 3 22:13 . 22:22:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 22:13 .. 22:22:30 drwxr-xr-x 2 root root 4096 Mar 3 22:13 cost 22:22:30 -rw-r--r-- 1 root root 91 Mar 3 22:13 cost.csv 22:22:30 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-245/archives 22:22:30 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 22:22:30 total 16 22:22:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 22:13 . 22:22:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 22:13 .. 22:22:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 22:13 cost 22:22:30 -rw-r--r-- 1 jenkins jenkins 91 Mar 3 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:31 ---> package-listing.sh 22:22:31 ++ facter osfamily 22:22:31 ++ tr '[:upper:]' '[:lower:]' 22:22:32 + OS_FAMILY=debian 22:22:32 + workspace=/w/workspace/undry_device-onvif-camera_PR-245 22:22:32 + START_PACKAGES=/tmp/packages_start.txt 22:22:32 + END_PACKAGES=/tmp/packages_end.txt 22:22:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:32 + PACKAGES=/tmp/packages_start.txt 22:22:32 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 22:22:32 + PACKAGES=/tmp/packages_end.txt 22:22:32 + case "${OS_FAMILY}" in 22:22:32 + dpkg -l 22:22:32 + grep '^ii' 22:22:32 + '[' -f /tmp/packages_start.txt ']' 22:22:32 + '[' -f /tmp/packages_end.txt ']' 22:22:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:32 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 22:22:32 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-245/archives/ 22:22:32 + 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 22:22:32 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 22:22:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:33 prd-ubuntu20.04-docker-8c-8g-8189 does not seem to be running inside a container 22:22:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:22:33 $ docker top aa5e65d4570838dfb26797697f7db0b5d1c42b3f9cba1552e986212da6f14fbb -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:33 + touch /tmp/pre-build-complete [Pipeline] sh 22:22:33 + mkdir -p /var/log/sysstat [Pipeline] sh 22:22:34 + ls /var/log/sa-host 22:22:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:34 provisioning config files... 22:22:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config17460458967665956625tmp [Pipeline] { [Pipeline] echo 22:22:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:22:34 ---> create-netrc.sh [Pipeline] } 22:22:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:22:34 ---> python-tools-install.sh [Pipeline] echo 22:22:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:22:35 ---> sudo-logs.sh 22:22:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:22:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:22:35 ---> job-cost.sh 22:22:35 lf-activate-venv: SKIPPING 22:22:35 DEBUG: total: 0.2199999988079071 22:22:35 INFO: Retrieving Stack Cost... 22:22:36 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:36 INFO: Archiving Costs [Pipeline] echo 22:22:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:22:36 ---> logs-deploy.sh 22:22:36 lf-activate-venv: SKIPPING 22:22:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-245/2 22:22:36 INFO: archiving workspace using pattern(s): 22:22:37 Archives upload complete. 22:22:37 INFO: archiving logs to Nexus