Pull request #299 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2479439f9d14c59c367d59861ffdcf1e94bb4c2c+7c14cf897af34df275d4233d707e2506881d1776 (00e9f79dec9a484eaeaa5c8246ed7c7aeb7c5fea) 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-ssh3603641971578265301.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11946211252292944992.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-299/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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8345725738462312844.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10060568885091330138.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-299/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-299/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12906813496168674012.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-7288’ Running on prd-ubuntu20.04-docker-8c-8g-7306 in /w/workspace/undry_device-onvif-camera_PR-299 [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-299 # 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/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7c14cf897af34df275d4233d707e2506881d1776 into PR head commit 2479439f9d14c59c367d59861ffdcf1e94bb4c2c Merge succeeded, producing 2479439f9d14c59c367d59861ffdcf1e94bb4c2c Checking out Revision 2479439f9d14c59c367d59861ffdcf1e94bb4c2c (PR-299) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 2479439f9d14c59c367d59861ffdcf1e94bb4c2c # 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 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2479439f9d14c59c367d59861ffdcf1e94bb4c2c # timeout=10 > git rev-list --no-walk df7c202fb88a1add622e32fe454168ce23d0acd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:37:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:37:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:37:27 ========================================================= 17:37:27 EdgeX Global Pipelines Version Info 17:37:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:37:28 ------------------- 17:37:28 stable info: 17:37:28 ------------------- 17:37:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:37:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:37:28 Message: update stable to v1.0.245 17:37:28 ------------------- 17:37:28 experimental info: 17:37:28 ------------------- 17:37:28 Commited By: **** collab-it+edgex@linuxfoundation.org 17:37:28 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:37:28 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-299 [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-299 [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-299 [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2479439f9d14c59c367d59861ffdcf1e94bb4c2c [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2479439 [Pipeline] echo 17:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:29 provisioning config files... 17:37:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config12854877423091754514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:29 ---> docker-login.sh 17:37:29 nexus3.edgexfoundry.org:10001 17:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:29 Configure a credential helper to remove this warning. See 17:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:29 17:37:29 Login Succeeded 17:37:29 nexus3.edgexfoundry.org:10002 17:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:30 Configure a credential helper to remove this warning. See 17:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:30 17:37:30 Login Succeeded 17:37:30 nexus3.edgexfoundry.org:10003 17:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:30 Configure a credential helper to remove this warning. See 17:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:30 17:37:30 Login Succeeded 17:37:30 nexus3.edgexfoundry.org:10004 17:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:30 Configure a credential helper to remove this warning. See 17:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:30 17:37:30 Login Succeeded 17:37:30 docker.io 17:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:30 Configure a credential helper to remove this warning. See 17:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:30 17:37:30 Login Succeeded 17:37:30 ---> docker-login.sh ends [Pipeline] } 17:37:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:37:31 + git rev-list -1 --merges 2479439f9d14c59c367d59861ffdcf1e94bb4c2c~1..2479439f9d14c59c367d59861ffdcf1e94bb4c2c [Pipeline] echo 17:37:31 -----------> git rev-list -1 --merges 2479439f9d14c59c367d59861ffdcf1e94bb4c2c~1..2479439f9d14c59c367d59861ffdcf1e94bb4c2c 2479439f9d14c59c367d59861ffdcf1e94bb4c2c [false] [Pipeline] sh 17:37:31 + git log --format=format:%s -1 2479439f9d14c59c367d59861ffdcf1e94bb4c2c [Pipeline] echo 17:37:31 ========================================================= 17:37:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:37:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:31 + git log --format=format:%s -1 2479439f9d14c59c367d59861ffdcf1e94bb4c2c [Pipeline] echo 17:37:31 [semverPrep] GIT_COMMIT: 2479439f9d14c59c367d59861ffdcf1e94bb4c2c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 17:37:31 [semverPrep] This is not a build commit. [Pipeline] sh 17:37:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:32 + grep -v github /etc/ssh/ssh_known_hosts 17:37:32 + [ -e /tmp/ssh_known_hosts ] 17:37:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:37:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:37:32 + sudo tee -a /etc/ssh/ssh_known_hosts 17:37:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:32 17:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:32 0.1.4: Pulling from edgex-devops/py-git-semver 17:37:32 b85a868b505f: Pulling fs layer 17:37:32 e2be974225ed: Pulling fs layer 17:37:32 339a4e72a1f5: Pulling fs layer 17:37:32 988bab9f4d93: Pulling fs layer 17:37:32 1469e6f7b9e6: Pulling fs layer 17:37:32 eaf3925da568: Pulling fs layer 17:37:32 bab4dde63d76: Pulling fs layer 17:37:32 bde34c3a00c8: Pulling fs layer 17:37:32 b352a97aabf1: Pulling fs layer 17:37:32 4872d77fe225: Pulling fs layer 17:37:32 5851b861e8e6: Pulling fs layer 17:37:32 988bab9f4d93: Waiting 17:37:32 1469e6f7b9e6: Waiting 17:37:32 bab4dde63d76: Waiting 17:37:32 bde34c3a00c8: Waiting 17:37:32 b352a97aabf1: Waiting 17:37:32 eaf3925da568: Waiting 17:37:32 5851b861e8e6: Waiting 17:37:32 4872d77fe225: Waiting 17:37:32 e2be974225ed: Verifying Checksum 17:37:32 e2be974225ed: Download complete 17:37:32 988bab9f4d93: Verifying Checksum 17:37:32 988bab9f4d93: Download complete 17:37:33 1469e6f7b9e6: Verifying Checksum 17:37:33 1469e6f7b9e6: Download complete 17:37:33 339a4e72a1f5: Verifying Checksum 17:37:33 339a4e72a1f5: Download complete 17:37:33 eaf3925da568: Verifying Checksum 17:37:33 eaf3925da568: Download complete 17:37:33 bde34c3a00c8: Verifying Checksum 17:37:33 bde34c3a00c8: Download complete 17:37:33 b352a97aabf1: Verifying Checksum 17:37:33 b352a97aabf1: Download complete 17:37:33 4872d77fe225: Verifying Checksum 17:37:33 4872d77fe225: Download complete 17:37:33 5851b861e8e6: Download complete 17:37:33 b85a868b505f: Verifying Checksum 17:37:33 b85a868b505f: Download complete 17:37:33 bab4dde63d76: Verifying Checksum 17:37:33 bab4dde63d76: Download complete 17:37:34 b85a868b505f: Pull complete 17:37:34 e2be974225ed: Pull complete 17:37:35 339a4e72a1f5: Pull complete 17:37:35 988bab9f4d93: Pull complete 17:37:35 1469e6f7b9e6: Pull complete 17:37:35 eaf3925da568: Pull complete 17:37:38 bab4dde63d76: Pull complete 17:37:38 bde34c3a00c8: Pull complete 17:37:38 b352a97aabf1: Pull complete 17:37:38 4872d77fe225: Pull complete 17:37:38 5851b861e8e6: Pull complete 17:37:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:38 prd-ubuntu20.04-docker-8c-8g-7306 does not seem to be running inside a container 17:37:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:37:41 $ docker top 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 -eo pid,comm 17:37:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:37:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:41 [ssh-agent] Looking for ssh-agent implementation... 17:37:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:41 $ docker exec 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 ssh-agent 17:37:41 SSH_AUTH_SOCK=/tmp/ssh-KFAKu1jKu5ew/agent.31 17:37:41 SSH_AGENT_PID=37 17:37:41 Running ssh-add (command line suppressed) 17:37:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_5287291116272237110.key (/w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_5287291116272237110.key) 17:37:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:42 + git tag --points-at HEAD [Pipeline] } 17:37:42 $ docker exec --env ******** --env ******** 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 ssh-agent -k 17:37:42 unset SSH_AUTH_SOCK; 17:37:42 unset SSH_AGENT_PID; 17:37:42 echo Agent pid 37 killed; 17:37:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:42 [ssh-agent] Looking for ssh-agent implementation... 17:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:42 $ docker exec 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 ssh-agent 17:37:42 SSH_AUTH_SOCK=/tmp/ssh-afpOoZLctJt5/agent.69 17:37:42 SSH_AGENT_PID=75 17:37:42 Running ssh-add (command line suppressed) 17:37:42 Identity added: /w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_1296943981736423596.key (/w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_1296943981736423596.key) 17:37:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:42 + git semver init 17:37:43 2023-04-10 17:37:43,152 [run_init] DEBUG init version:0.0.0 force:False 17:37:43 2023-04-10 17:37:43,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-299/.semver 17:37:43 2023-04-10 17:37:43,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-299/.semver 17:37:43 2023-04-10 17:37:43,154 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-299/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-299, universal_newlines=False, shell=None, istream=None) 17:37:44 2023-04-10 17:37:44,034 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-299/.git/info/exclude 17:37:44 2023-04-10 17:37:44,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 with force:False 17:37:44 2023-04-10 17:37:44,034 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 17:37:44 2023-04-10 17:37:44,039 [execute] INFO git cat-file --batch-check 17:37:44 2023-04-10 17:37:44,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-299/.semver, universal_newlines=False, shell=None, istream=) 17:37:44 2023-04-10 17:37:44,045 [execute] INFO git cat-file --batch 17:37:44 2023-04-10 17:37:44,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-299/.semver, universal_newlines=False, shell=None, istream=) 17:37:44 2023-04-10 17:37:44,049 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 17:37:44 0.0.0 [Pipeline] } 17:37:44 $ docker exec --env ******** --env ******** 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 ssh-agent -k 17:37:44 unset SSH_AUTH_SOCK; 17:37:44 unset SSH_AGENT_PID; 17:37:44 echo Agent pid 75 killed; 17:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:44 + git semver [Pipeline] } 17:37:44 $ docker stop --time=1 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 17:37:46 $ docker rm -f --volumes 2afc05e19fddb32c6e06670eda067150fca1bba1ef36bd10a18acbb2680cef31 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:37:46 Stashed 1 file(s) [Pipeline] echo 17:37:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:46 provisioning config files... 17:37:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config6168640531403579283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:47 ---> docker-login.sh 17:37:47 nexus3.edgexfoundry.org:10001 17:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:47 Configure a credential helper to remove this warning. See 17:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:47 17:37:47 Login Succeeded 17:37:47 nexus3.edgexfoundry.org:10002 17:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:47 Configure a credential helper to remove this warning. See 17:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:47 17:37:47 Login Succeeded 17:37:47 nexus3.edgexfoundry.org:10003 17:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:47 Configure a credential helper to remove this warning. See 17:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:47 17:37:47 Login Succeeded 17:37:47 nexus3.edgexfoundry.org:10004 17:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:47 Configure a credential helper to remove this warning. See 17:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:47 17:37:47 Login Succeeded 17:37:47 docker.io 17:37:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:47 Configure a credential helper to remove this warning. See 17:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:47 17:37:47 Login Succeeded 17:37:47 ---> docker-login.sh ends [Pipeline] } 17:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:37:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:37:48 ========================================================= 17:37:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:37:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:48 + 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 . 17:37:48 Sending build context to Docker daemon 26.92MB 17:37:48 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:37:48 Step 2/13 : FROM ${BASE} AS builder 17:37:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:37:48 63b65145d645: Pulling fs layer 17:37:48 a2d21d5440eb: Pulling fs layer 17:37:48 935e6c44a52c: Pulling fs layer 17:37:48 94cc34f8dd06: Pulling fs layer 17:37:48 30dea6a524f1: Pulling fs layer 17:37:48 a2aff8979fd8: Pulling fs layer 17:37:48 6808be2612f2: Pulling fs layer 17:37:48 f25807f1079a: Pulling fs layer 17:37:48 30dea6a524f1: Waiting 17:37:48 a2aff8979fd8: Waiting 17:37:48 6808be2612f2: Waiting 17:37:48 f25807f1079a: Waiting 17:37:48 a2d21d5440eb: Verifying Checksum 17:37:48 a2d21d5440eb: Download complete 17:37:48 94cc34f8dd06: Verifying Checksum 17:37:48 94cc34f8dd06: Download complete 17:37:48 30dea6a524f1: Verifying Checksum 17:37:48 30dea6a524f1: Download complete 17:37:48 63b65145d645: Download complete 17:37:48 a2aff8979fd8: Verifying Checksum 17:37:48 a2aff8979fd8: Download complete 17:37:48 63b65145d645: Pull complete 17:37:49 a2d21d5440eb: Pull complete 17:37:49 f25807f1079a: Verifying Checksum 17:37:49 f25807f1079a: Download complete 17:37:49 935e6c44a52c: Verifying Checksum 17:37:49 935e6c44a52c: Download complete 17:37:49 6808be2612f2: Verifying Checksum 17:37:49 6808be2612f2: Download complete 17:37:53 935e6c44a52c: Pull complete 17:37:53 94cc34f8dd06: Pull complete 17:37:53 30dea6a524f1: Pull complete 17:37:53 a2aff8979fd8: Pull complete 17:37:55 6808be2612f2: Pull complete 17:37:56 f25807f1079a: Pull complete 17:37:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:37:56 ---> 3b553350e43f 17:37:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:38:01 ---> Running in 39afb7338425 17:38:01 Still waiting to schedule task 17:38:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7304’ 17:38:01 Removing intermediate container 39afb7338425 17:38:01 ---> e66cd89e1d40 17:38:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:01 ---> Running in d39f77df272c 17:38:02 Removing intermediate container d39f77df272c 17:38:02 ---> ed566bf8f9ab 17:38:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:38:02 ---> Running in 8af88fb59467 17:38:02 Removing intermediate container 8af88fb59467 17:38:02 ---> c74bfc6a28d9 17:38:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:38:02 ---> Running in 6e1eb8e1de78 17:38:02 Removing intermediate container 6e1eb8e1de78 17:38:02 ---> d026bdbc5fa7 17:38:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:38:02 ---> Running in cfad57a3b249 17:38:02 Removing intermediate container cfad57a3b249 17:38:02 ---> 7261d6955c45 17:38:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:02 ---> Running in e4172dedec74 17:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:38:02 OK: 265 MiB in 53 packages 17:38:03 Removing intermediate container e4172dedec74 17:38:03 ---> 3afc22e64240 17:38:03 Step 9/13 : WORKDIR /device-onvif-camera 17:38:03 ---> Running in 4079cff8534b 17:38:03 Removing intermediate container 4079cff8534b 17:38:03 ---> bed7df987f42 17:38:03 Step 10/13 : COPY go.mod vendor* ./ 17:38:03 ---> 56b7fcdef6f9 17:38:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:03 ---> Running in cf9e29aed9be 17:38:35 Removing intermediate container cf9e29aed9be 17:38:35 ---> def2a760547f 17:38:35 Step 12/13 : COPY . . 17:38:35 ---> 768399e40c2c 17:38:35 Step 13/13 : RUN ${MAKE} 17:38:35 ---> Running in 1a7b848fd43d 17:38:35 noop 17:38:35 Removing intermediate container 1a7b848fd43d 17:38:35 ---> d32cdb9810e1 17:38:35 Successfully built d32cdb9810e1 17:38:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:36 + docker inspect -f . ci-base-image-x86_64 17:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:36 prd-ubuntu20.04-docker-8c-8g-7306 does not seem to be running inside a container 17:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:38:36 $ docker top f6d1adc5ddae47319c664842416cab481d1e7f5f053946051037bc098db66f43 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:37 + go version 17:38:37 go version go1.20.2 linux/amd64 [Pipeline] } 17:38:37 $ docker stop --time=1 f6d1adc5ddae47319c664842416cab481d1e7f5f053946051037bc098db66f43 17:38:38 $ docker rm -f --volumes f6d1adc5ddae47319c664842416cab481d1e7f5f053946051037bc098db66f43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:38 + docker inspect -f . ci-base-image-x86_64 17:38:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:38 prd-ubuntu20.04-docker-8c-8g-7306 does not seem to be running inside a container 17:38:38 $ 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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:38:39 $ docker top 97ebbac601edfc0db0ebd4fadf3ba8b249b8e65010eeabfee4fce69ed6c8bb88 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:39 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-299 [Pipeline] fileExists [Pipeline] sh 17:38:39 + make test 17:38:39 go test ./... -coverprofile=coverage.out ./... 17:38:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:38:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:38:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:38:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.6% of statements 17:38:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.368s coverage: 86.5% of statements 17:39:05 go vet ./... 17:39:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:39:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:39:09 ./bin/test-attribution-txt.sh 17:39:09 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:39:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:39:09 $ docker stop --time=1 97ebbac601edfc0db0ebd4fadf3ba8b249b8e65010eeabfee4fce69ed6c8bb88 17:39:13 $ docker rm -f --volumes 97ebbac601edfc0db0ebd4fadf3ba8b249b8e65010eeabfee4fce69ed6c8bb88 [Pipeline] // withDockerContainer [Pipeline] sh 17:39:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:39:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:39:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:39:15 + ls -al . 17:39:15 total 236 17:39:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 17:38 . 17:39:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:37 .. 17:39:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:37 .git 17:39:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:37 .github 17:39:15 -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:37 .gitignore 17:39:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:37 .golangci.yml 17:39:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:37 .semver 17:39:15 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:37 Attribution.txt 17:39:15 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:37 CHANGELOG.md 17:39:15 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:37 Dockerfile 17:39:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:37 GOVERNANCE.md 17:39:15 -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:37 Jenkinsfile 17:39:15 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:37 LICENSE 17:39:15 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:37 Makefile 17:39:15 -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:37 OWNERS.md 17:39:15 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:37 README.md 17:39:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 17:37 VERSION 17:39:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:37 bin 17:39:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:37 cmd 17:39:15 -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:38 coverage.out 17:39:15 drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:37 doc 17:39:15 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:37 go.mod 17:39:15 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:37 go.sum 17:39:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:37 internal 17:39:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:37 snap 17:39:15 -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:15 + 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=2479439f9d14c59c367d59861ffdcf1e94bb4c2c --label arch=amd64 --label version=0.0.0 . 17:39:15 Sending build context to Docker daemon 26.99MB 17:39:15 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:39:15 Step 2/26 : FROM ${BASE} AS builder 17:39:15 ---> d32cdb9810e1 17:39:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:39:16 ---> Running in b467613e11f0 17:39:16 Removing intermediate container b467613e11f0 17:39:16 ---> 89c57083a106 17:39:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:16 ---> Running in 8e6074c51087 17:39:16 Removing intermediate container 8e6074c51087 17:39:16 ---> b658e8372ccc 17:39:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:39:16 ---> Running in 2255e3b77e5c 17:39:16 Removing intermediate container 2255e3b77e5c 17:39:16 ---> 8208d4f226ca 17:39:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:39:16 ---> Running in 188adc08eaf6 17:39:16 Removing intermediate container 188adc08eaf6 17:39:16 ---> fe0b39f7da4f 17:39:16 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:39:16 ---> Running in 79484df93d4c 17:39:16 Removing intermediate container 79484df93d4c 17:39:16 ---> 72dce4b23e26 17:39:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:16 ---> Running in f62bdd827108 17:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:39:17 OK: 265 MiB in 53 packages 17:39:17 Removing intermediate container f62bdd827108 17:39:17 ---> 9ccb5694500d 17:39:17 Step 9/26 : WORKDIR /device-onvif-camera 17:39:17 ---> Running in c4fc4937e5de 17:39:17 Removing intermediate container c4fc4937e5de 17:39:17 ---> e3346d219ae2 17:39:17 Step 10/26 : COPY go.mod vendor* ./ 17:39:17 ---> 5707ff6dc59e 17:39:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:17 ---> Running in d3fb4d0d3ce4 17:39:18 Removing intermediate container d3fb4d0d3ce4 17:39:18 ---> e9d343937d87 17:39:18 Step 12/26 : COPY . . 17:39:19 ---> aedc50aaf8b8 17:39:19 Step 13/26 : RUN ${MAKE} 17:39:19 ---> Running in 5dd569e73c1e 17:39:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:39:46 Removing intermediate container 5dd569e73c1e 17:39:46 ---> 6f4661f8209d 17:39:46 Step 14/26 : FROM alpine:3.17 17:39:46 3.17: Pulling from library/alpine 17:39:46 f56be85fc22e: Pulling fs layer 17:39:46 f56be85fc22e: Verifying Checksum 17:39:46 f56be85fc22e: Download complete 17:39:46 f56be85fc22e: Pull complete 17:39:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:39:46 Status: Downloaded newer image for alpine:3.17 17:39:46 ---> 9ed4aefc74f6 17:39:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:39:46 ---> Running in ce6a3274ae1f 17:39:46 Removing intermediate container ce6a3274ae1f 17:39:46 ---> 3f457cb8424f 17:39:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:39:46 ---> Running in 9d96b9d0c50b 17:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:39:46 (1/1) Installing dumb-init (1.2.5-r2) 17:39:46 Executing busybox-1.35.0-r29.trigger 17:39:46 OK: 7 MiB in 16 packages 17:39:46 Removing intermediate container 9d96b9d0c50b 17:39:46 ---> 88a07b74ddca 17:39:46 Step 17/26 : WORKDIR / 17:39:46 ---> Running in 6dd2d07a3b70 17:39:46 Removing intermediate container 6dd2d07a3b70 17:39:46 ---> a74d86421b92 17:39:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:39:46 ---> e1451fab9a53 17:39:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:39:46 ---> a92f453e1977 17:39:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:39:46 ---> e784b1546be7 17:39:46 Step 21/26 : EXPOSE 59984 17:39:46 ---> Running in 53d11fe67879 17:39:46 Removing intermediate container 53d11fe67879 17:39:46 ---> 32733465e7f0 17:39:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:39:46 ---> Running in 27f1d5b9e750 17:39:46 Removing intermediate container 27f1d5b9e750 17:39:46 ---> 9c8858f3efbd 17:39:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:39:46 ---> Running in 0951d6060ffc 17:39:46 Removing intermediate container 0951d6060ffc 17:39:46 ---> 160809c1cb6a 17:39:46 Step 24/26 : LABEL arch=amd64 17:39:46 ---> Running in a1e463a60e94 17:39:46 Removing intermediate container a1e463a60e94 17:39:46 ---> 6ebbb23fe5a2 17:39:46 Step 25/26 : LABEL git_sha=2479439f9d14c59c367d59861ffdcf1e94bb4c2c 17:39:46 ---> Running in 33d96093c71a 17:39:46 Removing intermediate container 33d96093c71a 17:39:46 ---> 9ce9c58bac70 17:39:46 Step 26/26 : LABEL version=0.0.0 17:39:46 ---> Running in dc99f8c8aba1 17:39:47 Removing intermediate container dc99f8c8aba1 17:39:47 ---> babbe0f25cce 17:39:47 [Warning] One or more build-args [ARCH] were not consumed 17:39:47 Successfully built babbe0f25cce 17:39:47 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:47 17:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:47 latest: Pulling from edgex-lftools-log-publisher 17:39:47 5eb5b503b376: Pulling fs layer 17:39:47 5c69ac0246d0: Pulling fs layer 17:39:47 ec43610c2a17: Pulling fs layer 17:39:47 3a2ae6a8a46f: Pulling fs layer 17:39:47 33b1e0a273af: Pulling fs layer 17:39:47 5d3b04190fa2: Pulling fs layer 17:39:47 2f39f015ded8: Pulling fs layer 17:39:47 2f39f015ded8: Waiting 17:39:47 5d3b04190fa2: Waiting 17:39:47 3a2ae6a8a46f: Waiting 17:39:47 33b1e0a273af: Waiting 17:39:47 5c69ac0246d0: Verifying Checksum 17:39:47 5c69ac0246d0: Download complete 17:39:47 3a2ae6a8a46f: Verifying Checksum 17:39:47 3a2ae6a8a46f: Download complete 17:39:47 ec43610c2a17: Verifying Checksum 17:39:47 ec43610c2a17: Download complete 17:39:47 33b1e0a273af: Verifying Checksum 17:39:47 33b1e0a273af: Download complete 17:39:48 5d3b04190fa2: Verifying Checksum 17:39:48 5d3b04190fa2: Download complete 17:39:48 5eb5b503b376: Verifying Checksum 17:39:48 5eb5b503b376: Download complete 17:39:48 2f39f015ded8: Verifying Checksum 17:39:48 2f39f015ded8: Download complete 17:39:49 5eb5b503b376: Pull complete 17:39:49 5c69ac0246d0: Pull complete 17:39:49 ec43610c2a17: Pull complete 17:39:49 3a2ae6a8a46f: Pull complete 17:39:50 33b1e0a273af: Pull complete 17:39:50 5d3b04190fa2: Pull complete 17:39:54 2f39f015ded8: Pull complete 17:39:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:39:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:54 prd-ubuntu20.04-docker-8c-8g-7306 does not seem to be running inside a container 17:39:54 $ 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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:59 $ docker top ca663fc0b840c07851a3e4e75a48922d719782160afb8aea2462d3dbb93140cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:59 ---> job-cost.sh 17:39:59 lf-activate-venv: SKIPPING 17:39:59 INFO: No Stack... 17:39:59 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:59 INFO: Archiving Costs [Pipeline] sh 17:40:00 + cat /w/workspace/undry_device-onvif-camera_PR-299/archives/cost.csv 17:40:00 + cut -d, -f6 [Pipeline] lock 17:40:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] 17:40:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] did not exist. Created. 17:40:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:00 + echo total: 0.2199999988079071 [Pipeline] stash 17:40:00 Stashed 1 file(s) [Pipeline] } 17:40:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:00 $ docker stop --time=1 ca663fc0b840c07851a3e4e75a48922d719782160afb8aea2462d3dbb93140cd 17:40:01 $ docker rm -f --volumes ca663fc0b840c07851a3e4e75a48922d719782160afb8aea2462d3dbb93140cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:41:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7308 in /w/workspace/undry_device-onvif-camera_PR-299 [Pipeline] { [Pipeline] ws 17:41:28 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 17:41:28 The recommended git tool is: git 17:41:40 using credential edgex-jenkins-ssh 17:41:40 Cloning the remote Git repository 17:41:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:41:40 > git init /w/workspace/device-onvif-camera/3 # timeout=10 17:41:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:41 > git --version # timeout=10 17:41:41 > git --version # 'git version 2.25.1' 17:41:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:45 Merging remotes/origin/main commit 7c14cf897af34df275d4233d707e2506881d1776 into PR head commit 2479439f9d14c59c367d59861ffdcf1e94bb4c2c 17:41:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:41:46 Merge succeeded, producing 2479439f9d14c59c367d59861ffdcf1e94bb4c2c 17:41:46 Checking out Revision 2479439f9d14c59c367d59861ffdcf1e94bb4c2c (PR-299) 17:41:45 > git config core.sparsecheckout # timeout=10 17:41:46 > git checkout -f 2479439f9d14c59c367d59861ffdcf1e94bb4c2c # timeout=10 17:41:46 > git remote # timeout=10 17:41:46 > git config --get remote.origin.url # timeout=10 17:41:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:46 > git merge 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 17:41:46 > git rev-parse HEAD^{commit} # timeout=10 17:41:46 > git config core.sparsecheckout # timeout=10 17:41:46 > git checkout -f 2479439f9d14c59c367d59861ffdcf1e94bb4c2c # timeout=10 17:41:47 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:48 Dload Upload Total Spent Left Speed 17:41:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 17:41:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:50 + sudo tee /etc/docker/daemon.new 17:41:50 { 17:41:50 "registry-mirrors": [ 17:41:50 "https://nexus3.edgexfoundry.org:10001" 17:41:50 ], 17:41:50 "bip": "10.250.0.254/24", 17:41:50 "hosts": [ 17:41:50 "tcp://0.0.0.0:5555", 17:41:50 "unix:///var/run/docker.sock" 17:41:50 ], 17:41:50 "mtu": 1458, 17:41:50 "selinux-enabled": true, 17:41:50 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:50 } [Pipeline] sh 17:41:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:09 provisioning config files... 17:42:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config10856357741265368656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:09 ---> docker-login.sh 17:42:09 nexus3.edgexfoundry.org:10001 17:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:10 Configure a credential helper to remove this warning. See 17:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:10 17:42:10 Login Succeeded 17:42:10 nexus3.edgexfoundry.org:10002 17:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:10 Configure a credential helper to remove this warning. See 17:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:10 17:42:10 Login Succeeded 17:42:10 nexus3.edgexfoundry.org:10003 17:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:10 Configure a credential helper to remove this warning. See 17:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:10 17:42:10 Login Succeeded 17:42:10 nexus3.edgexfoundry.org:10004 17:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:11 Configure a credential helper to remove this warning. See 17:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:11 17:42:11 Login Succeeded 17:42:11 docker.io 17:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:11 Configure a credential helper to remove this warning. See 17:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:11 17:42:11 Login Succeeded 17:42:11 ---> docker-login.sh ends [Pipeline] } 17:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:12 ========================================================= 17:42:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:42:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:12 + 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 . 17:42:12 Sending build context to Docker daemon 19.64MB 17:42:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:42:12 Step 2/13 : FROM ${BASE} AS builder 17:42:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:42:12 af6eaf76a39c: Pulling fs layer 17:42:12 55522c791124: Pulling fs layer 17:42:12 ce5c4a1c91eb: Pulling fs layer 17:42:12 169dfbe0d373: Pulling fs layer 17:42:12 e1ff8fa3b103: Pulling fs layer 17:42:12 52ebb69f0ebf: Pulling fs layer 17:42:12 5abe8eddf0d5: Pulling fs layer 17:42:12 e1ff8fa3b103: Waiting 17:42:12 52ebb69f0ebf: Waiting 17:42:12 169dfbe0d373: Waiting 17:42:12 5abe8eddf0d5: Waiting 17:42:12 55522c791124: Verifying Checksum 17:42:12 55522c791124: Download complete 17:42:12 169dfbe0d373: Verifying Checksum 17:42:12 169dfbe0d373: Download complete 17:42:13 e1ff8fa3b103: Verifying Checksum 17:42:13 e1ff8fa3b103: Download complete 17:42:13 af6eaf76a39c: Download complete 17:42:14 5abe8eddf0d5: Verifying Checksum 17:42:14 5abe8eddf0d5: Download complete 17:42:14 af6eaf76a39c: Pull complete 17:42:14 55522c791124: Pull complete 17:42:15 ce5c4a1c91eb: Verifying Checksum 17:42:15 ce5c4a1c91eb: Download complete 17:42:15 52ebb69f0ebf: Verifying Checksum 17:42:15 52ebb69f0ebf: Download complete 17:42:25 ce5c4a1c91eb: Pull complete 17:42:25 169dfbe0d373: Pull complete 17:42:25 e1ff8fa3b103: Pull complete 17:42:31 52ebb69f0ebf: Pull complete 17:42:35 5abe8eddf0d5: Pull complete 17:42:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:42:35 ---> 6cb57ee374ae 17:42:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:42:36 ---> Running in cd871fa6e7ac 17:42:36 Removing intermediate container cd871fa6e7ac 17:42:36 ---> 750b2acde3cf 17:42:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:36 ---> Running in fbf5c24807a9 17:42:37 Removing intermediate container fbf5c24807a9 17:42:37 ---> 601703a24ea4 17:42:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:42:37 ---> Running in da506903e72d 17:42:37 Removing intermediate container da506903e72d 17:42:37 ---> bb3642a9d201 17:42:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:42:37 ---> Running in 8a2babc2ab2b 17:42:37 Removing intermediate container 8a2babc2ab2b 17:42:37 ---> 31823d952bf7 17:42:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:42:37 ---> Running in b3383b3add01 17:42:38 Removing intermediate container b3383b3add01 17:42:38 ---> 21d3a99d0f59 17:42:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:38 ---> Running in 0e9b8cd79e6c 17:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:42:40 OK: 263 MiB in 53 packages 17:42:41 Removing intermediate container 0e9b8cd79e6c 17:42:41 ---> a207212fe59c 17:42:41 Step 9/13 : WORKDIR /device-onvif-camera 17:42:41 ---> Running in e76b72c2d1cf 17:42:42 Removing intermediate container e76b72c2d1cf 17:42:42 ---> e01ecf743631 17:42:42 Step 10/13 : COPY go.mod vendor* ./ 17:42:42 ---> ed52b812582b 17:42:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:42 ---> Running in 8c2704e12b6c 17:43:52 Removing intermediate container 8c2704e12b6c 17:43:52 ---> 5006a730beb4 17:43:52 Step 12/13 : COPY . . 17:43:52 ---> c55905b8f90d 17:43:52 Step 13/13 : RUN ${MAKE} 17:43:52 ---> Running in f0593c23aea8 17:43:52 noop 17:43:52 Removing intermediate container f0593c23aea8 17:43:52 ---> d9e317a32fea 17:43:52 Successfully built d9e317a32fea 17:43:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:52 + docker inspect -f . ci-base-image-arm64 17:43:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:52 prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container 17:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:53 $ docker top 2130a66b2e35d80755d5c9fcb3d6a0b4ead8d38a3947818316c82b63f7623e75 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:54 + go version 17:43:54 go version go1.20.2 linux/arm64 [Pipeline] } 17:43:54 $ docker stop --time=1 2130a66b2e35d80755d5c9fcb3d6a0b4ead8d38a3947818316c82b63f7623e75 17:43:56 $ docker rm -f --volumes 2130a66b2e35d80755d5c9fcb3d6a0b4ead8d38a3947818316c82b63f7623e75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:56 + docker inspect -f . ci-base-image-arm64 17:43:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:57 prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container 17:43:57 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:58 $ docker top 0685054555b90dbc0ed38690b5b730497347b3a65b73c18a7926cb33fd9f930b -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 17:43:59 + make test 17:43:59 go test ./... -coverprofile=coverage.out ./... 17:44:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:46:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:46:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:46:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.6% of statements 17:46:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.223s coverage: 86.5% of statements 17:46:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:46:53 go vet ./... 17:47:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:47:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:47:20 ./bin/test-attribution-txt.sh 17:47:20 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:47:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:47:20 $ docker stop --time=1 0685054555b90dbc0ed38690b5b730497347b3a65b73c18a7926cb33fd9f930b 17:47:22 $ docker rm -f --volumes 0685054555b90dbc0ed38690b5b730497347b3a65b73c18a7926cb33fd9f930b [Pipeline] // withDockerContainer [Pipeline] sh 17:47:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:47:23 Warning: overwriting stash ‘coverage-report’ 17:47:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:47:25 + ls -al . 17:47:25 total 232 17:47:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 17:44 . 17:47:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:41 .. 17:47:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:41 .git 17:47:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:41 .github 17:47:25 -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:41 .gitignore 17:47:25 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:41 .golangci.yml 17:47:25 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:41 Attribution.txt 17:47:25 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:41 CHANGELOG.md 17:47:25 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:41 Dockerfile 17:47:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:41 GOVERNANCE.md 17:47:25 -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:41 Jenkinsfile 17:47:25 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:41 LICENSE 17:47:25 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:41 Makefile 17:47:25 -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:41 OWNERS.md 17:47:25 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:41 README.md 17:47:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 17:37 VERSION 17:47:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:41 bin 17:47:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:41 cmd 17:47:25 -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:46 coverage.out 17:47:25 drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:41 doc 17:47:25 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:41 go.mod 17:47:25 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:41 go.sum 17:47:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:41 internal 17:47:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:41 snap 17:47:25 -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:25 + 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=2479439f9d14c59c367d59861ffdcf1e94bb4c2c --label arch=arm64 --label version=0.0.0 . 17:47:26 Sending build context to Docker daemon 19.72MB 17:47:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:47:26 Step 2/26 : FROM ${BASE} AS builder 17:47:26 ---> d9e317a32fea 17:47:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:47:26 ---> Running in 86934231b189 17:47:26 Removing intermediate container 86934231b189 17:47:26 ---> 226ff2bd60eb 17:47:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:47:26 ---> Running in 04666b67e8d9 17:47:26 Removing intermediate container 04666b67e8d9 17:47:26 ---> 27d6019d2eab 17:47:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:47:26 ---> Running in 5f8cbcd9ac7d 17:47:27 Removing intermediate container 5f8cbcd9ac7d 17:47:27 ---> e663ec8a8f32 17:47:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:47:27 ---> Running in d4593a80c9d6 17:47:27 Removing intermediate container d4593a80c9d6 17:47:27 ---> 7abf4bcb126a 17:47:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:47:27 ---> Running in 31a91af31a6e 17:47:28 Removing intermediate container 31a91af31a6e 17:47:28 ---> f1644993ab5e 17:47:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:28 ---> Running in c35a65ffda3f 17:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:47:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:47:30 OK: 263 MiB in 53 packages 17:47:31 Removing intermediate container c35a65ffda3f 17:47:31 ---> 9733814ac729 17:47:31 Step 9/26 : WORKDIR /device-onvif-camera 17:47:31 ---> Running in 1a4b511fe38a 17:47:31 Removing intermediate container 1a4b511fe38a 17:47:31 ---> 5c5c2642c0ac 17:47:31 Step 10/26 : COPY go.mod vendor* ./ 17:47:32 ---> 7cfff31aa446 17:47:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:32 ---> Running in 00890e537504 17:47:34 Removing intermediate container 00890e537504 17:47:34 ---> 74416f209252 17:47:34 Step 12/26 : COPY . . 17:47:36 ---> 22aa831df025 17:47:36 Step 13/26 : RUN ${MAKE} 17:47:36 ---> Running in ee3c1c32b753 17:47:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:50:00 Removing intermediate container ee3c1c32b753 17:50:00 ---> f0553c7023ec 17:50:00 Step 14/26 : FROM alpine:3.17 17:50:00 3.17: Pulling from library/alpine 17:50:00 c41833b44d91: Pulling fs layer 17:50:00 c41833b44d91: Verifying Checksum 17:50:00 c41833b44d91: Download complete 17:50:00 c41833b44d91: Pull complete 17:50:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:50:00 Status: Downloaded newer image for alpine:3.17 17:50:00 ---> 51e60588ff2c 17:50:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:50:00 ---> Running in da1f57abb37b 17:50:00 Removing intermediate container da1f57abb37b 17:50:00 ---> a7b491bac7a0 17:50:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:50:00 ---> Running in 4392b1e9dac1 17:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:50:00 (1/1) Installing dumb-init (1.2.5-r2) 17:50:00 Executing busybox-1.35.0-r29.trigger 17:50:00 OK: 8 MiB in 16 packages 17:50:00 Removing intermediate container 4392b1e9dac1 17:50:00 ---> 77b023743f30 17:50:00 Step 17/26 : WORKDIR / 17:50:00 ---> Running in ae5959bf1e67 17:50:00 Removing intermediate container ae5959bf1e67 17:50:00 ---> 1952e632aa0c 17:50:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:50:00 ---> 1ff832df3440 17:50:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:50:00 ---> 53e6608078af 17:50:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:50:00 ---> b8e2d674b916 17:50:00 Step 21/26 : EXPOSE 59984 17:50:00 ---> Running in 94e9567b38cb 17:50:00 Removing intermediate container 94e9567b38cb 17:50:00 ---> e80d89b0be10 17:50:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:50:00 ---> Running in 9e7d33100868 17:50:00 Removing intermediate container 9e7d33100868 17:50:00 ---> 6e78d843d16d 17:50:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:50:00 ---> Running in 3bdf48eef0dd 17:50:00 Removing intermediate container 3bdf48eef0dd 17:50:00 ---> dec1c42135f6 17:50:00 Step 24/26 : LABEL arch=arm64 17:50:00 ---> Running in d86d7a8ff37a 17:50:00 Removing intermediate container d86d7a8ff37a 17:50:00 ---> 5306b7247555 17:50:00 Step 25/26 : LABEL git_sha=2479439f9d14c59c367d59861ffdcf1e94bb4c2c 17:50:00 ---> Running in 511e4e7e0644 17:50:00 Removing intermediate container 511e4e7e0644 17:50:00 ---> 9a126e522e43 17:50:00 Step 26/26 : LABEL version=0.0.0 17:50:00 ---> Running in 8c66c03d2158 17:50:00 Removing intermediate container 8c66c03d2158 17:50:00 ---> a9aaa6524476 17:50:00 [Warning] One or more build-args [ARCH] were not consumed 17:50:00 Successfully built a9aaa6524476 17:50:00 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:01 17:50:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:01 arm64: Pulling from edgex-lftools-log-publisher 17:50:01 8998bd30e6a1: Pulling fs layer 17:50:01 04944245beec: Pulling fs layer 17:50:01 699f458cf7ca: Pulling fs layer 17:50:01 765212b225bb: Pulling fs layer 17:50:01 f23df028b6ca: Pulling fs layer 17:50:01 d65c8cfc05b1: Pulling fs layer 17:50:01 2437ff75d9bd: Pulling fs layer 17:50:01 765212b225bb: Waiting 17:50:01 f23df028b6ca: Waiting 17:50:01 d65c8cfc05b1: Waiting 17:50:01 2437ff75d9bd: Waiting 17:50:01 04944245beec: Verifying Checksum 17:50:01 04944245beec: Download complete 17:50:01 765212b225bb: Verifying Checksum 17:50:01 765212b225bb: Download complete 17:50:01 f23df028b6ca: Verifying Checksum 17:50:01 f23df028b6ca: Download complete 17:50:01 d65c8cfc05b1: Verifying Checksum 17:50:01 d65c8cfc05b1: Download complete 17:50:01 699f458cf7ca: Verifying Checksum 17:50:01 699f458cf7ca: Download complete 17:50:02 8998bd30e6a1: Verifying Checksum 17:50:02 8998bd30e6a1: Download complete 17:50:04 2437ff75d9bd: Verifying Checksum 17:50:04 2437ff75d9bd: Download complete 17:50:06 8998bd30e6a1: Pull complete 17:50:06 04944245beec: Pull complete 17:50:08 699f458cf7ca: Pull complete 17:50:08 765212b225bb: Pull complete 17:50:09 f23df028b6ca: Pull complete 17:50:09 d65c8cfc05b1: Pull complete 17:50:24 2437ff75d9bd: Pull complete 17:50:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container 17:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:50:27 $ docker top abed9b6c7329132e663ab599e365bb0b7f7df8e7010c67bb32891a4dd6c35d16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:27 ---> job-cost.sh 17:50:27 lf-activate-venv: SKIPPING 17:50:27 INFO: No Stack... 17:50:28 INFO: Retrieving Pricing Info for: v3-standard-4 17:50:29 INFO: Archiving Costs [Pipeline] sh 17:50:29 + cut -d, -f6 17:50:29 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 17:50:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] 17:50:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] did not exist. Created. 17:50:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:30 /w/workspace/device-onvif-camera/3@tmp/durable-6d861e5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:50:31 + echo total: 0.10999999940395355 [Pipeline] stash 17:50:31 Warning: overwriting stash ‘stack-cost’ 17:50:31 Stashed 1 file(s) [Pipeline] } 17:50:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:31 $ docker stop --time=1 abed9b6c7329132e663ab599e365bb0b7f7df8e7010c67bb32891a4dd6c35d16 17:50:33 $ docker rm -f --volumes abed9b6c7329132e663ab599e365bb0b7f7df8e7010c67bb32891a4dd6c35d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:50:33 provisioning config files... 17:50:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config16345340016848924542tmp [Pipeline] { [Pipeline] sh 17:50:33 + set +x 17:50:33 + curl -s https://codecov.io/bash 17:50:33 + bash -s -- 17:50:33 17:50:33 _____ _ 17:50:33 / ____| | | 17:50:33 | | ___ __| | ___ ___ _____ __ 17:50:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:50:33 | |___| (_) | (_| | __/ (_| (_) \ V / 17:50:33 \_____\___/ \__,_|\___|\___\___/ \_/ 17:50:33 Bash-1.0.6 17:50:33 17:50:33 17:50:33 ==> git version 2.25.1 found 17:50:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:50:33 Release-Date: 2020-01-08 17:50:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:50:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:50:33 ==> Jenkins CI detected. 17:50:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-299 17:50:33 project root: . 17:50:33 --> token set from env 17:50:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:50:33 ==> Running gcov in . (disable via -X gcov) 17:50:33 ==> Python coveragepy not found 17:50:33 ==> Searching for coverage reports in: 17:50:33 + . 17:50:33 -> Found 1 reports 17:50:33 ==> Detecting git/mercurial file structure 17:50:34 ==> Reading reports 17:50:34 + ./coverage.out bytes=78835 17:50:34 ==> Appending adjustments 17:50:34 https://docs.codecov.io/docs/fixing-reports 17:50:34 + Found adjustments 17:50:34 ==> Gzipping contents 17:50:34 12K /tmp/codecov.192qQh.gz 17:50:34 ==> Uploading reports 17:50:34 url: https://codecov.io 17:50:34 query: branch=PR-299&commit=2479439f9d14c59c367d59861ffdcf1e94bb4c2c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-299%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=299&job=&cmd_args= 17:50:34 -> Pinging Codecov 17:50:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-299&commit=2479439f9d14c59c367d59861ffdcf1e94bb4c2c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-299%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=299&job=&cmd_args= 17:50:34 -> Uploading to 17:50:34 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/F29A59C45E3A92E06B3E522C9905F8EF/2479439f9d14c59c367d59861ffdcf1e94bb4c2c/a380184b-2c72-4fb4-b5cc-66ee09d38248.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T175034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0ea42731ec71a85b2a4271d0c3337af56400d0be8d961512f25ad69b0f4eb96 17:50:34 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:34 Dload Upload Total Spent Left Speed 17:50:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 47256 --:--:-- --:--:-- --:--:-- 47044 100 10491 0 0 100 10491 0 37202 --:--:-- --:--:-- --:--:-- 37070 17:50:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2479439f9d14c59c367d59861ffdcf1e94bb4c2c [Pipeline] } 17:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:50:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-299/archives ] 17:50:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-299/archives 17:50:35 total 16 17:50:35 drwxr-xr-x 3 root root 4096 Apr 10 17:39 . 17:50:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:40 .. 17:50:35 drwxr-xr-x 2 root root 4096 Apr 10 17:39 cost 17:50:35 -rw-r--r-- 1 root root 91 Apr 10 17:39 cost.csv 17:50:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-299/archives 17:50:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-299/archives 17:50:35 total 16 17:50:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:39 . 17:50:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:40 .. 17:50:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 17:39 cost 17:50:35 -rw-r--r-- 1 jenkins jenkins 91 Apr 10 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:50:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:50:36 ---> package-listing.sh 17:50:36 ++ facter osfamily 17:50:36 ++ tr '[:upper:]' '[:lower:]' 17:50:36 + OS_FAMILY=debian 17:50:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-299 17:50:36 + START_PACKAGES=/tmp/packages_start.txt 17:50:36 + END_PACKAGES=/tmp/packages_end.txt 17:50:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:36 + PACKAGES=/tmp/packages_start.txt 17:50:36 + '[' /w/workspace/undry_device-onvif-camera_PR-299 ']' 17:50:36 + PACKAGES=/tmp/packages_end.txt 17:50:36 + case "${OS_FAMILY}" in 17:50:36 + dpkg -l 17:50:36 + grep '^ii' 17:50:36 + '[' -f /tmp/packages_start.txt ']' 17:50:36 + '[' -f /tmp/packages_end.txt ']' 17:50:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:36 + '[' /w/workspace/undry_device-onvif-camera_PR-299 ']' 17:50:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-299/archives/ 17:50:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-299/archives/ [Pipeline] echo 17:50:36 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-299/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:50:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:37 prd-ubuntu20.04-docker-8c-8g-7306 does not seem to be running inside a container 17:50:37 $ 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-299/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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:38 $ docker top 6a40537ff297fb0efcabb7b32aba6e353949ac80280f6fb020cfdf2f0075c10c -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:38 + touch /tmp/pre-build-complete [Pipeline] sh 17:50:38 + mkdir -p /var/log/sysstat [Pipeline] sh 17:50:39 + ls /var/log/sa-host 17:50:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:39 provisioning config files... 17:50:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config10091251217712141443tmp [Pipeline] { [Pipeline] echo 17:50:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:50:39 ---> create-netrc.sh [Pipeline] } 17:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:50:39 ---> python-tools-install.sh [Pipeline] echo 17:50:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:50:40 ---> sudo-logs.sh 17:50:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:50:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:50:40 ---> job-cost.sh 17:50:40 lf-activate-venv: SKIPPING 17:50:40 DEBUG: total: 0.2199999988079071 17:50:40 INFO: Retrieving Stack Cost... 17:50:40 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:41 INFO: Archiving Costs [Pipeline] echo 17:50:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:50:41 ---> logs-deploy.sh 17:50:41 lf-activate-venv: SKIPPING 17:50:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-299/3 17:50:41 INFO: archiving workspace using pattern(s): 17:50:42 Archives upload complete. 17:50:42 INFO: archiving logs to Nexus