Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 1961be3dbf536bee699796c7591b42b4c7bef829 rather than 5580041d3ff95d0a8acb40a484b8a109d49e3d3f Obtained Jenkinsfile from 1961be3dbf536bee699796c7591b42b4c7bef829 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-ssh3144628175565454594.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-ssh9205127482066794120.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7817424733024562320.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-ssh9140429681398819068.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8422042046029973950.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14807’ Running on prd-ubuntu20.04-docker-8c-8g-14810 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 5580041d3ff95d0a8acb40a484b8a109d49e3d3f Merge succeeded, producing cd87ac911b76bca8e72b77eb620251eb040251f9 Checking out Revision cd87ac911b76bca8e72b77eb620251eb040251f9 (PR-347) > git config core.sparsecheckout # timeout=10 > git checkout -f 5580041d3ff95d0a8acb40a484b8a109d49e3d3f # 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 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd87ac911b76bca8e72b77eb620251eb040251f9 # timeout=10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:03 ========================================================= 23:08:03 EdgeX Global Pipelines Version Info 23:08:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8dfcac28aadede62af49ce5f537a610e5c34e877 # timeout=10 23:08:03 ------------------- 23:08:03 stable info: 23:08:03 ------------------- 23:08:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:08:03 Message: update stable to v1.0.249 23:08:04 ------------------- 23:08:04 experimental info: 23:08:04 ------------------- 23:08:04 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:08:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd87ac911b76bca8e72b77eb620251eb040251f9 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd87ac9 [Pipeline] echo 23:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:05 provisioning config files... 23:08:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config2358593484859773867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:05 ---> docker-login.sh 23:08:05 nexus3.edgexfoundry.org:10001 23:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:05 Configure a credential helper to remove this warning. See 23:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:05 23:08:05 Login Succeeded 23:08:05 nexus3.edgexfoundry.org:10002 23:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:05 Configure a credential helper to remove this warning. See 23:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:05 23:08:05 Login Succeeded 23:08:05 nexus3.edgexfoundry.org:10003 23:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:05 Configure a credential helper to remove this warning. See 23:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:05 23:08:05 Login Succeeded 23:08:05 nexus3.edgexfoundry.org:10004 23:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:06 Configure a credential helper to remove this warning. See 23:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:06 23:08:06 Login Succeeded 23:08:06 docker.io 23:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:06 Configure a credential helper to remove this warning. See 23:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:06 23:08:06 Login Succeeded 23:08:06 ---> docker-login.sh ends [Pipeline] } 23:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:06 + git rev-list -1 --merges cd87ac911b76bca8e72b77eb620251eb040251f9~1..cd87ac911b76bca8e72b77eb620251eb040251f9 [Pipeline] echo 23:08:06 -----------> git rev-list -1 --merges cd87ac911b76bca8e72b77eb620251eb040251f9~1..cd87ac911b76bca8e72b77eb620251eb040251f9 cd87ac911b76bca8e72b77eb620251eb040251f9 23:08:06 cd87ac911b76bca8e72b77eb620251eb040251f9 [false] [Pipeline] sh 23:08:07 + git log --format=format:%s -1 cd87ac911b76bca8e72b77eb620251eb040251f9 [Pipeline] echo 23:08:07 ========================================================= 23:08:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:07 + git log --format=format:%s -1 cd87ac911b76bca8e72b77eb620251eb040251f9 [Pipeline] echo 23:08:07 [semverPrep] GIT_COMMIT: cd87ac911b76bca8e72b77eb620251eb040251f9, Commit Message: Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD [Pipeline] echo 23:08:07 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:07 + grep -v github /etc/ssh/ssh_known_hosts 23:08:07 + [ -e /tmp/ssh_known_hosts ] 23:08:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:07 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:08 23:08:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:08 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:08 b85a868b505f: Pulling fs layer 23:08:08 e2be974225ed: Pulling fs layer 23:08:08 339a4e72a1f5: Pulling fs layer 23:08:08 988bab9f4d93: Pulling fs layer 23:08:08 1469e6f7b9e6: Pulling fs layer 23:08:08 eaf3925da568: Pulling fs layer 23:08:08 bab4dde63d76: Pulling fs layer 23:08:08 bde34c3a00c8: Pulling fs layer 23:08:08 b352a97aabf1: Pulling fs layer 23:08:08 4872d77fe225: Pulling fs layer 23:08:08 5851b861e8e6: Pulling fs layer 23:08:08 1469e6f7b9e6: Waiting 23:08:08 eaf3925da568: Waiting 23:08:08 bab4dde63d76: Waiting 23:08:08 bde34c3a00c8: Waiting 23:08:08 b352a97aabf1: Waiting 23:08:08 4872d77fe225: Waiting 23:08:08 988bab9f4d93: Waiting 23:08:08 5851b861e8e6: Waiting 23:08:08 e2be974225ed: Verifying Checksum 23:08:08 e2be974225ed: Download complete 23:08:08 988bab9f4d93: Verifying Checksum 23:08:08 988bab9f4d93: Download complete 23:08:08 1469e6f7b9e6: Verifying Checksum 23:08:08 1469e6f7b9e6: Download complete 23:08:08 eaf3925da568: Download complete 23:08:08 339a4e72a1f5: Verifying Checksum 23:08:08 339a4e72a1f5: Download complete 23:08:08 bde34c3a00c8: Verifying Checksum 23:08:08 bde34c3a00c8: Download complete 23:08:08 b352a97aabf1: Verifying Checksum 23:08:08 b352a97aabf1: Download complete 23:08:08 4872d77fe225: Verifying Checksum 23:08:08 4872d77fe225: Download complete 23:08:08 5851b861e8e6: Verifying Checksum 23:08:08 5851b861e8e6: Download complete 23:08:08 b85a868b505f: Verifying Checksum 23:08:08 b85a868b505f: Download complete 23:08:09 bab4dde63d76: Verifying Checksum 23:08:09 bab4dde63d76: Download complete 23:08:10 b85a868b505f: Pull complete 23:08:10 e2be974225ed: Pull complete 23:08:10 339a4e72a1f5: Pull complete 23:08:10 988bab9f4d93: Pull complete 23:08:11 1469e6f7b9e6: Pull complete 23:08:11 eaf3925da568: Pull complete 23:08:13 bab4dde63d76: Pull complete 23:08:13 bde34c3a00c8: Pull complete 23:08:13 b352a97aabf1: Pull complete 23:08:13 4872d77fe225: Pull complete 23:08:13 5851b861e8e6: Pull complete 23:08:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:13 prd-ubuntu20.04-docker-8c-8g-14810 does not seem to be running inside a container 23:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:08:14 $ docker top 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 -eo pid,comm 23:08:14 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). 23:08:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:14 [ssh-agent] Looking for ssh-agent implementation... 23:08:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:14 $ docker exec 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 ssh-agent 23:08:14 SSH_AUTH_SOCK=/tmp/ssh-6HHid4ZLZmZE/agent.33 23:08:14 SSH_AGENT_PID=39 23:08:14 Running ssh-add (command line suppressed) 23:08:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_3427992049076122962.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_3427992049076122962.key) 23:08:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:15 + git tag --points-at HEAD [Pipeline] } 23:08:15 $ docker exec --env ******** --env ******** 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 ssh-agent -k 23:08:15 unset SSH_AUTH_SOCK; 23:08:15 unset SSH_AGENT_PID; 23:08:15 echo Agent pid 39 killed; 23:08:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:15 [ssh-agent] Looking for ssh-agent implementation... 23:08:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:15 $ docker exec 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 ssh-agent 23:08:15 SSH_AUTH_SOCK=/tmp/ssh-NbrF6GxuAL5N/agent.71 23:08:15 SSH_AGENT_PID=77 23:08:15 Running ssh-add (command line suppressed) 23:08:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_8628915660234707001.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_8628915660234707001.key) 23:08:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:15 + git semver init 23:08:16 2023-05-09 23:08:16,002 [run_init] DEBUG init version:0.0.0 force:False 23:08:16 2023-05-09 23:08:16,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 23:08:16 2023-05-09 23:08:16,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 23:08:16 2023-05-09 23:08:16,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 23:08:17 2023-05-09 23:08:16,810 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 23:08:17 2023-05-09 23:08:16,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 23:08:17 2023-05-09 23:08:16,810 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 23:08:17 2023-05-09 23:08:16,814 [execute] INFO git cat-file --batch-check 23:08:17 2023-05-09 23:08:16,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 23:08:17 2023-05-09 23:08:16,822 [execute] INFO git cat-file --batch 23:08:17 2023-05-09 23:08:16,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 23:08:17 2023-05-09 23:08:16,826 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 23:08:17 0.0.0 [Pipeline] } 23:08:17 $ docker exec --env ******** --env ******** 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 ssh-agent -k 23:08:17 unset SSH_AUTH_SOCK; 23:08:17 unset SSH_AGENT_PID; 23:08:17 echo Agent pid 77 killed; 23:08:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:17 + git semver [Pipeline] } 23:08:17 $ docker stop --time=1 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 23:08:18 $ docker rm -f --volumes 97ab2bee72f630566af38b57e00fdb78071459cc6babdd3776c082a178acb638 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:19 Stashed 1 file(s) [Pipeline] echo 23:08:19 [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 23:08:19 provisioning config files... 23:08:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config4699336298842919707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:20 ---> docker-login.sh 23:08:20 nexus3.edgexfoundry.org:10001 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:20 Configure a credential helper to remove this warning. See 23:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:20 23:08:20 Login Succeeded 23:08:20 nexus3.edgexfoundry.org:10002 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:20 Configure a credential helper to remove this warning. See 23:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:20 23:08:20 Login Succeeded 23:08:20 nexus3.edgexfoundry.org:10003 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:20 Configure a credential helper to remove this warning. See 23:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:20 23:08:20 Login Succeeded 23:08:20 nexus3.edgexfoundry.org:10004 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:20 Configure a credential helper to remove this warning. See 23:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:20 23:08:20 Login Succeeded 23:08:20 docker.io 23:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:20 Configure a credential helper to remove this warning. See 23:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:20 23:08:20 Login Succeeded 23:08:20 ---> docker-login.sh ends [Pipeline] } 23:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:20 ========================================================= 23:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:08:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:20 + 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 . 23:08:20 Sending build context to Docker daemon 22.02MB 23:08:20 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:08:20 Step 2/13 : FROM ${BASE} AS builder 23:08:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:20 f56be85fc22e: Pulling fs layer 23:08:20 85791d961cd3: Pulling fs layer 23:08:20 d694b5ae8c79: Pulling fs layer 23:08:20 9f32a84ed3da: Pulling fs layer 23:08:20 4d19c01a9841: Pulling fs layer 23:08:20 9325e15d5711: Pulling fs layer 23:08:20 556b6ee489ea: Pulling fs layer 23:08:20 c5a4b2cf53e6: Pulling fs layer 23:08:20 4d19c01a9841: Waiting 23:08:20 9f32a84ed3da: Waiting 23:08:20 9325e15d5711: Waiting 23:08:20 556b6ee489ea: Waiting 23:08:20 c5a4b2cf53e6: Waiting 23:08:21 85791d961cd3: Verifying Checksum 23:08:21 85791d961cd3: Download complete 23:08:21 9f32a84ed3da: Download complete 23:08:21 4d19c01a9841: Verifying Checksum 23:08:21 4d19c01a9841: Download complete 23:08:21 f56be85fc22e: Verifying Checksum 23:08:21 f56be85fc22e: Download complete 23:08:21 9325e15d5711: Verifying Checksum 23:08:21 9325e15d5711: Download complete 23:08:21 f56be85fc22e: Pull complete 23:08:21 85791d961cd3: Pull complete 23:08:21 c5a4b2cf53e6: Verifying Checksum 23:08:21 c5a4b2cf53e6: Download complete 23:08:21 d694b5ae8c79: Verifying Checksum 23:08:21 d694b5ae8c79: Download complete 23:08:22 556b6ee489ea: Verifying Checksum 23:08:22 556b6ee489ea: Download complete 23:08:25 d694b5ae8c79: Pull complete 23:08:25 9f32a84ed3da: Pull complete 23:08:25 4d19c01a9841: Pull complete 23:08:25 9325e15d5711: Pull complete 23:08:27 556b6ee489ea: Pull complete 23:08:28 c5a4b2cf53e6: Pull complete 23:08:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:08:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:08:28 ---> c4be618373d6 23:08:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:08:30 ---> Running in 4f8998123c2d 23:08:30 Removing intermediate container 4f8998123c2d 23:08:30 ---> 12d41eef7428 23:08:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:30 ---> Running in 356c83d90b8a 23:08:30 Removing intermediate container 356c83d90b8a 23:08:30 ---> b718b6c2af2e 23:08:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:08:30 ---> Running in fe4459691b3d 23:08:30 Removing intermediate container fe4459691b3d 23:08:30 ---> 295b4c629d67 23:08:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:08:30 ---> Running in a75d11baf0f7 23:08:30 Removing intermediate container a75d11baf0f7 23:08:30 ---> 6a724ad6c5d7 23:08:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:08:30 ---> Running in 3e76c13d07bf 23:08:30 Removing intermediate container 3e76c13d07bf 23:08:30 ---> 3cabeef61cb8 23:08:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:30 ---> Running in 2f44931064ec 23:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:08:31 OK: 265 MiB in 53 packages 23:08:31 Removing intermediate container 2f44931064ec 23:08:31 ---> 44aede33e66b 23:08:31 Step 9/13 : WORKDIR /device-onvif-camera 23:08:31 ---> Running in bf74958470cc 23:08:31 Removing intermediate container bf74958470cc 23:08:31 ---> be365c9d0c44 23:08:31 Step 10/13 : COPY go.mod vendor* ./ 23:08:31 ---> ee936d1f97ad 23:08:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:31 ---> Running in 6130730ac9a2 23:08:34 Still waiting to schedule task 23:08:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14809’ 23:08:50 Removing intermediate container 6130730ac9a2 23:08:50 ---> c0040c3f8a46 23:08:50 Step 12/13 : COPY . . 23:08:50 ---> 885780755c64 23:08:50 Step 13/13 : RUN ${MAKE} 23:08:50 ---> Running in 4ba6b06d4da5 23:08:50 noop 23:08:51 Removing intermediate container 4ba6b06d4da5 23:08:51 ---> a0f827db2468 23:08:51 Successfully built a0f827db2468 23:08:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:51 + docker inspect -f . ci-base-image-x86_64 23:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:51 prd-ubuntu20.04-docker-8c-8g-14810 does not seem to be running inside a container 23:08:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:08:51 $ docker top 98feb26f13a6f28ea2560d0a9184a1d1917b1222ddfe405351789b8b3b6a2b17 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:52 + go version 23:08:52 go version go1.20.2 linux/amd64 [Pipeline] } 23:08:52 $ docker stop --time=1 98feb26f13a6f28ea2560d0a9184a1d1917b1222ddfe405351789b8b3b6a2b17 23:08:54 $ docker rm -f --volumes 98feb26f13a6f28ea2560d0a9184a1d1917b1222ddfe405351789b8b3b6a2b17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:56 + docker inspect -f . ci-base-image-x86_64 23:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:56 prd-ubuntu20.04-docker-8c-8g-14810 does not seem to be running inside a container 23:08:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:08:56 $ docker top 55e69bbd2350f06a7297035671c9691baf5d2403ba76679f72be4f7f1f8a7af9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 23:08:57 + make test 23:08:57 go test ./... -coverprofile=coverage.out ./... 23:09:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:09:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:09:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:09:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 30.9% of statements 23:09:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.187s coverage: 86.5% of statements 23:09:24 go vet ./... 23:09:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:26 ./bin/test-attribution-txt.sh [Pipeline] echo 23:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:26 $ docker stop --time=1 55e69bbd2350f06a7297035671c9691baf5d2403ba76679f72be4f7f1f8a7af9 23:09:28 $ docker rm -f --volumes 55e69bbd2350f06a7297035671c9691baf5d2403ba76679f72be4f7f1f8a7af9 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:09:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:30 + ls -al . 23:09:30 total 232 23:09:30 drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:08 . 23:09:30 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 .. 23:09:30 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:08 .git 23:09:30 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:07 .github 23:09:30 -rw-rw-r-- 1 jenkins jenkins 496 May 9 23:07 .gitignore 23:09:30 -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:07 .golangci.yml 23:09:30 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:08 .semver 23:09:30 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 23:07 Attribution.txt 23:09:30 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 23:07 CHANGELOG.md 23:09:30 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 23:07 Dockerfile 23:09:30 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:07 GOVERNANCE.md 23:09:30 -rw-rw-r-- 1 jenkins jenkins 734 May 9 23:07 Jenkinsfile 23:09:30 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 23:07 LICENSE 23:09:30 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 23:07 Makefile 23:09:30 -rw-rw-r-- 1 jenkins jenkins 625 May 9 23:07 OWNERS.md 23:09:30 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 23:07 README.md 23:09:30 -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:08 VERSION 23:09:30 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:07 bin 23:09:30 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:07 cmd 23:09:30 -rw-r--r-- 1 jenkins jenkins 79213 May 9 23:09 coverage.out 23:09:30 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 doc 23:09:30 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 23:07 go.mod 23:09:30 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 23:07 go.sum 23:09:30 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 internal 23:09:30 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 snap 23:09:30 -rw-rw-r-- 1 jenkins jenkins 236 May 9 23:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:30 + 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=cd87ac911b76bca8e72b77eb620251eb040251f9 --label arch=amd64 --label version=0.0.0 . 23:09:30 Sending build context to Docker daemon 22.1MB 23:09:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:09:30 Step 2/26 : FROM ${BASE} AS builder 23:09:30 ---> a0f827db2468 23:09:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:09:30 ---> Running in 6db79172d964 23:09:30 Removing intermediate container 6db79172d964 23:09:30 ---> 365f1d0de40b 23:09:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:30 ---> Running in 1c50788cb94d 23:09:30 Removing intermediate container 1c50788cb94d 23:09:30 ---> 524dc11acf9f 23:09:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:09:30 ---> Running in b005713fcf12 23:09:31 Removing intermediate container b005713fcf12 23:09:31 ---> 3fa33fec7a5f 23:09:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:09:31 ---> Running in 5eab7203ae64 23:09:31 Removing intermediate container 5eab7203ae64 23:09:31 ---> 0c125350fdaa 23:09:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:09:31 ---> Running in 360b786fbd08 23:09:31 Removing intermediate container 360b786fbd08 23:09:31 ---> f5126c551455 23:09:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:31 ---> Running in ac52d24da26d 23:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:31 OK: 265 MiB in 53 packages 23:09:32 Removing intermediate container ac52d24da26d 23:09:32 ---> 264d80989015 23:09:32 Step 9/26 : WORKDIR /device-onvif-camera 23:09:32 ---> Running in b09b88f85441 23:09:32 Removing intermediate container b09b88f85441 23:09:32 ---> 7476447c74c1 23:09:32 Step 10/26 : COPY go.mod vendor* ./ 23:09:32 ---> 5828e8e98791 23:09:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:32 ---> Running in e4c07104a3ab 23:09:33 Removing intermediate container e4c07104a3ab 23:09:33 ---> 77c384ada8a9 23:09:33 Step 12/26 : COPY . . 23:09:33 ---> 31140d2decef 23:09:33 Step 13/26 : RUN ${MAKE} 23:09:33 ---> Running in ae54aca1371d 23:09:33 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 23:09:51 Removing intermediate container ae54aca1371d 23:09:51 ---> 4abf89599463 23:09:51 Step 14/26 : FROM alpine:3.17 23:09:51 3.17: Pulling from library/alpine 23:09:51 f56be85fc22e: Already exists 23:09:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:09:51 Status: Downloaded newer image for alpine:3.17 23:09:51 ---> 9ed4aefc74f6 23:09:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:09:51 ---> Running in a0bab5630924 23:09:51 Removing intermediate container a0bab5630924 23:09:51 ---> fa7da697ce96 23:09:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:09:51 ---> Running in 8cf1cb912156 23:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:51 (1/1) Installing dumb-init (1.2.5-r2) 23:09:51 Executing busybox-1.35.0-r29.trigger 23:09:51 OK: 7 MiB in 16 packages 23:09:51 Removing intermediate container 8cf1cb912156 23:09:51 ---> bd37f0713dba 23:09:51 Step 17/26 : WORKDIR / 23:09:52 ---> Running in 8aeb403e3a83 23:09:52 Removing intermediate container 8aeb403e3a83 23:09:52 ---> cae7a7551f56 23:09:52 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:09:52 ---> 7a2083870617 23:09:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:09:52 ---> d016dbc09821 23:09:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:09:52 ---> 4c52447cf63c 23:09:52 Step 21/26 : EXPOSE 59984 23:09:52 ---> Running in 2082ad86c2de 23:09:52 Removing intermediate container 2082ad86c2de 23:09:52 ---> e964dbde7953 23:09:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:09:52 ---> Running in c54b041885c4 23:09:52 Removing intermediate container c54b041885c4 23:09:52 ---> ac820eef1ace 23:09:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:09:52 ---> Running in 2ca5a0829ae6 23:09:52 Removing intermediate container 2ca5a0829ae6 23:09:52 ---> a07246f4d37d 23:09:52 Step 24/26 : LABEL arch=amd64 23:09:52 ---> Running in eeb3ff1bcda4 23:09:53 Removing intermediate container eeb3ff1bcda4 23:09:53 ---> 905f6f914134 23:09:53 Step 25/26 : LABEL git_sha=cd87ac911b76bca8e72b77eb620251eb040251f9 23:09:53 ---> Running in 3b13d5438b37 23:09:53 Removing intermediate container 3b13d5438b37 23:09:53 ---> 1421c06196e1 23:09:53 Step 26/26 : LABEL version=0.0.0 23:09:53 ---> Running in ac3712823b07 23:09:53 Removing intermediate container ac3712823b07 23:09:53 ---> f85df10124f9 23:09:53 [Warning] One or more build-args [ARCH] were not consumed 23:09:53 Successfully built f85df10124f9 23:09:53 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 23:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:53 23:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:53 latest: Pulling from edgex-lftools-log-publisher 23:09:53 5eb5b503b376: Pulling fs layer 23:09:53 5c69ac0246d0: Pulling fs layer 23:09:53 ec43610c2a17: Pulling fs layer 23:09:53 3a2ae6a8a46f: Pulling fs layer 23:09:53 33b1e0a273af: Pulling fs layer 23:09:53 5d3b04190fa2: Pulling fs layer 23:09:53 2f39f015ded8: Pulling fs layer 23:09:53 3a2ae6a8a46f: Waiting 23:09:53 33b1e0a273af: Waiting 23:09:53 5d3b04190fa2: Waiting 23:09:53 2f39f015ded8: Waiting 23:09:53 5c69ac0246d0: Verifying Checksum 23:09:53 5c69ac0246d0: Download complete 23:09:53 3a2ae6a8a46f: Verifying Checksum 23:09:53 3a2ae6a8a46f: Download complete 23:09:53 33b1e0a273af: Verifying Checksum 23:09:53 33b1e0a273af: Download complete 23:09:53 5d3b04190fa2: Verifying Checksum 23:09:53 5d3b04190fa2: Download complete 23:09:53 ec43610c2a17: Download complete 23:09:54 5eb5b503b376: Verifying Checksum 23:09:54 5eb5b503b376: Download complete 23:09:55 5eb5b503b376: Pull complete 23:09:55 5c69ac0246d0: Pull complete 23:09:55 ec43610c2a17: Pull complete 23:09:55 3a2ae6a8a46f: Pull complete 23:09:56 33b1e0a273af: Pull complete 23:09:56 5d3b04190fa2: Pull complete 23:10:00 2f39f015ded8: Pull complete 23:10:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:00 prd-ubuntu20.04-docker-8c-8g-14810 does not seem to be running inside a container 23:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:10:01 $ docker top 787889c1e31d3357ea63d514cb02f6f250d09fbb1dac32aab04101c0eb147389 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:01 ---> job-cost.sh 23:10:01 lf-activate-venv: SKIPPING 23:10:01 INFO: No Stack... 23:10:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:02 INFO: Archiving Costs [Pipeline] sh 23:10:02 + cut -d, -f6 23:10:02 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv [Pipeline] lock 23:10:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] 23:10:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] did not exist. Created. 23:10:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:03 + echo total: 0.2199999988079071 [Pipeline] stash 23:10:03 Stashed 1 file(s) [Pipeline] } 23:10:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:03 $ docker stop --time=1 787889c1e31d3357ea63d514cb02f6f250d09fbb1dac32aab04101c0eb147389 23:10:04 $ docker rm -f --volumes 787889c1e31d3357ea63d514cb02f6f250d09fbb1dac32aab04101c0eb147389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:11:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14811 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 23:11:46 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 23:11:46 The recommended git tool is: git 23:11:52 using credential edgex-jenkins-ssh 23:11:52 Cloning the remote Git repository 23:11:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:11:52 > git init /w/workspace/device-onvif-camera/9 # timeout=10 23:11:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:11:52 > git --version # timeout=10 23:11:52 > git --version # 'git version 2.25.1' 23:11:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:11:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:56 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 5580041d3ff95d0a8acb40a484b8a109d49e3d3f 23:11:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:11:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:11:56 > git config core.sparsecheckout # timeout=10 23:11:56 > git checkout -f 5580041d3ff95d0a8acb40a484b8a109d49e3d3f # timeout=10 23:11:56 > git remote # timeout=10 23:11:56 > git config --get remote.origin.url # timeout=10 23:11:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:56 > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 23:11:57 Merge succeeded, producing 7718865919e32c5c82f2bc8ccabde522eca3251c 23:11:57 Checking out Revision 7718865919e32c5c82f2bc8ccabde522eca3251c (PR-347) 23:11:57 > git rev-parse HEAD^{commit} # timeout=10 23:11:57 > git config core.sparsecheckout # timeout=10 23:11:57 > git checkout -f 7718865919e32c5c82f2bc8ccabde522eca3251c # timeout=10 23:12:00 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" 23:12:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:00 > git rev-list --no-walk 8dfcac28aadede62af49ce5f537a610e5c34e877 # timeout=10 23:12:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:12:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:01 Dload Upload Total Spent Left Speed 23:12:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67110 [Pipeline] sh 23:12:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:12:02 + + sudo teesudo /etc/docker/daemon.new jq 23:12:02 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:12:02 { 23:12:02 "registry-mirrors": [ 23:12:02 "https://nexus3.edgexfoundry.org:10001" 23:12:02 ], 23:12:02 "bip": "10.250.0.254/24", 23:12:02 "hosts": [ 23:12:02 "tcp://0.0.0.0:5555", 23:12:02 "unix:///var/run/docker.sock" 23:12:02 ], 23:12:02 "mtu": 1458, 23:12:02 "selinux-enabled": true, 23:12:02 "seccomp-profile": "/etc/docker/seccomp.json" 23:12:02 } [Pipeline] sh 23:12:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:12:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:21 provisioning config files... 23:12:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config13761866587030977398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:22 ---> docker-login.sh 23:12:22 nexus3.edgexfoundry.org:10001 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:22 Configure a credential helper to remove this warning. See 23:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:22 23:12:22 Login Succeeded 23:12:22 nexus3.edgexfoundry.org:10002 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 nexus3.edgexfoundry.org:10003 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 nexus3.edgexfoundry.org:10004 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:24 Configure a credential helper to remove this warning. See 23:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:24 23:12:24 Login Succeeded 23:12:24 docker.io 23:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:24 Configure a credential helper to remove this warning. See 23:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:24 23:12:24 Login Succeeded 23:12:24 ---> docker-login.sh ends [Pipeline] } 23:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:24 ========================================================= 23:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:12:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:25 + 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 . 23:12:25 Sending build context to Docker daemon 14.67MB 23:12:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:12:25 Step 2/13 : FROM ${BASE} AS builder 23:12:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:25 c41833b44d91: Pulling fs layer 23:12:25 ed15518f5707: Pulling fs layer 23:12:25 feae8fd75edb: Pulling fs layer 23:12:25 242c74f7c9fa: Pulling fs layer 23:12:25 3cdef696dda3: Pulling fs layer 23:12:25 2ced38df9373: Pulling fs layer 23:12:25 58f1dce35555: Pulling fs layer 23:12:25 3cdef696dda3: Waiting 23:12:25 2ced38df9373: Waiting 23:12:25 58f1dce35555: Waiting 23:12:25 242c74f7c9fa: Waiting 23:12:25 ed15518f5707: Verifying Checksum 23:12:25 ed15518f5707: Download complete 23:12:25 242c74f7c9fa: Download complete 23:12:25 3cdef696dda3: Download complete 23:12:25 c41833b44d91: Download complete 23:12:27 c41833b44d91: Pull complete 23:12:27 58f1dce35555: Verifying Checksum 23:12:27 58f1dce35555: Download complete 23:12:28 ed15518f5707: Pull complete 23:12:28 feae8fd75edb: Download complete 23:12:28 2ced38df9373: Verifying Checksum 23:12:28 2ced38df9373: Download complete 23:12:38 feae8fd75edb: Pull complete 23:12:38 242c74f7c9fa: Pull complete 23:12:39 3cdef696dda3: Pull complete 23:12:45 2ced38df9373: Pull complete 23:12:47 58f1dce35555: Pull complete 23:12:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:12:47 ---> fadd8f120f05 23:12:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:12:49 ---> Running in 8c5a9d919f49 23:12:49 Removing intermediate container 8c5a9d919f49 23:12:49 ---> acb574313de1 23:12:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:49 ---> Running in 1b3e840f1c71 23:12:49 Removing intermediate container 1b3e840f1c71 23:12:49 ---> 55d7191b1cce 23:12:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:12:50 ---> Running in 75ad6115774e 23:12:52 Removing intermediate container 75ad6115774e 23:12:52 ---> fdf5ff6cc7fc 23:12:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:12:52 ---> Running in cb73b8843949 23:12:52 Removing intermediate container cb73b8843949 23:12:52 ---> 8727522de31e 23:12:52 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:12:52 ---> Running in fc7b92255740 23:12:52 Removing intermediate container fc7b92255740 23:12:52 ---> a123a851a243 23:12:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:52 ---> Running in bd5523139a51 23:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:12:55 OK: 263 MiB in 53 packages 23:12:56 Removing intermediate container bd5523139a51 23:12:56 ---> 81f27eb986de 23:12:56 Step 9/13 : WORKDIR /device-onvif-camera 23:12:56 ---> Running in 8722a6a5e882 23:12:57 Removing intermediate container 8722a6a5e882 23:12:57 ---> 2a18a7d8c266 23:12:57 Step 10/13 : COPY go.mod vendor* ./ 23:12:57 ---> cb70f5c529b0 23:12:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:57 ---> Running in efd5bd2916c3 23:14:05 Removing intermediate container efd5bd2916c3 23:14:05 ---> cb365066fbad 23:14:05 Step 12/13 : COPY . . 23:14:05 ---> 8974d1940121 23:14:05 Step 13/13 : RUN ${MAKE} 23:14:05 ---> Running in 513fc5dfd819 23:14:05 noop 23:14:05 Removing intermediate container 513fc5dfd819 23:14:05 ---> 73364d1d5172 23:14:05 Successfully built 73364d1d5172 23:14:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:05 + docker inspect -f . ci-base-image-arm64 23:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:06 prd-ubuntu20.04-docker-arm64-4c-16g-14811 does not seem to be running inside a container 23:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 23:14:07 $ docker top 1b4eb90d276451933e2f7aeb15abe71755f1875ff39ddadc136f915c9444ad70 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:08 + go version 23:14:08 go version go1.20.2 linux/arm64 [Pipeline] } 23:14:08 $ docker stop --time=1 1b4eb90d276451933e2f7aeb15abe71755f1875ff39ddadc136f915c9444ad70 23:14:11 $ docker rm -f --volumes 1b4eb90d276451933e2f7aeb15abe71755f1875ff39ddadc136f915c9444ad70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:12 + docker inspect -f . ci-base-image-arm64 23:14:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:12 prd-ubuntu20.04-docker-arm64-4c-16g-14811 does not seem to be running inside a container 23:14:12 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 23:14:13 $ docker top 00551d33a6294a2d5c00ecb615c2153cbe1b36aa77faa6d1cd04806ea25abb23 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh 23:14:15 + make test 23:14:15 go test ./... -coverprofile=coverage.out ./... 23:14:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:17:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:17:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:17:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 30.9% of statements 23:17:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.689s coverage: 86.5% of statements 23:17:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:17:37 go vet ./... 23:18:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:04 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:04 $ docker stop --time=1 00551d33a6294a2d5c00ecb615c2153cbe1b36aa77faa6d1cd04806ea25abb23 23:18:06 $ docker rm -f --volumes 00551d33a6294a2d5c00ecb615c2153cbe1b36aa77faa6d1cd04806ea25abb23 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:07 Warning: overwriting stash ‘coverage-report’ 23:18:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:08 + ls -al . 23:18:08 total 228 23:18:08 drwxrwxr-x 9 jenkins jenkins 4096 May 9 23:14 . 23:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:11 .. 23:18:08 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:11 .git 23:18:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:11 .github 23:18:08 -rw-rw-r-- 1 jenkins jenkins 496 May 9 23:11 .gitignore 23:18:08 -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:11 .golangci.yml 23:18:08 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 23:11 Attribution.txt 23:18:08 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 23:11 CHANGELOG.md 23:18:08 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 23:11 Dockerfile 23:18:08 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:11 GOVERNANCE.md 23:18:08 -rw-rw-r-- 1 jenkins jenkins 734 May 9 23:11 Jenkinsfile 23:18:08 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 23:11 LICENSE 23:18:08 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 23:11 Makefile 23:18:08 -rw-rw-r-- 1 jenkins jenkins 625 May 9 23:11 OWNERS.md 23:18:08 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 23:11 README.md 23:18:08 -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:08 VERSION 23:18:08 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:11 bin 23:18:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:11 cmd 23:18:08 -rw-r--r-- 1 jenkins jenkins 79213 May 9 23:17 coverage.out 23:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:11 doc 23:18:08 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 23:11 go.mod 23:18:08 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 23:11 go.sum 23:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:11 internal 23:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:11 snap 23:18:08 -rw-rw-r-- 1 jenkins jenkins 236 May 9 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:08 + 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=7718865919e32c5c82f2bc8ccabde522eca3251c --label arch=arm64 --label version=0.0.0 . 23:18:09 Sending build context to Docker daemon 14.75MB 23:18:09 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:18:09 Step 2/26 : FROM ${BASE} AS builder 23:18:09 ---> 73364d1d5172 23:18:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:18:09 ---> Running in b1838ed1fb92 23:18:09 Removing intermediate container b1838ed1fb92 23:18:09 ---> 59bbb8fca20f 23:18:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:09 ---> Running in cbdbaa1f4870 23:18:10 Removing intermediate container cbdbaa1f4870 23:18:10 ---> 4a85e1cae116 23:18:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:18:10 ---> Running in 4e43b9bab66e 23:18:10 Removing intermediate container 4e43b9bab66e 23:18:10 ---> 96d79e57da12 23:18:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:18:10 ---> Running in 499c1af8065e 23:18:11 Removing intermediate container 499c1af8065e 23:18:11 ---> c6e4862957c9 23:18:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:18:11 ---> Running in abf10d006148 23:18:11 Removing intermediate container abf10d006148 23:18:11 ---> f08367708a6e 23:18:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:11 ---> Running in ec207f9122ef 23:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:18:14 OK: 263 MiB in 53 packages 23:18:14 Removing intermediate container ec207f9122ef 23:18:14 ---> 31c2fa5d318e 23:18:14 Step 9/26 : WORKDIR /device-onvif-camera 23:18:14 ---> Running in c5479b9f67b0 23:18:16 Removing intermediate container c5479b9f67b0 23:18:16 ---> 8b1796cc6b96 23:18:16 Step 10/26 : COPY go.mod vendor* ./ 23:18:17 ---> d53dd831d8b0 23:18:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:17 ---> Running in 51f1ed1d8ff4 23:18:19 Removing intermediate container 51f1ed1d8ff4 23:18:19 ---> cc58548ec7e4 23:18:19 Step 12/26 : COPY . . 23:18:21 ---> a1a437d9acf4 23:18:21 Step 13/26 : RUN ${MAKE} 23:18:21 ---> Running in 0b7945f4030e 23:18:22 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 23:20:44 Removing intermediate container 0b7945f4030e 23:20:44 ---> f5ee91757e87 23:20:44 Step 14/26 : FROM alpine:3.17 23:20:44 3.17: Pulling from library/alpine 23:20:44 c41833b44d91: Already exists 23:20:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:20:44 Status: Downloaded newer image for alpine:3.17 23:20:44 ---> 51e60588ff2c 23:20:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:20:44 ---> Running in 94ef2d33e4e4 23:20:44 Removing intermediate container 94ef2d33e4e4 23:20:44 ---> c1250a481a91 23:20:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:20:44 ---> Running in b69178f2c163 23:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:44 (1/1) Installing dumb-init (1.2.5-r2) 23:20:44 Executing busybox-1.35.0-r29.trigger 23:20:44 OK: 8 MiB in 16 packages 23:20:44 Removing intermediate container b69178f2c163 23:20:44 ---> bf65997aa82b 23:20:44 Step 17/26 : WORKDIR / 23:20:44 ---> Running in 3e87e6bd8d24 23:20:44 Removing intermediate container 3e87e6bd8d24 23:20:44 ---> 38d314f0c45d 23:20:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:20:44 ---> 7d43371e6492 23:20:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:20:45 ---> c43d307fc1be 23:20:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:20:46 ---> 33cafc4ffabd 23:20:46 Step 21/26 : EXPOSE 59984 23:20:46 ---> Running in 5e26ed5aab5a 23:20:46 Removing intermediate container 5e26ed5aab5a 23:20:46 ---> 1b745fd16a2b 23:20:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:20:46 ---> Running in 6c8f4574aa6a 23:20:46 Removing intermediate container 6c8f4574aa6a 23:20:46 ---> 32fb0892b67e 23:20:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:20:46 ---> Running in 5248fd9ca612 23:20:47 Removing intermediate container 5248fd9ca612 23:20:47 ---> d42d702cb126 23:20:47 Step 24/26 : LABEL arch=arm64 23:20:47 ---> Running in 2fcf0a64bae7 23:20:47 Removing intermediate container 2fcf0a64bae7 23:20:47 ---> 5942f5432454 23:20:47 Step 25/26 : LABEL git_sha=7718865919e32c5c82f2bc8ccabde522eca3251c 23:20:47 ---> Running in 77d421aaf7cd 23:20:47 Removing intermediate container 77d421aaf7cd 23:20:47 ---> d113c41819b9 23:20:47 Step 26/26 : LABEL version=0.0.0 23:20:48 ---> Running in 8687fd60f6b4 23:20:48 Removing intermediate container 8687fd60f6b4 23:20:48 ---> cef863474e96 23:20:48 [Warning] One or more build-args [ARCH] were not consumed 23:20:48 Successfully built cef863474e96 23:20:48 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 23:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:48 23:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:49 arm64: Pulling from edgex-lftools-log-publisher 23:20:49 8998bd30e6a1: Pulling fs layer 23:20:49 04944245beec: Pulling fs layer 23:20:49 699f458cf7ca: Pulling fs layer 23:20:49 765212b225bb: Pulling fs layer 23:20:49 f23df028b6ca: Pulling fs layer 23:20:49 d65c8cfc05b1: Pulling fs layer 23:20:49 2437ff75d9bd: Pulling fs layer 23:20:49 765212b225bb: Waiting 23:20:49 2437ff75d9bd: Waiting 23:20:49 d65c8cfc05b1: Waiting 23:20:49 04944245beec: Verifying Checksum 23:20:49 04944245beec: Download complete 23:20:49 765212b225bb: Verifying Checksum 23:20:49 765212b225bb: Download complete 23:20:49 f23df028b6ca: Verifying Checksum 23:20:49 f23df028b6ca: Download complete 23:20:49 d65c8cfc05b1: Verifying Checksum 23:20:49 d65c8cfc05b1: Download complete 23:20:49 699f458cf7ca: Verifying Checksum 23:20:49 699f458cf7ca: Download complete 23:20:49 8998bd30e6a1: Verifying Checksum 23:20:49 8998bd30e6a1: Download complete 23:20:52 2437ff75d9bd: Verifying Checksum 23:20:52 2437ff75d9bd: Download complete 23:20:53 8998bd30e6a1: Pull complete 23:20:54 04944245beec: Pull complete 23:20:55 699f458cf7ca: Pull complete 23:20:55 765212b225bb: Pull complete 23:20:56 f23df028b6ca: Pull complete 23:20:56 d65c8cfc05b1: Pull complete 23:21:11 2437ff75d9bd: Pull complete 23:21:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:21:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:11 prd-ubuntu20.04-docker-arm64-4c-16g-14811 does not seem to be running inside a container 23:21:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 23:21:14 $ docker top da636f86090ab3f78bb0fe4577db17048dd73a8932ee23a686b7f294fd9aac43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:15 ---> job-cost.sh 23:21:15 lf-activate-venv: SKIPPING 23:21:15 INFO: No Stack... 23:21:15 INFO: Retrieving Pricing Info for: v3-standard-4 23:21:16 INFO: Archiving Costs [Pipeline] sh 23:21:16 + + catcut /w/workspace/device-onvif-camera/9/archives/cost.csv -d, 23:21:16 -f6 [Pipeline] lock 23:21:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] 23:21:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] did not exist. Created. 23:21:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:21:17 /w/workspace/device-onvif-camera/9@tmp/durable-7de8facb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:21:17 + echo total: 0.10999999940395355 [Pipeline] stash 23:21:17 Warning: overwriting stash ‘stack-cost’ 23:21:17 Stashed 1 file(s) [Pipeline] } 23:21:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:21:17 $ docker stop --time=1 da636f86090ab3f78bb0fe4577db17048dd73a8932ee23a686b7f294fd9aac43 23:21:19 $ docker rm -f --volumes da636f86090ab3f78bb0fe4577db17048dd73a8932ee23a686b7f294fd9aac43 [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 23:21:19 provisioning config files... 23:21:19 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config3344088646326583897tmp [Pipeline] { [Pipeline] sh 23:21:19 + set +x 23:21:19 + curl -s https://codecov.io/bash 23:21:19 + bash -s -- 23:21:19 23:21:19 _____ _ 23:21:19 / ____| | | 23:21:19 | | ___ __| | ___ ___ _____ __ 23:21:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:21:19 | |___| (_) | (_| | __/ (_| (_) \ V / 23:21:19 \_____\___/ \__,_|\___|\___\___/ \_/ 23:21:19 Bash-1.0.6 23:21:19 23:21:19 23:21:19 ==> git version 2.25.1 found 23:21:19 ==> 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 23:21:19 Release-Date: 2020-01-08 23:21:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:21:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:21:19 ==> Jenkins CI detected. 23:21:19 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 23:21:19 project root: . 23:21:19 --> token set from env 23:21:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:21:19 ==> Running gcov in . (disable via -X gcov) 23:21:19 ==> Python coveragepy not found 23:21:19 ==> Searching for coverage reports in: 23:21:19 + . 23:21:19 -> Found 1 reports 23:21:19 ==> Detecting git/mercurial file structure 23:21:19 ==> Reading reports 23:21:19 + ./coverage.out bytes=79213 23:21:19 ==> Appending adjustments 23:21:19 https://docs.codecov.io/docs/fixing-reports 23:21:20 + Found adjustments 23:21:20 ==> Gzipping contents 23:21:20 12K /tmp/codecov.D6LIL9.gz 23:21:20 ==> Uploading reports 23:21:20 url: https://codecov.io 23:21:20 query: branch=PR-347&commit=cd87ac911b76bca8e72b77eb620251eb040251f9&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 23:21:20 -> Pinging Codecov 23:21:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=cd87ac911b76bca8e72b77eb620251eb040251f9&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 23:21:20 -> Uploading to 23:21:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/cd87ac911b76bca8e72b77eb620251eb040251f9/5b2e6766-230a-4039-8431-4f8a784df5ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T232120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=582fd042fc8de388e4ceaa99cb2a95927ce1774886eed910b1ce5cd264708c30 23:21:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:21:20 Dload Upload Total Spent Left Speed 23:21:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 45217 --:--:-- --:--:-- --:--:-- 45217 23:21:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cd87ac911b76bca8e72b77eb620251eb040251f9 [Pipeline] } 23:21:20 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 23:21:21 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 23:21:21 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 23:21:21 total 16 23:21:21 drwxr-xr-x 3 root root 4096 May 9 23:10 . 23:21:21 drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:10 .. 23:21:21 drwxr-xr-x 2 root root 4096 May 9 23:10 cost 23:21:21 -rw-r--r-- 1 root root 91 May 9 23:10 cost.csv 23:21:21 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 23:21:21 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 23:21:21 total 16 23:21:21 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:10 . 23:21:21 drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:10 .. 23:21:21 drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:10 cost 23:21:21 -rw-r--r-- 1 jenkins jenkins 91 May 9 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:21:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:21:22 ---> package-listing.sh 23:21:22 ++ facter osfamily 23:21:22 ++ tr '[:upper:]' '[:lower:]' 23:21:22 + OS_FAMILY=debian 23:21:22 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 23:21:22 + START_PACKAGES=/tmp/packages_start.txt 23:21:22 + END_PACKAGES=/tmp/packages_end.txt 23:21:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:21:22 + PACKAGES=/tmp/packages_start.txt 23:21:22 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 23:21:22 + PACKAGES=/tmp/packages_end.txt 23:21:22 + case "${OS_FAMILY}" in 23:21:22 + dpkg -l 23:21:22 + grep '^ii' 23:21:22 + '[' -f /tmp/packages_start.txt ']' 23:21:22 + '[' -f /tmp/packages_end.txt ']' 23:21:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:21:22 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 23:21:22 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 23:21:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 23:21:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:21:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:21:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:23 prd-ubuntu20.04-docker-8c-8g-14810 does not seem to be running inside a container 23:21:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:21:23 $ docker top 1b79de8359fccfcb01f4d92cc445531ce2db08ee889541a5a35837556fca80b4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:24 + touch /tmp/pre-build-complete [Pipeline] sh 23:21:24 + mkdir -p /var/log/sysstat [Pipeline] sh 23:21:24 + ls /var/log/sa-host 23:21:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:25 provisioning config files... 23:21:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config3914752570268077633tmp [Pipeline] { [Pipeline] echo 23:21:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:21:25 ---> create-netrc.sh [Pipeline] } 23:21:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:21:25 ---> python-tools-install.sh [Pipeline] echo 23:21:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:21:25 ---> sudo-logs.sh 23:21:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:21:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:21:26 ---> job-cost.sh 23:21:26 lf-activate-venv: SKIPPING 23:21:26 DEBUG: total: 0.2199999988079071 23:21:26 INFO: Retrieving Stack Cost... 23:21:26 INFO: Retrieving Pricing Info for: v3-standard-8 23:21:26 INFO: Archiving Costs [Pipeline] echo 23:21:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:21:27 ---> logs-deploy.sh 23:21:27 lf-activate-venv: SKIPPING 23:21:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/9 23:21:27 INFO: archiving workspace using pattern(s): 23:21:28 Archives upload complete. 23:21:28 INFO: archiving logs to Nexus