Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b+e31ca8a3936982fb289ce3a844b1ee55f128a24a (c2fc912da2329d76686458030e07aaa506f3abee) 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-ssh10558800745662583069.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3126777223019423168.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-404/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-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1308980792659469569.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh16468194349040547847.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-404/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-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3597927651926077089.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/v3]] ========================================================= [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.21 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/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17220 in /w/workspace/undry_device-onvif-camera_PR-404 [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-404 # 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e31ca8a3936982fb289ce3a844b1ee55f128a24a into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b Merge succeeded, producing aa00436483abfb56aeca7c14f97f7af7b4812db3 Checking out Revision aa00436483abfb56aeca7c14f97f7af7b4812db3 (PR-404) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # 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 e31ca8a3936982fb289ce3a844b1ee55f128a24a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa00436483abfb56aeca7c14f97f7af7b4812db3 # timeout=10 Commit message: "Merge commit 'e31ca8a3936982fb289ce3a844b1ee55f128a24a' into HEAD" > git rev-list --no-walk 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:35 ========================================================= 22:10:35 EdgeX Global Pipelines Version Info 22:10:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:36 ------------------- 22:10:36 stable info: 22:10:36 ------------------- 22:10:36 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 22:10:36 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 22:10:36 Message: update stable to v1.0.257 22:10:36 ------------------- 22:10:36 experimental info: 22:10:36 ------------------- 22:10:36 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:36 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 22:10:36 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa00436483abfb56aeca7c14f97f7af7b4812db3 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa00436 [Pipeline] echo 22:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:37 provisioning config files... 22:10:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config10875217198305671380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:37 ---> docker-login.sh 22:10:37 nexus3.edgexfoundry.org:10001 22:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 nexus3.edgexfoundry.org:10002 22:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 nexus3.edgexfoundry.org:10003 22:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 nexus3.edgexfoundry.org:10004 22:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 docker.io 22:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 ---> docker-login.sh ends [Pipeline] } 22:10:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:41 + git rev-list -1 --merges aa00436483abfb56aeca7c14f97f7af7b4812db3~1..aa00436483abfb56aeca7c14f97f7af7b4812db3 [Pipeline] echo 22:10:41 -----------> git rev-list -1 --merges aa00436483abfb56aeca7c14f97f7af7b4812db3~1..aa00436483abfb56aeca7c14f97f7af7b4812db3 aa00436483abfb56aeca7c14f97f7af7b4812db3 22:10:41 aa00436483abfb56aeca7c14f97f7af7b4812db3 [false] [Pipeline] sh 22:10:41 + git log --format=format:%s -1 aa00436483abfb56aeca7c14f97f7af7b4812db3 [Pipeline] echo 22:10:41 ========================================================= 22:10:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:42 + git log --format=format:%s -1 aa00436483abfb56aeca7c14f97f7af7b4812db3 [Pipeline] echo 22:10:42 [semverPrep] GIT_COMMIT: aa00436483abfb56aeca7c14f97f7af7b4812db3, Commit Message: Merge commit 'e31ca8a3936982fb289ce3a844b1ee55f128a24a' into HEAD [Pipeline] echo 22:10:42 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:42 + grep -v github /etc/ssh/ssh_known_hosts 22:10:42 + [ -e /tmp/ssh_known_hosts ] 22:10:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:42 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 22:10:42 -a /etc/ssh/ssh_known_hosts 22:10:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:42 22:10:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:43 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:43 b85a868b505f: Pulling fs layer 22:10:43 e2be974225ed: Pulling fs layer 22:10:43 339a4e72a1f5: Pulling fs layer 22:10:43 988bab9f4d93: Pulling fs layer 22:10:43 1469e6f7b9e6: Pulling fs layer 22:10:43 eaf3925da568: Pulling fs layer 22:10:43 bab4dde63d76: Pulling fs layer 22:10:43 bde34c3a00c8: Pulling fs layer 22:10:43 b352a97aabf1: Pulling fs layer 22:10:43 4872d77fe225: Pulling fs layer 22:10:43 5851b861e8e6: Pulling fs layer 22:10:43 1469e6f7b9e6: Waiting 22:10:43 eaf3925da568: Waiting 22:10:43 bab4dde63d76: Waiting 22:10:43 bde34c3a00c8: Waiting 22:10:43 b352a97aabf1: Waiting 22:10:43 4872d77fe225: Waiting 22:10:43 5851b861e8e6: Waiting 22:10:43 988bab9f4d93: Waiting 22:10:43 e2be974225ed: Download complete 22:10:43 988bab9f4d93: Verifying Checksum 22:10:43 988bab9f4d93: Download complete 22:10:43 1469e6f7b9e6: Download complete 22:10:43 eaf3925da568: Verifying Checksum 22:10:43 eaf3925da568: Download complete 22:10:43 339a4e72a1f5: Verifying Checksum 22:10:43 339a4e72a1f5: Download complete 22:10:43 bde34c3a00c8: Verifying Checksum 22:10:43 bde34c3a00c8: Download complete 22:10:43 b352a97aabf1: Verifying Checksum 22:10:43 b352a97aabf1: Download complete 22:10:43 4872d77fe225: Verifying Checksum 22:10:43 4872d77fe225: Download complete 22:10:43 5851b861e8e6: Verifying Checksum 22:10:43 5851b861e8e6: Download complete 22:10:43 b85a868b505f: Verifying Checksum 22:10:43 b85a868b505f: Download complete 22:10:43 bab4dde63d76: Verifying Checksum 22:10:43 bab4dde63d76: Download complete 22:10:44 b85a868b505f: Pull complete 22:10:44 e2be974225ed: Pull complete 22:10:45 339a4e72a1f5: Pull complete 22:10:45 988bab9f4d93: Pull complete 22:10:45 1469e6f7b9e6: Pull complete 22:10:45 eaf3925da568: Pull complete 22:10:47 bab4dde63d76: Pull complete 22:10:47 bde34c3a00c8: Pull complete 22:10:47 b352a97aabf1: Pull complete 22:10:47 4872d77fe225: Pull complete 22:10:47 5851b861e8e6: Pull complete 22:10:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:47 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 22:10:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:51 $ docker top 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 -eo pid,comm 22:10:51 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:10:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:51 [ssh-agent] Looking for ssh-agent implementation... 22:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:51 $ docker exec 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 ssh-agent 22:10:51 SSH_AUTH_SOCK=/tmp/ssh-sHj96RpSdlxQ/agent.32 22:10:51 SSH_AGENT_PID=38 22:10:51 Running ssh-add (command line suppressed) 22:10:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_17088443367805989785.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_17088443367805989785.key) 22:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:51 + git tag --points-at HEAD [Pipeline] } 22:10:51 $ docker exec --env ******** --env ******** 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 ssh-agent -k 22:10:52 unset SSH_AUTH_SOCK; 22:10:52 unset SSH_AGENT_PID; 22:10:52 echo Agent pid 38 killed; 22:10:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:52 [ssh-agent] Looking for ssh-agent implementation... 22:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:52 $ docker exec 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 ssh-agent 22:10:52 SSH_AUTH_SOCK=/tmp/ssh-zzM3WoVoPc50/agent.70 22:10:52 SSH_AGENT_PID=76 22:10:52 Running ssh-add (command line suppressed) 22:10:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_1892528870501526650.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_1892528870501526650.key) 22:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:52 + git semver init 22:10:52 2023-11-10 22:10:52,892 [run_init] DEBUG init version:0.0.0 force:False 22:10:52 2023-11-10 22:10:52,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-404/.semver 22:10:52 2023-11-10 22:10:52,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-404/.semver 22:10:52 2023-11-10 22:10:52,894 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-404/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-404, universal_newlines=False, shell=None, istream=None) 22:10:54 2023-11-10 22:10:53,939 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-404/.git/info/exclude 22:10:54 2023-11-10 22:10:53,940 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 with force:False 22:10:54 2023-11-10 22:10:53,940 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 22:10:54 2023-11-10 22:10:53,942 [execute] INFO git cat-file --batch-check 22:10:54 2023-11-10 22:10:53,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) 22:10:54 2023-11-10 22:10:53,947 [execute] INFO git cat-file --batch 22:10:54 2023-11-10 22:10:53,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) 22:10:54 2023-11-10 22:10:53,953 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 22:10:54 0.0.0 [Pipeline] } 22:10:54 $ docker exec --env ******** --env ******** 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 ssh-agent -k 22:10:54 unset SSH_AUTH_SOCK; 22:10:54 unset SSH_AGENT_PID; 22:10:54 echo Agent pid 76 killed; 22:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:54 + git semver [Pipeline] } 22:10:55 $ docker stop --time=1 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 22:10:56 $ docker rm -f --volumes 4ed2c4fbc81b11ae0dd222f9d5b822078d46445aeebfe5ab7ba3e3996f699e01 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:56 Stashed 1 file(s) [Pipeline] echo 22:10:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:57 provisioning config files... 22:10:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config17386677072556808623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:57 ---> docker-login.sh 22:10:57 nexus3.edgexfoundry.org:10001 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10002 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10003 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10004 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 docker.io 22:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:58 Configure a credential helper to remove this warning. See 22:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:58 22:10:58 Login Succeeded 22:10:58 ---> docker-login.sh ends [Pipeline] } 22:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:10:58 ========================================================= 22:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:10:58 Sending build context to Docker daemon 21.7MB 22:10:58 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:10:58 Step 2/13 : FROM ${BASE} AS builder 22:10:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:58 7264a8db6415: Pulling fs layer 22:10:58 c4d48a809fc2: Pulling fs layer 22:10:58 4f1c88b9dad5: Pulling fs layer 22:10:58 ad3a456e5733: Pulling fs layer 22:10:58 33e27b845d1e: Pulling fs layer 22:10:58 c68163c4e522: Pulling fs layer 22:10:58 50da416c3ac9: Pulling fs layer 22:10:58 23d2d4c4bb30: Pulling fs layer 22:10:58 ad3a456e5733: Waiting 22:10:58 33e27b845d1e: Waiting 22:10:58 50da416c3ac9: Waiting 22:10:58 23d2d4c4bb30: Waiting 22:10:58 c68163c4e522: Waiting 22:10:58 c4d48a809fc2: Download complete 22:10:58 ad3a456e5733: Verifying Checksum 22:10:58 ad3a456e5733: Download complete 22:10:58 33e27b845d1e: Verifying Checksum 22:10:58 33e27b845d1e: Download complete 22:10:58 7264a8db6415: Verifying Checksum 22:10:58 7264a8db6415: Download complete 22:10:58 c68163c4e522: Verifying Checksum 22:10:58 c68163c4e522: Download complete 22:10:58 7264a8db6415: Pull complete 22:10:58 c4d48a809fc2: Pull complete 22:10:58 23d2d4c4bb30: Verifying Checksum 22:10:58 23d2d4c4bb30: Download complete 22:10:59 4f1c88b9dad5: Download complete 22:10:59 50da416c3ac9: Verifying Checksum 22:10:59 50da416c3ac9: Download complete 22:11:02 4f1c88b9dad5: Pull complete 22:11:02 ad3a456e5733: Pull complete 22:11:02 33e27b845d1e: Pull complete 22:11:02 c68163c4e522: Pull complete 22:11:04 50da416c3ac9: Pull complete 22:11:05 23d2d4c4bb30: Pull complete 22:11:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:11:05 ---> 0786185ac409 22:11:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:10 ---> Running in 041131af38ea 22:11:10 Removing intermediate container 041131af38ea 22:11:10 ---> 0b7f743c81c0 22:11:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:10 ---> Running in 454f7a1b54a1 22:11:10 Removing intermediate container 454f7a1b54a1 22:11:10 ---> 2e44ac67a2b1 22:11:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:10 ---> Running in 61919bdd0132 22:11:10 Removing intermediate container 61919bdd0132 22:11:10 ---> c1e13617ebc1 22:11:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:10 ---> Running in 6d5c2107f085 22:11:10 Removing intermediate container 6d5c2107f085 22:11:10 ---> c18fef9432fe 22:11:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:10 ---> Running in c9c09016f966 22:11:10 Removing intermediate container c9c09016f966 22:11:10 ---> a468c7cfa3bc 22:11:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:10 ---> Running in 37c3c23b06e4 22:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:11:11 OK: 264 MiB in 52 packages 22:11:11 Removing intermediate container 37c3c23b06e4 22:11:11 ---> a497beb68a61 22:11:11 Step 9/13 : WORKDIR /device-onvif-camera 22:11:11 ---> Running in e0ef48b345c9 22:11:11 Removing intermediate container e0ef48b345c9 22:11:11 ---> ed21b6149c1a 22:11:11 Step 10/13 : COPY go.mod vendor* ./ 22:11:11 ---> df5e1ed2aa2d 22:11:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:11 ---> Running in 611d09d6c05d 22:11:12 Still waiting to schedule task 22:11:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:58 Removing intermediate container 611d09d6c05d 22:11:58 ---> b1f291dab487 22:11:58 Step 12/13 : COPY . . 22:11:58 ---> 17ccd2dc8b22 22:11:58 Step 13/13 : RUN ${MAKE} 22:11:58 ---> Running in 6cef631fd314 22:11:58 noop 22:11:58 Removing intermediate container 6cef631fd314 22:11:58 ---> a50e67a2ac93 22:11:58 Successfully built a50e67a2ac93 22:11:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:59 + docker inspect -f . ci-base-image-x86_64 22:11:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:59 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 22:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** ci-base-image-x86_64 cat 22:11:59 $ docker top 24b85fe4e334df07b98268a27efd91eed7943cd525e9e32de4adb9880baa3618 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:59 + go version 22:11:59 go version go1.21.0 linux/amd64 [Pipeline] } 22:11:59 $ docker stop --time=1 24b85fe4e334df07b98268a27efd91eed7943cd525e9e32de4adb9880baa3618 22:12:01 $ docker rm -f --volumes 24b85fe4e334df07b98268a27efd91eed7943cd525e9e32de4adb9880baa3618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + docker inspect -f . ci-base-image-x86_64 22:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:01 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 22:12:01 $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** ci-base-image-x86_64 cat 22:12:02 $ docker top bec95ae09cc61d8403ca0608235bd1e9bfbf9c06825ba380627000d4bfef131d -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:02 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] fileExists [Pipeline] sh 22:12:02 + make test 22:12:02 go test ./... -coverprofile=coverage.out ./... 22:12:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.082s coverage: 31.5% of statements 22:12:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.225s coverage: 86.5% of statements 22:12:24 go vet ./... 22:12:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:27 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:12:27 $ docker stop --time=1 bec95ae09cc61d8403ca0608235bd1e9bfbf9c06825ba380627000d4bfef131d 22:12:31 $ docker rm -f --volumes bec95ae09cc61d8403ca0608235bd1e9bfbf9c06825ba380627000d4bfef131d [Pipeline] // withDockerContainer [Pipeline] sh 22:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:33 + ls -al . 22:12:33 total 240 22:12:33 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 22:12 . 22:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:10 .. 22:12:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 22:12 .git 22:12:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 22:10 .github 22:12:33 -rw-rw-r-- 1 jenkins jenkins 493 Nov 10 22:10 .gitignore 22:12:33 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 22:10 .golangci.yml 22:12:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 22:10 .semver 22:12:33 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 10 22:10 Attribution.txt 22:12:33 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 10 22:10 CHANGELOG.md 22:12:33 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 10 22:10 Dockerfile 22:12:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 22:10 GOVERNANCE.md 22:12:33 -rw-rw-r-- 1 jenkins jenkins 739 Nov 10 22:10 Jenkinsfile 22:12:33 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 22:10 LICENSE 22:12:33 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 10 22:10 Makefile 22:12:33 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 22:10 OWNERS.md 22:12:33 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 10 22:10 README.md 22:12:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 22:10 VERSION 22:12:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 22:10 bin 22:12:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 22:10 cmd 22:12:33 -rw-r--r-- 1 jenkins jenkins 78456 Nov 10 22:12 coverage.out 22:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:10 doc 22:12:33 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 10 22:10 go.mod 22:12:33 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 10 22:10 go.sum 22:12:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:10 internal 22:12:33 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:33 + 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=aa00436483abfb56aeca7c14f97f7af7b4812db3 --label arch=amd64 --label version=0.0.0 . 22:12:33 Sending build context to Docker daemon 21.78MB 22:12:33 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:12:33 Step 2/26 : FROM ${BASE} AS builder 22:12:33 ---> a50e67a2ac93 22:12:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:33 ---> Running in 67250a7551ac 22:12:33 Removing intermediate container 67250a7551ac 22:12:33 ---> 0dcac4faeeba 22:12:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:33 ---> Running in 29d5f3a773a3 22:12:33 Removing intermediate container 29d5f3a773a3 22:12:33 ---> a33222733b7a 22:12:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:33 ---> Running in 536c6259cd71 22:12:34 Removing intermediate container 536c6259cd71 22:12:34 ---> 374e6505ba27 22:12:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:34 ---> Running in 7722525e1314 22:12:34 Removing intermediate container 7722525e1314 22:12:34 ---> ae6ab6bbaaae 22:12:34 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:34 ---> Running in 17d6294e2323 22:12:34 Removing intermediate container 17d6294e2323 22:12:34 ---> b9c997d8ecd3 22:12:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:34 ---> Running in ca54fa6df884 22:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:34 OK: 264 MiB in 52 packages 22:12:35 Removing intermediate container ca54fa6df884 22:12:35 ---> fc9d03b0be18 22:12:35 Step 9/26 : WORKDIR /device-onvif-camera 22:12:35 ---> Running in bc1696bb3ac4 22:12:35 Removing intermediate container bc1696bb3ac4 22:12:35 ---> e6977f1efa64 22:12:35 Step 10/26 : COPY go.mod vendor* ./ 22:12:35 ---> 382b0e21f5d7 22:12:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:35 ---> Running in 10300b76b845 22:12:36 Removing intermediate container 10300b76b845 22:12:36 ---> b7c39b596a7b 22:12:36 Step 12/26 : COPY . . 22:12:37 ---> 019208259e56 22:12:37 Step 13/26 : RUN ${MAKE} 22:12:37 ---> Running in 7b4fa90b1722 22:12:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:12:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17221 in /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] { [Pipeline] ws 22:12:53 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 22:12:53 The recommended git tool is: git 22:12:57 using credential edgex-jenkins-ssh 22:12:57 Cloning the remote Git repository 22:12:59 Removing intermediate container 7b4fa90b1722 22:12:59 ---> c67e00338862 22:12:59 Step 14/26 : FROM alpine:3.18 22:12:59 3.18: Pulling from library/alpine 22:12:59 96526aa774ef: Pulling fs layer 22:12:59 96526aa774ef: Verifying Checksum 22:12:59 96526aa774ef: Download complete 22:12:59 96526aa774ef: Pull complete 22:12:59 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:12:59 Status: Downloaded newer image for alpine:3.18 22:12:59 ---> 8ca4688f4f35 22:12:59 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:12:59 ---> Running in 6aade29d45be 22:12:59 Removing intermediate container 6aade29d45be 22:12:59 ---> 262f70f13fc0 22:12:59 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:59 ---> Running in 7d6a9c4021e8 22:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:59 (1/1) Installing dumb-init (1.2.5-r2) 22:12:59 Executing busybox-1.36.1-r2.trigger 22:12:59 OK: 7 MiB in 16 packages 22:12:59 Removing intermediate container 7d6a9c4021e8 22:12:59 ---> 6b5fe0169157 22:12:59 Step 17/26 : WORKDIR / 22:12:59 ---> Running in 2de9731f542c 22:12:59 Removing intermediate container 2de9731f542c 22:12:59 ---> 8a621d15b6a6 22:12:59 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:58 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:58 > git init /w/workspace/device-onvif-camera/4 # timeout=10 22:12:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:58 > git --version # timeout=10 22:12:58 > git --version # 'git version 2.25.1' 22:12:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:59 ---> 87a571f6d168 22:12:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:59 ---> a01e3c47db5d 22:12:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:59 ---> 7731d28b17e1 22:12:59 Step 21/26 : EXPOSE 59984 22:12:59 ---> Running in e098b68c97ba 22:12:59 Removing intermediate container e098b68c97ba 22:12:59 ---> 6a3ebe7d8831 22:12:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:59 ---> Running in 233c72395812 22:12:59 Removing intermediate container 233c72395812 22:12:59 ---> a25cc4a2674c 22:12:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:59 ---> Running in bb49c08070c6 22:13:00 Removing intermediate container bb49c08070c6 22:13:00 ---> c7939ad9e232 22:13:00 Step 24/26 : LABEL arch=amd64 22:13:00 ---> Running in 80f0728a0bcf 22:13:00 Removing intermediate container 80f0728a0bcf 22:13:00 ---> e96cb2185658 22:13:00 Step 25/26 : LABEL git_sha=aa00436483abfb56aeca7c14f97f7af7b4812db3 22:13:00 ---> Running in 9abc8e57d5ba 22:13:00 Removing intermediate container 9abc8e57d5ba 22:13:00 ---> 127efc41539f 22:13:00 Step 26/26 : LABEL version=0.0.0 22:13:00 ---> Running in ce45b1a38781 22:13:00 Removing intermediate container ce45b1a38781 22:13:00 ---> 1da6fc0aab4c 22:13:00 [Warning] One or more build-args [ARCH] were not consumed 22:13:00 Successfully built 1da6fc0aab4c 22:13:00 Successfully tagged device-onvif-camera:latest 22:12:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [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:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:01 22:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:01 Merging remotes/origin/main commit e31ca8a3936982fb289ce3a844b1ee55f128a24a into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 22:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:01 latest: Pulling from edgex-lftools-log-publisher 22:13:01 5eb5b503b376: Pulling fs layer 22:13:01 5c69ac0246d0: Pulling fs layer 22:13:01 ec43610c2a17: Pulling fs layer 22:13:01 3a2ae6a8a46f: Pulling fs layer 22:13:01 33b1e0a273af: Pulling fs layer 22:13:01 5d3b04190fa2: Pulling fs layer 22:13:01 2f39f015ded8: Pulling fs layer 22:13:01 3a2ae6a8a46f: Waiting 22:13:01 5d3b04190fa2: Waiting 22:13:01 33b1e0a273af: Waiting 22:13:01 2f39f015ded8: Waiting 22:13:01 5c69ac0246d0: Download complete 22:13:01 3a2ae6a8a46f: Verifying Checksum 22:13:01 3a2ae6a8a46f: Download complete 22:13:01 33b1e0a273af: Verifying Checksum 22:13:01 33b1e0a273af: Download complete 22:13:01 5d3b04190fa2: Verifying Checksum 22:13:01 5d3b04190fa2: Download complete 22:13:01 ec43610c2a17: Verifying Checksum 22:13:01 ec43610c2a17: Download complete 22:13:01 5eb5b503b376: Verifying Checksum 22:13:01 5eb5b503b376: Download complete 22:13:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:01 > git config core.sparsecheckout # timeout=10 22:13:01 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 22:13:01 > git remote # timeout=10 22:13:01 > git config --get remote.origin.url # timeout=10 22:13:01 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:01 > git merge e31ca8a3936982fb289ce3a844b1ee55f128a24a # timeout=10 22:13:01 Merge succeeded, producing 6853608706c099f0373a7c3b013c1bf1144cffc4 22:13:01 Checking out Revision 6853608706c099f0373a7c3b013c1bf1144cffc4 (PR-404) 22:13:02 2f39f015ded8: Download complete 22:13:02 5eb5b503b376: Pull complete 22:13:02 5c69ac0246d0: Pull complete 22:13:01 > git rev-parse HEAD^{commit} # timeout=10 22:13:01 > git config core.sparsecheckout # timeout=10 22:13:01 > git checkout -f 6853608706c099f0373a7c3b013c1bf1144cffc4 # timeout=10 22:13:03 ec43610c2a17: Pull complete 22:13:03 3a2ae6a8a46f: Pull complete 22:13:03 33b1e0a273af: Pull complete 22:13:03 5d3b04190fa2: Pull complete 22:13:05 Commit message: "Merge commit 'e31ca8a3936982fb289ce3a844b1ee55f128a24a' into HEAD" 22:13:05 > git rev-list --no-walk 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 22:13:06 22:13:06 GitHub has been notified of this commit’s build result 22:13:06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:06 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:06 Dload Upload Total Spent Left Speed 22:13:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 95353 0 --:--:-- --:--:-- --:--:-- 95353 [Pipeline] sh 22:13:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:07 + sudo tee /etc/docker/daemon.new 22:13:07 { 22:13:07 "registry-mirrors": [ 22:13:07 "https://nexus3.edgexfoundry.org:10001" 22:13:07 ], 22:13:07 "bip": "10.250.0.254/24", 22:13:07 "hosts": [ 22:13:07 "tcp://0.0.0.0:5555", 22:13:07 "unix:///var/run/docker.sock" 22:13:07 ], 22:13:07 "mtu": 1458, 22:13:07 "selinux-enabled": true, 22:13:07 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:07 } [Pipeline] sh 22:13:07 2f39f015ded8: Pull complete 22:13:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:07 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 22:13:07 $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:13:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 22:13:13 $ docker top 5a65057198b8cde55585be69479dfb24fff4e15f6a3df7ba8958e58c92bb1b7a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 22:13:13 + sudo service docker restart 22:13:13 ---> job-cost.sh 22:13:13 lf-activate-venv: SKIPPING 22:13:13 INFO: No Stack... 22:13:14 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:14 INFO: Archiving Costs [Pipeline] sh 22:13:14 + cat /w/workspace/undry_device-onvif-camera_PR-404/archives/cost.csv 22:13:14 + cut -d, -f6 [Pipeline] lock 22:13:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] 22:13:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] did not exist. Created. 22:13:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:15 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:15 Stashed 1 file(s) [Pipeline] } 22:13:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:15 $ docker stop --time=1 5a65057198b8cde55585be69479dfb24fff4e15f6a3df7ba8958e58c92bb1b7a 22:13:16 $ docker rm -f --volumes 5a65057198b8cde55585be69479dfb24fff4e15f6a3df7ba8958e58c92bb1b7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:32 provisioning config files... 22:13:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config14186467170506383246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:32 ---> docker-login.sh 22:13:32 nexus3.edgexfoundry.org:10001 22:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:33 Configure a credential helper to remove this warning. See 22:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:33 22:13:33 Login Succeeded 22:13:33 nexus3.edgexfoundry.org:10002 22:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:33 Configure a credential helper to remove this warning. See 22:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:33 22:13:33 Login Succeeded 22:13:33 nexus3.edgexfoundry.org:10003 22:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:33 Configure a credential helper to remove this warning. See 22:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:33 22:13:33 Login Succeeded 22:13:33 nexus3.edgexfoundry.org:10004 22:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:34 Configure a credential helper to remove this warning. See 22:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:34 22:13:34 Login Succeeded 22:13:34 docker.io 22:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:34 Configure a credential helper to remove this warning. See 22:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:34 22:13:34 Login Succeeded 22:13:34 ---> docker-login.sh ends [Pipeline] } 22:13:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:13:34 ========================================================= 22:13:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:13:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:13:35 Sending build context to Docker daemon 14.21MB 22:13:35 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:13:35 Step 2/13 : FROM ${BASE} AS builder 22:13:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:35 9fda8d8052c6: Pulling fs layer 22:13:35 5d54e960e981: Pulling fs layer 22:13:35 c4a7e357bf2a: Pulling fs layer 22:13:35 f0e02332f6b5: Pulling fs layer 22:13:35 f0e02332f6b5: Waiting 22:13:35 cefa15bbcfad: Pulling fs layer 22:13:35 17808c966233: Pulling fs layer 22:13:35 f4c1fc716caa: Pulling fs layer 22:13:35 cefa15bbcfad: Waiting 22:13:35 17808c966233: Waiting 22:13:35 f4c1fc716caa: Waiting 22:13:35 5d54e960e981: Verifying Checksum 22:13:35 5d54e960e981: Download complete 22:13:35 f0e02332f6b5: Verifying Checksum 22:13:35 f0e02332f6b5: Download complete 22:13:36 cefa15bbcfad: Verifying Checksum 22:13:36 cefa15bbcfad: Download complete 22:13:36 9fda8d8052c6: Verifying Checksum 22:13:36 9fda8d8052c6: Download complete 22:13:36 f4c1fc716caa: Verifying Checksum 22:13:36 f4c1fc716caa: Download complete 22:13:37 9fda8d8052c6: Pull complete 22:13:37 5d54e960e981: Pull complete 22:13:37 c4a7e357bf2a: Download complete 22:13:38 17808c966233: Verifying Checksum 22:13:38 17808c966233: Download complete 22:13:51 c4a7e357bf2a: Pull complete 22:13:51 f0e02332f6b5: Pull complete 22:13:51 cefa15bbcfad: Pull complete 22:13:59 17808c966233: Pull complete 22:14:00 f4c1fc716caa: Pull complete 22:14:00 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:14:00 ---> ea914061e18c 22:14:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:02 ---> Running in 43894c402bc9 22:14:02 Removing intermediate container 43894c402bc9 22:14:02 ---> 48878ec6c9a0 22:14:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:02 ---> Running in 34d46f4e37e8 22:14:03 Removing intermediate container 34d46f4e37e8 22:14:03 ---> b4035c301d55 22:14:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:14:03 ---> Running in 9d6b7f128856 22:14:03 Removing intermediate container 9d6b7f128856 22:14:03 ---> cc4be8309629 22:14:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:03 ---> Running in d23de68d9585 22:14:03 Removing intermediate container d23de68d9585 22:14:03 ---> cea371693c77 22:14:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:03 ---> Running in 796b41b7c54d 22:14:04 Removing intermediate container 796b41b7c54d 22:14:04 ---> efa758670c5f 22:14:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:04 ---> Running in 232ee989a4a0 22:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:06 OK: 266 MiB in 52 packages 22:14:07 Removing intermediate container 232ee989a4a0 22:14:07 ---> 6f49023c0c67 22:14:07 Step 9/13 : WORKDIR /device-onvif-camera 22:14:07 ---> Running in c72801193b35 22:14:07 Removing intermediate container c72801193b35 22:14:07 ---> 2c155e5701ca 22:14:07 Step 10/13 : COPY go.mod vendor* ./ 22:14:08 ---> 9f39d501a0c0 22:14:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:08 ---> Running in adcf6d7db02f 22:15:30 Removing intermediate container adcf6d7db02f 22:15:30 ---> 99ec0277f88f 22:15:30 Step 12/13 : COPY . . 22:15:30 ---> 6fdb4247b3c5 22:15:30 Step 13/13 : RUN ${MAKE} 22:15:30 ---> Running in 47383b8d6348 22:15:30 noop 22:15:31 Removing intermediate container 47383b8d6348 22:15:31 ---> f07887a82ad3 22:15:31 Successfully built f07887a82ad3 22:15:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:31 + docker inspect -f . ci-base-image-arm64 22:15:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 22:15:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:33 $ docker top 9d01116485e2fb4767c742345764a19babba9754996a576076ffb9abc706779e -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:33 + go version 22:15:33 go version go1.21.0 linux/arm64 [Pipeline] } 22:15:33 $ docker stop --time=1 9d01116485e2fb4767c742345764a19babba9754996a576076ffb9abc706779e 22:15:35 $ docker rm -f --volumes 9d01116485e2fb4767c742345764a19babba9754996a576076ffb9abc706779e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:35 + docker inspect -f . ci-base-image-arm64 22:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:36 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 22:15: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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:37 $ docker top 63748bb6c992a089b5d383b46e1f008505dd02f772495f0af24c8f2e165f42b8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 22:15:38 + make test 22:15:38 go test ./... -coverprofile=coverage.out ./... 22:15:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 31.5% of statements 22:17:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.731s coverage: 86.5% of statements 22:17:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:44 go vet ./... 22:18:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:18:11 $ docker stop --time=1 63748bb6c992a089b5d383b46e1f008505dd02f772495f0af24c8f2e165f42b8 22:18:13 $ docker rm -f --volumes 63748bb6c992a089b5d383b46e1f008505dd02f772495f0af24c8f2e165f42b8 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:14 Warning: overwriting stash ‘coverage-report’ 22:18:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:15 + ls -al . 22:18:15 total 236 22:18:15 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 22:15 . 22:18:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:12 .. 22:18:15 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 22:13 .git 22:18:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 22:13 .github 22:18:15 -rw-rw-r-- 1 jenkins jenkins 493 Nov 10 22:13 .gitignore 22:18:15 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 22:13 .golangci.yml 22:18:15 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 10 22:13 Attribution.txt 22:18:15 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 10 22:13 CHANGELOG.md 22:18:15 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 10 22:13 Dockerfile 22:18:15 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 22:13 GOVERNANCE.md 22:18:15 -rw-rw-r-- 1 jenkins jenkins 739 Nov 10 22:13 Jenkinsfile 22:18:15 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 22:13 LICENSE 22:18:15 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 10 22:13 Makefile 22:18:15 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 22:13 OWNERS.md 22:18:15 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 10 22:13 README.md 22:18:15 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 22:10 VERSION 22:18:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 22:13 bin 22:18:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 22:13 cmd 22:18:15 -rw-r--r-- 1 jenkins jenkins 78456 Nov 10 22:17 coverage.out 22:18:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:13 doc 22:18:15 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 10 22:13 go.mod 22:18:15 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 10 22:13 go.sum 22:18:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 22:13 internal 22:18:15 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:16 + 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=6853608706c099f0373a7c3b013c1bf1144cffc4 --label arch=arm64 --label version=0.0.0 . 22:18:17 Sending build context to Docker daemon 14.29MB 22:18:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:18:17 Step 2/26 : FROM ${BASE} AS builder 22:18:17 ---> f07887a82ad3 22:18:17 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:19 ---> Running in daa528694d5f 22:18:21 Removing intermediate container daa528694d5f 22:18:21 ---> d6ef88bcf8a9 22:18:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:21 ---> Running in 9307090bed73 22:18:21 Removing intermediate container 9307090bed73 22:18:21 ---> 8afebf11298a 22:18:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:18:21 ---> Running in 43cf13c61bcb 22:18:22 Removing intermediate container 43cf13c61bcb 22:18:22 ---> 62ef2408ea41 22:18:22 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:18:22 ---> Running in 53c76a0c8cab 22:18:23 Removing intermediate container 53c76a0c8cab 22:18:23 ---> 7a5040290cdb 22:18:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:18:23 ---> Running in 560d8aa78e14 22:18:23 Removing intermediate container 560d8aa78e14 22:18:23 ---> 5198d7f75b21 22:18:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:23 ---> Running in 56b849d1c29c 22:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:18:26 OK: 266 MiB in 52 packages 22:18:27 Removing intermediate container 56b849d1c29c 22:18:27 ---> 144048f3f7ec 22:18:27 Step 9/26 : WORKDIR /device-onvif-camera 22:18:27 ---> Running in 7861a71f4a6a 22:18:27 Removing intermediate container 7861a71f4a6a 22:18:27 ---> 3f68cb937e93 22:18:27 Step 10/26 : COPY go.mod vendor* ./ 22:18:27 ---> 12c9f2a4f983 22:18:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:27 ---> Running in 3b9d3e10f1cd 22:18:30 Removing intermediate container 3b9d3e10f1cd 22:18:30 ---> c5faaf4e2eb2 22:18:30 Step 12/26 : COPY . . 22:18:33 ---> 89c2095cb65b 22:18:33 Step 13/26 : RUN ${MAKE} 22:18:33 ---> Running in f1038e818485 22:18:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:20:25 Removing intermediate container f1038e818485 22:20:25 ---> 007ae2d115c9 22:20:25 Step 14/26 : FROM alpine:3.18 22:20:25 3.18: Pulling from library/alpine 22:20:25 579b34f0a95b: Pulling fs layer 22:20:25 579b34f0a95b: Download complete 22:20:25 579b34f0a95b: Pull complete 22:20:25 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:20:25 Status: Downloaded newer image for alpine:3.18 22:20:25 ---> 3cc203321400 22:20:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:20:25 ---> Running in 59af27fab034 22:20:25 Removing intermediate container 59af27fab034 22:20:25 ---> 5c50735c4989 22:20:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:20:25 ---> Running in 63643127c7ea 22:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:20:25 (1/1) Installing dumb-init (1.2.5-r2) 22:20:25 Executing busybox-1.36.1-r2.trigger 22:20:25 OK: 8 MiB in 16 packages 22:20:25 Removing intermediate container 63643127c7ea 22:20:25 ---> 33f3fc16aa36 22:20:25 Step 17/26 : WORKDIR / 22:20:25 ---> Running in 8bc7560bf443 22:20:25 Removing intermediate container 8bc7560bf443 22:20:25 ---> 13d570f69d18 22:20:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:20:26 ---> 61d773563456 22:20:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:20:26 ---> 9a82677f2fb9 22:20:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:20:27 ---> 37b7404155de 22:20:27 Step 21/26 : EXPOSE 59984 22:20:27 ---> Running in 16b80b620e10 22:20:27 Removing intermediate container 16b80b620e10 22:20:27 ---> 9003c431a6ec 22:20:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:20:27 ---> Running in 1f389f0a5109 22:20:28 Removing intermediate container 1f389f0a5109 22:20:28 ---> 4a979831c7cc 22:20:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:28 ---> Running in a68994e32eae 22:20:28 Removing intermediate container a68994e32eae 22:20:28 ---> 802bb901a1e8 22:20:28 Step 24/26 : LABEL arch=arm64 22:20:28 ---> Running in fb6bf5fbc8ec 22:20:28 Removing intermediate container fb6bf5fbc8ec 22:20:28 ---> a0723b0c8f82 22:20:28 Step 25/26 : LABEL git_sha=6853608706c099f0373a7c3b013c1bf1144cffc4 22:20:28 ---> Running in 344936a77a7f 22:20:29 Removing intermediate container 344936a77a7f 22:20:29 ---> cf66155b0d4e 22:20:29 Step 26/26 : LABEL version=0.0.0 22:20:29 ---> Running in 906f6bad8c92 22:20:29 Removing intermediate container 906f6bad8c92 22:20:29 ---> 7495ddcf0b14 22:20:29 [Warning] One or more build-args [ARCH] were not consumed 22:20:29 Successfully built 7495ddcf0b14 22:20:29 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:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:30 22:20:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:30 arm64: Pulling from edgex-lftools-log-publisher 22:20:30 8998bd30e6a1: Pulling fs layer 22:20:30 04944245beec: Pulling fs layer 22:20:30 699f458cf7ca: Pulling fs layer 22:20:30 765212b225bb: Pulling fs layer 22:20:30 f23df028b6ca: Pulling fs layer 22:20:30 d65c8cfc05b1: Pulling fs layer 22:20:30 2437ff75d9bd: Pulling fs layer 22:20:30 765212b225bb: Waiting 22:20:30 f23df028b6ca: Waiting 22:20:30 d65c8cfc05b1: Waiting 22:20:30 2437ff75d9bd: Waiting 22:20:30 04944245beec: Verifying Checksum 22:20:30 04944245beec: Download complete 22:20:30 765212b225bb: Download complete 22:20:30 f23df028b6ca: Verifying Checksum 22:20:30 f23df028b6ca: Download complete 22:20:30 d65c8cfc05b1: Verifying Checksum 22:20:30 d65c8cfc05b1: Download complete 22:20:31 699f458cf7ca: Verifying Checksum 22:20:31 699f458cf7ca: Download complete 22:20:31 8998bd30e6a1: Verifying Checksum 22:20:31 8998bd30e6a1: Download complete 22:20:33 2437ff75d9bd: Verifying Checksum 22:20:33 2437ff75d9bd: Download complete 22:20:38 8998bd30e6a1: Pull complete 22:20:38 04944245beec: Pull complete 22:20:39 699f458cf7ca: Pull complete 22:20:40 765212b225bb: Pull complete 22:20:41 f23df028b6ca: Pull complete 22:20:41 d65c8cfc05b1: Pull complete 22:20:59 2437ff75d9bd: Pull complete 22:20:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:59 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 22:20:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:21:02 $ docker top f997b0a498a9a21483c77209587c78ae920cd16fbfebbb5f7700e69622dc9ad9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:02 ---> job-cost.sh 22:21:02 lf-activate-venv: SKIPPING 22:21:02 INFO: No Stack... 22:21:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:04 INFO: Archiving Costs [Pipeline] sh 22:21:04 + cut -d, -f6 22:21:04 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock 22:21:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] 22:21:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] did not exist. Created. 22:21:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:05 /w/workspace/device-onvif-camera/4@tmp/durable-ac983e9c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:06 Warning: overwriting stash ‘stack-cost’ 22:21:06 Stashed 1 file(s) [Pipeline] } 22:21:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:06 $ docker stop --time=1 f997b0a498a9a21483c77209587c78ae920cd16fbfebbb5f7700e69622dc9ad9 22:21:07 $ docker rm -f --volumes f997b0a498a9a21483c77209587c78ae920cd16fbfebbb5f7700e69622dc9ad9 [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:21:08 provisioning config files... 22:21:08 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config5043125779039272417tmp [Pipeline] { [Pipeline] sh 22:21:08 + set +x 22:21:08 + bash -s -- 22:21:08 + curl -s https://codecov.io/bash 22:21:08 22:21:08 _____ _ 22:21:08 / ____| | | 22:21:08 | | ___ __| | ___ ___ _____ __ 22:21:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:21:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:21:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:21:08 Bash-1.0.6 22:21:08 22:21:08 22:21:08 ==> git version 2.25.1 found 22:21:08 ==> 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:21:08 Release-Date: 2020-01-08 22:21:08 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:21:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:21:08 ==> Jenkins CI detected. 22:21:08 current dir:  /w/workspace/undry_device-onvif-camera_PR-404 22:21:08 project root: . 22:21:08 --> token set from env 22:21:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:21:08 ==> Running gcov in . (disable via -X gcov) 22:21:08 ==> Python coveragepy not found 22:21:08 ==> Searching for coverage reports in: 22:21:08 + . 22:21:08 -> Found 1 reports 22:21:08 ==> Detecting git/mercurial file structure 22:21:08 ==> Reading reports 22:21:08 + ./coverage.out bytes=78456 22:21:08 ==> Appending adjustments 22:21:08 https://docs.codecov.io/docs/fixing-reports 22:21:08 + Found adjustments 22:21:08 ==> Gzipping contents 22:21:08 12K /tmp/codecov.bVoIuT.gz 22:21:08 ==> Uploading reports 22:21:08 url: https://codecov.io 22:21:08 query: branch=PR-404&commit=aa00436483abfb56aeca7c14f97f7af7b4812db3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= 22:21:08 -> Pinging Codecov 22:21:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-404&commit=aa00436483abfb56aeca7c14f97f7af7b4812db3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= 22:21:08 -> Uploading to 22:21:08 https://storage.googleapis.com/codecov/v4/raw/2023-11-10/F29A59C45E3A92E06B3E522C9905F8EF/aa00436483abfb56aeca7c14f97f7af7b4812db3/acd6c43e-7cb6-440c-a778-4ebcb87049d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T222108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04d499280ea71f8f0bfa9cbb0ce9c69b227eb42d1794ba6a71164d1a311adada 22:21:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:08 Dload Upload Total Spent Left Speed 22:21:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 43062 --:--:-- --:--:-- --:--:-- 43062 22:21:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/aa00436483abfb56aeca7c14f97f7af7b4812db3 [Pipeline] } 22:21:09 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:21:10 + [ -d /w/workspace/undry_device-onvif-camera_PR-404/archives ] 22:21:10 + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives 22:21:10 total 16 22:21:10 drwxr-xr-x 3 root root 4096 Nov 10 22:13 . 22:21:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 22:13 .. 22:21:10 drwxr-xr-x 2 root root 4096 Nov 10 22:13 cost 22:21:10 -rw-r--r-- 1 root root 91 Nov 10 22:13 cost.csv 22:21:10 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-404/archives 22:21:10 + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives 22:21:10 total 16 22:21:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 22:13 . 22:21:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 22:13 .. 22:21:10 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 22:13 cost 22:21:10 -rw-r--r-- 1 jenkins jenkins 91 Nov 10 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:11 ---> package-listing.sh 22:21:11 ++ facter osfamily 22:21:11 ++ tr '[:upper:]' '[:lower:]' 22:21:11 + OS_FAMILY=debian 22:21:11 + workspace=/w/workspace/undry_device-onvif-camera_PR-404 22:21:11 + START_PACKAGES=/tmp/packages_start.txt 22:21:11 + END_PACKAGES=/tmp/packages_end.txt 22:21:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:11 + PACKAGES=/tmp/packages_start.txt 22:21:11 + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' 22:21:11 + PACKAGES=/tmp/packages_end.txt 22:21:11 + case "${OS_FAMILY}" in 22:21:11 + dpkg -l 22:21:11 + grep '^ii' 22:21:11 + '[' -f /tmp/packages_start.txt ']' 22:21:11 + '[' -f /tmp/packages_end.txt ']' 22:21:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:11 + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' 22:21:11 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-404/archives/ 22:21:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-404/archives/ [Pipeline] echo 22:21:11 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:12 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 22:21:12 $ 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-404/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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:21:12 $ docker top 7ccbe0774d6ec042999c8ac189592c8bbdc06fb3edbc2a5f3f39641cbc81290c -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:12 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:13 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:13 + ls /var/log/sa-host 22:21:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:13 provisioning config files... 22:21:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config13839178337781855995tmp [Pipeline] { [Pipeline] echo 22:21:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:13 ---> create-netrc.sh [Pipeline] } 22:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:14 ---> python-tools-install.sh [Pipeline] echo 22:21:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:14 ---> sudo-logs.sh 22:21:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:14 ---> job-cost.sh 22:21:14 lf-activate-venv: SKIPPING 22:21:14 DEBUG: total: 0.2199999988079071 22:21:14 INFO: Retrieving Stack Cost... 22:21:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:15 INFO: Archiving Costs [Pipeline] echo 22:21:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:16 ---> logs-deploy.sh 22:21:16 lf-activate-venv: SKIPPING 22:21:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-404/4 22:21:16 INFO: archiving workspace using pattern(s): 22:21:16 Archives upload complete. 22:21:16 INFO: archiving logs to Nexus