Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 1961be3dbf536bee699796c7591b42b4c7bef829 rather than 24863547b1e47d965bb77b4f9d709eb04468b0e1 Obtained Jenkinsfile from 1961be3dbf536bee699796c7591b42b4c7bef829 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4048466588492241250.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7385056937661050227.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8525279595014533075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3522366437889514689.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh749499608795909758.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14797’ is offline ‘prd-ubuntu20.04-docker-8c-8g-14804’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-14794’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-14801’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-14803’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14805 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 24863547b1e47d965bb77b4f9d709eb04468b0e1 Merge succeeded, producing cd0ee086b2ecc18ecd3b1918ae327762560bef13 Checking out Revision cd0ee086b2ecc18ecd3b1918ae327762560bef13 (PR-347) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd0ee086b2ecc18ecd3b1918ae327762560bef13 # timeout=10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:49:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:49:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:49:53 ========================================================= 22:49:53 EdgeX Global Pipelines Version Info 22:49:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1c578dcfb112828850f68ab30cac23434df19a04 # timeout=10 22:49:53 ------------------- 22:49:53 stable info: 22:49:53 ------------------- 22:49:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:49:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:49:53 Message: update stable to v1.0.249 22:49:54 ------------------- 22:49:54 experimental info: 22:49:54 ------------------- 22:49:54 Commited By: **** collab-it+edgex@linuxfoundation.org 22:49:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:49:54 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd0ee086b2ecc18ecd3b1918ae327762560bef13 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd0ee08 [Pipeline] echo 22:49:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:54 provisioning config files... 22:49:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config14158033152066927503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:55 ---> docker-login.sh 22:49:55 nexus3.edgexfoundry.org:10001 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10002 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10003 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10004 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:56 Configure a credential helper to remove this warning. See 22:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:56 22:49:56 Login Succeeded 22:49:56 docker.io 22:49:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:56 Configure a credential helper to remove this warning. See 22:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:56 22:49:56 Login Succeeded 22:49:56 ---> docker-login.sh ends [Pipeline] } 22:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:49:56 + git rev-list -1 --merges cd0ee086b2ecc18ecd3b1918ae327762560bef13~1..cd0ee086b2ecc18ecd3b1918ae327762560bef13 [Pipeline] echo 22:49:56 -----------> git rev-list -1 --merges cd0ee086b2ecc18ecd3b1918ae327762560bef13~1..cd0ee086b2ecc18ecd3b1918ae327762560bef13 cd0ee086b2ecc18ecd3b1918ae327762560bef13 22:49:56 cd0ee086b2ecc18ecd3b1918ae327762560bef13 [false] [Pipeline] sh 22:49:57 + git log --format=format:%s -1 cd0ee086b2ecc18ecd3b1918ae327762560bef13 [Pipeline] echo 22:49:57 ========================================================= 22:49:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:49:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:57 + git log --format=format:%s -1 cd0ee086b2ecc18ecd3b1918ae327762560bef13 [Pipeline] echo 22:49:57 [semverPrep] GIT_COMMIT: cd0ee086b2ecc18ecd3b1918ae327762560bef13, Commit Message: Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD [Pipeline] echo 22:49:57 [semverPrep] This is not a build commit. [Pipeline] sh 22:49:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:49:57 + grep -v github /etc/ssh/ssh_known_hosts 22:49:57 + [ -e /tmp/ssh_known_hosts ] 22:49:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:49:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:49:57 + sudo tee -a /etc/ssh/ssh_known_hosts 22:49:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:49:58 22:49:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:49:58 0.1.4: Pulling from edgex-devops/py-git-semver 22:49:58 b85a868b505f: Pulling fs layer 22:49:58 e2be974225ed: Pulling fs layer 22:49:58 339a4e72a1f5: Pulling fs layer 22:49:58 988bab9f4d93: Pulling fs layer 22:49:58 1469e6f7b9e6: Pulling fs layer 22:49:58 eaf3925da568: Pulling fs layer 22:49:58 bab4dde63d76: Pulling fs layer 22:49:58 bde34c3a00c8: Pulling fs layer 22:49:58 b352a97aabf1: Pulling fs layer 22:49:58 4872d77fe225: Pulling fs layer 22:49:58 5851b861e8e6: Pulling fs layer 22:49:58 1469e6f7b9e6: Waiting 22:49:58 4872d77fe225: Waiting 22:49:58 b352a97aabf1: Waiting 22:49:58 bde34c3a00c8: Waiting 22:49:58 5851b861e8e6: Waiting 22:49:58 eaf3925da568: Waiting 22:49:58 e2be974225ed: Download complete 22:49:58 988bab9f4d93: Verifying Checksum 22:49:58 988bab9f4d93: Download complete 22:49:58 1469e6f7b9e6: Verifying Checksum 22:49:58 1469e6f7b9e6: Download complete 22:49:58 eaf3925da568: Download complete 22:49:58 339a4e72a1f5: Verifying Checksum 22:49:58 339a4e72a1f5: Download complete 22:49:58 bde34c3a00c8: Verifying Checksum 22:49:58 bde34c3a00c8: Download complete 22:49:58 b352a97aabf1: Verifying Checksum 22:49:58 b352a97aabf1: Download complete 22:49:58 4872d77fe225: Verifying Checksum 22:49:58 4872d77fe225: Download complete 22:49:58 5851b861e8e6: Verifying Checksum 22:49:58 5851b861e8e6: Download complete 22:49:58 b85a868b505f: Verifying Checksum 22:49:58 b85a868b505f: Download complete 22:49:59 bab4dde63d76: Verifying Checksum 22:49:59 bab4dde63d76: Download complete 22:50:00 b85a868b505f: Pull complete 22:50:00 e2be974225ed: Pull complete 22:50:00 339a4e72a1f5: Pull complete 22:50:00 988bab9f4d93: Pull complete 22:50:00 1469e6f7b9e6: Pull complete 22:50:00 eaf3925da568: Pull complete 22:50:02 bab4dde63d76: Pull complete 22:50:02 bde34c3a00c8: Pull complete 22:50:02 b352a97aabf1: Pull complete 22:50:02 4872d77fe225: Pull complete 22:50:02 5851b861e8e6: Pull complete 22:50:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:50:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:02 prd-ubuntu20.04-docker-8c-8g-14805 does not seem to be running inside a container 22:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:50:05 $ docker top f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 -eo pid,comm 22:50:05 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:50:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:05 [ssh-agent] Looking for ssh-agent implementation... 22:50:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:05 $ docker exec f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 ssh-agent 22:50:05 SSH_AUTH_SOCK=/tmp/ssh-gbsTCAPJ77nc/agent.32 22:50:05 SSH_AGENT_PID=38 22:50:05 Running ssh-add (command line suppressed) 22:50:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10204108503395406035.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10204108503395406035.key) 22:50:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:06 + git tag --points-at HEAD [Pipeline] } 22:50:06 $ docker exec --env ******** --env ******** f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 ssh-agent -k 22:50:06 unset SSH_AUTH_SOCK; 22:50:06 unset SSH_AGENT_PID; 22:50:06 echo Agent pid 38 killed; 22:50:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:50:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:06 [ssh-agent] Looking for ssh-agent implementation... 22:50:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:06 $ docker exec f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 ssh-agent 22:50:06 SSH_AUTH_SOCK=/tmp/ssh-DmifFl5mLfW8/agent.70 22:50:06 SSH_AGENT_PID=76 22:50:06 Running ssh-add (command line suppressed) 22:50:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_430243089033626413.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_430243089033626413.key) 22:50:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:06 + git semver init 22:50:07 2023-05-09 22:50:06,982 [run_init] DEBUG init version:0.0.0 force:False 22:50:07 2023-05-09 22:50:06,982 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 22:50:07 2023-05-09 22:50:06,983 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 22:50:07 2023-05-09 22:50:06,983 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 22:50:08 2023-05-09 22:50:07,823 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 22:50:08 2023-05-09 22:50:07,823 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 22:50:08 2023-05-09 22:50:07,823 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:50:08 2023-05-09 22:50:07,826 [execute] INFO git cat-file --batch-check 22:50:08 2023-05-09 22:50:07,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:50:08 2023-05-09 22:50:07,832 [execute] INFO git cat-file --batch 22:50:08 2023-05-09 22:50:07,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:50:08 2023-05-09 22:50:07,838 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:50:08 0.0.0 [Pipeline] } 22:50:08 $ docker exec --env ******** --env ******** f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 ssh-agent -k 22:50:08 unset SSH_AUTH_SOCK; 22:50:08 unset SSH_AGENT_PID; 22:50:08 echo Agent pid 76 killed; 22:50:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:08 + git semver [Pipeline] } 22:50:08 $ docker stop --time=1 f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 22:50:10 $ docker rm -f --volumes f034614fe97297a46376dc037d3ad3cdc17bd982dced36e57072a0268bff7b42 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:50:10 Stashed 1 file(s) [Pipeline] echo 22:50:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:10 provisioning config files... 22:50:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config4858817020494977362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:11 ---> docker-login.sh 22:50:11 nexus3.edgexfoundry.org:10001 22:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:11 Configure a credential helper to remove this warning. See 22:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:11 22:50:11 Login Succeeded 22:50:11 nexus3.edgexfoundry.org:10002 22:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:11 Configure a credential helper to remove this warning. See 22:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:11 22:50:11 Login Succeeded 22:50:11 nexus3.edgexfoundry.org:10003 22:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:11 Configure a credential helper to remove this warning. See 22:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:11 22:50:11 Login Succeeded 22:50:11 nexus3.edgexfoundry.org:10004 22:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:11 Configure a credential helper to remove this warning. See 22:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:11 22:50:11 Login Succeeded 22:50:11 docker.io 22:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:11 Configure a credential helper to remove this warning. See 22:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:11 22:50:11 Login Succeeded 22:50:11 ---> docker-login.sh ends [Pipeline] } 22:50:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:11 ========================================================= 22:50:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:50:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:50:12 Sending build context to Docker daemon 22.02MB 22:50:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:50:12 Step 2/13 : FROM ${BASE} AS builder 22:50:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:50:12 f56be85fc22e: Pulling fs layer 22:50:12 85791d961cd3: Pulling fs layer 22:50:12 d694b5ae8c79: Pulling fs layer 22:50:12 9f32a84ed3da: Pulling fs layer 22:50:12 4d19c01a9841: Pulling fs layer 22:50:12 9325e15d5711: Pulling fs layer 22:50:12 556b6ee489ea: Pulling fs layer 22:50:12 c5a4b2cf53e6: Pulling fs layer 22:50:12 556b6ee489ea: Waiting 22:50:12 4d19c01a9841: Waiting 22:50:12 9325e15d5711: Waiting 22:50:12 85791d961cd3: Verifying Checksum 22:50:12 85791d961cd3: Download complete 22:50:12 9f32a84ed3da: Verifying Checksum 22:50:12 9f32a84ed3da: Download complete 22:50:12 4d19c01a9841: Verifying Checksum 22:50:12 4d19c01a9841: Download complete 22:50:12 f56be85fc22e: Verifying Checksum 22:50:12 f56be85fc22e: Download complete 22:50:12 9325e15d5711: Verifying Checksum 22:50:12 9325e15d5711: Download complete 22:50:12 f56be85fc22e: Pull complete 22:50:12 85791d961cd3: Pull complete 22:50:12 d694b5ae8c79: Verifying Checksum 22:50:12 d694b5ae8c79: Download complete 22:50:12 c5a4b2cf53e6: Verifying Checksum 22:50:12 c5a4b2cf53e6: Download complete 22:50:13 556b6ee489ea: Verifying Checksum 22:50:13 556b6ee489ea: Download complete 22:50:16 d694b5ae8c79: Pull complete 22:50:16 9f32a84ed3da: Pull complete 22:50:16 4d19c01a9841: Pull complete 22:50:16 9325e15d5711: Pull complete 22:50:18 556b6ee489ea: Pull complete 22:50:19 c5a4b2cf53e6: Pull complete 22:50:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:50:19 ---> c4be618373d6 22:50:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:50:23 ---> Running in 8688d96d1209 22:50:23 Removing intermediate container 8688d96d1209 22:50:23 ---> ce89dbb7878c 22:50:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:50:23 ---> Running in 289aaf5e2d33 22:50:23 Removing intermediate container 289aaf5e2d33 22:50:23 ---> 67cdbdda0214 22:50:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:50:23 ---> Running in b5284564dd43 22:50:23 Removing intermediate container b5284564dd43 22:50:23 ---> 6b845e574522 22:50:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:50:23 ---> Running in b0b6887c1ae6 22:50:23 Removing intermediate container b0b6887c1ae6 22:50:23 ---> 03f6f2d700d3 22:50:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:50:23 ---> Running in 22f13f145001 22:50:23 Removing intermediate container 22f13f145001 22:50:23 ---> 9f6c0b0f2408 22:50:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:23 ---> Running in 2be82d1b40b0 22:50:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:50:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:50:24 OK: 265 MiB in 53 packages 22:50:24 Removing intermediate container 2be82d1b40b0 22:50:24 ---> 4c8dc4b9b857 22:50:24 Step 9/13 : WORKDIR /device-onvif-camera 22:50:24 ---> Running in 033b57dc054e 22:50:24 Removing intermediate container 033b57dc054e 22:50:24 ---> a3f598f8ca37 22:50:24 Step 10/13 : COPY go.mod vendor* ./ 22:50:25 ---> b7f4781b1ed1 22:50:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:25 ---> Running in 4946f584e1e8 22:50:25 Still waiting to schedule task 22:50:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:50:57 Removing intermediate container 4946f584e1e8 22:50:57 ---> c5d71971760f 22:50:57 Step 12/13 : COPY . . 22:50:57 ---> d5911b940f1d 22:50:57 Step 13/13 : RUN ${MAKE} 22:50:57 ---> Running in 8154c58864cd 22:50:57 noop 22:50:57 Removing intermediate container 8154c58864cd 22:50:57 ---> 1804817b40f4 22:50:57 Successfully built 1804817b40f4 22:50:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:57 + docker inspect -f . ci-base-image-x86_64 22:50:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:57 prd-ubuntu20.04-docker-8c-8g-14805 does not seem to be running inside a container 22:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:50:58 $ docker top 7e375a1bc8d78bbf2a690b0ea22896b8017089719a30aeb1d91a059500b8c2fb -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:58 + go version 22:50:58 go version go1.20.2 linux/amd64 [Pipeline] } 22:50:58 $ docker stop --time=1 7e375a1bc8d78bbf2a690b0ea22896b8017089719a30aeb1d91a059500b8c2fb 22:50:59 $ docker rm -f --volumes 7e375a1bc8d78bbf2a690b0ea22896b8017089719a30aeb1d91a059500b8c2fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:00 + docker inspect -f . ci-base-image-x86_64 22:51:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:00 prd-ubuntu20.04-docker-8c-8g-14805 does not seem to be running inside a container 22:51:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:51:00 $ docker top 18f1d261a23cb080ac713b53cc4b06c6e25ce020dd78034362e8108062b2d2c9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:00 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 22:51:01 + make test 22:51:01 go test ./... -coverprofile=coverage.out ./... 22:51:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:51:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:51:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:51:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 30.9% of statements 22:51:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.228s coverage: 86.5% of statements 22:51:24 go vet ./... 22:51:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:28 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:28 $ docker stop --time=1 18f1d261a23cb080ac713b53cc4b06c6e25ce020dd78034362e8108062b2d2c9 22:51:30 $ docker rm -f --volumes 18f1d261a23cb080ac713b53cc4b06c6e25ce020dd78034362e8108062b2d2c9 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:51:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:32 + ls -al . 22:51:32 total 232 22:51:32 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:51 . 22:51:32 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:49 .. 22:51:32 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:50 .git 22:51:32 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:49 .github 22:51:32 -rw-rw-r-- 1 jenkins jenkins 496 May 9 22:49 .gitignore 22:51:32 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:49 .golangci.yml 22:51:32 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:50 .semver 22:51:32 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 22:49 Attribution.txt 22:51:32 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 22:49 CHANGELOG.md 22:51:32 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 22:49 Dockerfile 22:51:32 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:49 GOVERNANCE.md 22:51:32 -rw-rw-r-- 1 jenkins jenkins 734 May 9 22:49 Jenkinsfile 22:51:32 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 22:49 LICENSE 22:51:32 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 22:49 Makefile 22:51:32 -rw-rw-r-- 1 jenkins jenkins 625 May 9 22:49 OWNERS.md 22:51:32 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 22:49 README.md 22:51:32 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:50 VERSION 22:51:32 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:49 bin 22:51:32 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:49 cmd 22:51:32 -rw-r--r-- 1 jenkins jenkins 79213 May 9 22:51 coverage.out 22:51:32 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:49 doc 22:51:32 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 22:49 go.mod 22:51:32 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 22:49 go.sum 22:51:32 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:49 internal 22:51:32 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:49 snap 22:51:32 -rw-rw-r-- 1 jenkins jenkins 236 May 9 22:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:32 + 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=cd0ee086b2ecc18ecd3b1918ae327762560bef13 --label arch=amd64 --label version=0.0.0 . 22:51:32 Sending build context to Docker daemon 22.1MB 22:51:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:51:32 Step 2/26 : FROM ${BASE} AS builder 22:51:32 ---> 1804817b40f4 22:51:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:51:32 ---> Running in ac7c850d9cd8 22:51:32 Removing intermediate container ac7c850d9cd8 22:51:32 ---> bd45f72402df 22:51:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:51:32 ---> Running in 0011d94cef15 22:51:33 Removing intermediate container 0011d94cef15 22:51:33 ---> 9881a04b1125 22:51:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:51:33 ---> Running in b55d7bc82204 22:51:33 Removing intermediate container b55d7bc82204 22:51:33 ---> c2517684e2b5 22:51:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:51:33 ---> Running in 9c8fec6967a8 22:51:33 Removing intermediate container 9c8fec6967a8 22:51:33 ---> 208f1bb64d47 22:51:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:51:33 ---> Running in 6cb3f3a5eec6 22:51:33 Removing intermediate container 6cb3f3a5eec6 22:51:33 ---> c5238ce66903 22:51:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:33 ---> Running in 371c66749795 22:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:51:33 OK: 265 MiB in 53 packages 22:51:34 Removing intermediate container 371c66749795 22:51:34 ---> 6966e8bd45ae 22:51:34 Step 9/26 : WORKDIR /device-onvif-camera 22:51:34 ---> Running in f34c7f600494 22:51:34 Removing intermediate container f34c7f600494 22:51:34 ---> 7f336e02f4ec 22:51:34 Step 10/26 : COPY go.mod vendor* ./ 22:51:34 ---> c479674184f9 22:51:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:34 ---> Running in 5443c9f61a24 22:51:35 Removing intermediate container 5443c9f61a24 22:51:35 ---> bbd365b2e1a8 22:51:35 Step 12/26 : COPY . . 22:51:36 ---> 2b1ecee786fc 22:51:36 Step 13/26 : RUN ${MAKE} 22:51:36 ---> Running in 51f3de22ef1c 22:51:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:51:55 Removing intermediate container 51f3de22ef1c 22:51:55 ---> b8b434dc95e2 22:51:55 Step 14/26 : FROM alpine:3.17 22:51:55 3.17: Pulling from library/alpine 22:51:55 f56be85fc22e: Already exists 22:51:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:51:55 Status: Downloaded newer image for alpine:3.17 22:51:55 ---> 9ed4aefc74f6 22:51:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:51:55 ---> Running in 269719d9a520 22:51:55 Removing intermediate container 269719d9a520 22:51:55 ---> 4e44e10def4a 22:51:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:51:55 ---> Running in b896a59d4545 22:51:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:51:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:51:55 (1/1) Installing dumb-init (1.2.5-r2) 22:51:55 Executing busybox-1.35.0-r29.trigger 22:51:55 OK: 7 MiB in 16 packages 22:51:56 Removing intermediate container b896a59d4545 22:51:56 ---> 0cfdef486d8a 22:51:56 Step 17/26 : WORKDIR / 22:51:56 ---> Running in e3af0ebf5cba 22:51:56 Removing intermediate container e3af0ebf5cba 22:51:56 ---> c2dc87f2cd7f 22:51:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:51:56 ---> 8558a47d533d 22:51:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:51:56 ---> c7578f4b8b56 22:51:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:51:57 ---> 02be552a7aba 22:51:57 Step 21/26 : EXPOSE 59984 22:51:57 ---> Running in d8da384dc58f 22:51:57 Removing intermediate container d8da384dc58f 22:51:57 ---> 2280ec9a40af 22:51:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:51:57 ---> Running in 53c7b15d108c 22:51:57 Removing intermediate container 53c7b15d108c 22:51:57 ---> 95398a1c172c 22:51:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:51:57 ---> Running in 8153d05230ae 22:51:57 Removing intermediate container 8153d05230ae 22:51:57 ---> b4108a6c5d20 22:51:57 Step 24/26 : LABEL arch=amd64 22:51:57 ---> Running in 1dbba330f467 22:51:57 Removing intermediate container 1dbba330f467 22:51:57 ---> 0f48cb862204 22:51:57 Step 25/26 : LABEL git_sha=cd0ee086b2ecc18ecd3b1918ae327762560bef13 22:51:57 ---> Running in 7557bc24a831 22:51:57 Removing intermediate container 7557bc24a831 22:51:57 ---> 8f9f2361d6e0 22:51:57 Step 26/26 : LABEL version=0.0.0 22:51:57 ---> Running in 4cf27d7f3cc5 22:51:57 Removing intermediate container 4cf27d7f3cc5 22:51:57 ---> c0067fdca8c8 22:51:57 [Warning] One or more build-args [ARCH] were not consumed 22:51:57 Successfully built c0067fdca8c8 22:51:57 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:58 22:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:58 latest: Pulling from edgex-lftools-log-publisher 22:51:58 5eb5b503b376: Pulling fs layer 22:51:58 5c69ac0246d0: Pulling fs layer 22:51:58 ec43610c2a17: Pulling fs layer 22:51:58 3a2ae6a8a46f: Pulling fs layer 22:51:58 33b1e0a273af: Pulling fs layer 22:51:58 5d3b04190fa2: Pulling fs layer 22:51:58 2f39f015ded8: Pulling fs layer 22:51:58 3a2ae6a8a46f: Waiting 22:51:58 33b1e0a273af: Waiting 22:51:58 5d3b04190fa2: Waiting 22:51:58 2f39f015ded8: Waiting 22:51:58 5c69ac0246d0: Download complete 22:51:58 3a2ae6a8a46f: Verifying Checksum 22:51:58 3a2ae6a8a46f: Download complete 22:51:58 ec43610c2a17: Verifying Checksum 22:51:58 ec43610c2a17: Download complete 22:51:58 33b1e0a273af: Verifying Checksum 22:51:58 33b1e0a273af: Download complete 22:51:58 5eb5b503b376: Verifying Checksum 22:51:58 5eb5b503b376: Download complete 22:51:59 2f39f015ded8: Download complete 22:51:59 5eb5b503b376: Pull complete 22:51:59 5c69ac0246d0: Pull complete 22:52:00 ec43610c2a17: Pull complete 22:52:00 3a2ae6a8a46f: Pull complete 22:52:00 33b1e0a273af: Pull complete 22:52:00 5d3b04190fa2: Pull complete 22:52:04 2f39f015ded8: Pull complete 22:52:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:04 prd-ubuntu20.04-docker-8c-8g-14805 does not seem to be running inside a container 22:52:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:52:07 $ docker top e44fc2a6279c27d20e45b5e756887252d6afc6379136af84fa8ae6937799c62f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:08 ---> job-cost.sh 22:52:08 lf-activate-venv: SKIPPING 22:52:08 INFO: No Stack... 22:52:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:09 INFO: Archiving Costs [Pipeline] sh 22:52:09 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 22:52:09 + cut -d, -f6 [Pipeline] lock 22:52:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] 22:52:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] did not exist. Created. 22:52:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:52:09 Stashed 1 file(s) [Pipeline] } 22:52:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:09 $ docker stop --time=1 e44fc2a6279c27d20e45b5e756887252d6afc6379136af84fa8ae6937799c62f 22:52:10 $ docker rm -f --volumes e44fc2a6279c27d20e45b5e756887252d6afc6379136af84fa8ae6937799c62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:54:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14806 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 22:54:55 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 22:54:55 The recommended git tool is: git 22:55:02 using credential edgex-jenkins-ssh 22:55:02 Cloning the remote Git repository 22:55:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:55:02 > git init /w/workspace/device-onvif-camera/8 # timeout=10 22:55:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:55:02 > git --version # timeout=10 22:55:02 > git --version # 'git version 2.25.1' 22:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:55:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:55:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:55:06 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 24863547b1e47d965bb77b4f9d709eb04468b0e1 22:55:07 Merge succeeded, producing 8dfcac28aadede62af49ce5f537a610e5c34e877 22:55:07 Checking out Revision 8dfcac28aadede62af49ce5f537a610e5c34e877 (PR-347) 22:55:06 > git config core.sparsecheckout # timeout=10 22:55:06 > git checkout -f 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 22:55:06 > git remote # timeout=10 22:55:06 > git config --get remote.origin.url # timeout=10 22:55:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:06 > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 22:55:07 > git rev-parse HEAD^{commit} # timeout=10 22:55:07 > git config core.sparsecheckout # timeout=10 22:55:07 > git checkout -f 8dfcac28aadede62af49ce5f537a610e5c34e877 # timeout=10 22:55:10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" 22:55:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:55:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:11 Dload Upload Total Spent Left Speed 22:55:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81216 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 22:55:10 > git rev-list --no-walk 1c578dcfb112828850f68ab30cac23434df19a04 # timeout=10 22:55:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:55:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:55:12 + sudo tee /etc/docker/daemon.new 22:55:12 { 22:55:12 "registry-mirrors": [ 22:55:12 "https://nexus3.edgexfoundry.org:10001" 22:55:12 ], 22:55:12 "bip": "10.250.0.254/24", 22:55:12 "hosts": [ 22:55:12 "tcp://0.0.0.0:5555", 22:55:12 "unix:///var/run/docker.sock" 22:55:12 ], 22:55:12 "mtu": 1458, 22:55:12 "selinux-enabled": true, 22:55:12 "seccomp-profile": "/etc/docker/seccomp.json" 22:55:12 } [Pipeline] sh 22:55:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:55:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:31 provisioning config files... 22:55:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config9709619814845681378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:32 ---> docker-login.sh 22:55:32 nexus3.edgexfoundry.org:10001 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10002 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10003 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 nexus3.edgexfoundry.org:10004 22:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 docker.io 22:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 ---> docker-login.sh ends [Pipeline] } 22:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:35 ========================================================= 22:55:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:55:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:55:36 Sending build context to Docker daemon 14.67MB 22:55:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:55:36 Step 2/13 : FROM ${BASE} AS builder 22:55:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:55:36 c41833b44d91: Pulling fs layer 22:55:36 ed15518f5707: Pulling fs layer 22:55:36 feae8fd75edb: Pulling fs layer 22:55:36 242c74f7c9fa: Pulling fs layer 22:55:36 3cdef696dda3: Pulling fs layer 22:55:36 2ced38df9373: Pulling fs layer 22:55:36 242c74f7c9fa: Waiting 22:55:36 3cdef696dda3: Waiting 22:55:36 58f1dce35555: Pulling fs layer 22:55:36 2ced38df9373: Waiting 22:55:36 58f1dce35555: Waiting 22:55:36 ed15518f5707: Verifying Checksum 22:55:36 ed15518f5707: Download complete 22:55:36 242c74f7c9fa: Verifying Checksum 22:55:36 242c74f7c9fa: Download complete 22:55:36 3cdef696dda3: Verifying Checksum 22:55:36 3cdef696dda3: Download complete 22:55:36 c41833b44d91: Verifying Checksum 22:55:38 58f1dce35555: Verifying Checksum 22:55:38 58f1dce35555: Download complete 22:55:39 feae8fd75edb: Verifying Checksum 22:55:39 feae8fd75edb: Download complete 22:55:39 2ced38df9373: Verifying Checksum 22:55:39 2ced38df9373: Download complete 22:55:39 c41833b44d91: Pull complete 22:55:40 ed15518f5707: Pull complete 22:55:50 feae8fd75edb: Pull complete 22:55:50 242c74f7c9fa: Pull complete 22:55:51 3cdef696dda3: Pull complete 22:55:57 2ced38df9373: Pull complete 22:55:59 58f1dce35555: Pull complete 22:55:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:55:59 ---> fadd8f120f05 22:55:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:56:01 ---> Running in 4e8e00af2317 22:56:01 Removing intermediate container 4e8e00af2317 22:56:01 ---> 924af2b810c7 22:56:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:01 ---> Running in 9dd4e5461162 22:56:01 Removing intermediate container 9dd4e5461162 22:56:01 ---> 363661ef9754 22:56:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:56:01 ---> Running in b6af64057174 22:56:02 Removing intermediate container b6af64057174 22:56:02 ---> 19d96257be89 22:56:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:56:02 ---> Running in f7977dbca25c 22:56:02 Removing intermediate container f7977dbca25c 22:56:02 ---> d9862bf7b349 22:56:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:56:02 ---> Running in 146aea451267 22:56:02 Removing intermediate container 146aea451267 22:56:02 ---> 0e374faa90ac 22:56:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:56:02 ---> Running in 65b79b7d92c3 22:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:56:05 OK: 263 MiB in 53 packages 22:56:06 Removing intermediate container 65b79b7d92c3 22:56:06 ---> d25fce102cbd 22:56:06 Step 9/13 : WORKDIR /device-onvif-camera 22:56:07 ---> Running in 60d3dc2b524f 22:56:07 Removing intermediate container 60d3dc2b524f 22:56:07 ---> 660cd76698ac 22:56:07 Step 10/13 : COPY go.mod vendor* ./ 22:56:08 ---> fc8e6fc26fab 22:56:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:08 ---> Running in 29db756365de 22:57:16 Removing intermediate container 29db756365de 22:57:16 ---> bb999b0d3f46 22:57:16 Step 12/13 : COPY . . 22:57:16 ---> 252187e5b713 22:57:16 Step 13/13 : RUN ${MAKE} 22:57:16 ---> Running in c62db968d41b 22:57:16 noop 22:57:17 Removing intermediate container c62db968d41b 22:57:17 ---> da74bd77160d 22:57:17 Successfully built da74bd77160d 22:57:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:17 + docker inspect -f . ci-base-image-arm64 22:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:18 prd-ubuntu20.04-docker-arm64-4c-16g-14806 does not seem to be running inside a container 22:57:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:57:19 $ docker top 7d1ee85c3555004f98efa4d32000e870ce653b25782f4c21e478b4d683f78fc4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:20 + go version 22:57:20 go version go1.20.2 linux/arm64 [Pipeline] } 22:57:20 $ docker stop --time=1 7d1ee85c3555004f98efa4d32000e870ce653b25782f4c21e478b4d683f78fc4 22:57:22 $ docker rm -f --volumes 7d1ee85c3555004f98efa4d32000e870ce653b25782f4c21e478b4d683f78fc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:22 + docker inspect -f . ci-base-image-arm64 22:57:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:22 prd-ubuntu20.04-docker-arm64-4c-16g-14806 does not seem to be running inside a container 22:57:22 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:57:27 $ docker top bc038ce14462e19a28e5e43c69732ec79294c6ff915bcc8829c594a103597d1f -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh 22:57:29 + make test 22:57:29 go test ./... -coverprofile=coverage.out ./... 22:58:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:00:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:00:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:00:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.216s coverage: 30.9% of statements 23:00:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.186s coverage: 86.5% of statements 23:00:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:00:35 go vet ./... 23:01:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:02 ./bin/test-attribution-txt.sh [Pipeline] echo 23:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:01:02 $ docker stop --time=1 bc038ce14462e19a28e5e43c69732ec79294c6ff915bcc8829c594a103597d1f 23:01:06 $ docker rm -f --volumes bc038ce14462e19a28e5e43c69732ec79294c6ff915bcc8829c594a103597d1f [Pipeline] // withDockerContainer [Pipeline] sh 23:01:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:07 Warning: overwriting stash ‘coverage-report’ 23:01:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:08 + ls -al . 23:01:08 total 228 23:01:08 drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:57 . 23:01:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:55 .. 23:01:08 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:55 .git 23:01:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:55 .github 23:01:08 -rw-rw-r-- 1 jenkins jenkins 496 May 9 22:55 .gitignore 23:01:08 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:55 .golangci.yml 23:01:08 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 22:55 Attribution.txt 23:01:08 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 22:55 CHANGELOG.md 23:01:08 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 22:55 Dockerfile 23:01:08 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:55 GOVERNANCE.md 23:01:08 -rw-rw-r-- 1 jenkins jenkins 734 May 9 22:55 Jenkinsfile 23:01:08 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 22:55 LICENSE 23:01:08 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 22:55 Makefile 23:01:08 -rw-rw-r-- 1 jenkins jenkins 625 May 9 22:55 OWNERS.md 23:01:08 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 22:55 README.md 23:01:08 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:50 VERSION 23:01:08 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:55 bin 23:01:08 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:55 cmd 23:01:08 -rw-r--r-- 1 jenkins jenkins 79213 May 9 23:00 coverage.out 23:01:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:55 doc 23:01:08 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 22:55 go.mod 23:01:08 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 22:55 go.sum 23:01:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:55 internal 23:01:08 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:55 snap 23:01:08 -rw-rw-r-- 1 jenkins jenkins 236 May 9 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:08 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8dfcac28aadede62af49ce5f537a610e5c34e877 --label arch=arm64 --label version=0.0.0 . 23:01:09 Sending build context to Docker daemon 14.75MB 23:01:09 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:01:09 Step 2/26 : FROM ${BASE} AS builder 23:01:09 ---> da74bd77160d 23:01:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:01:09 ---> Running in 0b1f722abf3d 23:01:10 Removing intermediate container 0b1f722abf3d 23:01:10 ---> 7c827db1a127 23:01:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:01:10 ---> Running in 47faf9f089a3 23:01:10 Removing intermediate container 47faf9f089a3 23:01:10 ---> 2a6fddd018e6 23:01:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:01:10 ---> Running in 71eb96ba9656 23:01:10 Removing intermediate container 71eb96ba9656 23:01:10 ---> dc5467d0d9ba 23:01:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:01:10 ---> Running in 067705b218b0 23:01:11 Removing intermediate container 067705b218b0 23:01:11 ---> 69fbaef62896 23:01:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:01:11 ---> Running in a4bee40d29f9 23:01:11 Removing intermediate container a4bee40d29f9 23:01:11 ---> 14cde159a088 23:01:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:11 ---> Running in 71fdac1277fd 23:01:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:01:14 OK: 263 MiB in 53 packages 23:01:15 Removing intermediate container 71fdac1277fd 23:01:15 ---> 2e846d1aa50f 23:01:15 Step 9/26 : WORKDIR /device-onvif-camera 23:01:15 ---> Running in 984b1aa4c969 23:01:15 Removing intermediate container 984b1aa4c969 23:01:15 ---> f989a9b8fbbb 23:01:15 Step 10/26 : COPY go.mod vendor* ./ 23:01:17 ---> b079516e5612 23:01:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:17 ---> Running in 925c13cfafd0 23:01:20 Removing intermediate container 925c13cfafd0 23:01:20 ---> 1e07d9549394 23:01:20 Step 12/26 : COPY . . 23:01:21 ---> 5644dd453516 23:01:21 Step 13/26 : RUN ${MAKE} 23:01:21 ---> Running in 2679b31a6448 23:01:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:03:44 Removing intermediate container 2679b31a6448 23:03:44 ---> 72fde0330903 23:03:44 Step 14/26 : FROM alpine:3.17 23:03:44 3.17: Pulling from library/alpine 23:03:44 c41833b44d91: Already exists 23:03:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:03:44 Status: Downloaded newer image for alpine:3.17 23:03:44 ---> 51e60588ff2c 23:03:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:03:44 ---> Running in eeca0c63e00a 23:03:44 Removing intermediate container eeca0c63e00a 23:03:44 ---> 685f5eb40eba 23:03:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:03:44 ---> Running in 29b707dfb2dd 23:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:03:44 (1/1) Installing dumb-init (1.2.5-r2) 23:03:44 Executing busybox-1.35.0-r29.trigger 23:03:44 OK: 8 MiB in 16 packages 23:03:44 Removing intermediate container 29b707dfb2dd 23:03:44 ---> 362221e5d711 23:03:44 Step 17/26 : WORKDIR / 23:03:44 ---> Running in 06d6002e50bf 23:03:44 Removing intermediate container 06d6002e50bf 23:03:44 ---> b29bfd22f7b7 23:03:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:03:44 ---> 13582891f444 23:03:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:03:44 ---> 3fe4608c87fb 23:03:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:03:44 ---> 543e88d71d61 23:03:44 Step 21/26 : EXPOSE 59984 23:03:44 ---> Running in 6d209f03f9d3 23:03:44 Removing intermediate container 6d209f03f9d3 23:03:44 ---> 172a267bd7c2 23:03:44 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:03:44 ---> Running in 35c3474d684d 23:03:45 Removing intermediate container 35c3474d684d 23:03:45 ---> d5f26a6884d2 23:03:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:03:45 ---> Running in 022f5926d5f8 23:03:45 Removing intermediate container 022f5926d5f8 23:03:45 ---> 56b1c870b719 23:03:45 Step 24/26 : LABEL arch=arm64 23:03:45 ---> Running in 66624a6bfc76 23:03:45 Removing intermediate container 66624a6bfc76 23:03:45 ---> bceca7585b70 23:03:45 Step 25/26 : LABEL git_sha=8dfcac28aadede62af49ce5f537a610e5c34e877 23:03:45 ---> Running in 22a0dd212ec1 23:03:46 Removing intermediate container 22a0dd212ec1 23:03:46 ---> eea77bd4212c 23:03:46 Step 26/26 : LABEL version=0.0.0 23:03:46 ---> Running in 2f667e3b992c 23:03:46 Removing intermediate container 2f667e3b992c 23:03:46 ---> be5714977b33 23:03:46 [Warning] One or more build-args [ARCH] were not consumed 23:03:46 Successfully built be5714977b33 23:03:46 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:46 23:03:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:47 arm64: Pulling from edgex-lftools-log-publisher 23:03:47 8998bd30e6a1: Pulling fs layer 23:03:47 04944245beec: Pulling fs layer 23:03:47 699f458cf7ca: Pulling fs layer 23:03:47 765212b225bb: Pulling fs layer 23:03:47 f23df028b6ca: Pulling fs layer 23:03:47 d65c8cfc05b1: Pulling fs layer 23:03:47 2437ff75d9bd: Pulling fs layer 23:03:47 765212b225bb: Waiting 23:03:47 f23df028b6ca: Waiting 23:03:47 d65c8cfc05b1: Waiting 23:03:47 2437ff75d9bd: Waiting 23:03:47 04944245beec: Verifying Checksum 23:03:47 04944245beec: Download complete 23:03:47 765212b225bb: Verifying Checksum 23:03:47 765212b225bb: Download complete 23:03:47 f23df028b6ca: Verifying Checksum 23:03:47 f23df028b6ca: Download complete 23:03:47 d65c8cfc05b1: Verifying Checksum 23:03:47 d65c8cfc05b1: Download complete 23:03:47 699f458cf7ca: Verifying Checksum 23:03:47 699f458cf7ca: Download complete 23:03:48 8998bd30e6a1: Download complete 23:03:50 2437ff75d9bd: Download complete 23:03:52 8998bd30e6a1: Pull complete 23:03:52 04944245beec: Pull complete 23:03:53 699f458cf7ca: Pull complete 23:03:53 765212b225bb: Pull complete 23:03:56 f23df028b6ca: Pull complete 23:03:56 d65c8cfc05b1: Pull complete 23:04:11 2437ff75d9bd: Pull complete 23:04:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:04:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:11 prd-ubuntu20.04-docker-arm64-4c-16g-14806 does not seem to be running inside a container 23:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:04:14 $ docker top 3775f2cde04c6285f641574091c9afa0e5746c088891d0d62eef2a5c2adf6ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:15 ---> job-cost.sh 23:04:15 lf-activate-venv: SKIPPING 23:04:15 INFO: No Stack... 23:04:15 INFO: Retrieving Pricing Info for: v3-standard-4 23:04:16 INFO: Archiving Costs [Pipeline] sh 23:04:16 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 23:04:16 + cut -d, -f6 [Pipeline] lock 23:04:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] 23:04:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] did not exist. Created. 23:04:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:04:17 /w/workspace/device-onvif-camera/8@tmp/durable-7cb42d8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:04:18 + echo total: 0.10999999940395355 [Pipeline] stash 23:04:18 Warning: overwriting stash ‘stack-cost’ 23:04:18 Stashed 1 file(s) [Pipeline] } 23:04:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:04:18 $ docker stop --time=1 3775f2cde04c6285f641574091c9afa0e5746c088891d0d62eef2a5c2adf6ab4 23:04:19 $ docker rm -f --volumes 3775f2cde04c6285f641574091c9afa0e5746c088891d0d62eef2a5c2adf6ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:04:20 provisioning config files... 23:04:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config1557377312127261792tmp [Pipeline] { [Pipeline] sh 23:04:20 + set +x 23:04:20 + + curl -s https://codecov.io/bash 23:04:20 bash -s -- 23:04:20 23:04:20 _____ _ 23:04:20 / ____| | | 23:04:20 | | ___ __| | ___ ___ _____ __ 23:04:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:04:20 | |___| (_) | (_| | __/ (_| (_) \ V / 23:04:20 \_____\___/ \__,_|\___|\___\___/ \_/ 23:04:20 Bash-1.0.6 23:04:20 23:04:20 23:04:20 ==> git version 2.25.1 found 23:04:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:04:20 Release-Date: 2020-01-08 23:04:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:04:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:04:20 ==> Jenkins CI detected. 23:04:20 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 23:04:20 project root: . 23:04:20 --> token set from env 23:04:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:04:20 ==> Running gcov in . (disable via -X gcov) 23:04:20 ==> Python coveragepy not found 23:04:20 ==> Searching for coverage reports in: 23:04:20 + . 23:04:20 -> Found 1 reports 23:04:20 ==> Detecting git/mercurial file structure 23:04:20 ==> Reading reports 23:04:20 + ./coverage.out bytes=79213 23:04:20 ==> Appending adjustments 23:04:20 https://docs.codecov.io/docs/fixing-reports 23:04:20 + Found adjustments 23:04:20 ==> Gzipping contents 23:04:20 12K /tmp/codecov.ceWByw.gz 23:04:20 ==> Uploading reports 23:04:20 url: https://codecov.io 23:04:20 query: branch=PR-347&commit=cd0ee086b2ecc18ecd3b1918ae327762560bef13&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 23:04:20 -> Pinging Codecov 23:04:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=cd0ee086b2ecc18ecd3b1918ae327762560bef13&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 23:04:59 -> Uploading to 23:04:59 23:04:59 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:59 Dload Upload Total Spent Left Speed 23:04:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: 23:04:59 X> Failed to upload 23:04:59 ==> Uploading to Codecov 23:04:59 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:59 Dload Upload Total Spent Left Speed 23:04:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10833 100 252 100 10581 1415 59443 --:--:-- --:--:-- --:--:-- 60859 23:04:59 Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "ef0f7876-62fb-47f9-8ba5-0e98c3c9dd19", "url": "https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cd0ee086b2ecc18ecd3b1918ae327762560bef13"} [Pipeline] } 23:04:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:05:00 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 23:05:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 23:05:00 total 16 23:05:00 drwxr-xr-x 3 root root 4096 May 9 22:52 . 23:05:00 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:52 .. 23:05:00 drwxr-xr-x 2 root root 4096 May 9 22:52 cost 23:05:00 -rw-r--r-- 1 root root 91 May 9 22:52 cost.csv 23:05:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 23:05:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 23:05:00 total 16 23:05:00 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:52 . 23:05:00 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:52 .. 23:05:00 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:52 cost 23:05:00 -rw-r--r-- 1 jenkins jenkins 91 May 9 22:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:05:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:05:01 ---> package-listing.sh 23:05:01 ++ facter osfamily 23:05:01 ++ tr '[:upper:]' '[:lower:]' 23:05:01 + OS_FAMILY=debian 23:05:01 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 23:05:01 + START_PACKAGES=/tmp/packages_start.txt 23:05:01 + END_PACKAGES=/tmp/packages_end.txt 23:05:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:05:01 + PACKAGES=/tmp/packages_start.txt 23:05:01 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 23:05:01 + PACKAGES=/tmp/packages_end.txt 23:05:01 + case "${OS_FAMILY}" in 23:05:01 + dpkg -l 23:05:01 + grep '^ii' 23:05:01 + '[' -f /tmp/packages_start.txt ']' 23:05:01 + '[' -f /tmp/packages_end.txt ']' 23:05:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:05:01 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 23:05:01 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 23:05:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 23:05:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:05:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:02 prd-ubuntu20.04-docker-8c-8g-14805 does not seem to be running inside a container 23:05:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:05:02 $ docker top fe474d3416c90afe60c6becdcc4d19606638ca2419610c465344f4990dd977be -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:03 + touch /tmp/pre-build-complete [Pipeline] sh 23:05:03 + mkdir -p /var/log/sysstat [Pipeline] sh 23:05:03 + ls /var/log/sa-host 23:05:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:05:03 provisioning config files... 23:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config16063868647097170229tmp [Pipeline] { [Pipeline] echo 23:05:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:05:04 ---> create-netrc.sh [Pipeline] } 23:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:05:04 ---> python-tools-install.sh [Pipeline] echo 23:05:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:05:04 ---> sudo-logs.sh 23:05:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:05:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:05:05 ---> job-cost.sh 23:05:05 lf-activate-venv: SKIPPING 23:05:05 DEBUG: total: 0.2199999988079071 23:05:05 INFO: Retrieving Stack Cost... 23:05:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:05:06 INFO: Archiving Costs [Pipeline] echo 23:05:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:05:06 ---> logs-deploy.sh 23:05:06 lf-activate-venv: SKIPPING 23:05:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/8 23:05:06 INFO: archiving workspace using pattern(s): 23:05:07 Archives upload complete. 23:05:07 INFO: archiving logs to Nexus