Pull request #301 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1f81003e46dde388b56d1ed163f5d839452b4eeb+c6cff038fe156dd62418d57d6c36ffe741a1df05 (cc5a06fa3e78c7d8882648d639591a9f4fa37ab7) 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-ssh6253544069789335072.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-ssh14015080938211397570.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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12100876577491347672.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-ssh300953127448398136.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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6724344239201618490.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-7116’ Running on prd-ubuntu20.04-docker-8c-8g-7119 in /w/workspace/undry_device-onvif-camera_PR-301 [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-301 # 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/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit 1f81003e46dde388b56d1ed163f5d839452b4eeb Merge succeeded, producing 1f81003e46dde388b56d1ed163f5d839452b4eeb Checking out Revision 1f81003e46dde388b56d1ed163f5d839452b4eeb (PR-301) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f81003e46dde388b56d1ed163f5d839452b4eeb # 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 c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f81003e46dde388b56d1ed163f5d839452b4eeb # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk c2d3d01f810081d5d03fdd295b4e21ae54f5a48a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:09:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:09:35 ========================================================= 09:09:35 EdgeX Global Pipelines Version Info 09:09:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:09:36 ------------------- 09:09:36 stable info: 09:09:36 ------------------- 09:09:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:09:36 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 09:09:36 Message: update stable to v1.0.245 09:09:37 ------------------- 09:09:37 experimental info: 09:09:37 ------------------- 09:09:37 Commited By: **** collab-it+edgex@linuxfoundation.org 09:09:37 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 09:09:37 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f81003e46dde388b56d1ed163f5d839452b4eeb [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f81003 [Pipeline] echo 09:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:37 provisioning config files... 09:09:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config4834429371859487226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:38 ---> docker-login.sh 09:09:38 nexus3.edgexfoundry.org:10001 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10002 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10003 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10004 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 docker.io 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:39 Configure a credential helper to remove this warning. See 09:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:39 09:09:39 Login Succeeded 09:09:39 ---> docker-login.sh ends [Pipeline] } 09:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:09:39 + git rev-list -1 --merges 1f81003e46dde388b56d1ed163f5d839452b4eeb~1..1f81003e46dde388b56d1ed163f5d839452b4eeb [Pipeline] echo 09:09:39 -----------> git rev-list -1 --merges 1f81003e46dde388b56d1ed163f5d839452b4eeb~1..1f81003e46dde388b56d1ed163f5d839452b4eeb 1f81003e46dde388b56d1ed163f5d839452b4eeb [false] [Pipeline] sh 09:09:39 + git log --format=format:%s -1 1f81003e46dde388b56d1ed163f5d839452b4eeb [Pipeline] echo 09:09:39 ========================================================= 09:09:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:09:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:40 + git log --format=format:%s -1 1f81003e46dde388b56d1ed163f5d839452b4eeb [Pipeline] echo 09:09:40 [semverPrep] GIT_COMMIT: 1f81003e46dde388b56d1ed163f5d839452b4eeb, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 09:09:40 [semverPrep] This is not a build commit. [Pipeline] sh 09:09:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:09:40 + grep -v github /etc/ssh/ssh_known_hosts 09:09:40 + [ -e /tmp/ssh_known_hosts ] 09:09:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:09:40 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:09:40 sudo tee -a /etc/ssh/ssh_known_hosts 09:09:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:41 09:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:41 0.1.4: Pulling from edgex-devops/py-git-semver 09:09:41 b85a868b505f: Pulling fs layer 09:09:41 e2be974225ed: Pulling fs layer 09:09:41 339a4e72a1f5: Pulling fs layer 09:09:41 988bab9f4d93: Pulling fs layer 09:09:41 1469e6f7b9e6: Pulling fs layer 09:09:41 eaf3925da568: Pulling fs layer 09:09:41 bab4dde63d76: Pulling fs layer 09:09:41 bde34c3a00c8: Pulling fs layer 09:09:41 b352a97aabf1: Pulling fs layer 09:09:41 4872d77fe225: Pulling fs layer 09:09:41 5851b861e8e6: Pulling fs layer 09:09:41 bab4dde63d76: Waiting 09:09:41 bde34c3a00c8: Waiting 09:09:41 5851b861e8e6: Waiting 09:09:41 b352a97aabf1: Waiting 09:09:41 988bab9f4d93: Waiting 09:09:41 4872d77fe225: Waiting 09:09:41 1469e6f7b9e6: Waiting 09:09:41 eaf3925da568: Waiting 09:09:41 e2be974225ed: Download complete 09:09:41 988bab9f4d93: Verifying Checksum 09:09:41 988bab9f4d93: Download complete 09:09:41 1469e6f7b9e6: Verifying Checksum 09:09:41 1469e6f7b9e6: Download complete 09:09:41 339a4e72a1f5: Download complete 09:09:41 eaf3925da568: Verifying Checksum 09:09:41 eaf3925da568: Download complete 09:09:41 bde34c3a00c8: Download complete 09:09:41 b352a97aabf1: Download complete 09:09:41 4872d77fe225: Verifying Checksum 09:09:41 4872d77fe225: Download complete 09:09:41 5851b861e8e6: Verifying Checksum 09:09:41 5851b861e8e6: Download complete 09:09:41 b85a868b505f: Verifying Checksum 09:09:41 b85a868b505f: Download complete 09:09:41 bab4dde63d76: Verifying Checksum 09:09:41 bab4dde63d76: Download complete 09:09:42 b85a868b505f: Pull complete 09:09:43 e2be974225ed: Pull complete 09:09:43 339a4e72a1f5: Pull complete 09:09:43 988bab9f4d93: Pull complete 09:09:43 1469e6f7b9e6: Pull complete 09:09:44 eaf3925da568: Pull complete 09:09:46 bab4dde63d76: Pull complete 09:09:46 bde34c3a00c8: Pull complete 09:09:46 b352a97aabf1: Pull complete 09:09:46 4872d77fe225: Pull complete 09:09:46 5851b861e8e6: Pull complete 09:09:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:46 prd-ubuntu20.04-docker-8c-8g-7119 does not seem to be running inside a container 09:09:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:09:49 $ docker top ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 -eo pid,comm 09:09:49 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). 09:09:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:09:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:50 [ssh-agent] Looking for ssh-agent implementation... 09:09:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:50 $ docker exec ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 ssh-agent 09:09:50 SSH_AUTH_SOCK=/tmp/ssh-sAdZMhmeLrem/agent.33 09:09:50 SSH_AGENT_PID=39 09:09:50 Running ssh-add (command line suppressed) 09:09:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_7733808145018842761.key (/w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_7733808145018842761.key) 09:09:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:50 + git tag --points-at HEAD [Pipeline] } 09:09:50 $ docker exec --env ******** --env ******** ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 ssh-agent -k 09:09:50 unset SSH_AUTH_SOCK; 09:09:50 unset SSH_AGENT_PID; 09:09:50 echo Agent pid 39 killed; 09:09:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:09:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:50 [ssh-agent] Looking for ssh-agent implementation... 09:09:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:50 $ docker exec ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 ssh-agent 09:09:51 SSH_AUTH_SOCK=/tmp/ssh-HVUuKIUggpHg/agent.72 09:09:51 SSH_AGENT_PID=78 09:09:51 Running ssh-add (command line suppressed) 09:09:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_18024201942900255217.key (/w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_18024201942900255217.key) 09:09:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:51 + git semver init 09:09:51 2023-04-07 09:09:51,656 [run_init] DEBUG init version:0.0.0 force:False 09:09:51 2023-04-07 09:09:51,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-301/.semver 09:09:51 2023-04-07 09:09:51,657 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-301/.semver 09:09:51 2023-04-07 09:09:51,657 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-301/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-301, universal_newlines=False, shell=None, istream=None) 09:09:52 2023-04-07 09:09:52,554 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-301/.git/info/exclude 09:09:52 2023-04-07 09:09:52,555 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 with force:False 09:09:52 2023-04-07 09:09:52,555 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 09:09:52 2023-04-07 09:09:52,559 [execute] INFO git cat-file --batch-check 09:09:52 2023-04-07 09:09:52,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-301/.semver, universal_newlines=False, shell=None, istream=) 09:09:52 2023-04-07 09:09:52,565 [execute] INFO git cat-file --batch 09:09:52 2023-04-07 09:09:52,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-301/.semver, universal_newlines=False, shell=None, istream=) 09:09:52 2023-04-07 09:09:52,571 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 09:09:52 0.0.0 [Pipeline] } 09:09:52 $ docker exec --env ******** --env ******** ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 ssh-agent -k 09:09:52 unset SSH_AUTH_SOCK; 09:09:52 unset SSH_AGENT_PID; 09:09:52 echo Agent pid 78 killed; 09:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:09:53 + git semver [Pipeline] } 09:09:53 $ docker stop --time=1 ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 09:09:54 $ docker rm -f --volumes ac457c6f83447c0fd3aac0e51cad25dfeffafb79955a117d0de616a430422189 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:09:55 Stashed 1 file(s) [Pipeline] echo 09:09:55 [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 09:09:55 provisioning config files... 09:09:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config13788394383147336204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:55 ---> docker-login.sh 09:09:55 nexus3.edgexfoundry.org:10001 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 nexus3.edgexfoundry.org:10002 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 nexus3.edgexfoundry.org:10003 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 nexus3.edgexfoundry.org:10004 09:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:55 Configure a credential helper to remove this warning. See 09:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:55 09:09:55 Login Succeeded 09:09:55 docker.io 09:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:56 Configure a credential helper to remove this warning. See 09:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:56 09:09:56 Login Succeeded 09:09:56 ---> docker-login.sh ends [Pipeline] } 09:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:09:56 ========================================================= 09:09:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:09:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:56 + 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 . 09:09:56 Sending build context to Docker daemon 26.93MB 09:09:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 09:09:56 Step 2/13 : FROM ${BASE} AS builder 09:09:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:09:56 63b65145d645: Pulling fs layer 09:09:56 a2d21d5440eb: Pulling fs layer 09:09:56 935e6c44a52c: Pulling fs layer 09:09:56 94cc34f8dd06: Pulling fs layer 09:09:56 30dea6a524f1: Pulling fs layer 09:09:56 a2aff8979fd8: Pulling fs layer 09:09:56 6808be2612f2: Pulling fs layer 09:09:56 f25807f1079a: Pulling fs layer 09:09:56 30dea6a524f1: Waiting 09:09:56 a2aff8979fd8: Waiting 09:09:56 6808be2612f2: Waiting 09:09:56 f25807f1079a: Waiting 09:09:56 94cc34f8dd06: Waiting 09:09:56 a2d21d5440eb: Verifying Checksum 09:09:56 a2d21d5440eb: Download complete 09:09:56 94cc34f8dd06: Download complete 09:09:56 30dea6a524f1: Verifying Checksum 09:09:56 30dea6a524f1: Download complete 09:09:56 63b65145d645: Download complete 09:09:56 a2aff8979fd8: Verifying Checksum 09:09:57 63b65145d645: Pull complete 09:09:57 a2d21d5440eb: Pull complete 09:09:57 f25807f1079a: Verifying Checksum 09:09:57 f25807f1079a: Download complete 09:09:57 935e6c44a52c: Download complete 09:09:57 6808be2612f2: Verifying Checksum 09:09:57 6808be2612f2: Download complete 09:10:00 935e6c44a52c: Pull complete 09:10:00 94cc34f8dd06: Pull complete 09:10:00 30dea6a524f1: Pull complete 09:10:00 a2aff8979fd8: Pull complete 09:10:03 6808be2612f2: Pull complete 09:10:04 f25807f1079a: Pull complete 09:10:04 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:10:04 ---> 3b553350e43f 09:10:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:10:08 ---> Running in c4514804761d 09:10:08 Removing intermediate container c4514804761d 09:10:08 ---> 75ddf8391bfc 09:10:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:10:08 ---> Running in 7b841645da3a 09:10:08 Removing intermediate container 7b841645da3a 09:10:08 ---> 9eeb21eb3652 09:10:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:10:08 ---> Running in 735ca54156d1 09:10:08 Removing intermediate container 735ca54156d1 09:10:08 ---> ba253cbc9fe3 09:10:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:10:08 ---> Running in f2195cacad9c 09:10:08 Removing intermediate container f2195cacad9c 09:10:08 ---> e1574944470f 09:10:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:10:08 ---> Running in 9b7273b3dd91 09:10:08 Removing intermediate container 9b7273b3dd91 09:10:08 ---> d86690bd00d0 09:10:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:08 ---> Running in ab0a3847f4b3 09:10:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:10:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:10:09 OK: 265 MiB in 53 packages 09:10:09 Removing intermediate container ab0a3847f4b3 09:10:09 ---> 91cfd5b223d0 09:10:09 Step 9/13 : WORKDIR /device-onvif-camera 09:10:09 ---> Running in 101b5bea0f96 09:10:09 Removing intermediate container 101b5bea0f96 09:10:09 ---> 8eea30443ae8 09:10:09 Step 10/13 : COPY go.mod vendor* ./ 09:10:10 ---> d2c8003dc0a7 09:10:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:10 ---> Running in d3e0637b9ced 09:10:10 Still waiting to schedule task 09:10:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7117’ 09:10:36 Removing intermediate container d3e0637b9ced 09:10:36 ---> b0db78932189 09:10:36 Step 12/13 : COPY . . 09:10:37 ---> 035ad7ec9832 09:10:37 Step 13/13 : RUN ${MAKE} 09:10:37 ---> Running in cf7591cb6d71 09:10:38 noop 09:10:38 Removing intermediate container cf7591cb6d71 09:10:38 ---> 46418807184c 09:10:38 Successfully built 46418807184c 09:10:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:38 + docker inspect -f . ci-base-image-x86_64 09:10:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:10:38 prd-ubuntu20.04-docker-8c-8g-7119 does not seem to be running inside a container 09:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:10:39 $ docker top 04eeda7aeb6b389c3c5cb86c80700a8bf26a3b976ead36f33cec3cdd032936de -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:39 + go version 09:10:39 go version go1.20.2 linux/amd64 [Pipeline] } 09:10:39 $ docker stop --time=1 04eeda7aeb6b389c3c5cb86c80700a8bf26a3b976ead36f33cec3cdd032936de 09:10:40 $ docker rm -f --volumes 04eeda7aeb6b389c3c5cb86c80700a8bf26a3b976ead36f33cec3cdd032936de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:41 + docker inspect -f . ci-base-image-x86_64 09:10:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:10:41 prd-ubuntu20.04-docker-8c-8g-7119 does not seem to be running inside a container 09:10:41 $ 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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:10:41 $ docker top d17b6f1bd41eb1be679a05ba6a7efa29f5b93230fa3d8829ba33fe87f1e07cd4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:41 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-301 [Pipeline] fileExists [Pipeline] sh 09:10:42 + make test 09:10:42 go test ./... -coverprofile=coverage.out ./... 09:10:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:10:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:10:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:10:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.6% of statements 09:10:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.138s coverage: 86.5% of statements 09:11:07 go vet ./... 09:11:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:11:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:11:10 ./bin/test-attribution-txt.sh 09:11:10 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:11:10 $ docker stop --time=1 d17b6f1bd41eb1be679a05ba6a7efa29f5b93230fa3d8829ba33fe87f1e07cd4 09:11:14 $ docker rm -f --volumes d17b6f1bd41eb1be679a05ba6a7efa29f5b93230fa3d8829ba33fe87f1e07cd4 [Pipeline] // withDockerContainer [Pipeline] sh 09:11:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:11:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:11:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:11:15 + ls -al . 09:11:15 total 236 09:11:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:10 . 09:11:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:09 .. 09:11:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:09 .git 09:11:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:09 .github 09:11:15 -rw-rw-r-- 1 jenkins jenkins 496 Apr 7 09:09 .gitignore 09:11:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 09:09 .golangci.yml 09:11:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:09 .semver 09:11:15 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 7 09:09 Attribution.txt 09:11:15 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 7 09:09 CHANGELOG.md 09:11:15 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 7 09:09 Dockerfile 09:11:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:09 GOVERNANCE.md 09:11:15 -rw-rw-r-- 1 jenkins jenkins 734 Apr 7 09:09 Jenkinsfile 09:11:15 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 09:09 LICENSE 09:11:15 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 7 09:09 Makefile 09:11:15 -rw-rw-r-- 1 jenkins jenkins 625 Apr 7 09:09 OWNERS.md 09:11:15 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 7 09:09 README.md 09:11:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:09 VERSION 09:11:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:09 bin 09:11:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:09 cmd 09:11:15 -rw-r--r-- 1 jenkins jenkins 78835 Apr 7 09:10 coverage.out 09:11:15 drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 09:09 doc 09:11:15 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 7 09:09 go.mod 09:11:15 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 7 09:09 go.sum 09:11:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:09 internal 09:11:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:09 snap 09:11:15 -rw-rw-r-- 1 jenkins jenkins 236 Apr 7 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:16 + 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=1f81003e46dde388b56d1ed163f5d839452b4eeb --label arch=amd64 --label version=0.0.0 . 09:11:16 Sending build context to Docker daemon 27.01MB 09:11:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 09:11:16 Step 2/26 : FROM ${BASE} AS builder 09:11:16 ---> 46418807184c 09:11:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:11:16 ---> Running in f5b3e08b0145 09:11:16 Removing intermediate container f5b3e08b0145 09:11:16 ---> 04bd9a62907f 09:11:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:11:16 ---> Running in b76a79314245 09:11:16 Removing intermediate container b76a79314245 09:11:16 ---> e7f440feb0ac 09:11:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 09:11:16 ---> Running in 85a7c5870c34 09:11:16 Removing intermediate container 85a7c5870c34 09:11:16 ---> 65a5a1acc24b 09:11:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:11:16 ---> Running in 72a83fcc4114 09:11:17 Removing intermediate container 72a83fcc4114 09:11:17 ---> b6aacde43233 09:11:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 09:11:17 ---> Running in af72a1ebf9b9 09:11:17 Removing intermediate container af72a1ebf9b9 09:11:17 ---> 3d10bf65796d 09:11:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:17 ---> Running in 3ceb02b82b1d 09:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:11:17 OK: 265 MiB in 53 packages 09:11:18 Removing intermediate container 3ceb02b82b1d 09:11:18 ---> 2f2642b3a951 09:11:18 Step 9/26 : WORKDIR /device-onvif-camera 09:11:18 ---> Running in 73980b6b1aaf 09:11:18 Removing intermediate container 73980b6b1aaf 09:11:18 ---> af351f1c7192 09:11:18 Step 10/26 : COPY go.mod vendor* ./ 09:11:18 ---> d365c074ef95 09:11:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:18 ---> Running in fd3f425d73fe 09:11:19 Removing intermediate container fd3f425d73fe 09:11:19 ---> be533d319efc 09:11:19 Step 12/26 : COPY . . 09:11:20 ---> a50c5162bcca 09:11:20 Step 13/26 : RUN ${MAKE} 09:11:20 ---> Running in df46ae52845f 09:11: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 09:11:39 Removing intermediate container df46ae52845f 09:11:39 ---> a5f89fb67ffa 09:11:39 Step 14/26 : FROM alpine:3.17 09:11:40 3.17: Pulling from library/alpine 09:11:40 f56be85fc22e: Pulling fs layer 09:11:40 f56be85fc22e: Verifying Checksum 09:11:40 f56be85fc22e: Download complete 09:11:40 f56be85fc22e: Pull complete 09:11:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:11:40 Status: Downloaded newer image for alpine:3.17 09:11:40 ---> 9ed4aefc74f6 09:11:40 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:11:41 ---> Running in d66d112c8130 09:11:41 Removing intermediate container d66d112c8130 09:11:41 ---> a3401f0df27f 09:11:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:11:41 ---> Running in cc0fe55d0727 09:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:11:41 (1/1) Installing dumb-init (1.2.5-r2) 09:11:41 Executing busybox-1.35.0-r29.trigger 09:11:41 OK: 7 MiB in 16 packages 09:11:41 Removing intermediate container cc0fe55d0727 09:11:41 ---> 346cbc782d15 09:11:41 Step 17/26 : WORKDIR / 09:11:42 ---> Running in f867a137f079 09:11:42 Removing intermediate container f867a137f079 09:11:42 ---> 3435f6791eac 09:11:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 09:11:42 ---> 2c0e6f8ef5d9 09:11:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 09:11:42 ---> 5ebc40960c54 09:11:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:11:42 ---> e880407e139f 09:11:42 Step 21/26 : EXPOSE 59984 09:11:42 ---> Running in 4282d0303665 09:11:42 Removing intermediate container 4282d0303665 09:11:42 ---> 9ab640bb5488 09:11:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 09:11:43 ---> Running in 80a790b3bbf7 09:11:43 Removing intermediate container 80a790b3bbf7 09:11:43 ---> 957ca750e3fb 09:11:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:11:43 ---> Running in 3e77f3ca5a6e 09:11:43 Removing intermediate container 3e77f3ca5a6e 09:11:43 ---> d9670e0737fd 09:11:43 Step 24/26 : LABEL arch=amd64 09:11:43 ---> Running in cd7aede5ab24 09:11:43 Removing intermediate container cd7aede5ab24 09:11:43 ---> 59558796af78 09:11:43 Step 25/26 : LABEL git_sha=1f81003e46dde388b56d1ed163f5d839452b4eeb 09:11:43 ---> Running in 21a7b81ed830 09:11:43 Removing intermediate container 21a7b81ed830 09:11:43 ---> eeb77aca6db5 09:11:43 Step 26/26 : LABEL version=0.0.0 09:11:43 ---> Running in 1151ec1b6940 09:11:43 Removing intermediate container 1151ec1b6940 09:11:43 ---> 8cf0950fbb12 09:11:43 [Warning] One or more build-args [ARCH] were not consumed 09:11:43 Successfully built 8cf0950fbb12 09:11:43 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 09:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:43 09:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:44 latest: Pulling from edgex-lftools-log-publisher 09:11:44 5eb5b503b376: Pulling fs layer 09:11:44 5c69ac0246d0: Pulling fs layer 09:11:44 ec43610c2a17: Pulling fs layer 09:11:44 3a2ae6a8a46f: Pulling fs layer 09:11:44 33b1e0a273af: Pulling fs layer 09:11:44 5d3b04190fa2: Pulling fs layer 09:11:44 2f39f015ded8: Pulling fs layer 09:11:44 33b1e0a273af: Waiting 09:11:44 3a2ae6a8a46f: Waiting 09:11:44 2f39f015ded8: Waiting 09:11:44 5c69ac0246d0: Download complete 09:11:44 3a2ae6a8a46f: Download complete 09:11:44 33b1e0a273af: Verifying Checksum 09:11:44 33b1e0a273af: Download complete 09:11:44 5d3b04190fa2: Verifying Checksum 09:11:44 5d3b04190fa2: Download complete 09:11:44 ec43610c2a17: Verifying Checksum 09:11:44 ec43610c2a17: Download complete 09:11:44 5eb5b503b376: Verifying Checksum 09:11:44 5eb5b503b376: Download complete 09:11:45 2f39f015ded8: Download complete 09:11:46 5eb5b503b376: Pull complete 09:11:46 5c69ac0246d0: Pull complete 09:11:46 ec43610c2a17: Pull complete 09:11:46 3a2ae6a8a46f: Pull complete 09:11:46 33b1e0a273af: Pull complete 09:11:46 5d3b04190fa2: Pull complete 09:11:51 2f39f015ded8: Pull complete 09:11:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:51 prd-ubuntu20.04-docker-8c-8g-7119 does not seem to be running inside a container 09:11:51 $ 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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:11:55 $ docker top aef51f33038abc0c8e238248865a22ddcadf95cfc6244037c912de44a175cfd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:55 ---> job-cost.sh 09:11:55 lf-activate-venv: SKIPPING 09:11:55 INFO: No Stack... 09:11:56 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:56 INFO: Archiving Costs [Pipeline] sh 09:11:56 + cat /w/workspace/undry_device-onvif-camera_PR-301/archives/cost.csv 09:11:56 + cut -d, -f6 [Pipeline] lock 09:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] 09:11:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] did not exist. Created. 09:11:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:57 + echo total: 0.2199999988079071 [Pipeline] stash 09:11:57 Stashed 1 file(s) [Pipeline] } 09:11:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:11:57 $ docker stop --time=1 aef51f33038abc0c8e238248865a22ddcadf95cfc6244037c912de44a175cfd8 09:11:58 $ docker rm -f --volumes aef51f33038abc0c8e238248865a22ddcadf95cfc6244037c912de44a175cfd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:13:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7120 in /w/workspace/undry_device-onvif-camera_PR-301 [Pipeline] { [Pipeline] ws 09:13:44 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 09:13:44 The recommended git tool is: git 09:13:50 using credential edgex-jenkins-ssh 09:13:50 Cloning the remote Git repository 09:13:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:13:50 > git init /w/workspace/device-onvif-camera/2 # timeout=10 09:13:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:13:50 > git --version # timeout=10 09:13:50 > git --version # 'git version 2.25.1' 09:13:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:13:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:13:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:13:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:13:53 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit 1f81003e46dde388b56d1ed163f5d839452b4eeb 09:13:54 Merge succeeded, producing 1f81003e46dde388b56d1ed163f5d839452b4eeb 09:13:54 Checking out Revision 1f81003e46dde388b56d1ed163f5d839452b4eeb (PR-301) 09:13:53 > git config core.sparsecheckout # timeout=10 09:13:53 > git checkout -f 1f81003e46dde388b56d1ed163f5d839452b4eeb # timeout=10 09:13:53 > git remote # timeout=10 09:13:53 > git config --get remote.origin.url # timeout=10 09:13:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:53 > git merge c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 09:13:54 > git rev-parse HEAD^{commit} # timeout=10 09:13:54 > git config core.sparsecheckout # timeout=10 09:13:54 > git checkout -f 1f81003e46dde388b56d1ed163f5d839452b4eeb # timeout=10 09:13:57 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:13:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:13:58 Dload Upload Total Spent Left Speed 09:13:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 09:13:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:13:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:13:59 + sudo tee /etc/docker/daemon.new 09:13:59 { 09:13:59 "registry-mirrors": [ 09:13:59 "https://nexus3.edgexfoundry.org:10001" 09:13:59 ], 09:13:59 "bip": "10.250.0.254/24", 09:13:59 "hosts": [ 09:13:59 "tcp://0.0.0.0:5555", 09:13:59 "unix:///var/run/docker.sock" 09:13:59 ], 09:13:59 "mtu": 1458, 09:13:59 "selinux-enabled": true, 09:13:59 "seccomp-profile": "/etc/docker/seccomp.json" 09:13:59 } [Pipeline] sh 09:14:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:14:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:18 provisioning config files... 09:14:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2724314148188682939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:19 ---> docker-login.sh 09:14:19 nexus3.edgexfoundry.org:10001 09:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:20 Configure a credential helper to remove this warning. See 09:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:20 09:14:20 Login Succeeded 09:14:20 nexus3.edgexfoundry.org:10002 09:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:20 Configure a credential helper to remove this warning. See 09:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:20 09:14:20 Login Succeeded 09:14:20 nexus3.edgexfoundry.org:10003 09:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:20 Configure a credential helper to remove this warning. See 09:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:20 09:14:20 Login Succeeded 09:14:20 nexus3.edgexfoundry.org:10004 09:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:20 Configure a credential helper to remove this warning. See 09:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:20 09:14:20 Login Succeeded 09:14:20 docker.io 09:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:21 Configure a credential helper to remove this warning. See 09:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:21 09:14:21 Login Succeeded 09:14:21 ---> docker-login.sh ends [Pipeline] } 09:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:21 ========================================================= 09:14:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:14:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:22 + 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 . 09:14:22 Sending build context to Docker daemon 19.67MB 09:14:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 09:14:22 Step 2/13 : FROM ${BASE} AS builder 09:14:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:14:23 af6eaf76a39c: Pulling fs layer 09:14:23 55522c791124: Pulling fs layer 09:14:23 ce5c4a1c91eb: Pulling fs layer 09:14:23 169dfbe0d373: Pulling fs layer 09:14:23 e1ff8fa3b103: Pulling fs layer 09:14:23 52ebb69f0ebf: Pulling fs layer 09:14:23 5abe8eddf0d5: Pulling fs layer 09:14:23 52ebb69f0ebf: Waiting 09:14:23 e1ff8fa3b103: Waiting 09:14:23 169dfbe0d373: Waiting 09:14:23 5abe8eddf0d5: Waiting 09:14:23 55522c791124: Download complete 09:14:23 169dfbe0d373: Verifying Checksum 09:14:23 169dfbe0d373: Download complete 09:14:23 e1ff8fa3b103: Verifying Checksum 09:14:23 e1ff8fa3b103: Download complete 09:14:23 af6eaf76a39c: Verifying Checksum 09:14:23 af6eaf76a39c: Download complete 09:14:24 af6eaf76a39c: Pull complete 09:14:24 5abe8eddf0d5: Verifying Checksum 09:14:24 5abe8eddf0d5: Download complete 09:14:24 55522c791124: Pull complete 09:14:25 ce5c4a1c91eb: Verifying Checksum 09:14:25 ce5c4a1c91eb: Download complete 09:14:25 52ebb69f0ebf: Verifying Checksum 09:14:25 52ebb69f0ebf: Download complete 09:14:37 ce5c4a1c91eb: Pull complete 09:14:37 169dfbe0d373: Pull complete 09:14:37 e1ff8fa3b103: Pull complete 09:14:44 52ebb69f0ebf: Pull complete 09:14:45 5abe8eddf0d5: Pull complete 09:14:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:14:45 ---> 6cb57ee374ae 09:14:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:14:47 ---> Running in fdef39239db9 09:14:47 Removing intermediate container fdef39239db9 09:14:47 ---> 8d6a396c3f8b 09:14:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:14:47 ---> Running in 75e66be3dbc6 09:14:48 Removing intermediate container 75e66be3dbc6 09:14:48 ---> 1c783237e6c0 09:14:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:14:48 ---> Running in 6b9a49bc733d 09:14:48 Removing intermediate container 6b9a49bc733d 09:14:48 ---> 37fa22d064b2 09:14:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:14:48 ---> Running in a9f17e2dce06 09:14:48 Removing intermediate container a9f17e2dce06 09:14:48 ---> 7bccbe2a41ed 09:14:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:14:48 ---> Running in d9a31e491592 09:14:49 Removing intermediate container d9a31e491592 09:14:49 ---> 17bab1a42800 09:14:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:14:49 ---> Running in 04f4ad208a9e 09:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:14:51 OK: 263 MiB in 53 packages 09:14:52 Removing intermediate container 04f4ad208a9e 09:14:52 ---> 6c8f15c0e051 09:14:52 Step 9/13 : WORKDIR /device-onvif-camera 09:14:52 ---> Running in d211bf5a9165 09:14:53 Removing intermediate container d211bf5a9165 09:14:53 ---> 15d2ec87b4d1 09:14:53 Step 10/13 : COPY go.mod vendor* ./ 09:14:53 ---> c99fc0252a4c 09:14:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:53 ---> Running in 655b01c816c4 09:16:01 Removing intermediate container 655b01c816c4 09:16:01 ---> b51d9a4043ce 09:16:01 Step 12/13 : COPY . . 09:16:01 ---> 50da57c34060 09:16:01 Step 13/13 : RUN ${MAKE} 09:16:01 ---> Running in 53ee04b84977 09:16:01 noop 09:16:01 Removing intermediate container 53ee04b84977 09:16:01 ---> ffc5600f87d9 09:16:01 Successfully built ffc5600f87d9 09:16:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:01 + docker inspect -f . ci-base-image-arm64 09:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:02 prd-ubuntu20.04-docker-arm64-4c-16g-7120 does not seem to be running inside a container 09:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:16:03 $ docker top 2eacbaea974f6b0dbd90c6258f57b8ff6692f4d51d6eecec5b5529c7f580c5e0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:04 + go version 09:16:04 go version go1.20.2 linux/arm64 [Pipeline] } 09:16:04 $ docker stop --time=1 2eacbaea974f6b0dbd90c6258f57b8ff6692f4d51d6eecec5b5529c7f580c5e0 09:16:06 $ docker rm -f --volumes 2eacbaea974f6b0dbd90c6258f57b8ff6692f4d51d6eecec5b5529c7f580c5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:06 + docker inspect -f . ci-base-image-arm64 09:16:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:06 prd-ubuntu20.04-docker-arm64-4c-16g-7120 does not seem to be running inside a container 09:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:16:08 $ docker top f037c73eecdce066fc01c42d1e6bd90dae79924e3e33b78884cd94665cfb5a9c -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:08 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 09:16:09 + make test 09:16:09 go test ./... -coverprofile=coverage.out ./... 09:16:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:18:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:18:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:18:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.199s coverage: 31.6% of statements 09:19:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.375s coverage: 86.5% of statements 09:19:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:19:10 go vet ./... 09:19:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:19:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:19:42 ./bin/test-attribution-txt.sh 09:19:42 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 09:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:19:42 $ docker stop --time=1 f037c73eecdce066fc01c42d1e6bd90dae79924e3e33b78884cd94665cfb5a9c 09:19:44 $ docker rm -f --volumes f037c73eecdce066fc01c42d1e6bd90dae79924e3e33b78884cd94665cfb5a9c [Pipeline] // withDockerContainer [Pipeline] sh 09:19:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:19:45 Warning: overwriting stash ‘coverage-report’ 09:19:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:19:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:46 + ls -al . 09:19:46 total 232 09:19:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 09:16 . 09:19:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:13 .. 09:19:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:13 .git 09:19:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:13 .github 09:19:46 -rw-rw-r-- 1 jenkins jenkins 496 Apr 7 09:13 .gitignore 09:19:46 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 09:13 .golangci.yml 09:19:46 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 7 09:13 Attribution.txt 09:19:46 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 7 09:13 CHANGELOG.md 09:19:46 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 7 09:13 Dockerfile 09:19:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 09:13 GOVERNANCE.md 09:19:46 -rw-rw-r-- 1 jenkins jenkins 734 Apr 7 09:13 Jenkinsfile 09:19:46 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 09:13 LICENSE 09:19:46 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 7 09:13 Makefile 09:19:46 -rw-rw-r-- 1 jenkins jenkins 625 Apr 7 09:13 OWNERS.md 09:19:46 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 7 09:13 README.md 09:19:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:09 VERSION 09:19:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:13 bin 09:19:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:13 cmd 09:19:46 -rw-r--r-- 1 jenkins jenkins 78835 Apr 7 09:19 coverage.out 09:19:46 drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 09:13 doc 09:19:46 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 7 09:13 go.mod 09:19:46 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 7 09:13 go.sum 09:19:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:13 internal 09:19:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:13 snap 09:19:46 -rw-rw-r-- 1 jenkins jenkins 236 Apr 7 09:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:47 + 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=1f81003e46dde388b56d1ed163f5d839452b4eeb --label arch=arm64 --label version=0.0.0 . 09:19:47 Sending build context to Docker daemon 19.75MB 09:19:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 09:19:47 Step 2/26 : FROM ${BASE} AS builder 09:19:47 ---> ffc5600f87d9 09:19:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:19:47 ---> Running in 4fab8d54a126 09:19:48 Removing intermediate container 4fab8d54a126 09:19:48 ---> f3184736acc4 09:19:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:19:48 ---> Running in 4cbe80be7e18 09:19:48 Removing intermediate container 4cbe80be7e18 09:19:48 ---> db8c791fb3a6 09:19:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 09:19:48 ---> Running in 92a4fb837fe6 09:19:48 Removing intermediate container 92a4fb837fe6 09:19:48 ---> 5ffe7d48f2a8 09:19:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:19:48 ---> Running in e7e040bde19d 09:19:49 Removing intermediate container e7e040bde19d 09:19:49 ---> 82b5ba73d7e8 09:19:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 09:19:49 ---> Running in 5d0b173f47c9 09:19:49 Removing intermediate container 5d0b173f47c9 09:19:49 ---> c735f134ceea 09:19:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:19:49 ---> Running in d8e371f14288 09:19:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:19:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:19:51 OK: 263 MiB in 53 packages 09:19:52 Removing intermediate container d8e371f14288 09:19:52 ---> 372c739163f9 09:19:52 Step 9/26 : WORKDIR /device-onvif-camera 09:19:52 ---> Running in 52ff9ab84d40 09:19:53 Removing intermediate container 52ff9ab84d40 09:19:53 ---> 34617dff1b06 09:19:53 Step 10/26 : COPY go.mod vendor* ./ 09:19:53 ---> 857f7de77fe9 09:19:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:19:53 ---> Running in 7e0f4d678986 09:19:56 Removing intermediate container 7e0f4d678986 09:19:56 ---> 59838d2b9b8d 09:19:56 Step 12/26 : COPY . . 09:19:57 ---> e590ab33b357 09:19:57 Step 13/26 : RUN ${MAKE} 09:19:58 ---> Running in 2feef2cb233b 09:19:59 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 09:22:20 Removing intermediate container 2feef2cb233b 09:22:20 ---> a4eef96634d2 09:22:20 Step 14/26 : FROM alpine:3.17 09:22:20 3.17: Pulling from library/alpine 09:22:20 c41833b44d91: Pulling fs layer 09:22:20 c41833b44d91: Verifying Checksum 09:22:20 c41833b44d91: Pull complete 09:22:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:22:20 Status: Downloaded newer image for alpine:3.17 09:22:20 ---> 51e60588ff2c 09:22:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:22:20 ---> Running in 6eb7fe1b7e84 09:22:20 Removing intermediate container 6eb7fe1b7e84 09:22:20 ---> 6b88376436c0 09:22:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:22:20 ---> Running in a4c27ba4dad0 09:22:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:22:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:22:20 (1/1) Installing dumb-init (1.2.5-r2) 09:22:20 Executing busybox-1.35.0-r29.trigger 09:22:20 OK: 8 MiB in 16 packages 09:22:20 Removing intermediate container a4c27ba4dad0 09:22:20 ---> 90f8e8bf6f3b 09:22:20 Step 17/26 : WORKDIR / 09:22:20 ---> Running in b5560d2e7bc6 09:22:21 Removing intermediate container b5560d2e7bc6 09:22:21 ---> dae4812adade 09:22:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 09:22:22 ---> a0363b06bec2 09:22:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 09:22:23 ---> 880fed4a5f95 09:22:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:22:23 ---> 1980601cc3b6 09:22:23 Step 21/26 : EXPOSE 59984 09:22:23 ---> Running in a8f5f2f571af 09:22:23 Removing intermediate container a8f5f2f571af 09:22:23 ---> c62ce94f7248 09:22:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 09:22:23 ---> Running in aa81cc1b2cd6 09:22:24 Removing intermediate container aa81cc1b2cd6 09:22:24 ---> 7ef168037f5e 09:22:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:22:24 ---> Running in 294241002c39 09:22:24 Removing intermediate container 294241002c39 09:22:24 ---> a5613ec7bde5 09:22:24 Step 24/26 : LABEL arch=arm64 09:22:24 ---> Running in 919d040314a6 09:22:24 Removing intermediate container 919d040314a6 09:22:24 ---> a156b2d5776e 09:22:24 Step 25/26 : LABEL git_sha=1f81003e46dde388b56d1ed163f5d839452b4eeb 09:22:24 ---> Running in a25722f97525 09:22:24 Removing intermediate container a25722f97525 09:22:24 ---> 75671d77b015 09:22:24 Step 26/26 : LABEL version=0.0.0 09:22:25 ---> Running in 7f5cbc7bb676 09:22:25 Removing intermediate container 7f5cbc7bb676 09:22:25 ---> 175423b07d57 09:22:25 [Warning] One or more build-args [ARCH] were not consumed 09:22:25 Successfully built 175423b07d57 09:22:25 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 09:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:25 09:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:27 arm64: Pulling from edgex-lftools-log-publisher 09:22:27 8998bd30e6a1: Pulling fs layer 09:22:27 04944245beec: Pulling fs layer 09:22:27 699f458cf7ca: Pulling fs layer 09:22:27 765212b225bb: Pulling fs layer 09:22:27 f23df028b6ca: Pulling fs layer 09:22:27 d65c8cfc05b1: Pulling fs layer 09:22:27 2437ff75d9bd: Pulling fs layer 09:22:27 f23df028b6ca: Waiting 09:22:27 765212b225bb: Waiting 09:22:27 d65c8cfc05b1: Waiting 09:22:27 2437ff75d9bd: Waiting 09:22:27 04944245beec: Verifying Checksum 09:22:27 04944245beec: Download complete 09:22:27 765212b225bb: Verifying Checksum 09:22:27 765212b225bb: Download complete 09:22:27 f23df028b6ca: Download complete 09:22:27 d65c8cfc05b1: Verifying Checksum 09:22:27 d65c8cfc05b1: Download complete 09:22:27 699f458cf7ca: Verifying Checksum 09:22:27 699f458cf7ca: Download complete 09:22:28 8998bd30e6a1: Verifying Checksum 09:22:28 8998bd30e6a1: Download complete 09:22:30 2437ff75d9bd: Verifying Checksum 09:22:30 2437ff75d9bd: Download complete 09:22:32 8998bd30e6a1: Pull complete 09:22:32 04944245beec: Pull complete 09:22:33 699f458cf7ca: Pull complete 09:22:33 765212b225bb: Pull complete 09:22:34 f23df028b6ca: Pull complete 09:22:34 d65c8cfc05b1: Pull complete 09:22:49 2437ff75d9bd: Pull complete 09:22:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:22:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:22:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-7120 does not seem to be running inside a container 09:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:22:52 $ docker top e8563e98c114df158195957b4f7cd2bd662655905649d7c4dd779c9cb4f233ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:53 ---> job-cost.sh 09:22:53 lf-activate-venv: SKIPPING 09:22:53 INFO: No Stack... 09:22:53 INFO: Retrieving Pricing Info for: v3-standard-4 09:22:54 INFO: Archiving Costs [Pipeline] sh 09:22:54 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 09:22:54 + cut -d, -f6 [Pipeline] lock 09:22:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] 09:22:55 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] did not exist. Created. 09:22:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:55 /w/workspace/device-onvif-camera/2@tmp/durable-4d5864cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:22:55 + echo total: 0.10999999940395355 [Pipeline] stash 09:22:55 Warning: overwriting stash ‘stack-cost’ 09:22:55 Stashed 1 file(s) [Pipeline] } 09:22:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:55 $ docker stop --time=1 e8563e98c114df158195957b4f7cd2bd662655905649d7c4dd779c9cb4f233ef 09:22:57 $ docker rm -f --volumes e8563e98c114df158195957b4f7cd2bd662655905649d7c4dd779c9cb4f233ef [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 09:22:57 provisioning config files... 09:22:57 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config16358176607966481288tmp [Pipeline] { [Pipeline] sh 09:22:57 + set +x 09:22:57 + curl -s https://codecov.io/bash 09:22:57 + bash -s -- 09:22:57 09:22:57 _____ _ 09:22:57 / ____| | | 09:22:57 | | ___ __| | ___ ___ _____ __ 09:22:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:22:57 | |___| (_) | (_| | __/ (_| (_) \ V / 09:22:57 \_____\___/ \__,_|\___|\___\___/ \_/ 09:22:57 Bash-1.0.6 09:22:57 09:22:57 09:22:57 ==> git version 2.25.1 found 09:22:57 ==> 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 09:22:57 Release-Date: 2020-01-08 09:22:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:22:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:22:57 ==> Jenkins CI detected. 09:22:57 current dir:  /w/workspace/undry_device-onvif-camera_PR-301 09:22:57 project root: . 09:22:57 --> token set from env 09:22:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:22:57 ==> Running gcov in . (disable via -X gcov) 09:22:57 ==> Python coveragepy not found 09:22:57 ==> Searching for coverage reports in: 09:22:57 + . 09:22:57 -> Found 1 reports 09:22:57 ==> Detecting git/mercurial file structure 09:22:57 ==> Reading reports 09:22:57 + ./coverage.out bytes=78835 09:22:58 ==> Appending adjustments 09:22:58 https://docs.codecov.io/docs/fixing-reports 09:22:58 + Found adjustments 09:22:58 ==> Gzipping contents 09:22:58 12K /tmp/codecov.b3DndL.gz 09:22:58 ==> Uploading reports 09:22:58 url: https://codecov.io 09:22:58 query: branch=PR-301&commit=1f81003e46dde388b56d1ed163f5d839452b4eeb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-301%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=301&job=&cmd_args= 09:22:58 -> Pinging Codecov 09:22:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-301&commit=1f81003e46dde388b56d1ed163f5d839452b4eeb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-301%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=301&job=&cmd_args= 09:22:58 -> Uploading to 09:22:58 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/F29A59C45E3A92E06B3E522C9905F8EF/1f81003e46dde388b56d1ed163f5d839452b4eeb/bce3c76e-ca2e-48a3-8b0f-b01b13bfa974.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T092258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58d4deab92925a4191422592abd4bc4cfaa40a05830e211cfd176f1a9919c8c5 09:22:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:58 Dload Upload Total Spent Left Speed 09:22:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 51175 --:--:-- --:--:-- --:--:-- 51175 100 10491 0 0 100 10491 0 41964 --:--:-- --:--:-- --:--:-- 41964 09:22:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1f81003e46dde388b56d1ed163f5d839452b4eeb [Pipeline] } 09:22:58 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 09:22:59 + [ -d /w/workspace/undry_device-onvif-camera_PR-301/archives ] 09:22:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-301/archives 09:22:59 total 16 09:22:59 drwxr-xr-x 3 root root 4096 Apr 7 09:11 . 09:22:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:11 .. 09:22:59 drwxr-xr-x 2 root root 4096 Apr 7 09:11 cost 09:22:59 -rw-r--r-- 1 root root 91 Apr 7 09:11 cost.csv 09:22:59 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-301/archives 09:22:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-301/archives 09:22:59 total 16 09:22:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:11 . 09:22:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:11 .. 09:22:59 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:11 cost 09:22:59 -rw-r--r-- 1 jenkins jenkins 91 Apr 7 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:22:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:00 ---> package-listing.sh 09:23:00 ++ facter osfamily 09:23:00 ++ tr '[:upper:]' '[:lower:]' 09:23:00 + OS_FAMILY=debian 09:23:00 + workspace=/w/workspace/undry_device-onvif-camera_PR-301 09:23:00 + START_PACKAGES=/tmp/packages_start.txt 09:23:00 + END_PACKAGES=/tmp/packages_end.txt 09:23:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:00 + PACKAGES=/tmp/packages_start.txt 09:23:00 + '[' /w/workspace/undry_device-onvif-camera_PR-301 ']' 09:23:00 + PACKAGES=/tmp/packages_end.txt 09:23:00 + case "${OS_FAMILY}" in 09:23:00 + dpkg -l 09:23:00 + grep '^ii' 09:23:00 + '[' -f /tmp/packages_start.txt ']' 09:23:00 + '[' -f /tmp/packages_end.txt ']' 09:23:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:00 + '[' /w/workspace/undry_device-onvif-camera_PR-301 ']' 09:23:00 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-301/archives/ 09:23:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-301/archives/ [Pipeline] echo 09:23:00 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:23:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:01 prd-ubuntu20.04-docker-8c-8g-7119 does not seem to be running inside a container 09:23:01 $ 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-301/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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@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 09:23:01 $ docker top 91c06b9f5e83bb1dde527025342ad276e36694fa937c5752e73d547f7fa5378d -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:02 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:02 + mkdir -p /var/log/sysstat [Pipeline] sh 09:23:02 + ls /var/log/sa-host 09:23:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:02 provisioning config files... 09:23:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config17705083607981552652tmp [Pipeline] { [Pipeline] echo 09:23:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> create-netrc.sh [Pipeline] } 09:23:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> python-tools-install.sh [Pipeline] echo 09:23:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> sudo-logs.sh 09:23:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:23:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:04 ---> job-cost.sh 09:23:04 lf-activate-venv: SKIPPING 09:23:04 DEBUG: total: 0.2199999988079071 09:23:04 INFO: Retrieving Stack Cost... 09:23:04 INFO: Retrieving Pricing Info for: v3-standard-8 09:23:04 INFO: Archiving Costs [Pipeline] echo 09:23:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:05 ---> logs-deploy.sh 09:23:05 lf-activate-venv: SKIPPING 09:23:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-301/2 09:23:05 INFO: archiving workspace using pattern(s): 09:23:06 Archives upload complete. 09:23:06 INFO: archiving logs to Nexus