Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b3088f74b80dce78a876441a0c72d3538a65c555 rather than 57af7d14efb7306e5f9e58ca019040386ae0255b Obtained Jenkinsfile from b3088f74b80dce78a876441a0c72d3538a65c555 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-ssh15384967598158807895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9754558832547469458.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18191437115110578650.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5861814319990325905.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh104885758102250194.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.20 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8936’ Running on prd-ubuntu20.04-docker-8c-8g-8939 in /w/workspace/undry_device-onvif-camera_PR-305 [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-305 # 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/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b Merge succeeded, producing 78c28b113e0678ca503a245724536a9c002a0eb3 Checking out Revision 78c28b113e0678ca503a245724536a9c002a0eb3 (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # 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 b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78c28b113e0678ca503a245724536a9c002a0eb3 # timeout=10 Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 46cabe13d72068d298b339c71508736a9b5aec0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:45:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:45:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:45:20 ========================================================= 15:45:20 EdgeX Global Pipelines Version Info 15:45:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:45:21 ------------------- 15:45:21 stable info: 15:45:21 ------------------- 15:45:21 Commited By: Bill Mahoney bill.mahoney@intel.com 15:45:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:45:21 Message: update stable to v1.0.248 15:45:21 ------------------- 15:45:21 experimental info: 15:45:21 ------------------- 15:45:21 Commited By: **** collab-it+edgex@linuxfoundation.org 15:45:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:45:21 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78c28b1 [Pipeline] echo 15:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:22 provisioning config files... 15:45:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config5068107986020274372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:22 ---> docker-login.sh 15:45:22 nexus3.edgexfoundry.org:10001 15:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:23 Configure a credential helper to remove this warning. See 15:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:23 15:45:23 Login Succeeded 15:45:23 nexus3.edgexfoundry.org:10002 15:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:23 Configure a credential helper to remove this warning. See 15:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:23 15:45:23 Login Succeeded 15:45:23 nexus3.edgexfoundry.org:10003 15:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:23 Configure a credential helper to remove this warning. See 15:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:23 15:45:23 Login Succeeded 15:45:23 nexus3.edgexfoundry.org:10004 15:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:23 Configure a credential helper to remove this warning. See 15:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:23 15:45:23 Login Succeeded 15:45:23 docker.io 15:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:23 Configure a credential helper to remove this warning. See 15:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:23 15:45:23 Login Succeeded 15:45:23 ---> docker-login.sh ends [Pipeline] } 15:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:45:24 + git rev-list -1 --merges 78c28b113e0678ca503a245724536a9c002a0eb3~1..78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo 15:45:24 -----------> git rev-list -1 --merges 78c28b113e0678ca503a245724536a9c002a0eb3~1..78c28b113e0678ca503a245724536a9c002a0eb3 78c28b113e0678ca503a245724536a9c002a0eb3 15:45:24 78c28b113e0678ca503a245724536a9c002a0eb3 [false] [Pipeline] sh 15:45:24 + git log --format=format:%s -1 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo 15:45:24 ========================================================= 15:45:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:45:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:24 + git log --format=format:%s -1 78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] echo 15:45:24 [semverPrep] GIT_COMMIT: 78c28b113e0678ca503a245724536a9c002a0eb3, Commit Message: Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD [Pipeline] echo 15:45:24 [semverPrep] This is not a build commit. [Pipeline] sh 15:45:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:45:25 + grep -v github /etc/ssh/ssh_known_hosts 15:45:25 + [ -e /tmp/ssh_known_hosts ] 15:45:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:45:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:45:25 + sudo tee -a /etc/ssh/ssh_known_hosts 15:45:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:45:25 15:45:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:45:25 0.1.4: Pulling from edgex-devops/py-git-semver 15:45:25 b85a868b505f: Pulling fs layer 15:45:25 e2be974225ed: Pulling fs layer 15:45:25 339a4e72a1f5: Pulling fs layer 15:45:25 988bab9f4d93: Pulling fs layer 15:45:25 1469e6f7b9e6: Pulling fs layer 15:45:25 eaf3925da568: Pulling fs layer 15:45:25 bab4dde63d76: Pulling fs layer 15:45:25 bde34c3a00c8: Pulling fs layer 15:45:25 b352a97aabf1: Pulling fs layer 15:45:25 4872d77fe225: Pulling fs layer 15:45:25 5851b861e8e6: Pulling fs layer 15:45:25 bab4dde63d76: Waiting 15:45:25 b352a97aabf1: Waiting 15:45:25 bde34c3a00c8: Waiting 15:45:25 5851b861e8e6: Waiting 15:45:25 4872d77fe225: Waiting 15:45:25 1469e6f7b9e6: Waiting 15:45:25 eaf3925da568: Waiting 15:45:25 988bab9f4d93: Waiting 15:45:25 e2be974225ed: Download complete 15:45:25 988bab9f4d93: Verifying Checksum 15:45:25 988bab9f4d93: Download complete 15:45:26 339a4e72a1f5: Verifying Checksum 15:45:26 339a4e72a1f5: Download complete 15:45:26 1469e6f7b9e6: Download complete 15:45:26 eaf3925da568: Verifying Checksum 15:45:26 eaf3925da568: Download complete 15:45:26 bde34c3a00c8: Download complete 15:45:26 b352a97aabf1: Download complete 15:45:26 4872d77fe225: Verifying Checksum 15:45:26 4872d77fe225: Download complete 15:45:26 5851b861e8e6: Verifying Checksum 15:45:26 5851b861e8e6: Download complete 15:45:26 b85a868b505f: Verifying Checksum 15:45:26 b85a868b505f: Download complete 15:45:26 bab4dde63d76: Verifying Checksum 15:45:26 bab4dde63d76: Download complete 15:45:27 b85a868b505f: Pull complete 15:45:27 e2be974225ed: Pull complete 15:45:27 339a4e72a1f5: Pull complete 15:45:27 988bab9f4d93: Pull complete 15:45:28 1469e6f7b9e6: Pull complete 15:45:28 eaf3925da568: Pull complete 15:45:30 bab4dde63d76: Pull complete 15:45:30 bde34c3a00c8: Pull complete 15:45:30 b352a97aabf1: Pull complete 15:45:30 4872d77fe225: Pull complete 15:45:30 5851b861e8e6: Pull complete 15:45:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:45:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:30 prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container 15:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:45:31 $ docker top ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f -eo pid,comm 15:45:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:45:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:45:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:45:31 [ssh-agent] Looking for ssh-agent implementation... 15:45:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:45:31 $ docker exec ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent 15:45:32 SSH_AUTH_SOCK=/tmp/ssh-Gdl6Aya7Sy6g/agent.33 15:45:32 SSH_AGENT_PID=39 15:45:32 Running ssh-add (command line suppressed) 15:45:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15401383060801198581.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15401383060801198581.key) 15:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:45:32 + git tag --points-at HEAD [Pipeline] } 15:45:32 $ docker exec --env ******** --env ******** ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent -k 15:45:32 unset SSH_AUTH_SOCK; 15:45:32 unset SSH_AGENT_PID; 15:45:32 echo Agent pid 39 killed; 15:45:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:45:32 [ssh-agent] Looking for ssh-agent implementation... 15:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:45:32 $ docker exec ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent 15:45:32 SSH_AUTH_SOCK=/tmp/ssh-6K4ywrPyM17V/agent.72 15:45:32 SSH_AGENT_PID=78 15:45:32 Running ssh-add (command line suppressed) 15:45:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14658628244969084927.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_14658628244969084927.key) 15:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:45:33 + git semver init 15:45:33 2023-04-18 15:45:33,436 [run_init] DEBUG init version:0.0.0 force:False 15:45:33 2023-04-18 15:45:33,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver 15:45:33 2023-04-18 15:45:33,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver 15:45:33 2023-04-18 15:45:33,437 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-305/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-305, universal_newlines=False, shell=None, istream=None) 15:45:34 2023-04-18 15:45:34,290 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude 15:45:34 2023-04-18 15:45:34,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False 15:45:34 2023-04-18 15:45:34,290 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 15:45:34 2023-04-18 15:45:34,295 [execute] INFO git cat-file --batch-check 15:45:34 2023-04-18 15:45:34,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 15:45:34 2023-04-18 15:45:34,302 [execute] INFO git cat-file --batch 15:45:34 2023-04-18 15:45:34,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) 15:45:34 2023-04-18 15:45:34,306 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 15:45:34 0.0.0 [Pipeline] } 15:45:34 $ docker exec --env ******** --env ******** ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f ssh-agent -k 15:45:34 unset SSH_AUTH_SOCK; 15:45:34 unset SSH_AGENT_PID; 15:45:34 echo Agent pid 78 killed; 15:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:45:34 + git semver [Pipeline] } 15:45:35 $ docker stop --time=1 ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f 15:45:36 $ docker rm -f --volumes ebd86accfc7013d5aefeea0421e5314bb0afbaad9da84f2a13f47f728d05136f [Pipeline] // withDockerContainer [Pipeline] sh 15:45:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:45:36 Stashed 1 file(s) [Pipeline] echo 15:45:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:37 provisioning config files... 15:45:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config304054592422490105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:37 ---> docker-login.sh 15:45:37 nexus3.edgexfoundry.org:10001 15:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:37 Configure a credential helper to remove this warning. See 15:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:37 15:45:37 Login Succeeded 15:45:37 nexus3.edgexfoundry.org:10002 15:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:37 Configure a credential helper to remove this warning. See 15:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:37 15:45:37 Login Succeeded 15:45:37 nexus3.edgexfoundry.org:10003 15:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:37 Configure a credential helper to remove this warning. See 15:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:37 15:45:37 Login Succeeded 15:45:37 nexus3.edgexfoundry.org:10004 15:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:37 Configure a credential helper to remove this warning. See 15:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:37 15:45:37 Login Succeeded 15:45:37 docker.io 15:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:37 Configure a credential helper to remove this warning. See 15:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:37 15:45:37 Login Succeeded 15:45:37 ---> docker-login.sh ends [Pipeline] } 15:45:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:38 ========================================================= 15:45:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:45:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:45:38 Sending build context to Docker daemon 21.4MB 15:45:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:45:38 Step 2/13 : FROM ${BASE} AS builder 15:45:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:45:38 63b65145d645: Pulling fs layer 15:45:38 a2d21d5440eb: Pulling fs layer 15:45:38 935e6c44a52c: Pulling fs layer 15:45:38 94cc34f8dd06: Pulling fs layer 15:45:38 30dea6a524f1: Pulling fs layer 15:45:38 a2aff8979fd8: Pulling fs layer 15:45:38 6808be2612f2: Pulling fs layer 15:45:38 f25807f1079a: Pulling fs layer 15:45:38 94cc34f8dd06: Waiting 15:45:38 a2aff8979fd8: Waiting 15:45:38 30dea6a524f1: Waiting 15:45:38 6808be2612f2: Waiting 15:45:38 f25807f1079a: Waiting 15:45:38 a2d21d5440eb: Verifying Checksum 15:45:38 a2d21d5440eb: Download complete 15:45:38 94cc34f8dd06: Verifying Checksum 15:45:38 94cc34f8dd06: Download complete 15:45:38 30dea6a524f1: Verifying Checksum 15:45:38 30dea6a524f1: Download complete 15:45:38 63b65145d645: Verifying Checksum 15:45:38 63b65145d645: Download complete 15:45:38 a2aff8979fd8: Verifying Checksum 15:45:38 a2aff8979fd8: Download complete 15:45:38 63b65145d645: Pull complete 15:45:38 a2d21d5440eb: Pull complete 15:45:39 f25807f1079a: Verifying Checksum 15:45:39 f25807f1079a: Download complete 15:45:39 935e6c44a52c: Verifying Checksum 15:45:39 935e6c44a52c: Download complete 15:45:39 6808be2612f2: Verifying Checksum 15:45:39 6808be2612f2: Download complete 15:45:42 935e6c44a52c: Pull complete 15:45:42 94cc34f8dd06: Pull complete 15:45:42 30dea6a524f1: Pull complete 15:45:42 a2aff8979fd8: Pull complete 15:45:45 6808be2612f2: Pull complete 15:45:46 f25807f1079a: Pull complete 15:45:46 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:45:46 ---> 3b553350e43f 15:45:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:45:47 ---> Running in c089921e5de1 15:45:47 Removing intermediate container c089921e5de1 15:45:47 ---> 63fa3062d8f3 15:45:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:45:47 ---> Running in 4c18bf1c7e1d 15:45:47 Removing intermediate container 4c18bf1c7e1d 15:45:47 ---> 8bf896fc95a8 15:45:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:45:47 ---> Running in 824a1017fee6 15:45:48 Removing intermediate container 824a1017fee6 15:45:48 ---> 66df2a9f2b5c 15:45:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:45:48 ---> Running in 566ec0b849d0 15:45:48 Removing intermediate container 566ec0b849d0 15:45:48 ---> 864f0e01cf16 15:45:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:45:48 ---> Running in 2f5580a04d57 15:45:48 Removing intermediate container 2f5580a04d57 15:45:48 ---> c47f6aa12c9d 15:45:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:45:48 ---> Running in fd194eedc2fd 15:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:45:49 OK: 265 MiB in 53 packages 15:45:49 Removing intermediate container fd194eedc2fd 15:45:49 ---> 15b0b3ac23b2 15:45:49 Step 9/13 : WORKDIR /device-onvif-camera 15:45:49 ---> Running in 7257ed5e8927 15:45:49 Removing intermediate container 7257ed5e8927 15:45:49 ---> 667bf91f6154 15:45:49 Step 10/13 : COPY go.mod vendor* ./ 15:45:49 ---> 392c8058d0d4 15:45:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:49 ---> Running in 6034bdcdeaa0 15:45:52 Still waiting to schedule task 15:45:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8937’ 15:46:11 Removing intermediate container 6034bdcdeaa0 15:46:11 ---> 0869be26c73e 15:46:11 Step 12/13 : COPY . . 15:46:11 ---> fdc7a49c3975 15:46:11 Step 13/13 : RUN ${MAKE} 15:46:11 ---> Running in ef8548feea89 15:46:11 noop 15:46:12 Removing intermediate container ef8548feea89 15:46:12 ---> 331c467ef55a 15:46:12 Successfully built 331c467ef55a 15:46:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:12 + docker inspect -f . ci-base-image-x86_64 15:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:12 prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container 15:46:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:46:12 $ docker top fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:13 + go version 15:46:13 go version go1.20.2 linux/amd64 [Pipeline] } 15:46:13 $ docker stop --time=1 fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 15:46:14 $ docker rm -f --volumes fbbcbe5c55a06ff7dfa511c391e97bff027eaf51001ecdd578cace0b364cd2d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:14 + docker inspect -f . ci-base-image-x86_64 15:46:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:14 prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container 15:46:14 $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:46:15 $ docker top a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:15 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh 15:46:15 + make test 15:46:15 go test ./... -coverprofile=coverage.out ./... 15:46:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:46:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:46:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:46:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements 15:46:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.221s coverage: 86.5% of statements 15:46:42 go vet ./... 15:46:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:46:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:46:45 ./bin/test-attribution-txt.sh 15:46:45 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 15:46:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:46:45 $ docker stop --time=1 a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 15:46:47 $ docker rm -f --volumes a309077c90813a492075c6ee8c97d5838fdf907179a0ffcd8fc80f13cd060cb2 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:46:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:46:49 + ls -al . 15:46:49 total 232 15:46:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:46 . 15:46:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 .. 15:46:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:45 .git 15:46:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:45 .github 15:46:49 -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:45 .gitignore 15:46:49 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:45 .golangci.yml 15:46:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:45 .semver 15:46:49 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:45 Attribution.txt 15:46:49 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:45 CHANGELOG.md 15:46:49 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:45 Dockerfile 15:46:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:45 GOVERNANCE.md 15:46:49 -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:45 Jenkinsfile 15:46:49 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:45 LICENSE 15:46:49 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:45 Makefile 15:46:49 -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:45 OWNERS.md 15:46:49 -rw-rw-r-- 1 jenkins jenkins 2568 Apr 18 15:45 README.md 15:46:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:45 VERSION 15:46:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:45 bin 15:46:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:45 cmd 15:46:49 -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:46 coverage.out 15:46:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 doc 15:46:49 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:45 go.mod 15:46:49 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:45 go.sum 15:46:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 internal 15:46:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:45 snap 15:46:49 -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:49 + 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=78c28b113e0678ca503a245724536a9c002a0eb3 --label arch=amd64 --label version=0.0.0 . 15:46:49 Sending build context to Docker daemon 21.48MB 15:46:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:46:49 Step 2/26 : FROM ${BASE} AS builder 15:46:49 ---> 331c467ef55a 15:46:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:46:49 ---> Running in 76b07b63eda1 15:46:49 Removing intermediate container 76b07b63eda1 15:46:49 ---> fe713adea39d 15:46:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:46:49 ---> Running in 564b97b336eb 15:46:50 Removing intermediate container 564b97b336eb 15:46:50 ---> e3ae2f8d4d97 15:46:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:46:50 ---> Running in b1ce28b08813 15:46:50 Removing intermediate container b1ce28b08813 15:46:50 ---> c3927509a0da 15:46:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:46:50 ---> Running in 33704ed60311 15:46:50 Removing intermediate container 33704ed60311 15:46:50 ---> b63ff976ae4f 15:46:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:46:50 ---> Running in 598c4cf16876 15:46:50 Removing intermediate container 598c4cf16876 15:46:50 ---> 520c9860531e 15:46:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:46:50 ---> Running in 73c911fa9728 15:46:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:46:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:46:50 OK: 265 MiB in 53 packages 15:46:51 Removing intermediate container 73c911fa9728 15:46:51 ---> a107b36f6e6e 15:46:51 Step 9/26 : WORKDIR /device-onvif-camera 15:46:51 ---> Running in b9003abec55c 15:46:51 Removing intermediate container b9003abec55c 15:46:51 ---> 2231b490ab23 15:46:51 Step 10/26 : COPY go.mod vendor* ./ 15:46:51 ---> 89fa0c0a9523 15:46:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:51 ---> Running in a8abc48682f3 15:46:52 Removing intermediate container a8abc48682f3 15:46:52 ---> 181e70a7fbb2 15:46:52 Step 12/26 : COPY . . 15:46:52 ---> a69cc866aec8 15:46:52 Step 13/26 : RUN ${MAKE} 15:46:52 ---> Running in c462a7f9bff8 15:46:53 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 15:47:15 Removing intermediate container c462a7f9bff8 15:47:15 ---> dafadd2d0102 15:47:15 Step 14/26 : FROM alpine:3.17 15:47:15 3.17: Pulling from library/alpine 15:47:15 f56be85fc22e: Pulling fs layer 15:47:15 f56be85fc22e: Verifying Checksum 15:47:15 f56be85fc22e: Download complete 15:47:15 f56be85fc22e: Pull complete 15:47:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:47:15 Status: Downloaded newer image for alpine:3.17 15:47:15 ---> 9ed4aefc74f6 15:47:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:47:15 ---> Running in acf99cdfedd9 15:47:15 Removing intermediate container acf99cdfedd9 15:47:15 ---> da9b41d241a4 15:47:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:47:15 ---> Running in 21f3f326f70f 15:47:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:47:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:47:15 (1/1) Installing dumb-init (1.2.5-r2) 15:47:15 Executing busybox-1.35.0-r29.trigger 15:47:15 OK: 7 MiB in 16 packages 15:47:15 Removing intermediate container 21f3f326f70f 15:47:15 ---> 9c2db05b5aa3 15:47:15 Step 17/26 : WORKDIR / 15:47:15 ---> Running in 67d748838375 15:47:15 Removing intermediate container 67d748838375 15:47:15 ---> e45acb231358 15:47:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:47:15 ---> bfec4dbe3434 15:47:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:47:15 ---> 9b89a4222008 15:47:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:47:15 ---> be87998721d5 15:47:15 Step 21/26 : EXPOSE 59984 15:47:15 ---> Running in 85790f3a370a 15:47:15 Removing intermediate container 85790f3a370a 15:47:15 ---> 570753c24f18 15:47:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:47:15 ---> Running in 97b7b0cb8623 15:47:15 Removing intermediate container 97b7b0cb8623 15:47:15 ---> bab614687f0d 15:47:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:47:15 ---> Running in aee19448694d 15:47:15 Removing intermediate container aee19448694d 15:47:15 ---> 46659875c9c1 15:47:15 Step 24/26 : LABEL arch=amd64 15:47:15 ---> Running in 725e1fd1e085 15:47:15 Removing intermediate container 725e1fd1e085 15:47:15 ---> 9b463fde2536 15:47:15 Step 25/26 : LABEL git_sha=78c28b113e0678ca503a245724536a9c002a0eb3 15:47:15 ---> Running in f823e30eaf4d 15:47:15 Removing intermediate container f823e30eaf4d 15:47:15 ---> e95bf5839310 15:47:15 Step 26/26 : LABEL version=0.0.0 15:47:15 ---> Running in b28d56fd4b9f 15:47:15 Removing intermediate container b28d56fd4b9f 15:47:15 ---> 820ec22938d5 15:47:15 [Warning] One or more build-args [ARCH] were not consumed 15:47:15 Successfully built 820ec22938d5 15:47: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 15:47:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:16 15:47:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:16 latest: Pulling from edgex-lftools-log-publisher 15:47:16 5eb5b503b376: Pulling fs layer 15:47:16 5c69ac0246d0: Pulling fs layer 15:47:16 ec43610c2a17: Pulling fs layer 15:47:16 3a2ae6a8a46f: Pulling fs layer 15:47:16 33b1e0a273af: Pulling fs layer 15:47:16 5d3b04190fa2: Pulling fs layer 15:47:16 2f39f015ded8: Pulling fs layer 15:47:16 3a2ae6a8a46f: Waiting 15:47:16 33b1e0a273af: Waiting 15:47:16 5d3b04190fa2: Waiting 15:47:16 2f39f015ded8: Waiting 15:47:16 5c69ac0246d0: Download complete 15:47:16 3a2ae6a8a46f: Verifying Checksum 15:47:16 3a2ae6a8a46f: Download complete 15:47:16 33b1e0a273af: Verifying Checksum 15:47:16 33b1e0a273af: Download complete 15:47:16 5d3b04190fa2: Verifying Checksum 15:47:16 5d3b04190fa2: Download complete 15:47:16 ec43610c2a17: Verifying Checksum 15:47:16 ec43610c2a17: Download complete 15:47:16 5eb5b503b376: Verifying Checksum 15:47:16 5eb5b503b376: Download complete 15:47:17 2f39f015ded8: Download complete 15:47:17 5eb5b503b376: Pull complete 15:47:18 5c69ac0246d0: Pull complete 15:47:18 ec43610c2a17: Pull complete 15:47:18 3a2ae6a8a46f: Pull complete 15:47:18 33b1e0a273af: Pull complete 15:47:18 5d3b04190fa2: Pull complete 15:47:22 2f39f015ded8: Pull complete 15:47:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:23 prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container 15:47:23 $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:47:25 $ docker top ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:25 ---> job-cost.sh 15:47:25 lf-activate-venv: SKIPPING 15:47:25 INFO: No Stack... 15:47:25 INFO: Retrieving Pricing Info for: v3-standard-8 15:47:26 INFO: Archiving Costs [Pipeline] sh 15:47:26 + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv 15:47:26 + cut -d, -f6 [Pipeline] lock 15:47:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] 15:47:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] did not exist. Created. 15:47:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:26 + echo total: 0.2199999988079071 [Pipeline] stash 15:47:26 Stashed 1 file(s) [Pipeline] } 15:47:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:26 $ docker stop --time=1 ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 15:47:28 $ docker rm -f --volumes ab2ff01483c6df711ad4779356daca5465e4c128d9e0836b7b1f6d875734e9e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:49:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8941 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws 15:49:14 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 15:49:14 The recommended git tool is: git 15:49:20 using credential edgex-jenkins-ssh 15:49:20 Cloning the remote Git repository 15:49:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:49:21 > git init /w/workspace/device-onvif-camera/4 # timeout=10 15:49:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:49:21 > git --version # timeout=10 15:49:21 > git --version # 'git version 2.25.1' 15:49:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:49:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:49:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:49:24 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 57af7d14efb7306e5f9e58ca019040386ae0255b 15:49:25 Merge succeeded, producing 2edb1de9e885bcc8d333f334ebf5889b04a45011 15:49:25 Checking out Revision 2edb1de9e885bcc8d333f334ebf5889b04a45011 (PR-305) 15:49:24 > git config core.sparsecheckout # timeout=10 15:49:24 > git checkout -f 57af7d14efb7306e5f9e58ca019040386ae0255b # timeout=10 15:49:24 > git remote # timeout=10 15:49:24 > git config --get remote.origin.url # timeout=10 15:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:24 > git merge b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 15:49:25 > git rev-parse HEAD^{commit} # timeout=10 15:49:25 > git config core.sparsecheckout # timeout=10 15:49:25 > git checkout -f 2edb1de9e885bcc8d333f334ebf5889b04a45011 # timeout=10 15:49:28 Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" 15:49:28 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 15:49:28 > git rev-list --no-walk 46cabe13d72068d298b339c71508736a9b5aec0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:49:29 % Total % Received % Xferd Average Speed Time Time Time Current 15:49:29 Dload Upload Total Spent Left Speed 15:49:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 15:49:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:49:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:49:30 + sudo tee /etc/docker/daemon.new 15:49:30 { 15:49:30 "registry-mirrors": [ 15:49:30 "https://nexus3.edgexfoundry.org:10001" 15:49:30 ], 15:49:30 "bip": "10.250.0.254/24", 15:49:30 "hosts": [ 15:49:30 "tcp://0.0.0.0:5555", 15:49:30 "unix:///var/run/docker.sock" 15:49:30 ], 15:49:30 "mtu": 1458, 15:49:30 "selinux-enabled": true, 15:49:30 "seccomp-profile": "/etc/docker/seccomp.json" 15:49:30 } [Pipeline] sh 15:49:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:49:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:49 provisioning config files... 15:49:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config2473976253042492360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:50 ---> docker-login.sh 15:49:50 nexus3.edgexfoundry.org:10001 15:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:50 Configure a credential helper to remove this warning. See 15:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:50 15:49:50 Login Succeeded 15:49:50 nexus3.edgexfoundry.org:10002 15:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:50 Configure a credential helper to remove this warning. See 15:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:50 15:49:50 Login Succeeded 15:49:50 nexus3.edgexfoundry.org:10003 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 nexus3.edgexfoundry.org:10004 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 docker.io 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:52 Configure a credential helper to remove this warning. See 15:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:52 15:49:52 Login Succeeded 15:49:52 ---> docker-login.sh ends [Pipeline] } 15:49:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:52 ========================================================= 15:49:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:49:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:49:53 Sending build context to Docker daemon 14.12MB 15:49:53 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:49:53 Step 2/13 : FROM ${BASE} AS builder 15:49:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:49:53 af6eaf76a39c: Pulling fs layer 15:49:53 55522c791124: Pulling fs layer 15:49:53 ce5c4a1c91eb: Pulling fs layer 15:49:53 169dfbe0d373: Pulling fs layer 15:49:53 e1ff8fa3b103: Pulling fs layer 15:49:53 52ebb69f0ebf: Pulling fs layer 15:49:53 5abe8eddf0d5: Pulling fs layer 15:49:53 169dfbe0d373: Waiting 15:49:53 e1ff8fa3b103: Waiting 15:49:53 52ebb69f0ebf: Waiting 15:49:53 5abe8eddf0d5: Waiting 15:49:53 55522c791124: Verifying Checksum 15:49:53 55522c791124: Download complete 15:49:53 169dfbe0d373: Verifying Checksum 15:49:53 169dfbe0d373: Download complete 15:49:53 e1ff8fa3b103: Verifying Checksum 15:49:53 e1ff8fa3b103: Download complete 15:49:53 af6eaf76a39c: Verifying Checksum 15:49:53 af6eaf76a39c: Download complete 15:49:54 af6eaf76a39c: Pull complete 15:49:54 5abe8eddf0d5: Verifying Checksum 15:49:54 5abe8eddf0d5: Download complete 15:49:55 55522c791124: Pull complete 15:49:56 ce5c4a1c91eb: Download complete 15:49:56 52ebb69f0ebf: Download complete 15:50:06 ce5c4a1c91eb: Pull complete 15:50:06 169dfbe0d373: Pull complete 15:50:06 e1ff8fa3b103: Pull complete 15:50:13 52ebb69f0ebf: Pull complete 15:50:15 5abe8eddf0d5: Pull complete 15:50:15 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:50:15 ---> 6cb57ee374ae 15:50:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:50:17 ---> Running in 3bb6d8d99b33 15:50:17 Removing intermediate container 3bb6d8d99b33 15:50:17 ---> 834e4306cd76 15:50:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:50:17 ---> Running in aa86d2606b78 15:50:17 Removing intermediate container aa86d2606b78 15:50:17 ---> b35b0cae903b 15:50:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:50:17 ---> Running in 359a2ed92f48 15:50:17 Removing intermediate container 359a2ed92f48 15:50:17 ---> 643049ec45a8 15:50:17 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:50:17 ---> Running in 4dd2bbccaef2 15:50:18 Removing intermediate container 4dd2bbccaef2 15:50:18 ---> 34ca16db815b 15:50:18 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:50:18 ---> Running in 84ef39924023 15:50:18 Removing intermediate container 84ef39924023 15:50:18 ---> b678005db1bb 15:50:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:18 ---> Running in c2c63fe4f4fc 15:50:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:50:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:50:21 OK: 263 MiB in 53 packages 15:50:22 Removing intermediate container c2c63fe4f4fc 15:50:22 ---> 61e5dab6a0c7 15:50:22 Step 9/13 : WORKDIR /device-onvif-camera 15:50:22 ---> Running in e72a5571dd9b 15:50:22 Removing intermediate container e72a5571dd9b 15:50:22 ---> fad110c29912 15:50:22 Step 10/13 : COPY go.mod vendor* ./ 15:50:22 ---> 27f35b3f11ee 15:50:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:23 ---> Running in 8ee3721d335f 15:51:30 Removing intermediate container 8ee3721d335f 15:51:30 ---> 47d43aeadedd 15:51:30 Step 12/13 : COPY . . 15:51:30 ---> cd2f99d16f56 15:51:30 Step 13/13 : RUN ${MAKE} 15:51:30 ---> Running in 3c55e04253f8 15:51:30 noop 15:51:30 Removing intermediate container 3c55e04253f8 15:51:30 ---> ef47dac5ab9d 15:51:30 Successfully built ef47dac5ab9d 15:51:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:31 + docker inspect -f . ci-base-image-arm64 15:51:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:31 prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container 15:51:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:32 $ docker top bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:33 + go version 15:51:33 go version go1.20.2 linux/arm64 [Pipeline] } 15:51:33 $ docker stop --time=1 bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 15:51:35 $ docker rm -f --volumes bbc1bc62b416047c2e032437e1677220b36fefd4b29a632eb11eb9bad2106f16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:35 + docker inspect -f . ci-base-image-arm64 15:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:36 prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container 15:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:37 $ docker top 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 15:51:38 + make test 15:51:38 go test ./... -coverprofile=coverage.out ./... 15:52:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:54:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:54:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:54:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.6% of statements 15:54:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.831s coverage: 86.5% of statements 15:54:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:54:47 go vet ./... 15:55:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:14 ./bin/test-attribution-txt.sh 15:55:14 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 15:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:14 $ docker stop --time=1 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 15:55:16 $ docker rm -f --volumes 1f0499da69364d90b011e121aed993816f567e3c8d686c6b860ba8d2d2b3ba80 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:17 Warning: overwriting stash ‘coverage-report’ 15:55:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:18 + ls -al . 15:55:18 total 228 15:55:18 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 15:51 . 15:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 .. 15:55:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:49 .git 15:55:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:49 .github 15:55:18 -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:49 .gitignore 15:55:18 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:49 .golangci.yml 15:55:18 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:49 Attribution.txt 15:55:18 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:49 CHANGELOG.md 15:55:18 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:49 Dockerfile 15:55:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:49 GOVERNANCE.md 15:55:18 -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:49 Jenkinsfile 15:55:18 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:49 LICENSE 15:55:18 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:49 Makefile 15:55:18 -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:49 OWNERS.md 15:55:18 -rw-rw-r-- 1 jenkins jenkins 2568 Apr 18 15:49 README.md 15:55:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:45 VERSION 15:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:49 bin 15:55:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:49 cmd 15:55:18 -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:54 coverage.out 15:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 doc 15:55:18 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:49 go.mod 15:55:18 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:49 go.sum 15:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 internal 15:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:49 snap 15:55:18 -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:19 + 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=2edb1de9e885bcc8d333f334ebf5889b04a45011 --label arch=arm64 --label version=0.0.0 . 15:55:19 Sending build context to Docker daemon 14.2MB 15:55:19 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:55:19 Step 2/26 : FROM ${BASE} AS builder 15:55:19 ---> ef47dac5ab9d 15:55:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:55:19 ---> Running in 3af1750d3415 15:55:20 Removing intermediate container 3af1750d3415 15:55:20 ---> ccf98868b367 15:55:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:55:20 ---> Running in 7a2beff06f1d 15:55:20 Removing intermediate container 7a2beff06f1d 15:55:20 ---> 9c7296bd29ff 15:55:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:55:20 ---> Running in 0515855bc217 15:55:20 Removing intermediate container 0515855bc217 15:55:20 ---> 02a32dba43a5 15:55:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:55:20 ---> Running in f47ebbabca17 15:55:21 Removing intermediate container f47ebbabca17 15:55:21 ---> 030c9d268679 15:55:21 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:55:21 ---> Running in abc59f9412be 15:55:21 Removing intermediate container abc59f9412be 15:55:21 ---> 180592a0b618 15:55:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:55:21 ---> Running in c838bd12a3a2 15:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:55:24 OK: 263 MiB in 53 packages 15:55:25 Removing intermediate container c838bd12a3a2 15:55:25 ---> 3fac36774b40 15:55:25 Step 9/26 : WORKDIR /device-onvif-camera 15:55:25 ---> Running in d5b6d678501b 15:55:25 Removing intermediate container d5b6d678501b 15:55:25 ---> 918f41f05393 15:55:25 Step 10/26 : COPY go.mod vendor* ./ 15:55:26 ---> c37a6e2dc5b8 15:55:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:26 ---> Running in 8f20ce09c135 15:55:30 Removing intermediate container 8f20ce09c135 15:55:30 ---> b205b404b257 15:55:30 Step 12/26 : COPY . . 15:55:31 ---> ba4be1c9b56c 15:55:31 Step 13/26 : RUN ${MAKE} 15:55:31 ---> Running in 1ee11faaa2aa 15:55:32 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 15:57:38 Removing intermediate container 1ee11faaa2aa 15:57:38 ---> 7ac6ed70e399 15:57:38 Step 14/26 : FROM alpine:3.17 15:57:38 3.17: Pulling from library/alpine 15:57:39 c41833b44d91: Pulling fs layer 15:57:39 c41833b44d91: Verifying Checksum 15:57:39 c41833b44d91: Download complete 15:57:40 c41833b44d91: Pull complete 15:57:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:57:40 Status: Downloaded newer image for alpine:3.17 15:57:40 ---> 51e60588ff2c 15:57:40 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:57:40 ---> Running in bf5db74d24ff 15:57:40 Removing intermediate container bf5db74d24ff 15:57:40 ---> 53e571dfcdce 15:57:40 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:57:40 ---> Running in d44aad7f0006 15:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:57:43 (1/1) Installing dumb-init (1.2.5-r2) 15:57:43 Executing busybox-1.35.0-r29.trigger 15:57:43 OK: 8 MiB in 16 packages 15:57:44 Removing intermediate container d44aad7f0006 15:57:44 ---> cc9d0e49d93c 15:57:44 Step 17/26 : WORKDIR / 15:57:44 ---> Running in 63e17117012b 15:57:44 Removing intermediate container 63e17117012b 15:57:44 ---> ba932e021829 15:57:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:57:45 ---> d914f19868c4 15:57:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:57:46 ---> 19362fa54b8c 15:57:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:57:47 ---> 5e5b4cd62176 15:57:47 Step 21/26 : EXPOSE 59984 15:57:47 ---> Running in 53f3d89f5fa4 15:57:47 Removing intermediate container 53f3d89f5fa4 15:57:47 ---> 3f0278da82d4 15:57:47 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:57:47 ---> Running in 057657a8941a 15:57:47 Removing intermediate container 057657a8941a 15:57:47 ---> 03630b6a525c 15:57:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:57:47 ---> Running in 3cc0c334eb9d 15:57:47 Removing intermediate container 3cc0c334eb9d 15:57:47 ---> 9d03027e1366 15:57:47 Step 24/26 : LABEL arch=arm64 15:57:48 ---> Running in d712617e2902 15:57:48 Removing intermediate container d712617e2902 15:57:48 ---> 3b9d4f046a09 15:57:48 Step 25/26 : LABEL git_sha=2edb1de9e885bcc8d333f334ebf5889b04a45011 15:57:48 ---> Running in 798a08ff466f 15:57:48 Removing intermediate container 798a08ff466f 15:57:48 ---> 72b4da8db4b7 15:57:48 Step 26/26 : LABEL version=0.0.0 15:57:49 ---> Running in 0cd63651c3fd 15:57:49 Removing intermediate container 0cd63651c3fd 15:57:49 ---> 4fdddc3abc4b 15:57:49 [Warning] One or more build-args [ARCH] were not consumed 15:57:49 Successfully built 4fdddc3abc4b 15:57:49 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:49 15:57:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:50 arm64: Pulling from edgex-lftools-log-publisher 15:57:50 8998bd30e6a1: Pulling fs layer 15:57:50 04944245beec: Pulling fs layer 15:57:50 699f458cf7ca: Pulling fs layer 15:57:50 765212b225bb: Pulling fs layer 15:57:50 f23df028b6ca: Pulling fs layer 15:57:50 d65c8cfc05b1: Pulling fs layer 15:57:50 2437ff75d9bd: Pulling fs layer 15:57:50 765212b225bb: Waiting 15:57:50 f23df028b6ca: Waiting 15:57:50 d65c8cfc05b1: Waiting 15:57:50 2437ff75d9bd: Waiting 15:57:50 04944245beec: Verifying Checksum 15:57:50 04944245beec: Download complete 15:57:50 765212b225bb: Verifying Checksum 15:57:50 765212b225bb: Download complete 15:57:50 f23df028b6ca: Download complete 15:57:50 d65c8cfc05b1: Verifying Checksum 15:57:50 d65c8cfc05b1: Download complete 15:57:50 699f458cf7ca: Verifying Checksum 15:57:50 699f458cf7ca: Download complete 15:57:50 8998bd30e6a1: Verifying Checksum 15:57:50 8998bd30e6a1: Download complete 15:57:52 2437ff75d9bd: Download complete 15:57:54 8998bd30e6a1: Pull complete 15:57:55 04944245beec: Pull complete 15:57:57 699f458cf7ca: Pull complete 15:57:57 765212b225bb: Pull complete 15:57:58 f23df028b6ca: Pull complete 15:57:58 d65c8cfc05b1: Pull complete 15:58:13 2437ff75d9bd: Pull complete 15:58:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:14 prd-ubuntu20.04-docker-arm64-4c-16g-8941 does not seem to be running inside a container 15:58:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:58:16 $ docker top ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:17 ---> job-cost.sh 15:58:17 lf-activate-venv: SKIPPING 15:58:17 INFO: No Stack... 15:58:18 INFO: Retrieving Pricing Info for: v3-standard-4 15:58:18 INFO: Archiving Costs [Pipeline] sh 15:58:19 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 15:58:19 + cut -d, -f6 [Pipeline] lock 15:58:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] 15:58:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] did not exist. Created. 15:58:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:19 /w/workspace/device-onvif-camera/4@tmp/durable-acb6b6ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:20 + echo total: 0.10999999940395355 [Pipeline] stash 15:58:20 Warning: overwriting stash ‘stack-cost’ 15:58:20 Stashed 1 file(s) [Pipeline] } 15:58:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:20 $ docker stop --time=1 ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e 15:58:21 $ docker rm -f --volumes ce62aff300d724cc4cd07576e34522b5f15092238261ae2384ba51f7d33d483e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:58:22 provisioning config files... 15:58:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config9044472263907796833tmp [Pipeline] { [Pipeline] sh 15:58:22 + set +x 15:58:22 + curl -s https://codecov.io/bash 15:58:22 + bash -s -- 15:58:22 15:58:22 _____ _ 15:58:22 / ____| | | 15:58:22 | | ___ __| | ___ ___ _____ __ 15:58:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:58:22 | |___| (_) | (_| | __/ (_| (_) \ V / 15:58:22 \_____\___/ \__,_|\___|\___\___/ \_/ 15:58:22 Bash-1.0.6 15:58:22 15:58:22 15:58:22 ==> git version 2.25.1 found 15:58:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:58:22 Release-Date: 2020-01-08 15:58:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:58:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:58:22 ==> Jenkins CI detected. 15:58:22 current dir:  /w/workspace/undry_device-onvif-camera_PR-305 15:58:22 project root: . 15:58:22 --> token set from env 15:58:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:58:22 ==> Running gcov in . (disable via -X gcov) 15:58:22 ==> Python coveragepy not found 15:58:22 ==> Searching for coverage reports in: 15:58:22 + . 15:58:22 -> Found 1 reports 15:58:22 ==> Detecting git/mercurial file structure 15:58:22 ==> Reading reports 15:58:22 + ./coverage.out bytes=78835 15:58:22 ==> Appending adjustments 15:58:22 https://docs.codecov.io/docs/fixing-reports 15:58:22 + Found adjustments 15:58:22 ==> Gzipping contents 15:58:22 12K /tmp/codecov.4NY2rT.gz 15:58:22 ==> Uploading reports 15:58:22 url: https://codecov.io 15:58:22 query: branch=PR-305&commit=78c28b113e0678ca503a245724536a9c002a0eb3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 15:58:22 -> Pinging Codecov 15:58:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-305&commit=78c28b113e0678ca503a245724536a9c002a0eb3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= 15:58:23 -> Uploading to 15:58:23 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/F29A59C45E3A92E06B3E522C9905F8EF/78c28b113e0678ca503a245724536a9c002a0eb3/3aed6c44-598a-4266-a785-7b8fb5b9ae81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T155822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8be19f66d542c0a9cc3f08279ebd7c81fc06cbf65e52b821e42f8caa3ffd946 15:58:23 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:23 Dload Upload Total Spent Left Speed 15:58:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 41303 --:--:-- --:--:-- --:--:-- 41141 100 10491 0 0 100 10491 0 41303 --:--:-- --:--:-- --:--:-- 41141 15:58:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/78c28b113e0678ca503a245724536a9c002a0eb3 [Pipeline] } 15:58:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:58:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] 15:58:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 15:58:24 total 16 15:58:24 drwxr-xr-x 3 root root 4096 Apr 18 15:47 . 15:58:24 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:47 .. 15:58:24 drwxr-xr-x 2 root root 4096 Apr 18 15:47 cost 15:58:24 -rw-r--r-- 1 root root 91 Apr 18 15:47 cost.csv 15:58:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives 15:58:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives 15:58:24 total 16 15:58:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:47 . 15:58:24 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:47 .. 15:58:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:47 cost 15:58:24 -rw-r--r-- 1 jenkins jenkins 91 Apr 18 15:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:58:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:25 ---> package-listing.sh 15:58:25 ++ facter osfamily 15:58:25 ++ tr '[:upper:]' '[:lower:]' 15:58:25 + OS_FAMILY=debian 15:58:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-305 15:58:25 + START_PACKAGES=/tmp/packages_start.txt 15:58:25 + END_PACKAGES=/tmp/packages_end.txt 15:58:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:25 + PACKAGES=/tmp/packages_start.txt 15:58:25 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 15:58:25 + PACKAGES=/tmp/packages_end.txt 15:58:25 + case "${OS_FAMILY}" in 15:58:25 + dpkg -l 15:58:25 + grep '^ii' 15:58:25 + '[' -f /tmp/packages_start.txt ']' 15:58:25 + '[' -f /tmp/packages_end.txt ']' 15:58:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:25 + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' 15:58:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ 15:58:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-305/archives/ [Pipeline] echo 15:58:25 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:26 prd-ubuntu20.04-docker-8c-8g-8939 does not seem to be running inside a container 15:58:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-305/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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:58:26 $ docker top 5f40cb19bb7577e16fc47ae28236621f77119f07152c8e968c770e1b5e22d78c -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:27 + touch /tmp/pre-build-complete [Pipeline] sh 15:58:27 + mkdir -p /var/log/sysstat [Pipeline] sh 15:58:27 + ls /var/log/sa-host 15:58:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:27 provisioning config files... 15:58:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config4983871476274888559tmp [Pipeline] { [Pipeline] echo 15:58:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:58:27 ---> create-netrc.sh [Pipeline] } 15:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:58:28 ---> python-tools-install.sh [Pipeline] echo 15:58:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:58:28 ---> sudo-logs.sh 15:58:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:58:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:58:28 ---> job-cost.sh 15:58:28 lf-activate-venv: SKIPPING 15:58:28 DEBUG: total: 0.2199999988079071 15:58:28 INFO: Retrieving Stack Cost... 15:58:29 INFO: Retrieving Pricing Info for: v3-standard-8 15:58:29 INFO: Archiving Costs [Pipeline] echo 15:58:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:58:30 ---> logs-deploy.sh 15:58:30 lf-activate-venv: SKIPPING 15:58:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/4 15:58:30 INFO: archiving workspace using pattern(s): 15:58:30 Archives upload complete. 15:58:30 INFO: archiving logs to Nexus