Pull request #356 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 bc8694f62f775b1f1e37640ae017c5441854d813 rather than 049ff95098929d887e91a18d65fd3bb5e2bf42ab Obtained Jenkinsfile from bc8694f62f775b1f1e37640ae017c5441854d813 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-ssh13269773323463090859.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-ssh12145048308713501737.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-356/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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh307237141653437873.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-ssh7641630257031987099.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-356/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-356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14799950559321929261.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-14972’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14974 in /w/workspace/undry_device-onvif-camera_PR-356 [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-356 # 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/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit 049ff95098929d887e91a18d65fd3bb5e2bf42ab Merge succeeded, producing f3d2c4554811da98fbc2379e649e5799d967eacf Checking out Revision f3d2c4554811da98fbc2379e649e5799d967eacf (PR-356) > git config core.sparsecheckout # timeout=10 > git checkout -f 049ff95098929d887e91a18d65fd3bb5e2bf42ab # 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 bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3d2c4554811da98fbc2379e649e5799d967eacf # timeout=10 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:52 ========================================================= 22:28:52 EdgeX Global Pipelines Version Info 22:28:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:28:53 ------------------- 22:28:53 stable info: 22:28:53 ------------------- 22:28:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:28:53 Message: update stable to v1.0.249 22:28:53 ------------------- 22:28:53 experimental info: 22:28:53 ------------------- 22:28:53 Commited By: **** collab-it+edgex@linuxfoundation.org 22:28:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:28:53 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-356 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-356 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-356 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3d2c4554811da98fbc2379e649e5799d967eacf [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3d2c45 [Pipeline] echo 22:28:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:54 provisioning config files... 22:28:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config4687907331238917103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:54 ---> docker-login.sh 22:28:54 nexus3.edgexfoundry.org:10001 22:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 nexus3.edgexfoundry.org:10002 22:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 nexus3.edgexfoundry.org:10003 22:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 nexus3.edgexfoundry.org:10004 22:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 docker.io 22:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 ---> docker-login.sh ends [Pipeline] } 22:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:56 + git rev-list -1 --merges f3d2c4554811da98fbc2379e649e5799d967eacf~1..f3d2c4554811da98fbc2379e649e5799d967eacf [Pipeline] echo 22:28:56 -----------> git rev-list -1 --merges f3d2c4554811da98fbc2379e649e5799d967eacf~1..f3d2c4554811da98fbc2379e649e5799d967eacf f3d2c4554811da98fbc2379e649e5799d967eacf 22:28:56 f3d2c4554811da98fbc2379e649e5799d967eacf [false] [Pipeline] sh 22:28:56 + git log --format=format:%s -1 f3d2c4554811da98fbc2379e649e5799d967eacf [Pipeline] echo 22:28:56 ========================================================= 22:28:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:56 + git log --format=format:%s -1 f3d2c4554811da98fbc2379e649e5799d967eacf [Pipeline] echo 22:28:56 [semverPrep] GIT_COMMIT: f3d2c4554811da98fbc2379e649e5799d967eacf, Commit Message: Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD [Pipeline] echo 22:28:56 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:57 + grep -v github /etc/ssh/ssh_known_hosts 22:28:57 + [ -e /tmp/ssh_known_hosts ] 22:28:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:57 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:57 22:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:58 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:58 b85a868b505f: Pulling fs layer 22:28:58 e2be974225ed: Pulling fs layer 22:28:58 339a4e72a1f5: Pulling fs layer 22:28:58 988bab9f4d93: Pulling fs layer 22:28:58 1469e6f7b9e6: Pulling fs layer 22:28:58 eaf3925da568: Pulling fs layer 22:28:58 bab4dde63d76: Pulling fs layer 22:28:58 bde34c3a00c8: Pulling fs layer 22:28:58 b352a97aabf1: Pulling fs layer 22:28:58 4872d77fe225: Pulling fs layer 22:28:58 5851b861e8e6: Pulling fs layer 22:28:58 b352a97aabf1: Waiting 22:28:58 988bab9f4d93: Waiting 22:28:58 4872d77fe225: Waiting 22:28:58 bde34c3a00c8: Waiting 22:28:58 eaf3925da568: Waiting 22:28:58 bab4dde63d76: Waiting 22:28:58 e2be974225ed: Download complete 22:28:58 988bab9f4d93: Verifying Checksum 22:28:58 988bab9f4d93: Download complete 22:28:58 1469e6f7b9e6: Verifying Checksum 22:28:58 1469e6f7b9e6: Download complete 22:28:58 eaf3925da568: Verifying Checksum 22:28:58 eaf3925da568: Download complete 22:28:58 339a4e72a1f5: Verifying Checksum 22:28:58 339a4e72a1f5: Download complete 22:28:58 bde34c3a00c8: Download complete 22:28:58 b352a97aabf1: Verifying Checksum 22:28:58 b352a97aabf1: Download complete 22:28:58 4872d77fe225: Verifying Checksum 22:28:58 4872d77fe225: Download complete 22:28:58 5851b861e8e6: Verifying Checksum 22:28:58 5851b861e8e6: Download complete 22:28:58 b85a868b505f: Verifying Checksum 22:28:58 b85a868b505f: Download complete 22:28:58 bab4dde63d76: Verifying Checksum 22:28:58 bab4dde63d76: Download complete 22:28:59 b85a868b505f: Pull complete 22:28:59 e2be974225ed: Pull complete 22:29:00 339a4e72a1f5: Pull complete 22:29:00 988bab9f4d93: Pull complete 22:29:00 1469e6f7b9e6: Pull complete 22:29:00 eaf3925da568: Pull complete 22:29:02 bab4dde63d76: Pull complete 22:29:02 bde34c3a00c8: Pull complete 22:29:02 b352a97aabf1: Pull complete 22:29:02 4872d77fe225: Pull complete 22:29:02 5851b861e8e6: Pull complete 22:29:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:29:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:29:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:02 prd-ubuntu20.04-docker-8c-8g-14974 does not seem to be running inside a container 22:29:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 22:29:04 $ docker top 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a -eo pid,comm 22:29:04 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). 22:29:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:29:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:05 [ssh-agent] Looking for ssh-agent implementation... 22:29:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:05 $ docker exec 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a ssh-agent 22:29:05 SSH_AUTH_SOCK=/tmp/ssh-Vc5FPtmeFjqK/agent.32 22:29:05 SSH_AGENT_PID=38 22:29:05 Running ssh-add (command line suppressed) 22:29:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_7606417351740090863.key (/w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_7606417351740090863.key) 22:29:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:05 + git tag --points-at HEAD [Pipeline] } 22:29:05 $ docker exec --env ******** --env ******** 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a ssh-agent -k 22:29:05 unset SSH_AUTH_SOCK; 22:29:05 unset SSH_AGENT_PID; 22:29:05 echo Agent pid 38 killed; 22:29:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:29:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:05 [ssh-agent] Looking for ssh-agent implementation... 22:29:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:05 $ docker exec 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a ssh-agent 22:29:06 SSH_AUTH_SOCK=/tmp/ssh-LhtyjymTdpv8/agent.70 22:29:06 SSH_AGENT_PID=76 22:29:06 Running ssh-add (command line suppressed) 22:29:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_5306788604942403722.key (/w/workspace/undry_device-onvif-camera_PR-356@tmp/private_key_5306788604942403722.key) 22:29:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:06 + git semver init 22:29:06 2023-05-10 22:29:06,675 [run_init] DEBUG init version:0.0.0 force:False 22:29:06 2023-05-10 22:29:06,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-356/.semver 22:29:06 2023-05-10 22:29:06,676 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-356/.semver 22:29:06 2023-05-10 22:29:06,677 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-356/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-356, universal_newlines=False, shell=None, istream=None) 22:29:07 2023-05-10 22:29:07,603 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-356/.git/info/exclude 22:29:07 2023-05-10 22:29:07,604 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 with force:False 22:29:07 2023-05-10 22:29:07,604 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 22:29:07 2023-05-10 22:29:07,608 [execute] INFO git cat-file --batch-check 22:29:07 2023-05-10 22:29:07,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) 22:29:07 2023-05-10 22:29:07,615 [execute] INFO git cat-file --batch 22:29:07 2023-05-10 22:29:07,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) 22:29:07 2023-05-10 22:29:07,621 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-356/.semver/PR-356 22:29:07 0.0.0 [Pipeline] } 22:29:07 $ docker exec --env ******** --env ******** 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a ssh-agent -k 22:29:07 unset SSH_AUTH_SOCK; 22:29:07 unset SSH_AGENT_PID; 22:29:07 echo Agent pid 76 killed; 22:29:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:29:08 + git semver [Pipeline] } 22:29:08 $ docker stop --time=1 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a 22:29:09 $ docker rm -f --volumes 87cff4fce559daa160fbf0e7154eb0f2c6a7dd65e26c3b664135bcd364a8d82a [Pipeline] // withDockerContainer [Pipeline] sh 22:29:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:29:10 Stashed 1 file(s) [Pipeline] echo 22:29:10 [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 22:29:10 provisioning config files... 22:29:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config4169024111742072442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:10 ---> docker-login.sh 22:29:10 nexus3.edgexfoundry.org:10001 22:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:10 Configure a credential helper to remove this warning. See 22:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:10 22:29:10 Login Succeeded 22:29:10 nexus3.edgexfoundry.org:10002 22:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:10 Configure a credential helper to remove this warning. See 22:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:10 22:29:10 Login Succeeded 22:29:10 nexus3.edgexfoundry.org:10003 22:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:10 Configure a credential helper to remove this warning. See 22:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:10 22:29:10 Login Succeeded 22:29:10 nexus3.edgexfoundry.org:10004 22:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:10 Configure a credential helper to remove this warning. See 22:29:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:10 22:29:10 Login Succeeded 22:29:10 docker.io 22:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:11 Configure a credential helper to remove this warning. See 22:29:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:11 22:29:11 Login Succeeded 22:29:11 ---> docker-login.sh ends [Pipeline] } 22:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:11 ========================================================= 22:29:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:29:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:11 + 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 . 22:29:11 Sending build context to Docker daemon 22MB 22:29:11 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:29:11 Step 2/13 : FROM ${BASE} AS builder 22:29:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:29:11 f56be85fc22e: Pulling fs layer 22:29:11 85791d961cd3: Pulling fs layer 22:29:11 d694b5ae8c79: Pulling fs layer 22:29:11 9f32a84ed3da: Pulling fs layer 22:29:11 4d19c01a9841: Pulling fs layer 22:29:11 9f32a84ed3da: Waiting 22:29:11 4d19c01a9841: Waiting 22:29:11 9325e15d5711: Pulling fs layer 22:29:11 556b6ee489ea: Pulling fs layer 22:29:11 c5a4b2cf53e6: Pulling fs layer 22:29:11 9325e15d5711: Waiting 22:29:11 556b6ee489ea: Waiting 22:29:11 c5a4b2cf53e6: Waiting 22:29:11 85791d961cd3: Verifying Checksum 22:29:11 85791d961cd3: Download complete 22:29:11 9f32a84ed3da: Verifying Checksum 22:29:11 9f32a84ed3da: Download complete 22:29:11 4d19c01a9841: Verifying Checksum 22:29:11 4d19c01a9841: Download complete 22:29:11 f56be85fc22e: Verifying Checksum 22:29:11 f56be85fc22e: Download complete 22:29:11 9325e15d5711: Verifying Checksum 22:29:11 9325e15d5711: Download complete 22:29:12 f56be85fc22e: Pull complete 22:29:12 85791d961cd3: Pull complete 22:29:12 c5a4b2cf53e6: Verifying Checksum 22:29:12 c5a4b2cf53e6: Download complete 22:29:12 d694b5ae8c79: Verifying Checksum 22:29:12 d694b5ae8c79: Download complete 22:29:12 556b6ee489ea: Verifying Checksum 22:29:12 556b6ee489ea: Download complete 22:29:16 d694b5ae8c79: Pull complete 22:29:16 9f32a84ed3da: Pull complete 22:29:16 4d19c01a9841: Pull complete 22:29:16 9325e15d5711: Pull complete 22:29:18 556b6ee489ea: Pull complete 22:29:19 c5a4b2cf53e6: Pull complete 22:29:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:29:19 ---> c4be618373d6 22:29:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:29:22 ---> Running in b6cb94020fa8 22:29:22 Removing intermediate container b6cb94020fa8 22:29:22 ---> 17c2f79fa722 22:29:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:22 ---> Running in af7d283fef0d 22:29:22 Removing intermediate container af7d283fef0d 22:29:22 ---> 751cd84a984c 22:29:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:29:22 ---> Running in faeca886f948 22:29:22 Removing intermediate container faeca886f948 22:29:22 ---> ae1bb5deaa46 22:29:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:29:22 ---> Running in 8ef83daf71b0 22:29:22 Removing intermediate container 8ef83daf71b0 22:29:22 ---> 77fd878058da 22:29:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:29:22 ---> Running in 2d65303d1ca5 22:29:22 Removing intermediate container 2d65303d1ca5 22:29:22 ---> a8b160dd0ead 22:29:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:22 ---> Running in 7aec36e3d6ba 22:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:29:23 OK: 265 MiB in 53 packages 22:29:24 Removing intermediate container 7aec36e3d6ba 22:29:24 ---> 3f1eaa456c22 22:29:24 Step 9/13 : WORKDIR /device-onvif-camera 22:29:24 ---> Running in e5c797e22b6e 22:29:24 Removing intermediate container e5c797e22b6e 22:29:24 ---> f747907c9b4a 22:29:24 Step 10/13 : COPY go.mod vendor* ./ 22:29:24 ---> d8b29ecc5a7b 22:29:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:24 ---> Running in f0393d849e06 22:29:25 Still waiting to schedule task 22:29:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14973’ is offline 22:30:10 Removing intermediate container f0393d849e06 22:30:10 ---> cbfc8f08a81e 22:30:10 Step 12/13 : COPY . . 22:30:10 ---> 9901a54c8f7f 22:30:10 Step 13/13 : RUN ${MAKE} 22:30:10 ---> Running in ce111d71379d 22:30:10 noop 22:30:10 Removing intermediate container ce111d71379d 22:30:10 ---> 2a36be93be45 22:30:10 Successfully built 2a36be93be45 22:30:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:11 + docker inspect -f . ci-base-image-x86_64 22:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:11 prd-ubuntu20.04-docker-8c-8g-14974 does not seem to be running inside a container 22:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 22:30:11 $ docker top 4ed8481e17fc30744a28607e40b5a651262aa760d499fa358b8a3e4762860649 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:12 + go version 22:30:12 go version go1.20.2 linux/amd64 [Pipeline] } 22:30:12 $ docker stop --time=1 4ed8481e17fc30744a28607e40b5a651262aa760d499fa358b8a3e4762860649 22:30:13 $ docker rm -f --volumes 4ed8481e17fc30744a28607e40b5a651262aa760d499fa358b8a3e4762860649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:13 + docker inspect -f . ci-base-image-x86_64 22:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:13 prd-ubuntu20.04-docker-8c-8g-14974 does not seem to be running inside a container 22:30:13 $ 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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 22:30:14 $ docker top 3992aa44599aea726c7bb8e42e7e7a136d2db8fd02acad7d997dd17c203bec6e -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-356 [Pipeline] fileExists [Pipeline] sh 22:30:14 + make test 22:30:14 go test ./... -coverprofile=coverage.out ./... 22:30:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:30:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:30:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:30:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.2% of statements 22:30:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.299s coverage: 86.5% of statements 22:30:42 go vet ./... 22:30:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:30:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:30:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:30:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:30:46 $ docker stop --time=1 3992aa44599aea726c7bb8e42e7e7a136d2db8fd02acad7d997dd17c203bec6e 22:30:48 $ docker rm -f --volumes 3992aa44599aea726c7bb8e42e7e7a136d2db8fd02acad7d997dd17c203bec6e [Pipeline] // withDockerContainer [Pipeline] sh 22:30:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:30:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:30:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:30:49 + ls -al . 22:30:49 total 232 22:30:49 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:30 . 22:30:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:28 .. 22:30:49 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:29 .git 22:30:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:28 .github 22:30:49 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:28 .gitignore 22:30:49 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:28 .golangci.yml 22:30:49 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:29 .semver 22:30:49 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:28 Attribution.txt 22:30:49 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:28 CHANGELOG.md 22:30:49 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:28 Dockerfile 22:30:49 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:28 GOVERNANCE.md 22:30:49 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:28 Jenkinsfile 22:30:49 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:28 LICENSE 22:30:49 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:28 Makefile 22:30:49 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:28 OWNERS.md 22:30:49 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:28 README.md 22:30:49 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:29 VERSION 22:30:49 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:28 bin 22:30:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:28 cmd 22:30:49 -rw-r--r-- 1 jenkins jenkins 78385 May 10 22:30 coverage.out 22:30:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:28 doc 22:30:49 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:28 go.mod 22:30:49 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:28 go.sum 22:30:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:28 internal 22:30:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:28 snap 22:30:49 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:49 + 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=f3d2c4554811da98fbc2379e649e5799d967eacf --label arch=amd64 --label version=0.0.0 . 22:30:49 Sending build context to Docker daemon 22.08MB 22:30:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:30:49 Step 2/26 : FROM ${BASE} AS builder 22:30:49 ---> 2a36be93be45 22:30:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:30:50 ---> Running in 45a3bac3e83b 22:30:50 Removing intermediate container 45a3bac3e83b 22:30:50 ---> eeb90c1d8fe9 22:30:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:50 ---> Running in 30318ce358dd 22:30:51 Removing intermediate container 30318ce358dd 22:30:51 ---> ad5de5fdd00a 22:30:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:30:51 ---> Running in 5744b64ccd6d 22:30:51 Removing intermediate container 5744b64ccd6d 22:30:51 ---> 52fdfddfe3a1 22:30:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:30:51 ---> Running in a8f8613d7d9f 22:30:51 Removing intermediate container a8f8613d7d9f 22:30:51 ---> da4b92954839 22:30:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:30:52 ---> Running in 2dc033ba7646 22:30:52 Removing intermediate container 2dc033ba7646 22:30:52 ---> 37831c65cb39 22:30:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:52 ---> Running in 8aec15226159 22:30:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:30:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:30:54 OK: 265 MiB in 53 packages 22:30:55 Removing intermediate container 8aec15226159 22:30:55 ---> cbc8b9633e5a 22:30:55 Step 9/26 : WORKDIR /device-onvif-camera 22:30:55 ---> Running in 1a6abed7fe45 22:30:56 Removing intermediate container 1a6abed7fe45 22:30:56 ---> c023fdf988ab 22:30:56 Step 10/26 : COPY go.mod vendor* ./ 22:30:56 ---> b0ae0c3ae23a 22:30:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:56 ---> Running in 810422f5d2ad 22:30:58 Removing intermediate container 810422f5d2ad 22:30:58 ---> ccffd4d2e81c 22:30:58 Step 12/26 : COPY . . 22:30:59 ---> 09886da9a1b7 22:30:59 Step 13/26 : RUN ${MAKE} 22:30:59 ---> Running in 0216225c23a5 22:30:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:31:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14976 in /w/workspace/undry_device-onvif-camera_PR-356 [Pipeline] { [Pipeline] ws 22:31:05 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 22:31:05 The recommended git tool is: git 22:31:12 using credential edgex-jenkins-ssh 22:31:12 Cloning the remote Git repository 22:31:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:31:12 > git init /w/workspace/device-onvif-camera/5 # timeout=10 22:31:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:31:12 > git --version # timeout=10 22:31:12 > git --version # 'git version 2.25.1' 22:31:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:31:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:31:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:31:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:31:16 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit 049ff95098929d887e91a18d65fd3bb5e2bf42ab 22:31:17 Merge succeeded, producing 8fa8647aac0b63b3f4ce3019eb071a01a194b490 22:31:17 Checking out Revision 8fa8647aac0b63b3f4ce3019eb071a01a194b490 (PR-356) 22:31:16 > git config core.sparsecheckout # timeout=10 22:31:16 > git checkout -f 049ff95098929d887e91a18d65fd3bb5e2bf42ab # timeout=10 22:31:16 > git remote # timeout=10 22:31:16 > git config --get remote.origin.url # timeout=10 22:31:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:16 > git merge bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 22:31:17 > git rev-parse HEAD^{commit} # timeout=10 22:31:17 > git config core.sparsecheckout # timeout=10 22:31:17 > git checkout -f 8fa8647aac0b63b3f4ce3019eb071a01a194b490 # timeout=10 22:31:20 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" 22:31:20 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:31:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:21 Dload Upload Total Spent Left Speed 22:31:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 76813 22:31:21 Removing intermediate container 0216225c23a5 22:31:21 ---> 800d10d7de7b 22:31:21 Step 14/26 : FROM alpine:3.17 22:31:21 3.17: Pulling from library/alpine 22:31:21 f56be85fc22e: Already exists 22:31:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:31:21 Status: Downloaded newer image for alpine:3.17 22:31:21 ---> 9ed4aefc74f6 22:31:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:31:21 ---> Running in 7ed4264ae5e3 22:31:21 Removing intermediate container 7ed4264ae5e3 22:31:21 ---> 8d06c1bb2953 22:31:21 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:31:21 ---> Running in b74ae171cc9c 22:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:31:21 (1/1) Installing dumb-init (1.2.5-r2) 22:31:21 Executing busybox-1.35.0-r29.trigger 22:31:21 OK: 7 MiB in 16 packages 22:31:21 Removing intermediate container b74ae171cc9c 22:31:21 ---> 48930f8ab651 22:31:21 Step 17/26 : WORKDIR / 22:31:21 ---> Running in c7533d913448 [Pipeline] sh 22:31:22 Removing intermediate container c7533d913448 22:31:22 ---> 785df718c12f 22:31:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:31:20 > git rev-list --no-walk 7ef03f6e0e0f0e8a32a0ae264befd5ea77c6de48 # timeout=10 22:31:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:31:22 + sudo tee /etc/docker/daemon.new 22:31:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:31:22 { 22:31:22 "registry-mirrors": [ 22:31:22 "https://nexus3.edgexfoundry.org:10001" 22:31:22 ], 22:31:22 "bip": "10.250.0.254/24", 22:31:22 "hosts": [ 22:31:22 "tcp://0.0.0.0:5555", 22:31:22 "unix:///var/run/docker.sock" 22:31:22 ], 22:31:22 "mtu": 1458, 22:31:22 "selinux-enabled": true, 22:31:22 "seccomp-profile": "/etc/docker/seccomp.json" 22:31:22 } [Pipeline] sh 22:31:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:31:23 ---> 62c5573313b6 22:31:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:31:23 ---> 6026b41d8109 22:31:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:31:23 ---> e3866abd1124 22:31:23 Step 21/26 : EXPOSE 59984 22:31:23 ---> Running in 2edb4978a91d 22:31:23 + sudo service docker restart 22:31:23 Removing intermediate container 2edb4978a91d 22:31:23 ---> 6e00f1c6424f 22:31:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:31:23 ---> Running in 3906853e7ec1 22:31:23 Removing intermediate container 3906853e7ec1 22:31:23 ---> c5671c4f099d 22:31:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:31:23 ---> Running in 61ff5412fe9a 22:31:24 Removing intermediate container 61ff5412fe9a 22:31:24 ---> cbae52b2c432 22:31:24 Step 24/26 : LABEL arch=amd64 22:31:24 ---> Running in c60be491d9af 22:31:24 Removing intermediate container c60be491d9af 22:31:24 ---> 7181329ab1e0 22:31:24 Step 25/26 : LABEL git_sha=f3d2c4554811da98fbc2379e649e5799d967eacf 22:31:24 ---> Running in 8ae6be1de812 22:31:24 Removing intermediate container 8ae6be1de812 22:31:24 ---> a539b76bbf8d 22:31:24 Step 26/26 : LABEL version=0.0.0 22:31:24 ---> Running in bfb8049ae671 22:31:24 Removing intermediate container bfb8049ae671 22:31:24 ---> ef17f105a04f 22:31:24 [Warning] One or more build-args [ARCH] were not consumed 22:31:24 Successfully built ef17f105a04f 22:31:24 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 22:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:25 22:31:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:25 latest: Pulling from edgex-lftools-log-publisher 22:31:25 5eb5b503b376: Pulling fs layer 22:31:25 5c69ac0246d0: Pulling fs layer 22:31:25 ec43610c2a17: Pulling fs layer 22:31:25 3a2ae6a8a46f: Pulling fs layer 22:31:25 33b1e0a273af: Pulling fs layer 22:31:25 5d3b04190fa2: Pulling fs layer 22:31:25 2f39f015ded8: Pulling fs layer 22:31:25 3a2ae6a8a46f: Waiting 22:31:25 33b1e0a273af: Waiting 22:31:25 5d3b04190fa2: Waiting 22:31:25 2f39f015ded8: Waiting 22:31:25 5c69ac0246d0: Download complete 22:31:25 3a2ae6a8a46f: Verifying Checksum 22:31:25 3a2ae6a8a46f: Download complete 22:31:25 33b1e0a273af: Verifying Checksum 22:31:25 33b1e0a273af: Download complete 22:31:25 5d3b04190fa2: Verifying Checksum 22:31:25 5d3b04190fa2: Download complete 22:31:25 ec43610c2a17: Verifying Checksum 22:31:25 ec43610c2a17: Download complete 22:31:25 5eb5b503b376: Verifying Checksum 22:31:25 5eb5b503b376: Download complete 22:31:26 2f39f015ded8: Download complete 22:31:27 5eb5b503b376: Pull complete 22:31:27 5c69ac0246d0: Pull complete 22:31:28 ec43610c2a17: Pull complete 22:31:28 3a2ae6a8a46f: Pull complete 22:31:28 33b1e0a273af: Pull complete 22:31:28 5d3b04190fa2: Pull complete 22:31:33 2f39f015ded8: Pull complete 22:31:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:31:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:33 prd-ubuntu20.04-docker-8c-8g-14974 does not seem to be running inside a container 22:31:33 $ 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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 22:31:37 $ docker top 64d81c9392c479603163373a03c5ffd688586f93d5172d8e6a600dcf390453f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:37 ---> job-cost.sh 22:31:37 lf-activate-venv: SKIPPING 22:31:37 INFO: No Stack... 22:31:37 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:38 INFO: Archiving Costs [Pipeline] sh 22:31:38 + cat /w/workspace/undry_device-onvif-camera_PR-356/archives/cost.csv 22:31:38 + cut -d, -f6 [Pipeline] lock 22:31:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] 22:31:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] did not exist. Created. 22:31:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:38 + echo total: 0.2199999988079071 [Pipeline] stash 22:31:39 Stashed 1 file(s) [Pipeline] } 22:31:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:39 $ docker stop --time=1 64d81c9392c479603163373a03c5ffd688586f93d5172d8e6a600dcf390453f0 22:31:40 $ docker rm -f --volumes 64d81c9392c479603163373a03c5ffd688586f93d5172d8e6a600dcf390453f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:45 provisioning config files... 22:31:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config732108692485294168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:46 ---> docker-login.sh 22:31:46 nexus3.edgexfoundry.org:10001 22:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:46 Configure a credential helper to remove this warning. See 22:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:46 22:31:46 Login Succeeded 22:31:46 nexus3.edgexfoundry.org:10002 22:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:47 Configure a credential helper to remove this warning. See 22:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:47 22:31:47 Login Succeeded 22:31:47 nexus3.edgexfoundry.org:10003 22:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:47 Configure a credential helper to remove this warning. See 22:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:47 22:31:47 Login Succeeded 22:31:47 nexus3.edgexfoundry.org:10004 22:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:47 Configure a credential helper to remove this warning. See 22:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:47 22:31:47 Login Succeeded 22:31:47 docker.io 22:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:48 Configure a credential helper to remove this warning. See 22:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:48 22:31:48 Login Succeeded 22:31:48 ---> docker-login.sh ends [Pipeline] } 22:31:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:31:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:48 ========================================================= 22:31:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:31:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:49 + 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 . 22:31:49 Sending build context to Docker daemon 14.52MB 22:31:49 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:31:49 Step 2/13 : FROM ${BASE} AS builder 22:31:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:49 c41833b44d91: Pulling fs layer 22:31:49 ed15518f5707: Pulling fs layer 22:31:49 feae8fd75edb: Pulling fs layer 22:31:49 242c74f7c9fa: Pulling fs layer 22:31:49 3cdef696dda3: Pulling fs layer 22:31:49 2ced38df9373: Pulling fs layer 22:31:49 58f1dce35555: Pulling fs layer 22:31:49 3cdef696dda3: Waiting 22:31:49 2ced38df9373: Waiting 22:31:49 58f1dce35555: Waiting 22:31:49 242c74f7c9fa: Waiting 22:31:49 ed15518f5707: Verifying Checksum 22:31:49 ed15518f5707: Download complete 22:31:49 242c74f7c9fa: Verifying Checksum 22:31:49 242c74f7c9fa: Download complete 22:31:49 3cdef696dda3: Verifying Checksum 22:31:49 3cdef696dda3: Download complete 22:31:49 c41833b44d91: Verifying Checksum 22:31:49 c41833b44d91: Download complete 22:31:50 c41833b44d91: Pull complete 22:31:51 58f1dce35555: Verifying Checksum 22:31:51 58f1dce35555: Download complete 22:31:51 ed15518f5707: Pull complete 22:31:52 feae8fd75edb: Verifying Checksum 22:31:52 feae8fd75edb: Download complete 22:31:52 2ced38df9373: Verifying Checksum 22:32:02 feae8fd75edb: Pull complete 22:32:03 242c74f7c9fa: Pull complete 22:32:03 3cdef696dda3: Pull complete 22:32:10 2ced38df9373: Pull complete 22:32:11 58f1dce35555: Pull complete 22:32:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:32:11 ---> fadd8f120f05 22:32:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:32:13 ---> Running in 758132f1252b 22:32:14 Removing intermediate container 758132f1252b 22:32:14 ---> 269276782d70 22:32:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:14 ---> Running in c3b2b695267b 22:32:14 Removing intermediate container c3b2b695267b 22:32:14 ---> 955dcd18f880 22:32:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:32:14 ---> Running in 65d172cdc381 22:32:14 Removing intermediate container 65d172cdc381 22:32:14 ---> c439fb770f13 22:32:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:32:14 ---> Running in 118071fc2869 22:32:15 Removing intermediate container 118071fc2869 22:32:15 ---> 9ed150dd0840 22:32:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:32:15 ---> Running in b5d61d3035f7 22:32:15 Removing intermediate container b5d61d3035f7 22:32:15 ---> 067e6f576e2e 22:32:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:15 ---> Running in 39abdaca2f40 22:32:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:32:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:32:19 OK: 263 MiB in 53 packages 22:32:20 Removing intermediate container 39abdaca2f40 22:32:20 ---> 119548fb6531 22:32:20 Step 9/13 : WORKDIR /device-onvif-camera 22:32:20 ---> Running in 90269dd03e6e 22:32:20 Removing intermediate container 90269dd03e6e 22:32:20 ---> e13a759393f2 22:32:20 Step 10/13 : COPY go.mod vendor* ./ 22:32:21 ---> 7551c5e6c513 22:32:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:21 ---> Running in 87869f10403e 22:33:29 Removing intermediate container 87869f10403e 22:33:29 ---> 5c0bbf04be32 22:33:29 Step 12/13 : COPY . . 22:33:29 ---> d1f21d2afd52 22:33:29 Step 13/13 : RUN ${MAKE} 22:33:29 ---> Running in df82f2011813 22:33:30 noop 22:33:31 Removing intermediate container df82f2011813 22:33:31 ---> 64a0b503fc1c 22:33:31 Successfully built 64a0b503fc1c 22:33:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:31 + docker inspect -f . ci-base-image-arm64 22:33:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:31 prd-ubuntu20.04-docker-arm64-4c-16g-14976 does not seem to be running inside a container 22:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 22:33:32 $ docker top 5a4e10b3103ded32387f9dd5cdb50b308ddfa5f136a6a7547f235f8fcdd615d9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:33 + go version 22:33:33 go version go1.20.2 linux/arm64 [Pipeline] } 22:33:33 $ docker stop --time=1 5a4e10b3103ded32387f9dd5cdb50b308ddfa5f136a6a7547f235f8fcdd615d9 22:33:35 $ docker rm -f --volumes 5a4e10b3103ded32387f9dd5cdb50b308ddfa5f136a6a7547f235f8fcdd615d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:35 + docker inspect -f . ci-base-image-arm64 22:33:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:36 prd-ubuntu20.04-docker-arm64-4c-16g-14976 does not seem to be running inside a container 22:33:36 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 22:33:37 $ docker top c54677b358d4cb03b9aa01599dd384ab4aca21deedb0a74e56c1b934890b44c8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 22:33:38 + make test 22:33:38 go test ./... -coverprofile=coverage.out ./... 22:34:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:36:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:36:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:36:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.2% of statements 22:36:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.044s coverage: 86.5% of statements 22:36:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:36:56 go vet ./... 22:37:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:37:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:37:28 ./bin/test-attribution-txt.sh [Pipeline] echo 22:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:37:28 $ docker stop --time=1 c54677b358d4cb03b9aa01599dd384ab4aca21deedb0a74e56c1b934890b44c8 22:37:30 $ docker rm -f --volumes c54677b358d4cb03b9aa01599dd384ab4aca21deedb0a74e56c1b934890b44c8 [Pipeline] // withDockerContainer [Pipeline] sh 22:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:37:31 Warning: overwriting stash ‘coverage-report’ 22:37:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:37:32 + ls -al . 22:37:32 total 228 22:37:32 drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:33 . 22:37:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:31 .. 22:37:32 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:31 .git 22:37:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:31 .github 22:37:32 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:31 .gitignore 22:37:32 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:31 .golangci.yml 22:37:32 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:31 Attribution.txt 22:37:32 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:31 CHANGELOG.md 22:37:32 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:31 Dockerfile 22:37:32 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:31 GOVERNANCE.md 22:37:32 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:31 Jenkinsfile 22:37:32 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:31 LICENSE 22:37:32 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:31 Makefile 22:37:32 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:31 OWNERS.md 22:37:32 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:31 README.md 22:37:32 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:29 VERSION 22:37:32 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:31 bin 22:37:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:31 cmd 22:37:32 -rw-r--r-- 1 jenkins jenkins 78385 May 10 22:36 coverage.out 22:37:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:31 doc 22:37:32 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:31 go.mod 22:37:32 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:31 go.sum 22:37:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:31 internal 22:37:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:31 snap 22:37:32 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:33 + 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=8fa8647aac0b63b3f4ce3019eb071a01a194b490 --label arch=arm64 --label version=0.0.0 . 22:37:33 Sending build context to Docker daemon 14.6MB 22:37:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:37:33 Step 2/26 : FROM ${BASE} AS builder 22:37:33 ---> 64a0b503fc1c 22:37:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:37:33 ---> Running in 430a0041d873 22:37:34 Removing intermediate container 430a0041d873 22:37:34 ---> 0f607aa543b3 22:37:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:37:34 ---> Running in 249e81e866fc 22:37:34 Removing intermediate container 249e81e866fc 22:37:34 ---> e8c1abaa7044 22:37:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:37:34 ---> Running in da82b311c154 22:37:34 Removing intermediate container da82b311c154 22:37:34 ---> cf6ab85b5e4f 22:37:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:37:34 ---> Running in 2d7c2635343e 22:37:35 Removing intermediate container 2d7c2635343e 22:37:35 ---> 13a1d190f1ec 22:37:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:37:35 ---> Running in 09b3c985c1b9 22:37:35 Removing intermediate container 09b3c985c1b9 22:37:35 ---> 7c7fa7d2a5d7 22:37:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:37:35 ---> Running in c254eaeb4a9d 22:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:37:38 OK: 263 MiB in 53 packages 22:37:39 Removing intermediate container c254eaeb4a9d 22:37:39 ---> 03fd7a052352 22:37:39 Step 9/26 : WORKDIR /device-onvif-camera 22:37:39 ---> Running in 2528e317a5dc 22:37:39 Removing intermediate container 2528e317a5dc 22:37:39 ---> f3420dec932d 22:37:39 Step 10/26 : COPY go.mod vendor* ./ 22:37:40 ---> f7ee9f325c35 22:37:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:37:40 ---> Running in 70b9349ae9e8 22:37:43 Removing intermediate container 70b9349ae9e8 22:37:43 ---> 7c16b41743d8 22:37:43 Step 12/26 : COPY . . 22:37:45 ---> 21f41d960226 22:37:45 Step 13/26 : RUN ${MAKE} 22:37:45 ---> Running in 6b533f249980 22:37:46 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 22:40:23 Removing intermediate container 6b533f249980 22:40:23 ---> 57d6fac288ad 22:40:23 Step 14/26 : FROM alpine:3.17 22:40:23 3.17: Pulling from library/alpine 22:40:23 c41833b44d91: Already exists 22:40:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:40:23 Status: Downloaded newer image for alpine:3.17 22:40:23 ---> 51e60588ff2c 22:40:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:40:23 ---> Running in 62123f7728a8 22:40:23 Removing intermediate container 62123f7728a8 22:40:23 ---> 3b3ca9fc8b28 22:40:23 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:40:23 ---> Running in f95af84ba2a3 22:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:40:23 (1/1) Installing dumb-init (1.2.5-r2) 22:40:23 Executing busybox-1.35.0-r29.trigger 22:40:23 OK: 8 MiB in 16 packages 22:40:23 Removing intermediate container f95af84ba2a3 22:40:23 ---> cfa91ca994ed 22:40:23 Step 17/26 : WORKDIR / 22:40:23 ---> Running in 9e38b9827597 22:40:23 Removing intermediate container 9e38b9827597 22:40:23 ---> 81e1a5b8b79a 22:40:23 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:40:23 ---> 839f7b347155 22:40:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:40:23 ---> 65bc924c6555 22:40:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:40:23 ---> 53f50fc7f087 22:40:23 Step 21/26 : EXPOSE 59984 22:40:23 ---> Running in 54a49031a01d 22:40:23 Removing intermediate container 54a49031a01d 22:40:23 ---> 714a8e529c43 22:40:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:40:23 ---> Running in 5092e7f425c4 22:40:23 Removing intermediate container 5092e7f425c4 22:40:23 ---> b889811e22cc 22:40:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:40:23 ---> Running in b9dc21eaeeda 22:40:23 Removing intermediate container b9dc21eaeeda 22:40:23 ---> c061130ca45c 22:40:23 Step 24/26 : LABEL arch=arm64 22:40:23 ---> Running in d6608c15ece5 22:40:23 Removing intermediate container d6608c15ece5 22:40:23 ---> 296e14514683 22:40:23 Step 25/26 : LABEL git_sha=8fa8647aac0b63b3f4ce3019eb071a01a194b490 22:40:23 ---> Running in 3263115a16e5 22:40:23 Removing intermediate container 3263115a16e5 22:40:23 ---> c412d2f9e5a6 22:40:23 Step 26/26 : LABEL version=0.0.0 22:40:23 ---> Running in b63d72196c4f 22:40:23 Removing intermediate container b63d72196c4f 22:40:23 ---> 742dbfa3ece4 22:40:23 [Warning] One or more build-args [ARCH] were not consumed 22:40:23 Successfully built 742dbfa3ece4 22:40:23 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 22:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:24 22:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:24 arm64: Pulling from edgex-lftools-log-publisher 22:40:24 8998bd30e6a1: Pulling fs layer 22:40:24 04944245beec: Pulling fs layer 22:40:24 699f458cf7ca: Pulling fs layer 22:40:24 765212b225bb: Pulling fs layer 22:40:24 f23df028b6ca: Pulling fs layer 22:40:24 d65c8cfc05b1: Pulling fs layer 22:40:24 2437ff75d9bd: Pulling fs layer 22:40:24 765212b225bb: Waiting 22:40:24 f23df028b6ca: Waiting 22:40:24 d65c8cfc05b1: Waiting 22:40:24 2437ff75d9bd: Waiting 22:40:24 04944245beec: Verifying Checksum 22:40:24 04944245beec: Download complete 22:40:24 765212b225bb: Verifying Checksum 22:40:24 765212b225bb: Download complete 22:40:24 f23df028b6ca: Download complete 22:40:24 d65c8cfc05b1: Verifying Checksum 22:40:24 d65c8cfc05b1: Download complete 22:40:24 699f458cf7ca: Verifying Checksum 22:40:24 699f458cf7ca: Download complete 22:40:25 8998bd30e6a1: Verifying Checksum 22:40:25 8998bd30e6a1: Download complete 22:40:27 2437ff75d9bd: Download complete 22:40:29 8998bd30e6a1: Pull complete 22:40:29 04944245beec: Pull complete 22:40:30 699f458cf7ca: Pull complete 22:40:30 765212b225bb: Pull complete 22:40:31 f23df028b6ca: Pull complete 22:40:31 d65c8cfc05b1: Pull complete 22:40:46 2437ff75d9bd: Pull complete 22:40:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:46 prd-ubuntu20.04-docker-arm64-4c-16g-14976 does not seem to be running inside a container 22:40:46 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 22:40:49 $ docker top 7a9583f10be4b230e4b0607c0d8d20748fbff472318fa707055e6293c0803a3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:50 ---> job-cost.sh 22:40:50 lf-activate-venv: SKIPPING 22:40:50 INFO: No Stack... 22:40:50 INFO: Retrieving Pricing Info for: v3-standard-4 22:40:51 INFO: Archiving Costs [Pipeline] sh 22:40:52 + cut -d, -f6 22:40:52 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [Pipeline] lock 22:40:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] 22:40:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] did not exist. Created. 22:40:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:40:52 /w/workspace/device-onvif-camera/5@tmp/durable-73943f7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:40:52 + echo total: 0.10999999940395355 [Pipeline] stash 22:40:53 Warning: overwriting stash ‘stack-cost’ 22:40:53 Stashed 1 file(s) [Pipeline] } 22:40:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-356-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:40:53 $ docker stop --time=1 7a9583f10be4b230e4b0607c0d8d20748fbff472318fa707055e6293c0803a3c 22:40:54 $ docker rm -f --volumes 7a9583f10be4b230e4b0607c0d8d20748fbff472318fa707055e6293c0803a3c [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 22:40:54 provisioning config files... 22:40:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config2750017433200563024tmp [Pipeline] { [Pipeline] sh 22:40:55 + set +x 22:40:55 + curl -s https://codecov.io/bash 22:40:55 + bash -s -- 22:40:55 22:40:55 _____ _ 22:40:55 / ____| | | 22:40:55 | | ___ __| | ___ ___ _____ __ 22:40:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:40:55 | |___| (_) | (_| | __/ (_| (_) \ V / 22:40:55 \_____\___/ \__,_|\___|\___\___/ \_/ 22:40:55 Bash-1.0.6 22:40:55 22:40:55 22:40:55 ==> git version 2.25.1 found 22:40:55 ==> 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 22:40:55 Release-Date: 2020-01-08 22:40:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:40:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:40:55 ==> Jenkins CI detected. 22:40:55 current dir:  /w/workspace/undry_device-onvif-camera_PR-356 22:40:55 project root: . 22:40:55 --> token set from env 22:40:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:40:55 ==> Running gcov in . (disable via -X gcov) 22:40:55 ==> Python coveragepy not found 22:40:55 ==> Searching for coverage reports in: 22:40:55 + . 22:40:55 -> Found 1 reports 22:40:55 ==> Detecting git/mercurial file structure 22:40:55 ==> Reading reports 22:40:55 + ./coverage.out bytes=78385 22:40:55 ==> Appending adjustments 22:40:55 https://docs.codecov.io/docs/fixing-reports 22:40:55 + Found adjustments 22:40:55 ==> Gzipping contents 22:40:55 12K /tmp/codecov.FPaZz7.gz 22:40:55 ==> Uploading reports 22:40:55 url: https://codecov.io 22:40:55 query: branch=PR-356&commit=f3d2c4554811da98fbc2379e649e5799d967eacf&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-356%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=356&job=&cmd_args= 22:40:55 -> Pinging Codecov 22:40:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-356&commit=f3d2c4554811da98fbc2379e649e5799d967eacf&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-356%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=356&job=&cmd_args= 22:40:55 -> Uploading to 22:40:55 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/F29A59C45E3A92E06B3E522C9905F8EF/f3d2c4554811da98fbc2379e649e5799d967eacf/27547f6a-5ac5-476e-81a5-228702bc0f80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T224055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb4b2872bc0e96609efc8d99c662fa9549428a0eb4c45be8ac454448e305528b 22:40:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:40:55 Dload Upload Total Spent Left Speed 22:40:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10499 0 0 100 10499 0 50475 --:--:-- --:--:-- --:--:-- 50475 22:40:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f3d2c4554811da98fbc2379e649e5799d967eacf [Pipeline] } 22:40:56 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 22:40:56 + [ -d /w/workspace/undry_device-onvif-camera_PR-356/archives ] 22:40:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-356/archives 22:40:56 total 16 22:40:56 drwxr-xr-x 3 root root 4096 May 10 22:31 . 22:40:56 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:31 .. 22:40:56 drwxr-xr-x 2 root root 4096 May 10 22:31 cost 22:40:56 -rw-r--r-- 1 root root 91 May 10 22:31 cost.csv 22:40:56 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-356/archives 22:40:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-356/archives 22:40:56 total 16 22:40:56 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:31 . 22:40:56 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:31 .. 22:40:56 drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:31 cost 22:40:56 -rw-r--r-- 1 jenkins jenkins 91 May 10 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:40:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:40:57 ---> package-listing.sh 22:40:57 ++ facter osfamily 22:40:57 ++ tr '[:upper:]' '[:lower:]' 22:40:58 + OS_FAMILY=debian 22:40:58 + workspace=/w/workspace/undry_device-onvif-camera_PR-356 22:40:58 + START_PACKAGES=/tmp/packages_start.txt 22:40:58 + END_PACKAGES=/tmp/packages_end.txt 22:40:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:40:58 + PACKAGES=/tmp/packages_start.txt 22:40:58 + '[' /w/workspace/undry_device-onvif-camera_PR-356 ']' 22:40:58 + PACKAGES=/tmp/packages_end.txt 22:40:58 + case "${OS_FAMILY}" in 22:40:58 + dpkg -l 22:40:58 + grep '^ii' 22:40:58 + '[' -f /tmp/packages_start.txt ']' 22:40:58 + '[' -f /tmp/packages_end.txt ']' 22:40:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:40:58 + '[' /w/workspace/undry_device-onvif-camera_PR-356 ']' 22:40:58 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-356/archives/ 22:40:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-356/archives/ [Pipeline] echo 22:40:58 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-356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:40:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:40:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:59 prd-ubuntu20.04-docker-8c-8g-14974 does not seem to be running inside a container 22:40:59 $ 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-356/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-356 -v /w/workspace/undry_device-onvif-camera_PR-356:/w/workspace/undry_device-onvif-camera_PR-356:rw,z -v /w/workspace/undry_device-onvif-camera_PR-356@tmp:/w/workspace/undry_device-onvif-camera_PR-356@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 22:40:59 $ docker top 482ca6c07ae773b6f6caa5e64baad0c02fd7c6f71ccae68f065941b5b3f200fe -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:59 + touch /tmp/pre-build-complete [Pipeline] sh 22:40:59 + mkdir -p /var/log/sysstat [Pipeline] sh 22:41:00 + ls /var/log/sa-host 22:41:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:00 provisioning config files... 22:41:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-356@tmp/config725862592500939537tmp [Pipeline] { [Pipeline] echo 22:41:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:41:00 ---> create-netrc.sh [Pipeline] } 22:41:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:41:00 ---> python-tools-install.sh [Pipeline] echo 22:41:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:41:01 ---> sudo-logs.sh 22:41:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:41:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:41:01 ---> job-cost.sh 22:41:01 lf-activate-venv: SKIPPING 22:41:01 DEBUG: total: 0.2199999988079071 22:41:01 INFO: Retrieving Stack Cost... 22:41:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:02 INFO: Archiving Costs [Pipeline] echo 22:41:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:41:02 ---> logs-deploy.sh 22:41:02 lf-activate-venv: SKIPPING 22:41:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-356/5 22:41:02 INFO: archiving workspace using pattern(s): 22:41:03 Archives upload complete. 22:41:03 INFO: archiving logs to Nexus