Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 rather than 24863547b1e47d965bb77b4f9d709eb04468b0e1 Obtained Jenkinsfile from b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 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-ssh9150948923725549870.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14352539558335129649.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6702331195599971120.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10636877479619741785.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15013283692653880552.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-14715’ Running on prd-ubuntu20.04-docker-8c-8g-14718 in /w/workspace/undry_device-onvif-camera_PR-347 [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-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit 24863547b1e47d965bb77b4f9d709eb04468b0e1 Merge succeeded, producing 24863547b1e47d965bb77b4f9d709eb04468b0e1 Checking out Revision 24863547b1e47d965bb77b4f9d709eb04468b0e1 (PR-347) > 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 Commit message: "Merge branch 'inconsistent-naming' of github.com:EdgeX-Camera-Management/device-onvif-camera into inconsistent-naming" > git rev-list --no-walk bf6e08494e3e05911265a2ba15676ec40f322bae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:23:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:23:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:23:38 ========================================================= 16:23:38 EdgeX Global Pipelines Version Info 16:23:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:23:39 ------------------- 16:23:39 stable info: 16:23:39 ------------------- 16:23:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:23:39 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 16:23:39 Message: update stable to v1.0.249 16:23:39 ------------------- 16:23:39 experimental info: 16:23:39 ------------------- 16:23:39 Commited By: **** collab-it+edgex@linuxfoundation.org 16:23:39 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 16:23:39 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:23:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:23:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:23:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:23:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24863547b1e47d965bb77b4f9d709eb04468b0e1 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2486354 [Pipeline] echo 16:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:40 provisioning config files... 16:23:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config1920357464109883439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:40 ---> docker-login.sh 16:23:40 nexus3.edgexfoundry.org:10001 16:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:40 Configure a credential helper to remove this warning. See 16:23:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:40 16:23:40 Login Succeeded 16:23:40 nexus3.edgexfoundry.org:10002 16:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:40 Configure a credential helper to remove this warning. See 16:23:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:40 16:23:40 Login Succeeded 16:23:40 nexus3.edgexfoundry.org:10003 16:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:41 Configure a credential helper to remove this warning. See 16:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:41 16:23:41 Login Succeeded 16:23:41 nexus3.edgexfoundry.org:10004 16:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:41 Configure a credential helper to remove this warning. See 16:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:41 16:23:41 Login Succeeded 16:23:41 docker.io 16:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:41 Configure a credential helper to remove this warning. See 16:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:41 16:23:41 Login Succeeded 16:23:41 ---> docker-login.sh ends [Pipeline] } 16:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:23:41 + git rev-list -1 --merges 24863547b1e47d965bb77b4f9d709eb04468b0e1~1..24863547b1e47d965bb77b4f9d709eb04468b0e1 [Pipeline] echo 16:23:41 -----------> git rev-list -1 --merges 24863547b1e47d965bb77b4f9d709eb04468b0e1~1..24863547b1e47d965bb77b4f9d709eb04468b0e1 24863547b1e47d965bb77b4f9d709eb04468b0e1 16:23:41 24863547b1e47d965bb77b4f9d709eb04468b0e1 [false] [Pipeline] sh 16:23:42 + git log --format=format:%s -1 24863547b1e47d965bb77b4f9d709eb04468b0e1 [Pipeline] echo 16:23:42 ========================================================= 16:23:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:23:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:23:42 + git log --format=format:%s -1 24863547b1e47d965bb77b4f9d709eb04468b0e1 [Pipeline] echo 16:23:42 [semverPrep] GIT_COMMIT: 24863547b1e47d965bb77b4f9d709eb04468b0e1, Commit Message: Merge branch 'inconsistent-naming' of github.com:EdgeX-Camera-Management/device-onvif-camera into inconsistent-naming [Pipeline] echo 16:23:42 [semverPrep] This is not a build commit. [Pipeline] sh 16:23:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:23:43 + grep -v github /etc/ssh/ssh_known_hosts 16:23:43 + [ -e /tmp/ssh_known_hosts ] 16:23:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:23:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:23:43 + sudo tee -a /etc/ssh/ssh_known_hosts 16:23:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:43 16:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:43 0.1.4: Pulling from edgex-devops/py-git-semver 16:23:43 b85a868b505f: Pulling fs layer 16:23:43 e2be974225ed: Pulling fs layer 16:23:43 339a4e72a1f5: Pulling fs layer 16:23:43 988bab9f4d93: Pulling fs layer 16:23:43 1469e6f7b9e6: Pulling fs layer 16:23:43 eaf3925da568: Pulling fs layer 16:23:43 bab4dde63d76: Pulling fs layer 16:23:43 bde34c3a00c8: Pulling fs layer 16:23:43 b352a97aabf1: Pulling fs layer 16:23:43 4872d77fe225: Pulling fs layer 16:23:43 5851b861e8e6: Pulling fs layer 16:23:43 1469e6f7b9e6: Waiting 16:23:43 b352a97aabf1: Waiting 16:23:43 4872d77fe225: Waiting 16:23:43 5851b861e8e6: Waiting 16:23:43 eaf3925da568: Waiting 16:23:43 bab4dde63d76: Waiting 16:23:43 bde34c3a00c8: Waiting 16:23:43 988bab9f4d93: Waiting 16:23:43 e2be974225ed: Verifying Checksum 16:23:43 e2be974225ed: Download complete 16:23:43 988bab9f4d93: Verifying Checksum 16:23:43 988bab9f4d93: Download complete 16:23:44 1469e6f7b9e6: Verifying Checksum 16:23:44 1469e6f7b9e6: Download complete 16:23:44 339a4e72a1f5: Verifying Checksum 16:23:44 339a4e72a1f5: Download complete 16:23:44 eaf3925da568: Verifying Checksum 16:23:44 eaf3925da568: Download complete 16:23:44 bde34c3a00c8: Verifying Checksum 16:23:44 bde34c3a00c8: Download complete 16:23:44 b352a97aabf1: Verifying Checksum 16:23:44 b352a97aabf1: Download complete 16:23:44 4872d77fe225: Download complete 16:23:44 5851b861e8e6: Verifying Checksum 16:23:44 5851b861e8e6: Download complete 16:23:44 b85a868b505f: Download complete 16:23:44 bab4dde63d76: Verifying Checksum 16:23:44 bab4dde63d76: Download complete 16:23:45 b85a868b505f: Pull complete 16:23:45 e2be974225ed: Pull complete 16:23:46 339a4e72a1f5: Pull complete 16:23:46 988bab9f4d93: Pull complete 16:23:46 1469e6f7b9e6: Pull complete 16:23:46 eaf3925da568: Pull complete 16:23:48 bab4dde63d76: Pull complete 16:23:48 bde34c3a00c8: Pull complete 16:23:48 b352a97aabf1: Pull complete 16:23:48 4872d77fe225: Pull complete 16:23:48 5851b861e8e6: Pull complete 16:23:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:48 prd-ubuntu20.04-docker-8c-8g-14718 does not seem to be running inside a container 16:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:23:50 $ docker top fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd -eo pid,comm 16:23:50 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). 16:23:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:23:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:23:50 [ssh-agent] Looking for ssh-agent implementation... 16:23:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:23:50 $ docker exec fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd ssh-agent 16:23:50 SSH_AUTH_SOCK=/tmp/ssh-9pSBQgfuy4HB/agent.32 16:23:50 SSH_AGENT_PID=38 16:23:50 Running ssh-add (command line suppressed) 16:23:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_18231988235947399952.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_18231988235947399952.key) 16:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:23:51 + git tag --points-at HEAD [Pipeline] } 16:23:51 $ docker exec --env ******** --env ******** fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd ssh-agent -k 16:23:51 unset SSH_AUTH_SOCK; 16:23:51 unset SSH_AGENT_PID; 16:23:51 echo Agent pid 38 killed; 16:23:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:23:51 [ssh-agent] Looking for ssh-agent implementation... 16:23:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:23:51 $ docker exec fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd ssh-agent 16:23:51 SSH_AUTH_SOCK=/tmp/ssh-2XvWRqvMJ0m2/agent.70 16:23:51 SSH_AGENT_PID=76 16:23:51 Running ssh-add (command line suppressed) 16:23:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10660650948813088221.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10660650948813088221.key) 16:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:23:52 + git semver init 16:23:52 2023-05-09 16:23:52,314 [run_init] DEBUG init version:0.0.0 force:False 16:23:52 2023-05-09 16:23:52,315 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 16:23:52 2023-05-09 16:23:52,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 16:23:52 2023-05-09 16:23:52,316 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 16:23:54 2023-05-09 16:23:54,435 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 16:23:54 2023-05-09 16:23:54,435 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 16:23:54 2023-05-09 16:23:54,436 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 16:23:54 2023-05-09 16:23:54,440 [execute] INFO git cat-file --batch-check 16:23:54 2023-05-09 16:23:54,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 16:23:54 2023-05-09 16:23:54,447 [execute] INFO git cat-file --batch 16:23:54 2023-05-09 16:23:54,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 16:23:54 2023-05-09 16:23:54,452 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 16:23:54 0.0.0 [Pipeline] } 16:23:54 $ docker exec --env ******** --env ******** fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd ssh-agent -k 16:23:55 unset SSH_AUTH_SOCK; 16:23:55 unset SSH_AGENT_PID; 16:23:55 echo Agent pid 76 killed; 16:23:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:23:55 + git semver [Pipeline] } 16:23:55 $ docker stop --time=1 fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd 16:23:56 $ docker rm -f --volumes fa80b9ae84719bd7a7c85b71a1d8c7169e284a25c61d2e05f3923b21583dcabd [Pipeline] // withDockerContainer [Pipeline] sh 16:23:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:23:57 Stashed 1 file(s) [Pipeline] echo 16:23:57 [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 16:23:57 provisioning config files... 16:23:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config446880915059644713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:57 ---> docker-login.sh 16:23:57 nexus3.edgexfoundry.org:10001 16:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:57 Configure a credential helper to remove this warning. See 16:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:57 16:23:57 Login Succeeded 16:23:57 nexus3.edgexfoundry.org:10002 16:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:57 Configure a credential helper to remove this warning. See 16:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:57 16:23:57 Login Succeeded 16:23:57 nexus3.edgexfoundry.org:10003 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:58 Configure a credential helper to remove this warning. See 16:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:58 16:23:58 Login Succeeded 16:23:58 nexus3.edgexfoundry.org:10004 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:58 Configure a credential helper to remove this warning. See 16:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:58 16:23:58 Login Succeeded 16:23:58 docker.io 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:58 Configure a credential helper to remove this warning. See 16:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:58 16:23:58 Login Succeeded 16:23:58 ---> docker-login.sh ends [Pipeline] } 16:23:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:58 ========================================================= 16:23:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:23:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:58 + 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 . 16:23:58 Sending build context to Docker daemon 22MB 16:23:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:23:58 Step 2/13 : FROM ${BASE} AS builder 16:23:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:23:59 f56be85fc22e: Pulling fs layer 16:23:59 85791d961cd3: Pulling fs layer 16:23:59 d694b5ae8c79: Pulling fs layer 16:23:59 9f32a84ed3da: Pulling fs layer 16:23:59 4d19c01a9841: Pulling fs layer 16:23:59 9325e15d5711: Pulling fs layer 16:23:59 556b6ee489ea: Pulling fs layer 16:23:59 c5a4b2cf53e6: Pulling fs layer 16:23:59 4d19c01a9841: Waiting 16:23:59 9325e15d5711: Waiting 16:23:59 c5a4b2cf53e6: Waiting 16:23:59 556b6ee489ea: Waiting 16:23:59 9f32a84ed3da: Waiting 16:23:59 85791d961cd3: Verifying Checksum 16:23:59 85791d961cd3: Download complete 16:23:59 9f32a84ed3da: Verifying Checksum 16:23:59 9f32a84ed3da: Download complete 16:23:59 4d19c01a9841: Verifying Checksum 16:23:59 4d19c01a9841: Download complete 16:23:59 f56be85fc22e: Download complete 16:23:59 9325e15d5711: Verifying Checksum 16:23:59 9325e15d5711: Download complete 16:23:59 f56be85fc22e: Pull complete 16:23:59 85791d961cd3: Pull complete 16:23:59 c5a4b2cf53e6: Verifying Checksum 16:23:59 c5a4b2cf53e6: Download complete 16:23:59 d694b5ae8c79: Verifying Checksum 16:23:59 d694b5ae8c79: Download complete 16:23:59 556b6ee489ea: Download complete 16:24:03 d694b5ae8c79: Pull complete 16:24:03 9f32a84ed3da: Pull complete 16:24:03 4d19c01a9841: Pull complete 16:24:03 9325e15d5711: Pull complete 16:24:05 556b6ee489ea: Pull complete 16:24:06 c5a4b2cf53e6: Pull complete 16:24:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 16:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:24:06 ---> c4be618373d6 16:24:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:24:09 ---> Running in cd26d93c0644 16:24:09 Removing intermediate container cd26d93c0644 16:24:09 ---> 2582a6ac701a 16:24:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:24:09 ---> Running in 10e485aca557 16:24:09 Removing intermediate container 10e485aca557 16:24:09 ---> 33d82a352c6a 16:24:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:24:09 ---> Running in 2406049ff04f 16:24:09 Removing intermediate container 2406049ff04f 16:24:09 ---> 3ae4a3a4876d 16:24:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:24:09 ---> Running in f2d9cffd5f54 16:24:09 Removing intermediate container f2d9cffd5f54 16:24:09 ---> 367a7bb255e0 16:24:09 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:24:09 ---> Running in 4c9971e0d411 16:24:09 Removing intermediate container 4c9971e0d411 16:24:09 ---> 82bf3f2afca3 16:24:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:09 ---> Running in bef7ceb04e0c 16:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:24:10 OK: 265 MiB in 53 packages 16:24:10 Removing intermediate container bef7ceb04e0c 16:24:10 ---> 4e4ab5ed1cad 16:24:10 Step 9/13 : WORKDIR /device-onvif-camera 16:24:10 ---> Running in 5745625fe849 16:24:10 Removing intermediate container 5745625fe849 16:24:10 ---> 32579ad89bf1 16:24:10 Step 10/13 : COPY go.mod vendor* ./ 16:24:10 ---> 9b397d500c18 16:24:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:10 ---> Running in 1145e02187cb 16:24:12 Still waiting to schedule task 16:24:12 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14716’ is offline 16:25:00 Removing intermediate container 1145e02187cb 16:25:00 ---> 69da22daeb58 16:25:00 Step 12/13 : COPY . . 16:25:00 ---> 55bc29b7324b 16:25:00 Step 13/13 : RUN ${MAKE} 16:25:00 ---> Running in b010436753f1 16:25:00 noop 16:25:00 Removing intermediate container b010436753f1 16:25:00 ---> b69556886865 16:25:00 Successfully built b69556886865 16:25:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:00 + docker inspect -f . ci-base-image-x86_64 16:25:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:00 prd-ubuntu20.04-docker-8c-8g-14718 does not seem to be running inside a container 16:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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-x86_64 cat 16:25:01 $ docker top bec0f85f93f56c293d878fe36227ead31d61d5b7c86a4cf29195a26487686c43 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:01 + go version 16:25:01 go version go1.20.2 linux/amd64 [Pipeline] } 16:25:01 $ docker stop --time=1 bec0f85f93f56c293d878fe36227ead31d61d5b7c86a4cf29195a26487686c43 16:25:02 $ docker rm -f --volumes bec0f85f93f56c293d878fe36227ead31d61d5b7c86a4cf29195a26487686c43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:03 + docker inspect -f . ci-base-image-x86_64 16:25:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:03 prd-ubuntu20.04-docker-8c-8g-14718 does not seem to be running inside a container 16:25:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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-x86_64 cat 16:25:03 $ docker top 1ed7c4ac1d5a1bc9346c079c6cac865f97c329ed38d8930859e106cc3942365c -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 16:25:04 + make test 16:25:04 go test ./... -coverprofile=coverage.out ./... 16:25:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:25:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:25:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:25:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.044s coverage: 30.9% of statements 16:25:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.424s coverage: 86.5% of statements 16:25:30 go vet ./... 16:25:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:33 ./bin/test-attribution-txt.sh [Pipeline] echo 16:25:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:33 $ docker stop --time=1 1ed7c4ac1d5a1bc9346c079c6cac865f97c329ed38d8930859e106cc3942365c 16:25:36 $ docker rm -f --volumes 1ed7c4ac1d5a1bc9346c079c6cac865f97c329ed38d8930859e106cc3942365c [Pipeline] // withDockerContainer [Pipeline] sh 16:25:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:25:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:37 + ls -al . 16:25:37 total 232 16:25:37 drwxrwxr-x 10 jenkins jenkins 4096 May 9 16:25 . 16:25:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:23 .. 16:25:37 drwxrwxr-x 8 jenkins jenkins 4096 May 9 16:23 .git 16:25:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 16:23 .github 16:25:37 -rw-rw-r-- 1 jenkins jenkins 496 May 9 16:23 .gitignore 16:25:37 -rw-rw-r-- 1 jenkins jenkins 42 May 9 16:23 .golangci.yml 16:25:37 drwxr-xr-x 3 jenkins jenkins 4096 May 9 16:23 .semver 16:25:37 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 16:23 Attribution.txt 16:25:37 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 16:23 CHANGELOG.md 16:25:37 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 16:23 Dockerfile 16:25:37 -rw-rw-r-- 1 jenkins jenkins 677 May 9 16:23 GOVERNANCE.md 16:25:37 -rw-rw-r-- 1 jenkins jenkins 734 May 9 16:23 Jenkinsfile 16:25:37 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 16:23 LICENSE 16:25:37 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 16:23 Makefile 16:25:37 -rw-rw-r-- 1 jenkins jenkins 625 May 9 16:23 OWNERS.md 16:25:37 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 16:23 README.md 16:25:37 -rw-rw-r-- 1 jenkins jenkins 5 May 9 16:23 VERSION 16:25:37 drwxrwxr-x 2 jenkins jenkins 4096 May 9 16:23 bin 16:25:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 16:23 cmd 16:25:37 -rw-r--r-- 1 jenkins jenkins 79213 May 9 16:25 coverage.out 16:25:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:23 doc 16:25:37 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 16:23 go.mod 16:25:37 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 16:23 go.sum 16:25:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:23 internal 16:25:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:23 snap 16:25:37 -rw-rw-r-- 1 jenkins jenkins 236 May 9 16:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:38 + 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=24863547b1e47d965bb77b4f9d709eb04468b0e1 --label arch=amd64 --label version=0.0.0 . 16:25:38 Sending build context to Docker daemon 22.08MB 16:25:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:25:38 Step 2/26 : FROM ${BASE} AS builder 16:25:38 ---> b69556886865 16:25:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:25:38 ---> Running in 9572e1202ed2 16:25:38 Removing intermediate container 9572e1202ed2 16:25:38 ---> 8ac1f7f33b5d 16:25:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:38 ---> Running in 66671e033ec9 16:25:38 Removing intermediate container 66671e033ec9 16:25:38 ---> 622370d8e1d8 16:25:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:25:38 ---> Running in 9d85f52896b2 16:25:38 Removing intermediate container 9d85f52896b2 16:25:38 ---> bf9662c10842 16:25:38 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:25:38 ---> Running in 880e980fc317 16:25:38 Removing intermediate container 880e980fc317 16:25:38 ---> ec0010680455 16:25:38 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:25:38 ---> Running in c39d6b79993f 16:25:38 Removing intermediate container c39d6b79993f 16:25:38 ---> 64274aa2ea77 16:25:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:38 ---> Running in e60cd196bc6e 16:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:25:39 OK: 265 MiB in 53 packages 16:25:40 Removing intermediate container e60cd196bc6e 16:25:40 ---> 0b63e09ea33f 16:25:40 Step 9/26 : WORKDIR /device-onvif-camera 16:25:40 ---> Running in 464758b33f02 16:25:40 Removing intermediate container 464758b33f02 16:25:40 ---> 5436fc1484b4 16:25:40 Step 10/26 : COPY go.mod vendor* ./ 16:25:40 ---> 0074991189e6 16:25:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:40 ---> Running in 50d584899027 16:25:40 Removing intermediate container 50d584899027 16:25:40 ---> 524a7694c97c 16:25:40 Step 12/26 : COPY . . 16:25:41 ---> bcecedcacbc4 16:25:41 Step 13/26 : RUN ${MAKE} 16:25:41 ---> Running in 16b91182eb53 16:25:41 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 16:25:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14719 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 16:25:59 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 16:25:59 The recommended git tool is: git 16:26:03 Removing intermediate container 16b91182eb53 16:26:03 ---> 3430e7d13cf9 16:26:03 Step 14/26 : FROM alpine:3.17 16:26:03 3.17: Pulling from library/alpine 16:26:03 f56be85fc22e: Already exists 16:26:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:26:03 Status: Downloaded newer image for alpine:3.17 16:26:03 ---> 9ed4aefc74f6 16:26:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:26:03 ---> Running in 3e7a31e264f1 16:26:03 Removing intermediate container 3e7a31e264f1 16:26:03 ---> 1a5e9851555f 16:26:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:26:03 ---> Running in da196181585b 16:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:26:03 (1/1) Installing dumb-init (1.2.5-r2) 16:26:03 Executing busybox-1.35.0-r29.trigger 16:26:03 OK: 7 MiB in 16 packages 16:26:03 Removing intermediate container da196181585b 16:26:03 ---> 8a2ed89a2f98 16:26:03 Step 17/26 : WORKDIR / 16:26:03 ---> Running in e82ace37dfda 16:26:03 Removing intermediate container e82ace37dfda 16:26:03 ---> f297287e7b91 16:26:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:26:03 ---> d7e325782c4f 16:26:03 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:26:03 ---> 5492d8930a88 16:26:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:26:03 ---> c3d5606d1eac 16:26:03 Step 21/26 : EXPOSE 59984 16:26:03 ---> Running in 737985e35d2c 16:26:03 Removing intermediate container 737985e35d2c 16:26:03 ---> 7dc189ebf945 16:26:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:26:03 ---> Running in bc4a07ab5529 16:26:03 Removing intermediate container bc4a07ab5529 16:26:03 ---> 3c8ba30b826d 16:26:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:26:03 ---> Running in 175e54d8a6c0 16:26:03 Removing intermediate container 175e54d8a6c0 16:26:03 ---> 2de03ef00f94 16:26:03 Step 24/26 : LABEL arch=amd64 16:26:03 ---> Running in 16640d85ed02 16:26:03 Removing intermediate container 16640d85ed02 16:26:03 ---> bdca7614bd76 16:26:03 Step 25/26 : LABEL git_sha=24863547b1e47d965bb77b4f9d709eb04468b0e1 16:26:04 using credential edgex-jenkins-ssh 16:26:04 Cloning the remote Git repository 16:26:04 ---> Running in 116deae7c2c3 16:26:04 Removing intermediate container 116deae7c2c3 16:26:04 ---> 2a2dc2ecbd28 16:26:04 Step 26/26 : LABEL version=0.0.0 16:26:04 ---> Running in 9921bb9eaabf 16:26:04 Removing intermediate container 9921bb9eaabf 16:26:04 ---> 4678e116c875 16:26:04 [Warning] One or more build-args [ARCH] were not consumed 16:26:04 Successfully built 4678e116c875 16:26:04 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 16:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:04 16:26:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:05 latest: Pulling from edgex-lftools-log-publisher 16:26:05 5eb5b503b376: Pulling fs layer 16:26:05 5c69ac0246d0: Pulling fs layer 16:26:05 ec43610c2a17: Pulling fs layer 16:26:05 3a2ae6a8a46f: Pulling fs layer 16:26:05 33b1e0a273af: Pulling fs layer 16:26:05 5d3b04190fa2: Pulling fs layer 16:26:05 2f39f015ded8: Pulling fs layer 16:26:05 3a2ae6a8a46f: Waiting 16:26:05 33b1e0a273af: Waiting 16:26:05 5d3b04190fa2: Waiting 16:26:05 2f39f015ded8: Waiting 16:26:05 5c69ac0246d0: Verifying Checksum 16:26:05 5c69ac0246d0: Download complete 16:26:05 3a2ae6a8a46f: Download complete 16:26:05 33b1e0a273af: Verifying Checksum 16:26:05 33b1e0a273af: Download complete 16:26:05 5d3b04190fa2: Verifying Checksum 16:26:05 5d3b04190fa2: Download complete 16:26:05 ec43610c2a17: Verifying Checksum 16:26:05 ec43610c2a17: Download complete 16:26:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:26:04 > git init /w/workspace/device-onvif-camera/4 # timeout=10 16:26:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:26:04 > git --version # timeout=10 16:26:04 > git --version # 'git version 2.25.1' 16:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:05 5eb5b503b376: Verifying Checksum 16:26:05 5eb5b503b376: Download complete 16:26:06 5eb5b503b376: Pull complete 16:26:06 5c69ac0246d0: Pull complete 16:26:06 ec43610c2a17: Pull complete 16:26:07 3a2ae6a8a46f: Pull complete 16:26:07 33b1e0a273af: Pull complete 16:26:07 5d3b04190fa2: Pull complete 16:26:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:26:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:26:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:26:09 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit 24863547b1e47d965bb77b4f9d709eb04468b0e1 16:26:09 Merge succeeded, producing 24863547b1e47d965bb77b4f9d709eb04468b0e1 16:26:09 Checking out Revision 24863547b1e47d965bb77b4f9d709eb04468b0e1 (PR-347) 16:26:09 > git config core.sparsecheckout # timeout=10 16:26:09 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 16:26:09 > git remote # timeout=10 16:26:09 > git config --get remote.origin.url # timeout=10 16:26:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:09 > git merge b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 16:26:09 > git rev-parse HEAD^{commit} # timeout=10 16:26:09 > git config core.sparsecheckout # timeout=10 16:26:09 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 16:26:11 2f39f015ded8: Pull complete 16:26:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:26:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:11 prd-ubuntu20.04-docker-8c-8g-14718 does not seem to be running inside a container 16:26:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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:latest cat 16:26:13 Commit message: "Merge branch 'inconsistent-naming' of github.com:EdgeX-Camera-Management/device-onvif-camera into inconsistent-naming" 16:26:13 16:26:13 GitHub has been notified of this commit’s build result 16:26:13 16:26:14 $ docker top 84e420d706574f4e110f3a673e6b1ee722e2626e5f08176bf0f37aa42946c3a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:14 ---> job-cost.sh 16:26:14 lf-activate-venv: SKIPPING 16:26:14 INFO: No Stack... 16:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:26:15 % Total % Received % Xferd Average Speed Time Time Time Current 16:26:15 Dload Upload Total Spent Left Speed 16:26:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 16:26:15 INFO: Archiving Costs [Pipeline] sh 16:26:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:26:15 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 16:26:15 + cut -d, -f6 [Pipeline] lock 16:26:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] 16:26:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] did not exist. Created. 16:26:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:26:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:26:16 + sudo tee /etc/docker/daemon.new 16:26:16 { 16:26:16 "registry-mirrors": [ 16:26:16 "https://nexus3.edgexfoundry.org:10001" 16:26:16 ], 16:26:16 "bip": "10.250.0.254/24", 16:26:16 "hosts": [ 16:26:16 "tcp://0.0.0.0:5555", 16:26:16 "unix:///var/run/docker.sock" 16:26:16 ], 16:26:16 "mtu": 1458, 16:26:16 "selinux-enabled": true, 16:26:16 "seccomp-profile": "/etc/docker/seccomp.json" 16:26:16 } [Pipeline] sh 16:26:16 + echo total: 0.2199999988079071 [Pipeline] stash 16:26:16 Stashed 1 file(s) [Pipeline] } 16:26:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:26:16 $ docker stop --time=1 84e420d706574f4e110f3a673e6b1ee722e2626e5f08176bf0f37aa42946c3a5 16:26:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 16:26:17 $ docker rm -f --volumes 84e420d706574f4e110f3a673e6b1ee722e2626e5f08176bf0f37aa42946c3a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:36 provisioning config files... 16:26:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config17292506367451993538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:36 ---> docker-login.sh 16:26:36 nexus3.edgexfoundry.org:10001 16:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:37 Configure a credential helper to remove this warning. See 16:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:37 16:26:37 Login Succeeded 16:26:37 nexus3.edgexfoundry.org:10002 16:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:37 Configure a credential helper to remove this warning. See 16:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:37 16:26:37 Login Succeeded 16:26:37 nexus3.edgexfoundry.org:10003 16:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:37 Configure a credential helper to remove this warning. See 16:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:37 16:26:37 Login Succeeded 16:26:37 nexus3.edgexfoundry.org:10004 16:26:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:38 Configure a credential helper to remove this warning. See 16:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:38 16:26:38 Login Succeeded 16:26:38 docker.io 16:26:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:38 Configure a credential helper to remove this warning. See 16:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:38 16:26:38 Login Succeeded 16:26:38 ---> docker-login.sh ends [Pipeline] } 16:26:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:26:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:26:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:26:38 ========================================================= 16:26:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:26:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:39 + 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 . 16:26:39 Sending build context to Docker daemon 14.66MB 16:26:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:26:39 Step 2/13 : FROM ${BASE} AS builder 16:26:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:26:40 c41833b44d91: Pulling fs layer 16:26:40 ed15518f5707: Pulling fs layer 16:26:40 feae8fd75edb: Pulling fs layer 16:26:40 242c74f7c9fa: Pulling fs layer 16:26:40 3cdef696dda3: Pulling fs layer 16:26:40 2ced38df9373: Pulling fs layer 16:26:40 58f1dce35555: Pulling fs layer 16:26:40 242c74f7c9fa: Waiting 16:26:40 3cdef696dda3: Waiting 16:26:40 2ced38df9373: Waiting 16:26:40 58f1dce35555: Waiting 16:26:40 ed15518f5707: Verifying Checksum 16:26:40 ed15518f5707: Download complete 16:26:40 242c74f7c9fa: Verifying Checksum 16:26:40 242c74f7c9fa: Download complete 16:26:40 3cdef696dda3: Verifying Checksum 16:26:40 3cdef696dda3: Download complete 16:26:40 c41833b44d91: Verifying Checksum 16:26:40 c41833b44d91: Download complete 16:26:41 c41833b44d91: Pull complete 16:26:42 58f1dce35555: Verifying Checksum 16:26:42 58f1dce35555: Download complete 16:26:42 ed15518f5707: Pull complete 16:26:43 feae8fd75edb: Verifying Checksum 16:26:43 feae8fd75edb: Download complete 16:26:43 2ced38df9373: Verifying Checksum 16:26:43 2ced38df9373: Download complete 16:26:55 feae8fd75edb: Pull complete 16:26:55 242c74f7c9fa: Pull complete 16:26:55 3cdef696dda3: Pull complete 16:27:00 2ced38df9373: Pull complete 16:27:03 58f1dce35555: Pull complete 16:27:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 16:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:27:03 ---> fadd8f120f05 16:27:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:27:05 ---> Running in 1c8f055d8c24 16:27:05 Removing intermediate container 1c8f055d8c24 16:27:05 ---> 6352fde7f65c 16:27:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:27:05 ---> Running in f219888d58bd 16:27:05 Removing intermediate container f219888d58bd 16:27:05 ---> db1c0fb58f62 16:27:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:27:05 ---> Running in 4d4be9b20fec 16:27:06 Removing intermediate container 4d4be9b20fec 16:27:06 ---> 936ab517554e 16:27:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:27:06 ---> Running in ab3cf84f77a1 16:27:06 Removing intermediate container ab3cf84f77a1 16:27:06 ---> 8ceb543b6def 16:27:06 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:27:06 ---> Running in e086707bdcf1 16:27:07 Removing intermediate container e086707bdcf1 16:27:07 ---> 5743654fe686 16:27:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:27:07 ---> Running in a90c90ba4908 16:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:27:09 OK: 263 MiB in 53 packages 16:27:10 Removing intermediate container a90c90ba4908 16:27:10 ---> 15bab31e3a39 16:27:10 Step 9/13 : WORKDIR /device-onvif-camera 16:27:10 ---> Running in 41b5d2365684 16:27:10 Removing intermediate container 41b5d2365684 16:27:10 ---> 3e6980d13f30 16:27:10 Step 10/13 : COPY go.mod vendor* ./ 16:27:11 ---> b97bed93ecbd 16:27:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:27:11 ---> Running in 9944bc439af3 16:28:19 Removing intermediate container 9944bc439af3 16:28:19 ---> 51b0b857a79d 16:28:19 Step 12/13 : COPY . . 16:28:19 ---> 10ebc95012a8 16:28:19 Step 13/13 : RUN ${MAKE} 16:28:19 ---> Running in f05d8155ff29 16:28:19 noop 16:28:19 Removing intermediate container f05d8155ff29 16:28:19 ---> b76cc3aecf95 16:28:19 Successfully built b76cc3aecf95 16:28:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:19 + docker inspect -f . ci-base-image-arm64 16:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:20 prd-ubuntu20.04-docker-arm64-4c-16g-14719 does not seem to be running inside a container 16:28:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:28:21 $ docker top 54c2dbe78136984211be45266bbe023eb23a5c511d17c1b753ef303d03af2259 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:22 + go version 16:28:22 go version go1.20.2 linux/arm64 [Pipeline] } 16:28:22 $ docker stop --time=1 54c2dbe78136984211be45266bbe023eb23a5c511d17c1b753ef303d03af2259 16:28:23 $ docker rm -f --volumes 54c2dbe78136984211be45266bbe023eb23a5c511d17c1b753ef303d03af2259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:24 + docker inspect -f . ci-base-image-arm64 16:28:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:24 prd-ubuntu20.04-docker-arm64-4c-16g-14719 does not seem to be running inside a container 16:28:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:28:25 $ docker top a1bf4e59e792f9bb86847d26cf4d7c112d2cc6fbc03473d8dbbcad7260169d68 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 16:28:26 + make test 16:28:27 go test ./... -coverprofile=coverage.out ./... 16:28:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:31:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:31:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:31:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.217s coverage: 30.9% of statements 16:31:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.070s coverage: 86.5% of statements 16:31:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:31:16 go vet ./... 16:31:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:43 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:43 $ docker stop --time=1 a1bf4e59e792f9bb86847d26cf4d7c112d2cc6fbc03473d8dbbcad7260169d68 16:31:45 $ docker rm -f --volumes a1bf4e59e792f9bb86847d26cf4d7c112d2cc6fbc03473d8dbbcad7260169d68 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:46 Warning: overwriting stash ‘coverage-report’ 16:31:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:47 + ls -al . 16:31:47 total 228 16:31:47 drwxrwxr-x 9 jenkins jenkins 4096 May 9 16:28 . 16:31:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:26 .. 16:31:47 drwxrwxr-x 8 jenkins jenkins 4096 May 9 16:26 .git 16:31:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 16:26 .github 16:31:47 -rw-rw-r-- 1 jenkins jenkins 496 May 9 16:26 .gitignore 16:31:47 -rw-rw-r-- 1 jenkins jenkins 42 May 9 16:26 .golangci.yml 16:31:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 16:26 Attribution.txt 16:31:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 16:26 CHANGELOG.md 16:31:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 16:26 Dockerfile 16:31:47 -rw-rw-r-- 1 jenkins jenkins 677 May 9 16:26 GOVERNANCE.md 16:31:47 -rw-rw-r-- 1 jenkins jenkins 734 May 9 16:26 Jenkinsfile 16:31:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 16:26 LICENSE 16:31:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 16:26 Makefile 16:31:47 -rw-rw-r-- 1 jenkins jenkins 625 May 9 16:26 OWNERS.md 16:31:47 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 16:26 README.md 16:31:47 -rw-rw-r-- 1 jenkins jenkins 5 May 9 16:23 VERSION 16:31:47 drwxrwxr-x 2 jenkins jenkins 4096 May 9 16:26 bin 16:31:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 16:26 cmd 16:31:47 -rw-r--r-- 1 jenkins jenkins 79213 May 9 16:31 coverage.out 16:31:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:26 doc 16:31:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 16:26 go.mod 16:31:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 16:26 go.sum 16:31:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:26 internal 16:31:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 16:26 snap 16:31:47 -rw-rw-r-- 1 jenkins jenkins 236 May 9 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31: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=24863547b1e47d965bb77b4f9d709eb04468b0e1 --label arch=arm64 --label version=0.0.0 . 16:31:48 Sending build context to Docker daemon 14.74MB 16:31:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:31:48 Step 2/26 : FROM ${BASE} AS builder 16:31:48 ---> b76cc3aecf95 16:31:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:31:49 ---> Running in 10e765a20767 16:31:49 Removing intermediate container 10e765a20767 16:31:49 ---> 024a4c8f73cc 16:31:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:49 ---> Running in 96e69e341b1a 16:31:50 Removing intermediate container 96e69e341b1a 16:31:50 ---> c54d474fede0 16:31:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:31:50 ---> Running in 62c29101211d 16:31:50 Removing intermediate container 62c29101211d 16:31:50 ---> f30e6d76d7f9 16:31:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:31:50 ---> Running in 6eb895c90d7e 16:31:51 Removing intermediate container 6eb895c90d7e 16:31:51 ---> 42cd3041a658 16:31:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:31:51 ---> Running in 18745aa6d958 16:31:51 Removing intermediate container 18745aa6d958 16:31:51 ---> 9a10e7cb24ac 16:31:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:51 ---> Running in 2b1acc92f7d9 16:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:31:53 OK: 263 MiB in 53 packages 16:31:54 Removing intermediate container 2b1acc92f7d9 16:31:54 ---> 38354484e496 16:31:54 Step 9/26 : WORKDIR /device-onvif-camera 16:31:54 ---> Running in b495f002ddfb 16:31:55 Removing intermediate container b495f002ddfb 16:31:55 ---> a4b95b05f30d 16:31:55 Step 10/26 : COPY go.mod vendor* ./ 16:31:55 ---> fa53832389e0 16:31:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:55 ---> Running in e054a426da47 16:31:58 Removing intermediate container e054a426da47 16:31:58 ---> 18ccf46d7fd0 16:31:58 Step 12/26 : COPY . . 16:32:00 ---> 6cea9fa90de7 16:32:00 Step 13/26 : RUN ${MAKE} 16:32:00 ---> Running in a03b4180bbfe 16:32:01 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 16:34:22 Removing intermediate container a03b4180bbfe 16:34:22 ---> 957485a8b3fb 16:34:22 Step 14/26 : FROM alpine:3.17 16:34:22 3.17: Pulling from library/alpine 16:34:22 c41833b44d91: Already exists 16:34:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:34:22 Status: Downloaded newer image for alpine:3.17 16:34:22 ---> 51e60588ff2c 16:34:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:34:22 ---> Running in 144b76e9ac36 16:34:22 Removing intermediate container 144b76e9ac36 16:34:22 ---> 8363abcf7c84 16:34:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:34:22 ---> Running in 42cdfc3b249c 16:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:34:22 (1/1) Installing dumb-init (1.2.5-r2) 16:34:22 Executing busybox-1.35.0-r29.trigger 16:34:22 OK: 8 MiB in 16 packages 16:34:22 Removing intermediate container 42cdfc3b249c 16:34:22 ---> 6758acc39462 16:34:22 Step 17/26 : WORKDIR / 16:34:22 ---> Running in 1b5429476a71 16:34:22 Removing intermediate container 1b5429476a71 16:34:22 ---> e42ec20b56b4 16:34:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:34:22 ---> 4bf2db881b3e 16:34:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:34:22 ---> 5f412f7b3846 16:34:22 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:34:23 ---> bbf02ae5b58e 16:34:23 Step 21/26 : EXPOSE 59984 16:34:23 ---> Running in 4d9e71132d70 16:34:23 Removing intermediate container 4d9e71132d70 16:34:23 ---> 442c7bffdbfc 16:34:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:34:23 ---> Running in 6ff0c852f065 16:34:23 Removing intermediate container 6ff0c852f065 16:34:23 ---> 4d3ad379464d 16:34:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:34:23 ---> Running in b9ec7fe885f3 16:34:24 Removing intermediate container b9ec7fe885f3 16:34:24 ---> 9ee865e0aa68 16:34:24 Step 24/26 : LABEL arch=arm64 16:34:24 ---> Running in 2db3c5b65066 16:34:24 Removing intermediate container 2db3c5b65066 16:34:24 ---> 68a9075cdb89 16:34:24 Step 25/26 : LABEL git_sha=24863547b1e47d965bb77b4f9d709eb04468b0e1 16:34:24 ---> Running in d4212bb775f1 16:34:25 Removing intermediate container d4212bb775f1 16:34:25 ---> 2a3ce77b785d 16:34:25 Step 26/26 : LABEL version=0.0.0 16:34:25 ---> Running in 35c930750c91 16:34:25 Removing intermediate container 35c930750c91 16:34:25 ---> 0ab7be790bb2 16:34:25 [Warning] One or more build-args [ARCH] were not consumed 16:34:25 Successfully built 0ab7be790bb2 16:34: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 16:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:26 16:34:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:26 arm64: Pulling from edgex-lftools-log-publisher 16:34:26 8998bd30e6a1: Pulling fs layer 16:34:26 04944245beec: Pulling fs layer 16:34:26 699f458cf7ca: Pulling fs layer 16:34:26 765212b225bb: Pulling fs layer 16:34:26 f23df028b6ca: Pulling fs layer 16:34:26 d65c8cfc05b1: Pulling fs layer 16:34:26 2437ff75d9bd: Pulling fs layer 16:34:26 f23df028b6ca: Waiting 16:34:26 d65c8cfc05b1: Waiting 16:34:26 2437ff75d9bd: Waiting 16:34:26 765212b225bb: Waiting 16:34:26 04944245beec: Verifying Checksum 16:34:26 04944245beec: Download complete 16:34:26 765212b225bb: Verifying Checksum 16:34:26 765212b225bb: Download complete 16:34:26 f23df028b6ca: Verifying Checksum 16:34:26 f23df028b6ca: Download complete 16:34:26 d65c8cfc05b1: Verifying Checksum 16:34:26 d65c8cfc05b1: Download complete 16:34:26 699f458cf7ca: Verifying Checksum 16:34:26 699f458cf7ca: Download complete 16:34:27 8998bd30e6a1: Verifying Checksum 16:34:27 8998bd30e6a1: Download complete 16:34:29 2437ff75d9bd: Download complete 16:34:32 8998bd30e6a1: Pull complete 16:34:32 04944245beec: Pull complete 16:34:34 699f458cf7ca: Pull complete 16:34:34 765212b225bb: Pull complete 16:34:35 f23df028b6ca: Pull complete 16:34:35 d65c8cfc05b1: Pull complete 16:34:50 2437ff75d9bd: Pull complete 16:34:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-14719 does not seem to be running inside a container 16:34: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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:34:53 $ docker top 7088bf27eb2d90641bc92be1cba2131fa95a660b055a83d10d9c4eb3d58da85d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:53 ---> job-cost.sh 16:34:54 lf-activate-venv: SKIPPING 16:34:54 INFO: No Stack... 16:34:54 INFO: Retrieving Pricing Info for: v3-standard-4 16:34:55 INFO: Archiving Costs [Pipeline] sh 16:34:55 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 16:34:55 + cut -d, -f6 [Pipeline] lock 16:34:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] 16:34:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] did not exist. Created. 16:34:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:34:56 /w/workspace/device-onvif-camera/4@tmp/durable-1d56e660/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:34:57 + echo total: 0.10999999940395355 [Pipeline] stash 16:34:57 Warning: overwriting stash ‘stack-cost’ 16:34:57 Stashed 1 file(s) [Pipeline] } 16:34:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:34:57 $ docker stop --time=1 7088bf27eb2d90641bc92be1cba2131fa95a660b055a83d10d9c4eb3d58da85d 16:35:00 $ docker rm -f --volumes 7088bf27eb2d90641bc92be1cba2131fa95a660b055a83d10d9c4eb3d58da85d [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 16:35:00 provisioning config files... 16:35:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config2482132156832698441tmp [Pipeline] { [Pipeline] sh 16:35:01 + set +x 16:35:01 + curl -s https://codecov.io/bash 16:35:01 + bash -s -- 16:35:01 16:35:01 _____ _ 16:35:01 / ____| | | 16:35:01 | | ___ __| | ___ ___ _____ __ 16:35:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:35:01 | |___| (_) | (_| | __/ (_| (_) \ V / 16:35:01 \_____\___/ \__,_|\___|\___\___/ \_/ 16:35:01 Bash-1.0.6 16:35:01 16:35:01 16:35:01 ==> git version 2.25.1 found 16:35:01 ==> 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 16:35:01 Release-Date: 2020-01-08 16:35:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:35:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:35:01 ==> Jenkins CI detected. 16:35:01 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 16:35:01 project root: . 16:35:01 --> token set from env 16:35:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:35:01 ==> Running gcov in . (disable via -X gcov) 16:35:01 ==> Python coveragepy not found 16:35:01 ==> Searching for coverage reports in: 16:35:01 + . 16:35:01 -> Found 1 reports 16:35:01 ==> Detecting git/mercurial file structure 16:35:01 ==> Reading reports 16:35:01 + ./coverage.out bytes=79213 16:35:01 ==> Appending adjustments 16:35:01 https://docs.codecov.io/docs/fixing-reports 16:35:01 + Found adjustments 16:35:01 ==> Gzipping contents 16:35:01 12K /tmp/codecov.wpouc8.gz 16:35:01 ==> Uploading reports 16:35:01 url: https://codecov.io 16:35:01 query: branch=PR-347&commit=24863547b1e47d965bb77b4f9d709eb04468b0e1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 16:35:01 -> Pinging Codecov 16:35:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=24863547b1e47d965bb77b4f9d709eb04468b0e1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 16:35:01 -> Uploading to 16:35:01 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/24863547b1e47d965bb77b4f9d709eb04468b0e1/847d255c-27c4-4ffd-8e2f-74c7a519b137.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T163501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31dec50ad7f709cc3e5a4e062c7134bdbcaa352b0e90a4cd8a2f53701ee906c0 16:35:01 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:01 Dload Upload Total Spent Left Speed 16:35:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 48760 --:--:-- --:--:-- --:--:-- 48760 16:35:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/24863547b1e47d965bb77b4f9d709eb04468b0e1 [Pipeline] } 16:35:01 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 16:35:02 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 16:35:02 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 16:35:02 total 16 16:35:02 drwxr-xr-x 3 root root 4096 May 9 16:26 . 16:35:02 drwxrwxr-x 11 jenkins jenkins 4096 May 9 16:26 .. 16:35:02 drwxr-xr-x 2 root root 4096 May 9 16:26 cost 16:35:02 -rw-r--r-- 1 root root 91 May 9 16:26 cost.csv 16:35:02 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 16:35:02 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 16:35:02 total 16 16:35:02 drwxr-xr-x 3 jenkins jenkins 4096 May 9 16:26 . 16:35:02 drwxrwxr-x 11 jenkins jenkins 4096 May 9 16:26 .. 16:35:02 drwxr-xr-x 2 jenkins jenkins 4096 May 9 16:26 cost 16:35:02 -rw-r--r-- 1 jenkins jenkins 91 May 9 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:35:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:03 ---> package-listing.sh 16:35:03 ++ facter osfamily 16:35:03 ++ tr '[:upper:]' '[:lower:]' 16:35:04 + OS_FAMILY=debian 16:35:04 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 16:35:04 + START_PACKAGES=/tmp/packages_start.txt 16:35:04 + END_PACKAGES=/tmp/packages_end.txt 16:35:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:04 + PACKAGES=/tmp/packages_start.txt 16:35:04 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 16:35:04 + PACKAGES=/tmp/packages_end.txt 16:35:04 + case "${OS_FAMILY}" in 16:35:04 + dpkg -l 16:35:04 + grep '^ii' 16:35:04 + '[' -f /tmp/packages_start.txt ']' 16:35:04 + '[' -f /tmp/packages_end.txt ']' 16:35:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:04 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 16:35:04 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 16:35:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 16:35:04 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:35:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:04 prd-ubuntu20.04-docker-8c-8g-14718 does not seem to be running inside a container 16:35:05 $ 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-347/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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 16:35:05 $ docker top ccc51a4123056e8c712263a5e2d582e106e0fdcdc3c00747e5d04895171bbfc8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:05 + touch /tmp/pre-build-complete [Pipeline] sh 16:35:05 + mkdir -p /var/log/sysstat [Pipeline] sh 16:35:06 + ls /var/log/sa-host 16:35:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:06 provisioning config files... 16:35:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config16939885487159352818tmp [Pipeline] { [Pipeline] echo 16:35:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:35:06 ---> create-netrc.sh [Pipeline] } 16:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:35:06 ---> python-tools-install.sh [Pipeline] echo 16:35:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:35:07 ---> sudo-logs.sh 16:35:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:35:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:35:07 ---> job-cost.sh 16:35:07 lf-activate-venv: SKIPPING 16:35:07 DEBUG: total: 0.2199999988079071 16:35:07 INFO: Retrieving Stack Cost... 16:35:07 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:08 INFO: Archiving Costs [Pipeline] echo 16:35:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:35:08 ---> logs-deploy.sh 16:35:08 lf-activate-venv: SKIPPING 16:35:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/4 16:35:08 INFO: archiving workspace using pattern(s): 16:35:09 Archives upload complete. 16:35:09 INFO: archiving logs to Nexus