Pull request #343 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 f98012d7d0d49bdee7157353e7b34a4041fe70f7 rather than 5d9eb699af990b0bc96dbe4d91be1581c95e69b5 Obtained Jenkinsfile from f98012d7d0d49bdee7157353e7b34a4041fe70f7 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-ssh12998276660263093729.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-ssh8074453351983515487.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-343/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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11566372897841262193.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-ssh12803828205186151312.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-343/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-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3675961020384514359.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 ‘prd-ubuntu20.04-docker-8c-8g-14534’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14537 in /w/workspace/undry_device-onvif-camera_PR-343 [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-343 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit f98012d7d0d49bdee7157353e7b34a4041fe70f7 into PR head commit 5d9eb699af990b0bc96dbe4d91be1581c95e69b5 Merge succeeded, producing b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 Checking out Revision b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 (PR-343) 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9eb699af990b0bc96dbe4d91be1581c95e69b5 # 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 f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 # timeout=10 Commit message: "Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD" > git rev-list --no-walk c65c0a2b0bc4624b4c20498eec43121735dd657a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:42:49 ========================================================= 19:42:49 EdgeX Global Pipelines Version Info 19:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:42:50 ------------------- 19:42:50 stable info: 19:42:50 ------------------- 19:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:42:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:42:50 Message: update stable to v1.0.249 19:42:51 ------------------- 19:42:51 experimental info: 19:42:51 ------------------- 19:42:51 Commited By: **** collab-it+edgex@linuxfoundation.org 19:42:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:42:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4ec89c [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:42:51 provisioning config files... 19:42:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config1664433483379904271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:42:52 ---> docker-login.sh 19:42:52 nexus3.edgexfoundry.org:10001 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10002 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10003 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10004 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 docker.io 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 ---> docker-login.sh ends [Pipeline] } 19:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:42:53 + git rev-list -1 --merges b4ec89c2f9447af17ecfa1e7417ef943e0afcf67~1..b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [Pipeline] echo 19:42:53 -----------> git rev-list -1 --merges b4ec89c2f9447af17ecfa1e7417ef943e0afcf67~1..b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 19:42:53 b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [false] [Pipeline] sh 19:42:53 + git log --format=format:%s -1 b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [Pipeline] echo 19:42:53 ========================================================= 19:42:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:42:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:54 + git log --format=format:%s -1 b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [Pipeline] echo 19:42:54 [semverPrep] GIT_COMMIT: b4ec89c2f9447af17ecfa1e7417ef943e0afcf67, Commit Message: Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD [Pipeline] echo 19:42:54 [semverPrep] This is not a build commit. [Pipeline] sh 19:42:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:42:54 + grep -v github /etc/ssh/ssh_known_hosts 19:42:54 + [ -e /tmp/ssh_known_hosts ] 19:42:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:42:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:42:54 + sudo tee -a /etc/ssh/ssh_known_hosts 19:42:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:54 19:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:55 0.1.4: Pulling from edgex-devops/py-git-semver 19:42:55 b85a868b505f: Pulling fs layer 19:42:55 e2be974225ed: Pulling fs layer 19:42:55 339a4e72a1f5: Pulling fs layer 19:42:55 988bab9f4d93: Pulling fs layer 19:42:55 1469e6f7b9e6: Pulling fs layer 19:42:55 eaf3925da568: Pulling fs layer 19:42:55 bab4dde63d76: Pulling fs layer 19:42:55 bde34c3a00c8: Pulling fs layer 19:42:55 1469e6f7b9e6: Waiting 19:42:55 b352a97aabf1: Pulling fs layer 19:42:55 eaf3925da568: Waiting 19:42:55 4872d77fe225: Pulling fs layer 19:42:55 5851b861e8e6: Pulling fs layer 19:42:55 bab4dde63d76: Waiting 19:42:55 bde34c3a00c8: Waiting 19:42:55 988bab9f4d93: Waiting 19:42:55 b352a97aabf1: Waiting 19:42:55 4872d77fe225: Waiting 19:42:55 5851b861e8e6: Waiting 19:42:55 e2be974225ed: Verifying Checksum 19:42:55 e2be974225ed: Download complete 19:42:55 988bab9f4d93: Verifying Checksum 19:42:55 988bab9f4d93: Download complete 19:42:55 1469e6f7b9e6: Verifying Checksum 19:42:55 1469e6f7b9e6: Download complete 19:42:55 eaf3925da568: Verifying Checksum 19:42:55 eaf3925da568: Download complete 19:42:55 339a4e72a1f5: Verifying Checksum 19:42:55 339a4e72a1f5: Download complete 19:42:55 b352a97aabf1: Download complete 19:42:55 4872d77fe225: Download complete 19:42:55 5851b861e8e6: Download complete 19:42:55 b85a868b505f: Verifying Checksum 19:42:55 b85a868b505f: Download complete 19:42:56 bab4dde63d76: Verifying Checksum 19:42:56 bab4dde63d76: Download complete 19:42:56 b85a868b505f: Pull complete 19:42:56 e2be974225ed: Pull complete 19:42:57 339a4e72a1f5: Pull complete 19:42:57 988bab9f4d93: Pull complete 19:42:57 1469e6f7b9e6: Pull complete 19:42:57 eaf3925da568: Pull complete 19:42:59 bab4dde63d76: Pull complete 19:42:59 bde34c3a00c8: Pull complete 19:42:59 b352a97aabf1: Pull complete 19:42:59 4872d77fe225: Pull complete 19:42:59 5851b861e8e6: Pull complete 19:42:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:00 prd-ubuntu20.04-docker-8c-8g-14537 does not seem to be running inside a container 19:43:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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 19:43:02 $ docker top 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 -eo pid,comm 19:43:02 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). 19:43:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:02 [ssh-agent] Looking for ssh-agent implementation... 19:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:02 $ docker exec 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 ssh-agent 19:43:03 SSH_AUTH_SOCK=/tmp/ssh-ru3SQujnuNxd/agent.32 19:43:03 SSH_AGENT_PID=38 19:43:03 Running ssh-add (command line suppressed) 19:43:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_13591441709718042773.key (/w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_13591441709718042773.key) 19:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:03 + git tag --points-at HEAD [Pipeline] } 19:43:03 $ docker exec --env ******** --env ******** 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 ssh-agent -k 19:43:03 unset SSH_AUTH_SOCK; 19:43:03 unset SSH_AGENT_PID; 19:43:03 echo Agent pid 38 killed; 19:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:03 [ssh-agent] Looking for ssh-agent implementation... 19:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:03 $ docker exec 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 ssh-agent 19:43:03 SSH_AUTH_SOCK=/tmp/ssh-Vp4u3mMY02UR/agent.70 19:43:03 SSH_AGENT_PID=76 19:43:03 Running ssh-add (command line suppressed) 19:43:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_3943455985537983322.key (/w/workspace/undry_device-onvif-camera_PR-343@tmp/private_key_3943455985537983322.key) 19:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:04 + git semver init 19:43:04 2023-05-08 19:43:04,649 [run_init] DEBUG init version:0.0.0 force:False 19:43:04 2023-05-08 19:43:04,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-343/.semver 19:43:04 2023-05-08 19:43:04,651 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-343/.semver 19:43:04 2023-05-08 19:43:04,651 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-343/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-343, universal_newlines=False, shell=None, istream=None) 19:43:05 2023-05-08 19:43:05,567 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-343/.git/info/exclude 19:43:05 2023-05-08 19:43:05,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 with force:False 19:43:05 2023-05-08 19:43:05,567 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 19:43:05 2023-05-08 19:43:05,571 [execute] INFO git cat-file --batch-check 19:43:05 2023-05-08 19:43:05,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) 19:43:05 2023-05-08 19:43:05,578 [execute] INFO git cat-file --batch 19:43:05 2023-05-08 19:43:05,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) 19:43:05 2023-05-08 19:43:05,582 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-343/.semver/PR-343 19:43:05 0.0.0 [Pipeline] } 19:43:05 $ docker exec --env ******** --env ******** 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 ssh-agent -k 19:43:05 unset SSH_AUTH_SOCK; 19:43:05 unset SSH_AGENT_PID; 19:43:05 echo Agent pid 76 killed; 19:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:06 + git semver [Pipeline] } 19:43:06 $ docker stop --time=1 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 19:43:07 $ docker rm -f --volumes 8b06c28cfa161b5d6dab4f873d1fb35de4cd432758d63a3c5a08f47d349509e1 [Pipeline] // withDockerContainer [Pipeline] sh 19:43:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:43:08 Stashed 1 file(s) [Pipeline] echo 19:43:08 [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 19:43:08 provisioning config files... 19:43:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config9820581679301581566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:08 ---> docker-login.sh 19:43:08 nexus3.edgexfoundry.org:10001 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 nexus3.edgexfoundry.org:10002 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 nexus3.edgexfoundry.org:10003 19:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:09 Configure a credential helper to remove this warning. See 19:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:09 19:43:09 Login Succeeded 19:43:09 nexus3.edgexfoundry.org:10004 19:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:09 Configure a credential helper to remove this warning. See 19:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:09 19:43:09 Login Succeeded 19:43:09 docker.io 19:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:09 Configure a credential helper to remove this warning. See 19:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:09 19:43:09 Login Succeeded 19:43:09 ---> docker-login.sh ends [Pipeline] } 19:43:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:09 ========================================================= 19:43:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:43:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:09 + 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 . 19:43:09 Sending build context to Docker daemon 21.59MB 19:43:09 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:43:09 Step 2/13 : FROM ${BASE} AS builder 19:43:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:43:09 f56be85fc22e: Pulling fs layer 19:43:09 85791d961cd3: Pulling fs layer 19:43:09 d694b5ae8c79: Pulling fs layer 19:43:09 9f32a84ed3da: Pulling fs layer 19:43:09 4d19c01a9841: Pulling fs layer 19:43:09 9325e15d5711: Pulling fs layer 19:43:09 556b6ee489ea: Pulling fs layer 19:43:09 c5a4b2cf53e6: Pulling fs layer 19:43:09 9325e15d5711: Waiting 19:43:09 9f32a84ed3da: Waiting 19:43:09 556b6ee489ea: Waiting 19:43:09 c5a4b2cf53e6: Waiting 19:43:10 85791d961cd3: Download complete 19:43:10 9f32a84ed3da: Verifying Checksum 19:43:10 9f32a84ed3da: Download complete 19:43:10 f56be85fc22e: Verifying Checksum 19:43:10 f56be85fc22e: Download complete 19:43:10 4d19c01a9841: Verifying Checksum 19:43:10 4d19c01a9841: Download complete 19:43:10 9325e15d5711: Verifying Checksum 19:43:10 9325e15d5711: Download complete 19:43:10 f56be85fc22e: Pull complete 19:43:10 85791d961cd3: Pull complete 19:43:10 c5a4b2cf53e6: Download complete 19:43:10 d694b5ae8c79: Verifying Checksum 19:43:10 d694b5ae8c79: Download complete 19:43:10 556b6ee489ea: Verifying Checksum 19:43:10 556b6ee489ea: Download complete 19:43:14 d694b5ae8c79: Pull complete 19:43:14 9f32a84ed3da: Pull complete 19:43:14 4d19c01a9841: Pull complete 19:43:14 9325e15d5711: Pull complete 19:43:16 556b6ee489ea: Pull complete 19:43:17 c5a4b2cf53e6: Pull complete 19:43:17 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:43:17 ---> c4be618373d6 19:43:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:43:22 ---> Running in 2da0cde27301 19:43:22 Removing intermediate container 2da0cde27301 19:43:22 ---> e73c7b0e863f 19:43:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:43:22 ---> Running in bd832124fa14 19:43:22 Removing intermediate container bd832124fa14 19:43:22 ---> 4f53ec20c8e4 19:43:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:43:22 ---> Running in b27dd3c2ed8c 19:43:22 Removing intermediate container b27dd3c2ed8c 19:43:22 ---> 2e1f36b68d97 19:43:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:43:22 ---> Running in bcf63562551a 19:43:22 Removing intermediate container bcf63562551a 19:43:22 ---> 62ae0f9c73b5 19:43:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:43:22 ---> Running in e8b018eeac9f 19:43:22 Removing intermediate container e8b018eeac9f 19:43:22 ---> c46c47438708 19:43:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:22 ---> Running in b92da38043da 19:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:43:22 OK: 265 MiB in 53 packages 19:43:23 Removing intermediate container b92da38043da 19:43:23 ---> bc8239d7923f 19:43:23 Step 9/13 : WORKDIR /device-onvif-camera 19:43:23 ---> Running in e7f0b5f94a42 19:43:23 Removing intermediate container e7f0b5f94a42 19:43:23 ---> db177b0b3a5b 19:43:23 Step 10/13 : COPY go.mod vendor* ./ 19:43:23 Still waiting to schedule task 19:43:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14535’ is offline 19:43:23 ---> f01016533f34 19:43:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:23 ---> Running in 466509a097fd 19:44:02 Removing intermediate container 466509a097fd 19:44:02 ---> 87d5b139197f 19:44:02 Step 12/13 : COPY . . 19:44:02 ---> 01d36aadc35f 19:44:02 Step 13/13 : RUN ${MAKE} 19:44:02 ---> Running in 088563aefdbd 19:44:02 noop 19:44:02 Removing intermediate container 088563aefdbd 19:44:02 ---> 04b017d6443d 19:44:02 Successfully built 04b017d6443d 19:44:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:02 + docker inspect -f . ci-base-image-x86_64 19:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:02 prd-ubuntu20.04-docker-8c-8g-14537 does not seem to be running inside a container 19:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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 19:44:02 $ docker top 91eb994b2c08f1ba2bfb63e0963846a1e48544fd33f07301e154fc252af7d276 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:03 + go version 19:44:03 go version go1.20.2 linux/amd64 [Pipeline] } 19:44:03 $ docker stop --time=1 91eb994b2c08f1ba2bfb63e0963846a1e48544fd33f07301e154fc252af7d276 19:44:04 $ docker rm -f --volumes 91eb994b2c08f1ba2bfb63e0963846a1e48544fd33f07301e154fc252af7d276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:04 + docker inspect -f . ci-base-image-x86_64 19:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:05 prd-ubuntu20.04-docker-8c-8g-14537 does not seem to be running inside a container 19:44:05 $ 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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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 19:44:05 $ docker top b1fffcd8a5da5e724083a731d3c76ad1b7714ffb4ddb35a1dad64d144e54df5b -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:05 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-343 [Pipeline] fileExists [Pipeline] sh 19:44:06 + make test 19:44:06 go test ./... -coverprofile=coverage.out ./... 19:44:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:44:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:44:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:44:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 30.9% of statements 19:44:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.332s coverage: 86.5% of statements 19:44:31 go vet ./... 19:44:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:44:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:44:34 ./bin/test-attribution-txt.sh [Pipeline] echo 19:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:44:34 $ docker stop --time=1 b1fffcd8a5da5e724083a731d3c76ad1b7714ffb4ddb35a1dad64d144e54df5b 19:44:37 $ docker rm -f --volumes b1fffcd8a5da5e724083a731d3c76ad1b7714ffb4ddb35a1dad64d144e54df5b [Pipeline] // withDockerContainer [Pipeline] sh 19:44:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:44:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:44:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:44:39 + ls -al . 19:44:39 total 232 19:44:39 drwxrwxr-x 10 jenkins jenkins 4096 May 8 19:44 . 19:44:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:42 .. 19:44:39 drwxrwxr-x 8 jenkins jenkins 4096 May 8 19:43 .git 19:44:39 drwxrwxr-x 3 jenkins jenkins 4096 May 8 19:42 .github 19:44:39 -rw-rw-r-- 1 jenkins jenkins 496 May 8 19:42 .gitignore 19:44:39 -rw-rw-r-- 1 jenkins jenkins 42 May 8 19:42 .golangci.yml 19:44:39 drwxr-xr-x 3 jenkins jenkins 4096 May 8 19:43 .semver 19:44:39 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 19:42 Attribution.txt 19:44:39 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 19:42 CHANGELOG.md 19:44:39 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 19:42 Dockerfile 19:44:39 -rw-rw-r-- 1 jenkins jenkins 677 May 8 19:42 GOVERNANCE.md 19:44:39 -rw-rw-r-- 1 jenkins jenkins 734 May 8 19:42 Jenkinsfile 19:44:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 19:42 LICENSE 19:44:39 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 19:42 Makefile 19:44:39 -rw-rw-r-- 1 jenkins jenkins 625 May 8 19:42 OWNERS.md 19:44:39 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 19:42 README.md 19:44:39 -rw-rw-r-- 1 jenkins jenkins 5 May 8 19:43 VERSION 19:44:39 drwxrwxr-x 2 jenkins jenkins 4096 May 8 19:42 bin 19:44:39 drwxrwxr-x 3 jenkins jenkins 4096 May 8 19:42 cmd 19:44:39 -rw-r--r-- 1 jenkins jenkins 79213 May 8 19:44 coverage.out 19:44:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:42 doc 19:44:39 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 19:42 go.mod 19:44:39 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 19:42 go.sum 19:44:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:42 internal 19:44:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:42 snap 19:44:39 -rw-rw-r-- 1 jenkins jenkins 236 May 8 19:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:39 + 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=b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 --label arch=amd64 --label version=0.0.0 . 19:44:39 Sending build context to Docker daemon 21.67MB 19:44:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:44:39 Step 2/26 : FROM ${BASE} AS builder 19:44:39 ---> 04b017d6443d 19:44:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:44:40 ---> Running in 1def3d501687 19:44:40 Removing intermediate container 1def3d501687 19:44:40 ---> bebf437c6caf 19:44:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:44:40 ---> Running in 194fa6d8a284 19:44:40 Removing intermediate container 194fa6d8a284 19:44:40 ---> 8a0dc246f720 19:44:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:44:40 ---> Running in 714dbc1b8789 19:44:40 Removing intermediate container 714dbc1b8789 19:44:40 ---> 663195d15c4f 19:44:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:44:41 ---> Running in efa26f3840a3 19:44:41 Removing intermediate container efa26f3840a3 19:44:41 ---> c8f60bc48c8b 19:44:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:44:41 ---> Running in 7b1b95517784 19:44:41 Removing intermediate container 7b1b95517784 19:44:41 ---> b5bc3ac0cfdb 19:44:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:44:41 ---> Running in b78e175e5993 19:44:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:44:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:44:42 OK: 265 MiB in 53 packages 19:44:42 Removing intermediate container b78e175e5993 19:44:42 ---> 878a9e08c203 19:44:42 Step 9/26 : WORKDIR /device-onvif-camera 19:44:42 ---> Running in 3250cf18b596 19:44:42 Removing intermediate container 3250cf18b596 19:44:42 ---> 296647e876e6 19:44:42 Step 10/26 : COPY go.mod vendor* ./ 19:44:42 ---> 81652c20537c 19:44:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:44:42 ---> Running in 815c9008233f 19:44:43 Removing intermediate container 815c9008233f 19:44:43 ---> 27aca9522bcc 19:44:43 Step 12/26 : COPY . . 19:44:44 ---> 1cb741d7ef3f 19:44:44 Step 13/26 : RUN ${MAKE} 19:44:44 ---> Running in 895f93e3709b 19:44:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:44:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14538 in /w/workspace/undry_device-onvif-camera_PR-343 [Pipeline] { [Pipeline] ws 19:44:57 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 19:44:57 The recommended git tool is: git 19:45:03 using credential edgex-jenkins-ssh 19:45:03 Cloning the remote Git repository 19:45:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:45:03 > git init /w/workspace/device-onvif-camera/2 # timeout=10 19:45:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:45:03 > git --version # timeout=10 19:45:03 > git --version # 'git version 2.25.1' 19:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:45:06 Removing intermediate container 895f93e3709b 19:45:06 ---> 7aa62db7ef39 19:45:06 Step 14/26 : FROM alpine:3.17 19:45:06 3.17: Pulling from library/alpine 19:45:06 f56be85fc22e: Already exists 19:45:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:45:06 Status: Downloaded newer image for alpine:3.17 19:45:06 ---> 9ed4aefc74f6 19:45:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:45:06 ---> Running in cccf1b4973f5 19:45:06 Removing intermediate container cccf1b4973f5 19:45:06 ---> 88cef43cbffa 19:45:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:45:06 ---> Running in 1d025e8885de 19:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:45:06 (1/1) Installing dumb-init (1.2.5-r2) 19:45:06 Executing busybox-1.35.0-r29.trigger 19:45:06 OK: 7 MiB in 16 packages 19:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:45:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:45:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:45:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:45:06 Removing intermediate container 1d025e8885de 19:45:06 ---> aff3e99218a9 19:45:06 Step 17/26 : WORKDIR / 19:45:06 ---> Running in d9fbd06a1f70 19:45:07 Removing intermediate container d9fbd06a1f70 19:45:07 ---> 4f5bd2f4e138 19:45:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:45:07 Merging remotes/origin/main commit f98012d7d0d49bdee7157353e7b34a4041fe70f7 into PR head commit 5d9eb699af990b0bc96dbe4d91be1581c95e69b5 19:45:07 Merge succeeded, producing 28a78a6c237124af10d483ed0c2ecd70e7e372ec 19:45:07 Checking out Revision 28a78a6c237124af10d483ed0c2ecd70e7e372ec (PR-343) 19:45:08 ---> cf68a0059d98 19:45:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:45:08 ---> 8310de0011bf 19:45:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:45:07 > git config core.sparsecheckout # timeout=10 19:45:07 > git checkout -f 5d9eb699af990b0bc96dbe4d91be1581c95e69b5 # timeout=10 19:45:07 > git remote # timeout=10 19:45:07 > git config --get remote.origin.url # timeout=10 19:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:45:07 > git merge f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 19:45:07 > git rev-parse HEAD^{commit} # timeout=10 19:45:07 > git config core.sparsecheckout # timeout=10 19:45:07 > git checkout -f 28a78a6c237124af10d483ed0c2ecd70e7e372ec # timeout=10 19:45:08 ---> 2ab27890d051 19:45:08 Step 21/26 : EXPOSE 59984 19:45:08 ---> Running in 69b4c66ce2dc 19:45:08 Removing intermediate container 69b4c66ce2dc 19:45:08 ---> b133043d78c0 19:45:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:45:08 ---> Running in 94e2b7f09a36 19:45:08 Removing intermediate container 94e2b7f09a36 19:45:08 ---> 78bb2ca14e53 19:45:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:45:08 ---> Running in 5207b369f407 19:45:08 Removing intermediate container 5207b369f407 19:45:08 ---> fbac728a1971 19:45:08 Step 24/26 : LABEL arch=amd64 19:45:08 ---> Running in 1b0253a705d9 19:45:08 Removing intermediate container 1b0253a705d9 19:45:08 ---> 622f27adadd5 19:45:08 Step 25/26 : LABEL git_sha=b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 19:45:08 ---> Running in 161e16167996 19:45:08 Removing intermediate container 161e16167996 19:45:08 ---> 3c425b34f846 19:45:08 Step 26/26 : LABEL version=0.0.0 19:45:08 ---> Running in 59c33ef1adc4 19:45:09 Removing intermediate container 59c33ef1adc4 19:45:09 ---> f507f00cc4f6 19:45:09 [Warning] One or more build-args [ARCH] were not consumed 19:45:09 Successfully built f507f00cc4f6 19:45:09 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 19:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:09 19:45:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:09 latest: Pulling from edgex-lftools-log-publisher 19:45:09 5eb5b503b376: Pulling fs layer 19:45:09 5c69ac0246d0: Pulling fs layer 19:45:09 ec43610c2a17: Pulling fs layer 19:45:09 3a2ae6a8a46f: Pulling fs layer 19:45:09 33b1e0a273af: Pulling fs layer 19:45:09 5d3b04190fa2: Pulling fs layer 19:45:09 2f39f015ded8: Pulling fs layer 19:45:09 33b1e0a273af: Waiting 19:45:09 3a2ae6a8a46f: Waiting 19:45:09 5c69ac0246d0: Verifying Checksum 19:45:09 5c69ac0246d0: Download complete 19:45:09 3a2ae6a8a46f: Verifying Checksum 19:45:09 3a2ae6a8a46f: Download complete 19:45:09 33b1e0a273af: Verifying Checksum 19:45:09 33b1e0a273af: Download complete 19:45:10 5d3b04190fa2: Verifying Checksum 19:45:10 5d3b04190fa2: Download complete 19:45:10 ec43610c2a17: Verifying Checksum 19:45:10 ec43610c2a17: Download complete 19:45:10 5eb5b503b376: Download complete 19:45:10 2f39f015ded8: Verifying Checksum 19:45:10 2f39f015ded8: Download complete 19:45:11 5eb5b503b376: Pull complete 19:45:11 5c69ac0246d0: Pull complete 19:45:11 Commit message: "Merge commit 'f98012d7d0d49bdee7157353e7b34a4041fe70f7' into HEAD" 19:45:11 > git rev-list --no-walk c65c0a2b0bc4624b4c20498eec43121735dd657a # timeout=10 19:45:11 ec43610c2a17: Pull complete 19:45:11 3a2ae6a8a46f: Pull complete 19:45:11 33b1e0a273af: Pull complete 19:45:11 5d3b04190fa2: Pull complete 19:45:12 19:45:12 GitHub has been notified of this commit’s build result 19:45:12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:45:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:45:12 % Total % Received % Xferd Average Speed Time Time Time Current 19:45:12 Dload Upload Total Spent Left Speed 19:45:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 19:45:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:45:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 19:45:13 sudo tee /etc/docker/daemon.new 19:45:13 { 19:45:13 "registry-mirrors": [ 19:45:13 "https://nexus3.edgexfoundry.org:10001" 19:45:13 ], 19:45:13 "bip": "10.250.0.254/24", 19:45:13 "hosts": [ 19:45:13 "tcp://0.0.0.0:5555", 19:45:13 "unix:///var/run/docker.sock" 19:45:13 ], 19:45:13 "mtu": 1458, 19:45:13 "selinux-enabled": true, 19:45:13 "seccomp-profile": "/etc/docker/seccomp.json" 19:45:13 } [Pipeline] sh 19:45:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:45:14 + sudo service docker restart 19:45:16 2f39f015ded8: Pull complete 19:45:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:45:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:45:16 prd-ubuntu20.04-docker-8c-8g-14537 does not seem to be running inside a container 19:45:16 $ 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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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 19:45:19 $ docker top 49b4a0925dac69af92d31c5594e9798e306815365897e70805e275ab503c2e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:19 ---> job-cost.sh 19:45:19 lf-activate-venv: SKIPPING 19:45:19 INFO: No Stack... 19:45:19 INFO: Retrieving Pricing Info for: v3-standard-8 19:45:20 INFO: Archiving Costs [Pipeline] sh 19:45:20 + cat /w/workspace/undry_device-onvif-camera_PR-343/archives/cost.csv 19:45:20 + cut -d, -f6 [Pipeline] lock 19:45:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] 19:45:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] did not exist. Created. 19:45:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:45:20 + echo total: 0.2199999988079071 [Pipeline] stash 19:45:20 Stashed 1 file(s) [Pipeline] } 19:45:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:45:20 $ docker stop --time=1 49b4a0925dac69af92d31c5594e9798e306815365897e70805e275ab503c2e30 19:45:21 $ docker rm -f --volumes 49b4a0925dac69af92d31c5594e9798e306815365897e70805e275ab503c2e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:32 provisioning config files... 19:45:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config16446329756693992383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:33 ---> docker-login.sh 19:45:33 nexus3.edgexfoundry.org:10001 19:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:33 Configure a credential helper to remove this warning. See 19:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:33 19:45:33 Login Succeeded 19:45:33 nexus3.edgexfoundry.org:10002 19:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:34 Configure a credential helper to remove this warning. See 19:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:34 19:45:34 Login Succeeded 19:45:34 nexus3.edgexfoundry.org:10003 19:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:34 Configure a credential helper to remove this warning. See 19:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:34 19:45:34 Login Succeeded 19:45:34 nexus3.edgexfoundry.org:10004 19:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:34 Configure a credential helper to remove this warning. See 19:45:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:34 19:45:34 Login Succeeded 19:45:34 docker.io 19:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:35 Configure a credential helper to remove this warning. See 19:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:35 19:45:35 Login Succeeded 19:45:35 ---> docker-login.sh ends [Pipeline] } 19:45:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:35 ========================================================= 19:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:36 + 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 . 19:45:36 Sending build context to Docker daemon 14.23MB 19:45:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:45:36 Step 2/13 : FROM ${BASE} AS builder 19:45:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:45:36 c41833b44d91: Pulling fs layer 19:45:36 ed15518f5707: Pulling fs layer 19:45:36 feae8fd75edb: Pulling fs layer 19:45:36 242c74f7c9fa: Pulling fs layer 19:45:36 3cdef696dda3: Pulling fs layer 19:45:36 2ced38df9373: Pulling fs layer 19:45:36 58f1dce35555: Pulling fs layer 19:45:36 242c74f7c9fa: Waiting 19:45:36 58f1dce35555: Waiting 19:45:36 3cdef696dda3: Waiting 19:45:36 2ced38df9373: Waiting 19:45:36 ed15518f5707: Verifying Checksum 19:45:36 ed15518f5707: Download complete 19:45:36 242c74f7c9fa: Verifying Checksum 19:45:36 242c74f7c9fa: Download complete 19:45:36 3cdef696dda3: Verifying Checksum 19:45:36 3cdef696dda3: Download complete 19:45:36 c41833b44d91: Verifying Checksum 19:45:36 c41833b44d91: Download complete 19:45:37 c41833b44d91: Pull complete 19:45:38 58f1dce35555: Verifying Checksum 19:45:38 58f1dce35555: Download complete 19:45:38 ed15518f5707: Pull complete 19:45:39 feae8fd75edb: Verifying Checksum 19:45:39 feae8fd75edb: Download complete 19:45:39 2ced38df9373: Verifying Checksum 19:45:39 2ced38df9373: Download complete 19:45:51 feae8fd75edb: Pull complete 19:45:51 242c74f7c9fa: Pull complete 19:45:51 3cdef696dda3: Pull complete 19:45:57 2ced38df9373: Pull complete 19:45:59 58f1dce35555: Pull complete 19:45:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:45:59 ---> fadd8f120f05 19:45:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:46:01 ---> Running in 7d3d18d81c3b 19:46:01 Removing intermediate container 7d3d18d81c3b 19:46:01 ---> 286c3bdefe07 19:46:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:46:01 ---> Running in c66c63ae97c4 19:46:01 Removing intermediate container c66c63ae97c4 19:46:01 ---> 76aa9f6d8da9 19:46:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:46:01 ---> Running in 45205d1de8a8 19:46:02 Removing intermediate container 45205d1de8a8 19:46:02 ---> 566e72b8f465 19:46:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:46:02 ---> Running in 66acfc660e3b 19:46:02 Removing intermediate container 66acfc660e3b 19:46:02 ---> 6b31a3417570 19:46:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:46:02 ---> Running in ca4c7555e1fc 19:46:03 Removing intermediate container ca4c7555e1fc 19:46:03 ---> b7cfe828d910 19:46:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:46:03 ---> Running in cac172ef7cb0 19:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:46:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:46:05 OK: 263 MiB in 53 packages 19:46:06 Removing intermediate container cac172ef7cb0 19:46:06 ---> 16dcd85abd50 19:46:06 Step 9/13 : WORKDIR /device-onvif-camera 19:46:06 ---> Running in a1fd106225e9 19:46:07 Removing intermediate container a1fd106225e9 19:46:07 ---> 0f028d190292 19:46:07 Step 10/13 : COPY go.mod vendor* ./ 19:46:07 ---> 13c4bcf305f9 19:46:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:46:07 ---> Running in 8bc6489faea4 19:47:15 Removing intermediate container 8bc6489faea4 19:47:15 ---> e2c6bc68d61f 19:47:15 Step 12/13 : COPY . . 19:47:15 ---> b7f9dc3ad6ba 19:47:15 Step 13/13 : RUN ${MAKE} 19:47:15 ---> Running in a4511b9e869f 19:47:15 noop 19:47:15 Removing intermediate container a4511b9e869f 19:47:15 ---> 17a6fe40935a 19:47:15 Successfully built 17a6fe40935a 19:47:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:15 + docker inspect -f . ci-base-image-arm64 19:47:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:16 prd-ubuntu20.04-docker-arm64-4c-16g-14538 does not seem to be running inside a container 19:47:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:47:17 $ docker top 07b61894f3291b8c4c1e23e1e336d4fcb715f60e7eaad91f0e874e2fa76c79d8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:47:18 + go version 19:47:18 go version go1.20.2 linux/arm64 [Pipeline] } 19:47:18 $ docker stop --time=1 07b61894f3291b8c4c1e23e1e336d4fcb715f60e7eaad91f0e874e2fa76c79d8 19:47:19 $ docker rm -f --volumes 07b61894f3291b8c4c1e23e1e336d4fcb715f60e7eaad91f0e874e2fa76c79d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:20 + docker inspect -f . ci-base-image-arm64 19:47:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:20 prd-ubuntu20.04-docker-arm64-4c-16g-14538 does not seem to be running inside a container 19:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:47:21 $ docker top dd21ada033b97a3b71e4896e71541c064b7d9d1be9e50990fbd594c75475212f -eo pid,comm [Pipeline] { [Pipeline] sh 19:47:22 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 19:47:22 + make test 19:47:22 go test ./... -coverprofile=coverage.out ./... 19:47:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:50:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:50:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:50:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.362s coverage: 30.9% of statements 19:50:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.187s coverage: 86.5% of statements 19:50:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:50:24 go vet ./... 19:50:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:50:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:50:50 ./bin/test-attribution-txt.sh [Pipeline] echo 19:50:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:50:51 $ docker stop --time=1 dd21ada033b97a3b71e4896e71541c064b7d9d1be9e50990fbd594c75475212f 19:50:52 $ docker rm -f --volumes dd21ada033b97a3b71e4896e71541c064b7d9d1be9e50990fbd594c75475212f [Pipeline] // withDockerContainer [Pipeline] sh 19:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:50:54 Warning: overwriting stash ‘coverage-report’ 19:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:50:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:50:55 + ls -al . 19:50:55 total 228 19:50:55 drwxrwxr-x 9 jenkins jenkins 4096 May 8 19:47 . 19:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:45 .. 19:50:55 drwxrwxr-x 8 jenkins jenkins 4096 May 8 19:45 .git 19:50:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 19:45 .github 19:50:55 -rw-rw-r-- 1 jenkins jenkins 496 May 8 19:45 .gitignore 19:50:55 -rw-rw-r-- 1 jenkins jenkins 42 May 8 19:45 .golangci.yml 19:50:55 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 19:45 Attribution.txt 19:50:55 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 19:45 CHANGELOG.md 19:50:55 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 19:45 Dockerfile 19:50:55 -rw-rw-r-- 1 jenkins jenkins 677 May 8 19:45 GOVERNANCE.md 19:50:55 -rw-rw-r-- 1 jenkins jenkins 734 May 8 19:45 Jenkinsfile 19:50:55 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 19:45 LICENSE 19:50:55 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 19:45 Makefile 19:50:55 -rw-rw-r-- 1 jenkins jenkins 625 May 8 19:45 OWNERS.md 19:50:55 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 19:45 README.md 19:50:55 -rw-rw-r-- 1 jenkins jenkins 5 May 8 19:43 VERSION 19:50:55 drwxrwxr-x 2 jenkins jenkins 4096 May 8 19:45 bin 19:50:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 19:45 cmd 19:50:55 -rw-r--r-- 1 jenkins jenkins 79213 May 8 19:50 coverage.out 19:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:45 doc 19:50:55 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 19:45 go.mod 19:50:55 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 19:45 go.sum 19:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:45 internal 19:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 8 19:45 snap 19:50:55 -rw-rw-r-- 1 jenkins jenkins 236 May 8 19:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:55 + 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=28a78a6c237124af10d483ed0c2ecd70e7e372ec --label arch=arm64 --label version=0.0.0 . 19:50:56 Sending build context to Docker daemon 14.31MB 19:50:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:50:56 Step 2/26 : FROM ${BASE} AS builder 19:50:56 ---> 17a6fe40935a 19:50:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:50:58 ---> Running in 224b762f91aa 19:50:58 Removing intermediate container 224b762f91aa 19:50:58 ---> 03fc7998085e 19:50:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:50:58 ---> Running in 55095b0a109b 19:50:58 Removing intermediate container 55095b0a109b 19:50:58 ---> 25a5b310d192 19:50:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:50:59 ---> Running in ca94c589de01 19:50:59 Removing intermediate container ca94c589de01 19:50:59 ---> 68d4dab75d37 19:50:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:50:59 ---> Running in 52b70015562d 19:50:59 Removing intermediate container 52b70015562d 19:50:59 ---> d5769f9175c8 19:50:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:50:59 ---> Running in 8f5a68bee06d 19:50:59 Removing intermediate container 8f5a68bee06d 19:50:59 ---> 8661858a8a61 19:50:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:50:59 ---> Running in aed7ed62a9d7 19:51:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:51:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:51:02 OK: 263 MiB in 53 packages 19:51:03 Removing intermediate container aed7ed62a9d7 19:51:03 ---> 4f836b8d6991 19:51:03 Step 9/26 : WORKDIR /device-onvif-camera 19:51:03 ---> Running in 079c99c11bcb 19:51:03 Removing intermediate container 079c99c11bcb 19:51:03 ---> 462935aa2434 19:51:03 Step 10/26 : COPY go.mod vendor* ./ 19:51:04 ---> 254e26b8a9a4 19:51:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:04 ---> Running in f24d58c8373f 19:51:06 Removing intermediate container f24d58c8373f 19:51:06 ---> bae847b17e64 19:51:06 Step 12/26 : COPY . . 19:51:08 ---> 31983634b517 19:51:08 Step 13/26 : RUN ${MAKE} 19:51:08 ---> Running in 9b557f063a76 19:51:09 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 19:53:31 Removing intermediate container 9b557f063a76 19:53:31 ---> 2f9b54ad8f47 19:53:31 Step 14/26 : FROM alpine:3.17 19:53:31 3.17: Pulling from library/alpine 19:53:31 c41833b44d91: Already exists 19:53:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:53:31 Status: Downloaded newer image for alpine:3.17 19:53:31 ---> 51e60588ff2c 19:53:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:53:31 ---> Running in d48d51bd19d6 19:53:31 Removing intermediate container d48d51bd19d6 19:53:31 ---> 2b0c0f602ffe 19:53:31 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:53:31 ---> Running in ecf32e2c57ea 19:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:53:31 (1/1) Installing dumb-init (1.2.5-r2) 19:53:31 Executing busybox-1.35.0-r29.trigger 19:53:31 OK: 8 MiB in 16 packages 19:53:31 Removing intermediate container ecf32e2c57ea 19:53:31 ---> 626f563cfd0a 19:53:31 Step 17/26 : WORKDIR / 19:53:31 ---> Running in b8578585e10e 19:53:31 Removing intermediate container b8578585e10e 19:53:31 ---> 0f64a4082ed2 19:53:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:53:31 ---> 3d3f6d30baa6 19:53:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:53:31 ---> d704e38f3a5d 19:53:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:53:31 ---> cc9c8dd78f08 19:53:31 Step 21/26 : EXPOSE 59984 19:53:31 ---> Running in 900eb43beeb9 19:53:31 Removing intermediate container 900eb43beeb9 19:53:31 ---> d2b452cfe41e 19:53:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:53:31 ---> Running in e4a790f7260c 19:53:31 Removing intermediate container e4a790f7260c 19:53:31 ---> c2f2af7506df 19:53:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:53:31 ---> Running in 23a7717d8452 19:53:31 Removing intermediate container 23a7717d8452 19:53:31 ---> 57a5faffb458 19:53:31 Step 24/26 : LABEL arch=arm64 19:53:31 ---> Running in 6220aa75f689 19:53:31 Removing intermediate container 6220aa75f689 19:53:31 ---> eacc877abf79 19:53:31 Step 25/26 : LABEL git_sha=28a78a6c237124af10d483ed0c2ecd70e7e372ec 19:53:31 ---> Running in 5a2af25da436 19:53:31 Removing intermediate container 5a2af25da436 19:53:31 ---> 3e0baead8d88 19:53:31 Step 26/26 : LABEL version=0.0.0 19:53:31 ---> Running in 265e01cb53d1 19:53:31 Removing intermediate container 265e01cb53d1 19:53:31 ---> 354b0aefb633 19:53:31 [Warning] One or more build-args [ARCH] were not consumed 19:53:31 Successfully built 354b0aefb633 19:53:31 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 19:53:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:31 19:53:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:31 arm64: Pulling from edgex-lftools-log-publisher 19:53:31 8998bd30e6a1: Pulling fs layer 19:53:31 04944245beec: Pulling fs layer 19:53:31 699f458cf7ca: Pulling fs layer 19:53:31 765212b225bb: Pulling fs layer 19:53:31 f23df028b6ca: Pulling fs layer 19:53:31 d65c8cfc05b1: Pulling fs layer 19:53:31 2437ff75d9bd: Pulling fs layer 19:53:31 f23df028b6ca: Waiting 19:53:31 d65c8cfc05b1: Waiting 19:53:31 2437ff75d9bd: Waiting 19:53:31 765212b225bb: Waiting 19:53:32 04944245beec: Verifying Checksum 19:53:32 04944245beec: Download complete 19:53:32 765212b225bb: Verifying Checksum 19:53:32 765212b225bb: Download complete 19:53:32 f23df028b6ca: Verifying Checksum 19:53:32 f23df028b6ca: Download complete 19:53:32 d65c8cfc05b1: Verifying Checksum 19:53:32 d65c8cfc05b1: Download complete 19:53:32 699f458cf7ca: Verifying Checksum 19:53:32 699f458cf7ca: Download complete 19:53:32 8998bd30e6a1: Verifying Checksum 19:53:32 8998bd30e6a1: Download complete 19:53:34 2437ff75d9bd: Verifying Checksum 19:53:34 2437ff75d9bd: Download complete 19:53:36 8998bd30e6a1: Pull complete 19:53:37 04944245beec: Pull complete 19:53:39 699f458cf7ca: Pull complete 19:53:39 765212b225bb: Pull complete 19:53:39 f23df028b6ca: Pull complete 19:53:40 d65c8cfc05b1: Pull complete 19:53:55 2437ff75d9bd: Pull complete 19:53:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:53:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:55 prd-ubuntu20.04-docker-arm64-4c-16g-14538 does not seem to be running inside a container 19:53:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:53:58 $ docker top e71e6750d4181a19a14e66d65a77bae02e1e821e5e02c0e1847d61ec5ca8e42c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:59 ---> job-cost.sh 19:53:59 lf-activate-venv: SKIPPING 19:53:59 INFO: No Stack... 19:53:59 INFO: Retrieving Pricing Info for: v3-standard-4 19:54:00 INFO: Archiving Costs [Pipeline] sh 19:54:00 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 19:54:00 + cut -d, -f6 [Pipeline] lock 19:54:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] 19:54:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] did not exist. Created. 19:54:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:54:00 /w/workspace/device-onvif-camera/2@tmp/durable-a08818fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:54:01 + echo total: 0.10999999940395355 [Pipeline] stash 19:54:01 Warning: overwriting stash ‘stack-cost’ 19:54:01 Stashed 1 file(s) [Pipeline] } 19:54:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-343-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:54:01 $ docker stop --time=1 e71e6750d4181a19a14e66d65a77bae02e1e821e5e02c0e1847d61ec5ca8e42c 19:54:04 $ docker rm -f --volumes e71e6750d4181a19a14e66d65a77bae02e1e821e5e02c0e1847d61ec5ca8e42c [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 19:54:05 provisioning config files... 19:54:05 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config5395575851681058765tmp [Pipeline] { [Pipeline] sh 19:54:05 + set +x 19:54:05 + curl -s https://codecov.io/bash 19:54:05 + bash -s -- 19:54:05 19:54:05 _____ _ 19:54:05 / ____| | | 19:54:05 | | ___ __| | ___ ___ _____ __ 19:54:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:54:05 | |___| (_) | (_| | __/ (_| (_) \ V / 19:54:05 \_____\___/ \__,_|\___|\___\___/ \_/ 19:54:05 Bash-1.0.6 19:54:05 19:54:05 19:54:05 ==> git version 2.25.1 found 19:54:05 ==> 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 19:54:05 Release-Date: 2020-01-08 19:54:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:54:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:54:05 ==> Jenkins CI detected. 19:54:05 current dir:  /w/workspace/undry_device-onvif-camera_PR-343 19:54:05 project root: . 19:54:05 --> token set from env 19:54:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:54:05 ==> Running gcov in . (disable via -X gcov) 19:54:05 ==> Python coveragepy not found 19:54:05 ==> Searching for coverage reports in: 19:54:05 + . 19:54:05 -> Found 1 reports 19:54:05 ==> Detecting git/mercurial file structure 19:54:05 ==> Reading reports 19:54:05 + ./coverage.out bytes=79213 19:54:05 ==> Appending adjustments 19:54:05 https://docs.codecov.io/docs/fixing-reports 19:54:05 + Found adjustments 19:54:05 ==> Gzipping contents 19:54:05 12K /tmp/codecov.jPAofs.gz 19:54:05 ==> Uploading reports 19:54:05 url: https://codecov.io 19:54:05 query: branch=PR-343&commit=b4ec89c2f9447af17ecfa1e7417ef943e0afcf67&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=343&job=&cmd_args= 19:54:05 -> Pinging Codecov 19:54:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-343&commit=b4ec89c2f9447af17ecfa1e7417ef943e0afcf67&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=343&job=&cmd_args= 19:54:06 -> Uploading to 19:54:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/F29A59C45E3A92E06B3E522C9905F8EF/b4ec89c2f9447af17ecfa1e7417ef943e0afcf67/f70cd8ff-d60f-44b2-864a-7966e4ada32d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T195405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dab29f2428852a0b92fea29318863de9de7f6d6b59084c4866d9760814be6e87 19:54:06 % Total % Received % Xferd Average Speed Time Time Time Current 19:54:06 Dload Upload Total Spent Left Speed 19:54:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 49910 --:--:-- --:--:-- --:--:-- 49910 19:54:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b4ec89c2f9447af17ecfa1e7417ef943e0afcf67 [Pipeline] } 19:54:06 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 19:54:07 + [ -d /w/workspace/undry_device-onvif-camera_PR-343/archives ] 19:54:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-343/archives 19:54:07 total 16 19:54:07 drwxr-xr-x 3 root root 4096 May 8 19:45 . 19:54:07 drwxrwxr-x 11 jenkins jenkins 4096 May 8 19:45 .. 19:54:07 drwxr-xr-x 2 root root 4096 May 8 19:45 cost 19:54:07 -rw-r--r-- 1 root root 91 May 8 19:45 cost.csv 19:54:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-343/archives 19:54:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-343/archives 19:54:07 total 16 19:54:07 drwxr-xr-x 3 jenkins jenkins 4096 May 8 19:45 . 19:54:07 drwxrwxr-x 11 jenkins jenkins 4096 May 8 19:45 .. 19:54:07 drwxr-xr-x 2 jenkins jenkins 4096 May 8 19:45 cost 19:54:07 -rw-r--r-- 1 jenkins jenkins 91 May 8 19:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:54:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:54:08 ---> package-listing.sh 19:54:08 ++ facter osfamily 19:54:08 ++ tr '[:upper:]' '[:lower:]' 19:54:08 + OS_FAMILY=debian 19:54:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-343 19:54:08 + START_PACKAGES=/tmp/packages_start.txt 19:54:08 + END_PACKAGES=/tmp/packages_end.txt 19:54:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:54:08 + PACKAGES=/tmp/packages_start.txt 19:54:08 + '[' /w/workspace/undry_device-onvif-camera_PR-343 ']' 19:54:08 + PACKAGES=/tmp/packages_end.txt 19:54:08 + case "${OS_FAMILY}" in 19:54:08 + dpkg -l 19:54:08 + grep '^ii' 19:54:08 + '[' -f /tmp/packages_start.txt ']' 19:54:08 + '[' -f /tmp/packages_end.txt ']' 19:54:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:54:08 + '[' /w/workspace/undry_device-onvif-camera_PR-343 ']' 19:54:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-343/archives/ 19:54:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-343/archives/ [Pipeline] echo 19:54:08 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:54:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:54:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:09 prd-ubuntu20.04-docker-8c-8g-14537 does not seem to be running inside a container 19:54:09 $ 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-343/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-343 -v /w/workspace/undry_device-onvif-camera_PR-343:/w/workspace/undry_device-onvif-camera_PR-343:rw,z -v /w/workspace/undry_device-onvif-camera_PR-343@tmp:/w/workspace/undry_device-onvif-camera_PR-343@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 19:54:09 $ docker top d3e8eb6c5cbd7a60b7097cf4054bbcc292a447e69439a2e3c0d587f00a81003f -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:10 + touch /tmp/pre-build-complete [Pipeline] sh 19:54:10 + mkdir -p /var/log/sysstat [Pipeline] sh 19:54:10 + ls /var/log/sa-host 19:54:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:10 provisioning config files... 19:54:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-343@tmp/config13765368614383788744tmp [Pipeline] { [Pipeline] echo 19:54:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:54:11 ---> create-netrc.sh [Pipeline] } 19:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:54:11 ---> python-tools-install.sh [Pipeline] echo 19:54:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:54:11 ---> sudo-logs.sh 19:54:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:54:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:54:12 ---> job-cost.sh 19:54:12 lf-activate-venv: SKIPPING 19:54:12 DEBUG: total: 0.2199999988079071 19:54:12 INFO: Retrieving Stack Cost... 19:54:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:54:12 INFO: Archiving Costs [Pipeline] echo 19:54:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:54:13 ---> logs-deploy.sh 19:54:13 lf-activate-venv: SKIPPING 19:54:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-343/2 19:54:13 INFO: archiving workspace using pattern(s): 19:54:14 Archives upload complete. 19:54:14 INFO: archiving logs to Nexus