Pull request #367 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1043e38cf482cf822ee6cde679f09fbc497a5438+01232ef71281965359620122f9fdc73016fc5c79 (30c7331695052db25c8ebc39df436bebd1788f6e) 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-ssh17622706486187312764.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-ssh14664191353753416353.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-367/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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7707135760374183941.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-ssh11080558012563949065.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-367/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-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10253900899172657984.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16392’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16395 in /w/workspace/undry_device-onvif-camera_PR-367 [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-367 # 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 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 1043e38cf482cf822ee6cde679f09fbc497a5438 Merge succeeded, producing 1043e38cf482cf822ee6cde679f09fbc497a5438 Checking out Revision 1043e38cf482cf822ee6cde679f09fbc497a5438 (PR-367) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > 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/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1043e38cf482cf822ee6cde679f09fbc497a5438 # 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 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1043e38cf482cf822ee6cde679f09fbc497a5438 # timeout=10 > git rev-list --no-walk db90742b213ad0e12f030adb556bf69d84c6ce8b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:26:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:26:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:26:33 ========================================================= 22:26:33 EdgeX Global Pipelines Version Info 22:26:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:26:33 ------------------- 22:26:33 stable info: 22:26:33 ------------------- 22:26:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:26:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:26:33 Message: update stable to v1.0.249 22:26:34 ------------------- 22:26:34 experimental info: 22:26:34 ------------------- 22:26:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:26:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:26:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo 22:26:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo 22:26:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo 22:26:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1043e38cf482cf822ee6cde679f09fbc497a5438 [Pipeline] echo 22:26:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1043e38 [Pipeline] echo 22:26:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:35 provisioning config files... 22:26:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config3698025438841998987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:35 ---> docker-login.sh 22:26:35 nexus3.edgexfoundry.org:10001 22:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:35 Configure a credential helper to remove this warning. See 22:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:35 22:26:35 Login Succeeded 22:26:35 nexus3.edgexfoundry.org:10002 22:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:35 Configure a credential helper to remove this warning. See 22:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:35 22:26:35 Login Succeeded 22:26:35 nexus3.edgexfoundry.org:10003 22:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:35 Configure a credential helper to remove this warning. See 22:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:35 22:26:35 Login Succeeded 22:26:35 nexus3.edgexfoundry.org:10004 22:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:35 Configure a credential helper to remove this warning. See 22:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:35 22:26:35 Login Succeeded 22:26:35 docker.io 22:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:36 Configure a credential helper to remove this warning. See 22:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:36 22:26:36 Login Succeeded 22:26:36 ---> docker-login.sh ends [Pipeline] } 22:26:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:26:36 + git rev-list -1 --merges 1043e38cf482cf822ee6cde679f09fbc497a5438~1..1043e38cf482cf822ee6cde679f09fbc497a5438 [Pipeline] echo 22:26:36 -----------> git rev-list -1 --merges 1043e38cf482cf822ee6cde679f09fbc497a5438~1..1043e38cf482cf822ee6cde679f09fbc497a5438 1043e38cf482cf822ee6cde679f09fbc497a5438 [false] [Pipeline] sh 22:26:36 + git log --format=format:%s -1 1043e38cf482cf822ee6cde679f09fbc497a5438 [Pipeline] echo 22:26:36 ========================================================= 22:26:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:26:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:37 + git log --format=format:%s -1 1043e38cf482cf822ee6cde679f09fbc497a5438 [Pipeline] echo 22:26:37 [semverPrep] GIT_COMMIT: 1043e38cf482cf822ee6cde679f09fbc497a5438, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 22:26:37 [semverPrep] This is not a build commit. [Pipeline] sh 22:26:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:37 + grep -v github /etc/ssh/ssh_known_hosts 22:26:37 + [ -e /tmp/ssh_known_hosts ] 22:26:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:26:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:26:37 + sudo tee -a /etc/ssh/ssh_known_hosts 22:26:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:38 22:26:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:38 0.1.4: Pulling from edgex-devops/py-git-semver 22:26:38 b85a868b505f: Pulling fs layer 22:26:38 e2be974225ed: Pulling fs layer 22:26:38 339a4e72a1f5: Pulling fs layer 22:26:38 988bab9f4d93: Pulling fs layer 22:26:38 1469e6f7b9e6: Pulling fs layer 22:26:38 eaf3925da568: Pulling fs layer 22:26:38 bab4dde63d76: Pulling fs layer 22:26:38 bde34c3a00c8: Pulling fs layer 22:26:38 b352a97aabf1: Pulling fs layer 22:26:38 4872d77fe225: Pulling fs layer 22:26:38 5851b861e8e6: Pulling fs layer 22:26:38 988bab9f4d93: Waiting 22:26:38 bde34c3a00c8: Waiting 22:26:38 1469e6f7b9e6: Waiting 22:26:38 5851b861e8e6: Waiting 22:26:38 bab4dde63d76: Waiting 22:26:38 b352a97aabf1: Waiting 22:26:38 eaf3925da568: Waiting 22:26:38 e2be974225ed: Download complete 22:26:38 988bab9f4d93: Verifying Checksum 22:26:38 988bab9f4d93: Download complete 22:26:38 1469e6f7b9e6: Verifying Checksum 22:26:38 1469e6f7b9e6: Download complete 22:26:38 339a4e72a1f5: Verifying Checksum 22:26:38 339a4e72a1f5: Download complete 22:26:38 eaf3925da568: Verifying Checksum 22:26:38 eaf3925da568: Download complete 22:26:38 bde34c3a00c8: Verifying Checksum 22:26:38 bde34c3a00c8: Download complete 22:26:38 b352a97aabf1: Download complete 22:26:38 4872d77fe225: Verifying Checksum 22:26:38 4872d77fe225: Download complete 22:26:38 5851b861e8e6: Verifying Checksum 22:26:38 5851b861e8e6: Download complete 22:26:38 b85a868b505f: Verifying Checksum 22:26:38 b85a868b505f: Download complete 22:26:38 bab4dde63d76: Verifying Checksum 22:26:38 bab4dde63d76: Download complete 22:26:39 b85a868b505f: Pull complete 22:26:40 e2be974225ed: Pull complete 22:26:40 339a4e72a1f5: Pull complete 22:26:40 988bab9f4d93: Pull complete 22:26:40 1469e6f7b9e6: Pull complete 22:26:40 eaf3925da568: Pull complete 22:26:44 bab4dde63d76: Pull complete 22:26:44 bde34c3a00c8: Pull complete 22:26:44 b352a97aabf1: Pull complete 22:26:44 4872d77fe225: Pull complete 22:26:44 5851b861e8e6: Pull complete 22:26:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:44 prd-ubuntu20.04-docker-8c-8g-16395 does not seem to be running inside a container 22:26:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:47 $ docker top c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c -eo pid,comm 22:26:47 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:26:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:26:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:47 [ssh-agent] Looking for ssh-agent implementation... 22:26:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:47 $ docker exec c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c ssh-agent 22:26:47 SSH_AUTH_SOCK=/tmp/ssh-fE4gEYaeQjPC/agent.33 22:26:47 SSH_AGENT_PID=39 22:26:47 Running ssh-add (command line suppressed) 22:26:47 Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_18160679006829055673.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_18160679006829055673.key) 22:26:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:47 + git tag --points-at HEAD [Pipeline] } 22:26:47 $ docker exec --env ******** --env ******** c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c ssh-agent -k 22:26:47 unset SSH_AUTH_SOCK; 22:26:47 unset SSH_AGENT_PID; 22:26:47 echo Agent pid 39 killed; 22:26:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:26:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:47 [ssh-agent] Looking for ssh-agent implementation... 22:26:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:47 $ docker exec c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c ssh-agent 22:26:48 SSH_AUTH_SOCK=/tmp/ssh-uGShKpxlchY1/agent.71 22:26:48 SSH_AGENT_PID=77 22:26:48 Running ssh-add (command line suppressed) 22:26:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_10637022367533567479.key (/w/workspace/undry_device-onvif-camera_PR-367@tmp/private_key_10637022367533567479.key) 22:26:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:48 + git semver init 22:26:48 2023-05-22 22:26:48,717 [run_init] DEBUG init version:0.0.0 force:False 22:26:48 2023-05-22 22:26:48,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-367/.semver 22:26:48 2023-05-22 22:26:48,718 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-367/.semver 22:26:48 2023-05-22 22:26:48,718 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-367/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-367, universal_newlines=False, shell=None, istream=None) 22:26:49 2023-05-22 22:26:49,680 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-367/.git/info/exclude 22:26:49 2023-05-22 22:26:49,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 with force:False 22:26:49 2023-05-22 22:26:49,681 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 22:26:49 2023-05-22 22:26:49,685 [execute] INFO git cat-file --batch-check 22:26:49 2023-05-22 22:26:49,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) 22:26:49 2023-05-22 22:26:49,692 [execute] INFO git cat-file --batch 22:26:49 2023-05-22 22:26:49,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-367/.semver, universal_newlines=False, shell=None, istream=) 22:26:49 2023-05-22 22:26:49,696 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-367/.semver/PR-367 22:26:49 0.0.0 [Pipeline] } 22:26:49 $ docker exec --env ******** --env ******** c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c ssh-agent -k 22:26:50 unset SSH_AUTH_SOCK; 22:26:50 unset SSH_AGENT_PID; 22:26:50 echo Agent pid 77 killed; 22:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:50 + git semver [Pipeline] } 22:26:50 $ docker stop --time=1 c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c 22:26:51 $ docker rm -f --volumes c71f30560a9481baa65aeb167a7a56880de77b3315b8f700e034440df6196c6c [Pipeline] // withDockerContainer [Pipeline] sh 22:26:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:26:52 Stashed 1 file(s) [Pipeline] echo 22:26:52 [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:26:52 provisioning config files... 22:26:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config3794892833790409313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:53 ---> docker-login.sh 22:26:53 nexus3.edgexfoundry.org:10001 22:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:53 Configure a credential helper to remove this warning. See 22:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:53 22:26:53 Login Succeeded 22:26:53 nexus3.edgexfoundry.org:10002 22:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:53 Configure a credential helper to remove this warning. See 22:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:53 22:26:53 Login Succeeded 22:26:53 nexus3.edgexfoundry.org:10003 22:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:53 Configure a credential helper to remove this warning. See 22:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:53 22:26:53 Login Succeeded 22:26:53 nexus3.edgexfoundry.org:10004 22:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:53 Configure a credential helper to remove this warning. See 22:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:53 22:26:53 Login Succeeded 22:26:53 docker.io 22:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:53 Configure a credential helper to remove this warning. See 22:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:53 22:26:53 Login Succeeded 22:26:53 ---> docker-login.sh ends [Pipeline] } 22:26:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:53 ========================================================= 22:26:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:26:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:53 + 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:26:53 Sending build context to Docker daemon 21.92MB 22:26:53 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:26:53 Step 2/13 : FROM ${BASE} AS builder 22:26:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:26:54 f56be85fc22e: Pulling fs layer 22:26:54 85791d961cd3: Pulling fs layer 22:26:54 d694b5ae8c79: Pulling fs layer 22:26:54 9f32a84ed3da: Pulling fs layer 22:26:54 4d19c01a9841: Pulling fs layer 22:26:54 9325e15d5711: Pulling fs layer 22:26:54 556b6ee489ea: Pulling fs layer 22:26:54 c5a4b2cf53e6: Pulling fs layer 22:26:54 9f32a84ed3da: Waiting 22:26:54 556b6ee489ea: Waiting 22:26:54 c5a4b2cf53e6: Waiting 22:26:54 9325e15d5711: Waiting 22:26:54 85791d961cd3: Download complete 22:26:54 9f32a84ed3da: Verifying Checksum 22:26:54 9f32a84ed3da: Download complete 22:26:54 4d19c01a9841: Verifying Checksum 22:26:54 4d19c01a9841: Download complete 22:26:54 f56be85fc22e: Verifying Checksum 22:26:54 f56be85fc22e: Download complete 22:26:54 9325e15d5711: Verifying Checksum 22:26:54 9325e15d5711: Download complete 22:26:54 f56be85fc22e: Pull complete 22:26:54 85791d961cd3: Pull complete 22:26:54 d694b5ae8c79: Download complete 22:26:55 c5a4b2cf53e6: Verifying Checksum 22:26:55 c5a4b2cf53e6: Download complete 22:26:55 556b6ee489ea: Verifying Checksum 22:26:58 d694b5ae8c79: Pull complete 22:26:58 9f32a84ed3da: Pull complete 22:26:58 4d19c01a9841: Pull complete 22:26:58 9325e15d5711: Pull complete 22:27:00 556b6ee489ea: Pull complete 22:27:01 c5a4b2cf53e6: Pull complete 22:27:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:27:01 ---> c4be618373d6 22:27:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:27:05 ---> Running in a9a9e8aa4108 22:27:05 Removing intermediate container a9a9e8aa4108 22:27:05 ---> 4bb38a4eb2c9 22:27:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:05 ---> Running in 719d6ce7f7d9 22:27:05 Removing intermediate container 719d6ce7f7d9 22:27:05 ---> 9af50416b4de 22:27:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:27:05 ---> Running in 86ae35e1d1a3 22:27:05 Removing intermediate container 86ae35e1d1a3 22:27:05 ---> d4fe129ae9af 22:27:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:27:05 ---> Running in e2ae4f54e7a4 22:27:05 Removing intermediate container e2ae4f54e7a4 22:27:05 ---> e63d45085bad 22:27:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:27:05 ---> Running in 10907c444dd7 22:27:05 Removing intermediate container 10907c444dd7 22:27:05 ---> c2ad403ae6aa 22:27:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:05 ---> Running in f5dcb410107d 22:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:27:06 OK: 265 MiB in 53 packages 22:27:06 Removing intermediate container f5dcb410107d 22:27:06 ---> a78f39ae03a4 22:27:06 Step 9/13 : WORKDIR /device-onvif-camera 22:27:06 ---> Running in 8a2529620e11 22:27:06 Removing intermediate container 8a2529620e11 22:27:06 ---> 33aa4b507ae5 22:27:06 Step 10/13 : COPY go.mod vendor* ./ 22:27:06 ---> b8b26457c4c1 22:27:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:06 ---> Running in 262c47000f46 22:27:07 Still waiting to schedule task 22:27:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:27:45 Removing intermediate container 262c47000f46 22:27:45 ---> 9b5eea3c6be2 22:27:45 Step 12/13 : COPY . . 22:27:45 ---> 0e9773a4d178 22:27:45 Step 13/13 : RUN ${MAKE} 22:27:45 ---> Running in bd128a1320e5 22:27:45 noop 22:27:45 Removing intermediate container bd128a1320e5 22:27:45 ---> f156b7ff12f6 22:27:45 Successfully built f156b7ff12f6 22:27:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:45 + docker inspect -f . ci-base-image-x86_64 22:27:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:46 prd-ubuntu20.04-docker-8c-8g-16395 does not seem to be running inside a container 22:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** ci-base-image-x86_64 cat 22:27:46 $ docker top 304e6295a50158f849518a78f76935fcd8d21ce8f6ece7ec957d9cd2f5628f14 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:46 + go version 22:27:46 go version go1.20.2 linux/amd64 [Pipeline] } 22:27:46 $ docker stop --time=1 304e6295a50158f849518a78f76935fcd8d21ce8f6ece7ec957d9cd2f5628f14 22:27:48 $ docker rm -f --volumes 304e6295a50158f849518a78f76935fcd8d21ce8f6ece7ec957d9cd2f5628f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:48 + docker inspect -f . ci-base-image-x86_64 22:27:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:48 prd-ubuntu20.04-docker-8c-8g-16395 does not seem to be running inside a container 22:27:48 $ 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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** ci-base-image-x86_64 cat 22:27:49 $ docker top a5b75df0e97c65339ff26c50ebf26dd05d6c56d1ce614e569c49f040afb66e61 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:49 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] fileExists [Pipeline] sh 22:27:49 + make test 22:27:49 go test ./... -coverprofile=coverage.out ./... 22:27:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:28:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:28:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:28:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.049s coverage: 31.4% of statements 22:28:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.116s coverage: 86.5% of statements 22:28:16 go vet ./... 22:28:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:28:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:28:19 ./bin/test-attribution-txt.sh [Pipeline] echo 22:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:28:19 $ docker stop --time=1 a5b75df0e97c65339ff26c50ebf26dd05d6c56d1ce614e569c49f040afb66e61 22:28:22 $ docker rm -f --volumes a5b75df0e97c65339ff26c50ebf26dd05d6c56d1ce614e569c49f040afb66e61 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:28:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:28:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:28:23 + ls -al . 22:28:23 total 232 22:28:23 drwxrwxr-x 10 jenkins jenkins 4096 May 22 22:27 . 22:28:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:26 .. 22:28:23 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:26 .git 22:28:23 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:26 .github 22:28:23 -rw-rw-r-- 1 jenkins jenkins 496 May 22 22:26 .gitignore 22:28:23 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:26 .golangci.yml 22:28:23 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:26 .semver 22:28:23 -rw-rw-r-- 1 jenkins jenkins 10087 May 22 22:26 Attribution.txt 22:28:23 -rw-rw-r-- 1 jenkins jenkins 6312 May 22 22:26 CHANGELOG.md 22:28:23 -rw-rw-r-- 1 jenkins jenkins 1574 May 22 22:26 Dockerfile 22:28:23 -rw-rw-r-- 1 jenkins jenkins 677 May 22 22:26 GOVERNANCE.md 22:28:23 -rw-rw-r-- 1 jenkins jenkins 739 May 22 22:26 Jenkinsfile 22:28:23 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:26 LICENSE 22:28:23 -rw-rw-r-- 1 jenkins jenkins 2751 May 22 22:26 Makefile 22:28:23 -rw-rw-r-- 1 jenkins jenkins 625 May 22 22:26 OWNERS.md 22:28:23 -rw-rw-r-- 1 jenkins jenkins 2690 May 22 22:26 README.md 22:28:23 -rw-rw-r-- 1 jenkins jenkins 5 May 22 22:26 VERSION 22:28:23 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:26 bin 22:28:23 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:26 cmd 22:28:23 -rw-r--r-- 1 jenkins jenkins 78459 May 22 22:28 coverage.out 22:28:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:26 doc 22:28:23 -rw-rw-r-- 1 jenkins jenkins 3642 May 22 22:26 go.mod 22:28:23 -rw-rw-r-- 1 jenkins jenkins 33581 May 22 22:26 go.sum 22:28:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:26 internal 22:28:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:26 snap 22:28:23 -rw-rw-r-- 1 jenkins jenkins 236 May 22 22:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:24 + 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=1043e38cf482cf822ee6cde679f09fbc497a5438 --label arch=amd64 --label version=0.0.0 . 22:28:24 Sending build context to Docker daemon 22MB 22:28:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:28:24 Step 2/26 : FROM ${BASE} AS builder 22:28:24 ---> f156b7ff12f6 22:28:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:28:24 ---> Running in 5fb203232060 22:28:24 Removing intermediate container 5fb203232060 22:28:24 ---> b45bafbdda58 22:28:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:28:24 ---> Running in afd17c21a7cf 22:28:24 Removing intermediate container afd17c21a7cf 22:28:24 ---> a16fca5784aa 22:28:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:28:24 ---> Running in ce382a891b68 22:28:24 Removing intermediate container ce382a891b68 22:28:24 ---> 8c47d197c443 22:28:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:28:24 ---> Running in afb2823df136 22:28:25 Removing intermediate container afb2823df136 22:28:25 ---> 96b76583c16f 22:28:25 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:28:25 ---> Running in 6eaa1fe6c085 22:28:25 Removing intermediate container 6eaa1fe6c085 22:28:25 ---> ce3c79ef847c 22:28:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:25 ---> Running in 85070b112a14 22:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:28:25 OK: 265 MiB in 53 packages 22:28:26 Removing intermediate container 85070b112a14 22:28:26 ---> 94c9ff4ef158 22:28:26 Step 9/26 : WORKDIR /device-onvif-camera 22:28:26 ---> Running in 84d220a37c28 22:28:26 Removing intermediate container 84d220a37c28 22:28:26 ---> 7c0a7e0c8ec3 22:28:26 Step 10/26 : COPY go.mod vendor* ./ 22:28:26 ---> 5fda932c8766 22:28:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:26 ---> Running in c2b66cbcfec4 22:28:27 Removing intermediate container c2b66cbcfec4 22:28:27 ---> 3256a89b1ddd 22:28:27 Step 12/26 : COPY . . 22:28:28 ---> 80a9efa1f279 22:28:28 Step 13/26 : RUN ${MAKE} 22:28:28 ---> Running in 2db422fc06fe 22:28:28 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:28:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16396 in /w/workspace/undry_device-onvif-camera_PR-367 [Pipeline] { [Pipeline] ws 22:28:35 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 22:28:35 The recommended git tool is: git 22:28:41 using credential edgex-jenkins-ssh 22:28:41 Cloning the remote Git repository 22:28:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:28:41 > git init /w/workspace/device-onvif-camera/3 # timeout=10 22:28:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:28:41 > git --version # timeout=10 22:28:41 > git --version # 'git version 2.25.1' 22:28:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:28:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:28:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:28:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:44 Merging remotes/origin/main commit 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 1043e38cf482cf822ee6cde679f09fbc497a5438 22:28:45 Merge succeeded, producing 1043e38cf482cf822ee6cde679f09fbc497a5438 22:28:45 Checking out Revision 1043e38cf482cf822ee6cde679f09fbc497a5438 (PR-367) 22:28:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:28:44 > git config core.sparsecheckout # timeout=10 22:28:45 > git checkout -f 1043e38cf482cf822ee6cde679f09fbc497a5438 # timeout=10 22:28:45 > git remote # timeout=10 22:28:45 > git config --get remote.origin.url # timeout=10 22:28:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:45 > git merge 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 22:28:45 > git rev-parse HEAD^{commit} # timeout=10 22:28:45 > git config core.sparsecheckout # timeout=10 22:28:45 > git checkout -f 1043e38cf482cf822ee6cde679f09fbc497a5438 # timeout=10 22:28:46 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:47 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:47 Dload Upload Total Spent Left Speed 22:28:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 84083 0 --:--:-- --:--:-- --:--:-- 84083 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 22:28:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:48 + sudo tee /etc/docker/daemon.new 22:28:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:28:48 { 22:28:48 "registry-mirrors": [ 22:28:48 "https://nexus3.edgexfoundry.org:10001" 22:28:48 ], 22:28:48 "bip": "10.250.0.254/24", 22:28:48 "hosts": [ 22:28:48 "tcp://0.0.0.0:5555", 22:28:48 "unix:///var/run/docker.sock" 22:28:48 ], 22:28:48 "mtu": 1458, 22:28:48 "selinux-enabled": true, 22:28:48 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:48 } [Pipeline] sh 22:28:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:28:48 + sudo service docker restart 22:28:51 Removing intermediate container 2db422fc06fe 22:28:51 ---> ea5fdb9e1639 22:28:51 Step 14/26 : FROM alpine:3.17 22:28:51 3.17: Pulling from library/alpine 22:28:51 f56be85fc22e: Already exists 22:28:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:28:51 Status: Downloaded newer image for alpine:3.17 22:28:51 ---> 9ed4aefc74f6 22:28:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:28:51 ---> Running in f3d147eab6eb 22:28:51 Removing intermediate container f3d147eab6eb 22:28:51 ---> 26e0b2c67afc 22:28:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:28:51 ---> Running in edbf34b9519f 22:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:28:51 (1/1) Installing dumb-init (1.2.5-r2) 22:28:51 Executing busybox-1.35.0-r29.trigger 22:28:51 OK: 7 MiB in 16 packages 22:28:51 Removing intermediate container edbf34b9519f 22:28:51 ---> c8a785ecf866 22:28:51 Step 17/26 : WORKDIR / 22:28:51 ---> Running in e815949c9746 22:28:51 Removing intermediate container e815949c9746 22:28:51 ---> 96820aee75b2 22:28:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:28:52 ---> 8a41db73129d 22:28:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:28:52 ---> abc3fd77722a 22:28:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:28:52 ---> 31672de80996 22:28:52 Step 21/26 : EXPOSE 59984 22:28:52 ---> Running in f90d884adada 22:28:52 Removing intermediate container f90d884adada 22:28:52 ---> d5ab9657daaa 22:28:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:28:52 ---> Running in b98885b1a2a9 22:28:52 Removing intermediate container b98885b1a2a9 22:28:52 ---> 0a01f57ee40b 22:28:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:28:52 ---> Running in 1b1249a87d81 22:28:52 Removing intermediate container 1b1249a87d81 22:28:52 ---> 77dfca1e2190 22:28:52 Step 24/26 : LABEL arch=amd64 22:28:52 ---> Running in afa1e526e3a4 22:28:52 Removing intermediate container afa1e526e3a4 22:28:52 ---> d06d1c40f2fd 22:28:52 Step 25/26 : LABEL git_sha=1043e38cf482cf822ee6cde679f09fbc497a5438 22:28:52 ---> Running in a322d5528cc0 22:28:52 Removing intermediate container a322d5528cc0 22:28:52 ---> afa4ceaddb0d 22:28:52 Step 26/26 : LABEL version=0.0.0 22:28:53 ---> Running in 90ea26b30d54 22:28:53 Removing intermediate container 90ea26b30d54 22:28:53 ---> d58f04669092 22:28:53 [Warning] One or more build-args [ARCH] were not consumed 22:28:53 Successfully built d58f04669092 22:28:53 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:53 22:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:53 latest: Pulling from edgex-lftools-log-publisher 22:28:53 5eb5b503b376: Pulling fs layer 22:28:53 5c69ac0246d0: Pulling fs layer 22:28:53 ec43610c2a17: Pulling fs layer 22:28:53 3a2ae6a8a46f: Pulling fs layer 22:28:53 33b1e0a273af: Pulling fs layer 22:28:53 5d3b04190fa2: Pulling fs layer 22:28:53 2f39f015ded8: Pulling fs layer 22:28:53 33b1e0a273af: Waiting 22:28:53 2f39f015ded8: Waiting 22:28:53 3a2ae6a8a46f: Waiting 22:28:53 5c69ac0246d0: Download complete 22:28:53 3a2ae6a8a46f: Verifying Checksum 22:28:53 3a2ae6a8a46f: Download complete 22:28:53 33b1e0a273af: Verifying Checksum 22:28:53 33b1e0a273af: Download complete 22:28:53 ec43610c2a17: Verifying Checksum 22:28:53 ec43610c2a17: Download complete 22:28:53 5d3b04190fa2: Download complete 22:28:54 5eb5b503b376: Verifying Checksum 22:28:54 5eb5b503b376: Download complete 22:28:54 2f39f015ded8: Download complete 22:28:55 5eb5b503b376: Pull complete 22:28:55 5c69ac0246d0: Pull complete 22:28:55 ec43610c2a17: Pull complete 22:28:56 3a2ae6a8a46f: Pull complete 22:28:56 33b1e0a273af: Pull complete 22:28:56 5d3b04190fa2: Pull complete 22:29:00 2f39f015ded8: Pull complete 22:29:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:00 prd-ubuntu20.04-docker-8c-8g-16395 does not seem to be running inside a container 22:29:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:29:04 $ docker top 9480d7537c949dccfcd93a3278348a3a1b565e618e58e9b1009e1ebf20d67612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:04 ---> job-cost.sh 22:29:04 lf-activate-venv: SKIPPING 22:29:04 INFO: No Stack... 22:29:04 INFO: Retrieving Pricing Info for: v3-standard-8 22:29:05 INFO: Archiving Costs [Pipeline] sh 22:29:05 + cat /w/workspace/undry_device-onvif-camera_PR-367/archives/cost.csv 22:29:05 + cut -d, -f6 [Pipeline] lock 22:29:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] 22:29:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] did not exist. Created. 22:29:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:29:05 + echo total: 0.2199999988079071 [Pipeline] stash 22:29:05 Stashed 1 file(s) [Pipeline] } 22:29:05 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:29:05 $ docker stop --time=1 9480d7537c949dccfcd93a3278348a3a1b565e618e58e9b1009e1ebf20d67612 22:29:06 $ docker rm -f --volumes 9480d7537c949dccfcd93a3278348a3a1b565e618e58e9b1009e1ebf20d67612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 22:29:06 provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:29:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config5491631079920907485tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:07 ---> docker-login.sh 22:29:07 nexus3.edgexfoundry.org:10001 22:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:07 Configure a credential helper to remove this warning. See 22:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:07 22:29:07 Login Succeeded 22:29:07 nexus3.edgexfoundry.org:10002 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:08 Configure a credential helper to remove this warning. See 22:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:08 22:29:08 Login Succeeded 22:29:08 nexus3.edgexfoundry.org:10003 22:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:08 Configure a credential helper to remove this warning. See 22:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:08 22:29:08 Login Succeeded 22:29:08 nexus3.edgexfoundry.org:10004 22:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:09 Configure a credential helper to remove this warning. See 22:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:09 22:29:09 Login Succeeded 22:29:09 docker.io 22:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:09 Configure a credential helper to remove this warning. See 22:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:09 22:29:09 Login Succeeded 22:29:09 ---> docker-login.sh ends [Pipeline] } 22:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:09 ========================================================= 22:29:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:29:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:10 + 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:29:10 Sending build context to Docker daemon 14.37MB 22:29:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:29:10 Step 2/13 : FROM ${BASE} AS builder 22:29:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:29:10 c41833b44d91: Pulling fs layer 22:29:10 ed15518f5707: Pulling fs layer 22:29:10 feae8fd75edb: Pulling fs layer 22:29:10 242c74f7c9fa: Pulling fs layer 22:29:10 3cdef696dda3: Pulling fs layer 22:29:10 2ced38df9373: Pulling fs layer 22:29:10 58f1dce35555: Pulling fs layer 22:29:10 3cdef696dda3: Waiting 22:29:10 2ced38df9373: Waiting 22:29:10 242c74f7c9fa: Waiting 22:29:10 58f1dce35555: Waiting 22:29:11 ed15518f5707: Download complete 22:29:11 242c74f7c9fa: Verifying Checksum 22:29:11 242c74f7c9fa: Download complete 22:29:11 3cdef696dda3: Verifying Checksum 22:29:11 3cdef696dda3: Download complete 22:29:11 c41833b44d91: Download complete 22:29:12 c41833b44d91: Pull complete 22:29:12 58f1dce35555: Verifying Checksum 22:29:12 58f1dce35555: Download complete 22:29:12 ed15518f5707: Pull complete 22:29:13 feae8fd75edb: Verifying Checksum 22:29:13 feae8fd75edb: Download complete 22:29:13 2ced38df9373: Verifying Checksum 22:29:13 2ced38df9373: Download complete 22:29:26 feae8fd75edb: Pull complete 22:29:26 242c74f7c9fa: Pull complete 22:29:26 3cdef696dda3: Pull complete 22:29:32 2ced38df9373: Pull complete 22:29:35 58f1dce35555: Pull complete 22:29:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:29:35 ---> fadd8f120f05 22:29:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:29:37 ---> Running in 696bcd0ee10c 22:29:37 Removing intermediate container 696bcd0ee10c 22:29:37 ---> 11ef72c1ba38 22:29:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:37 ---> Running in f4636bd2b006 22:29:37 Removing intermediate container f4636bd2b006 22:29:37 ---> 358922b5f81e 22:29:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:29:37 ---> Running in f3138881f8cf 22:29:38 Removing intermediate container f3138881f8cf 22:29:38 ---> 37d2ca7de657 22:29:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:29:38 ---> Running in c136362b5f8b 22:29:38 Removing intermediate container c136362b5f8b 22:29:38 ---> 4ca96a7e27f5 22:29:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:29:38 ---> Running in 9be16ab2fafe 22:29:39 Removing intermediate container 9be16ab2fafe 22:29:39 ---> fa4ce02e7cee 22:29:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:39 ---> Running in 1ae7e3e06598 22:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:29:41 OK: 263 MiB in 53 packages 22:29:42 Removing intermediate container 1ae7e3e06598 22:29:42 ---> 0611bf49d675 22:29:42 Step 9/13 : WORKDIR /device-onvif-camera 22:29:42 ---> Running in c31001404367 22:29:42 Removing intermediate container c31001404367 22:29:42 ---> 1be73244ae1b 22:29:42 Step 10/13 : COPY go.mod vendor* ./ 22:29:43 ---> 0e8d989d0051 22:29:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:43 ---> Running in ccc8bc1a25c4 22:30:51 Removing intermediate container ccc8bc1a25c4 22:30:51 ---> dbb82f37f573 22:30:51 Step 12/13 : COPY . . 22:30:51 ---> de4c773cd03a 22:30:51 Step 13/13 : RUN ${MAKE} 22:30:51 ---> Running in 78cb2162277e 22:30:51 noop 22:30:51 Removing intermediate container 78cb2162277e 22:30:51 ---> 6b01b05a7e78 22:30:51 Successfully built 6b01b05a7e78 22:30:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:51 + docker inspect -f . ci-base-image-arm64 22:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:51 prd-ubuntu20.04-docker-arm64-4c-16g-16396 does not seem to be running inside a container 22:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:53 $ docker top 71133cedf9f7de6aeecf0f48890eb73fe67d98b6d1299c99fdfbba7edac47748 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:54 + go version 22:30:54 go version go1.20.2 linux/arm64 [Pipeline] } 22:30:54 $ docker stop --time=1 71133cedf9f7de6aeecf0f48890eb73fe67d98b6d1299c99fdfbba7edac47748 22:30:55 $ docker rm -f --volumes 71133cedf9f7de6aeecf0f48890eb73fe67d98b6d1299c99fdfbba7edac47748 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:56 + docker inspect -f . ci-base-image-arm64 22:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-16396 does not seem to be running inside a container 22:30:56 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:57 $ docker top 6abe1f50b5336b6040cb98c508d40ad720bd1b9f728aac3edc7d5358dac1c166 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 22:30:58 + make test 22:30:58 go test ./... -coverprofile=coverage.out ./... 22:31:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:33:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:33:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:33:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.4% of statements 22:33:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.328s coverage: 86.5% of statements 22:33:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:33:57 go vet ./... 22:34:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:34:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:34:29 $ docker stop --time=1 6abe1f50b5336b6040cb98c508d40ad720bd1b9f728aac3edc7d5358dac1c166 22:34:31 $ docker rm -f --volumes 6abe1f50b5336b6040cb98c508d40ad720bd1b9f728aac3edc7d5358dac1c166 [Pipeline] // withDockerContainer [Pipeline] sh 22:34:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:32 Warning: overwriting stash ‘coverage-report’ 22:34:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:34:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:34:33 + ls -al . 22:34:33 total 228 22:34:33 drwxrwxr-x 9 jenkins jenkins 4096 May 22 22:31 . 22:34:33 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:28 .. 22:34:33 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:28 .git 22:34:33 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:28 .github 22:34:33 -rw-rw-r-- 1 jenkins jenkins 496 May 22 22:28 .gitignore 22:34:33 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:28 .golangci.yml 22:34:33 -rw-rw-r-- 1 jenkins jenkins 10087 May 22 22:28 Attribution.txt 22:34:33 -rw-rw-r-- 1 jenkins jenkins 6312 May 22 22:28 CHANGELOG.md 22:34:33 -rw-rw-r-- 1 jenkins jenkins 1574 May 22 22:28 Dockerfile 22:34:33 -rw-rw-r-- 1 jenkins jenkins 677 May 22 22:28 GOVERNANCE.md 22:34:33 -rw-rw-r-- 1 jenkins jenkins 739 May 22 22:28 Jenkinsfile 22:34:33 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:28 LICENSE 22:34:33 -rw-rw-r-- 1 jenkins jenkins 2751 May 22 22:28 Makefile 22:34:33 -rw-rw-r-- 1 jenkins jenkins 625 May 22 22:28 OWNERS.md 22:34:33 -rw-rw-r-- 1 jenkins jenkins 2690 May 22 22:28 README.md 22:34:33 -rw-rw-r-- 1 jenkins jenkins 5 May 22 22:26 VERSION 22:34:33 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:28 bin 22:34:33 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:28 cmd 22:34:33 -rw-r--r-- 1 jenkins jenkins 78459 May 22 22:33 coverage.out 22:34:33 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:28 doc 22:34:33 -rw-rw-r-- 1 jenkins jenkins 3642 May 22 22:28 go.mod 22:34:33 -rw-rw-r-- 1 jenkins jenkins 33581 May 22 22:28 go.sum 22:34:33 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:28 internal 22:34:33 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:28 snap 22:34:33 -rw-rw-r-- 1 jenkins jenkins 236 May 22 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:33 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1043e38cf482cf822ee6cde679f09fbc497a5438 --label arch=arm64 --label version=0.0.0 . 22:34:34 Sending build context to Docker daemon 14.45MB 22:34:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:34:34 Step 2/26 : FROM ${BASE} AS builder 22:34:34 ---> 6b01b05a7e78 22:34:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:34:34 ---> Running in 2c5073ae710b 22:34:34 Removing intermediate container 2c5073ae710b 22:34:34 ---> 591781151826 22:34:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:34:34 ---> Running in fa74dab20abe 22:34:34 Removing intermediate container fa74dab20abe 22:34:34 ---> b9e6ed786cad 22:34:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:34:35 ---> Running in ffb12500f4ac 22:34:35 Removing intermediate container ffb12500f4ac 22:34:35 ---> e6361eb3a909 22:34:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:34:35 ---> Running in 3894f53818ad 22:34:35 Removing intermediate container 3894f53818ad 22:34:35 ---> b8fe7b44fd46 22:34:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:34:35 ---> Running in dd0459c8387b 22:34:35 Removing intermediate container dd0459c8387b 22:34:35 ---> 5969aacf6643 22:34:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:36 ---> Running in 930232d289f8 22:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:34:38 OK: 263 MiB in 53 packages 22:34:39 Removing intermediate container 930232d289f8 22:34:39 ---> 7aa87ebd27d2 22:34:39 Step 9/26 : WORKDIR /device-onvif-camera 22:34:39 ---> Running in 4db6cacd5e96 22:34:39 Removing intermediate container 4db6cacd5e96 22:34:39 ---> 915ac9e26371 22:34:39 Step 10/26 : COPY go.mod vendor* ./ 22:34:40 ---> 18c3a3437846 22:34:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:40 ---> Running in 3fc2babbd986 22:34:43 Removing intermediate container 3fc2babbd986 22:34:43 ---> df8359d06d35 22:34:43 Step 12/26 : COPY . . 22:34:44 ---> 2d6ddc42f1f1 22:34:44 Step 13/26 : RUN ${MAKE} 22:34:44 ---> Running in 22e88b92e5d6 22:34:45 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:37:07 Removing intermediate container 22e88b92e5d6 22:37:07 ---> c7985d677c98 22:37:07 Step 14/26 : FROM alpine:3.17 22:37:07 3.17: Pulling from library/alpine 22:37:07 c41833b44d91: Already exists 22:37:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:37:07 Status: Downloaded newer image for alpine:3.17 22:37:07 ---> 51e60588ff2c 22:37:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:37:07 ---> Running in c7c010a6d012 22:37:07 Removing intermediate container c7c010a6d012 22:37:07 ---> fd1e58ac2fb0 22:37:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:37:07 ---> Running in 736d477e9893 22:37:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:37:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:37:07 (1/1) Installing dumb-init (1.2.5-r2) 22:37:07 Executing busybox-1.35.0-r29.trigger 22:37:07 OK: 8 MiB in 16 packages 22:37:07 Removing intermediate container 736d477e9893 22:37:07 ---> 5734a9247c16 22:37:07 Step 17/26 : WORKDIR / 22:37:07 ---> Running in edfea3c320cb 22:37:07 Removing intermediate container edfea3c320cb 22:37:07 ---> 9448a7f37ac7 22:37:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:37:09 ---> 7fd5b669192b 22:37:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:37:09 ---> b507490d7dbf 22:37:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:37:10 ---> 1bba1c3817e9 22:37:10 Step 21/26 : EXPOSE 59984 22:37:10 ---> Running in 965eeb446aff 22:37:10 Removing intermediate container 965eeb446aff 22:37:10 ---> 36ba31de8a43 22:37:10 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:37:10 ---> Running in aba043d92a2f 22:37:10 Removing intermediate container aba043d92a2f 22:37:10 ---> 8d4225985358 22:37:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:37:11 ---> Running in 8feb98dff1ef 22:37:11 Removing intermediate container 8feb98dff1ef 22:37:11 ---> 7bc69c89077c 22:37:11 Step 24/26 : LABEL arch=arm64 22:37:11 ---> Running in bb257a4319ee 22:37:11 Removing intermediate container bb257a4319ee 22:37:11 ---> 64b3f8f66e91 22:37:11 Step 25/26 : LABEL git_sha=1043e38cf482cf822ee6cde679f09fbc497a5438 22:37:11 ---> Running in 408aca2cfcb3 22:37:11 Removing intermediate container 408aca2cfcb3 22:37:11 ---> eb28a1dd35a5 22:37:11 Step 26/26 : LABEL version=0.0.0 22:37:12 ---> Running in 6a7b8c005124 22:37:12 Removing intermediate container 6a7b8c005124 22:37:12 ---> d3dde47ecf60 22:37:12 [Warning] One or more build-args [ARCH] were not consumed 22:37:12 Successfully built d3dde47ecf60 22:37:12 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:12 22:37:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:13 arm64: Pulling from edgex-lftools-log-publisher 22:37:13 8998bd30e6a1: Pulling fs layer 22:37:13 04944245beec: Pulling fs layer 22:37:13 699f458cf7ca: Pulling fs layer 22:37:13 765212b225bb: Pulling fs layer 22:37:13 f23df028b6ca: Pulling fs layer 22:37:13 d65c8cfc05b1: Pulling fs layer 22:37:13 2437ff75d9bd: Pulling fs layer 22:37:13 f23df028b6ca: Waiting 22:37:13 d65c8cfc05b1: Waiting 22:37:13 2437ff75d9bd: Waiting 22:37:13 765212b225bb: Waiting 22:37:13 04944245beec: Verifying Checksum 22:37:13 04944245beec: Download complete 22:37:13 765212b225bb: Verifying Checksum 22:37:13 765212b225bb: Download complete 22:37:13 f23df028b6ca: Verifying Checksum 22:37:13 f23df028b6ca: Download complete 22:37:13 d65c8cfc05b1: Verifying Checksum 22:37:13 d65c8cfc05b1: Download complete 22:37:13 699f458cf7ca: Verifying Checksum 22:37:13 699f458cf7ca: Download complete 22:37:14 8998bd30e6a1: Verifying Checksum 22:37:14 8998bd30e6a1: Download complete 22:37:15 2437ff75d9bd: Verifying Checksum 22:37:15 2437ff75d9bd: Download complete 22:37:17 8998bd30e6a1: Pull complete 22:37:17 04944245beec: Pull complete 22:37:19 699f458cf7ca: Pull complete 22:37:19 765212b225bb: Pull complete 22:37:23 f23df028b6ca: Pull complete 22:37:23 d65c8cfc05b1: Pull complete 22:37:36 2437ff75d9bd: Pull complete 22:37:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:37:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:37 prd-ubuntu20.04-docker-arm64-4c-16g-16396 does not seem to be running inside a container 22:37:37 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:37:40 $ docker top 5e5b1e9a883584e94d045df9d46254752a8c144baa022b160f882562188f8c0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:40 ---> job-cost.sh 22:37:40 lf-activate-venv: SKIPPING 22:37:40 INFO: No Stack... 22:37:41 INFO: Retrieving Pricing Info for: v3-standard-4 22:37:42 INFO: Archiving Costs [Pipeline] sh 22:37:42 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 22:37:42 + cut -d, -f6 [Pipeline] lock 22:37:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] 22:37:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] did not exist. Created. 22:37:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:37:43 /w/workspace/device-onvif-camera/3@tmp/durable-4fc2a0dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:37:43 + echo total: 0.10999999940395355 [Pipeline] stash 22:37:43 Warning: overwriting stash ‘stack-cost’ 22:37:43 Stashed 1 file(s) [Pipeline] } 22:37:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:37:43 $ docker stop --time=1 5e5b1e9a883584e94d045df9d46254752a8c144baa022b160f882562188f8c0f 22:37:44 $ docker rm -f --volumes 5e5b1e9a883584e94d045df9d46254752a8c144baa022b160f882562188f8c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:37:45 provisioning config files... 22:37:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config17562027283863528450tmp [Pipeline] { [Pipeline] sh 22:37:45 + set +x 22:37:45 + curl -s https://codecov.io/bash 22:37:45 + bash -s -- 22:37:45 22:37:45 _____ _ 22:37:45 / ____| | | 22:37:45 | | ___ __| | ___ ___ _____ __ 22:37:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:37:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:37:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:37:45 Bash-1.0.6 22:37:45 22:37:45 22:37:45 ==> git version 2.25.1 found 22:37:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:37:45 Release-Date: 2020-01-08 22:37:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:37:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:37:45 ==> Jenkins CI detected. 22:37:45 current dir:  /w/workspace/undry_device-onvif-camera_PR-367 22:37:45 project root: . 22:37:45 --> token set from env 22:37:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:37:45 ==> Running gcov in . (disable via -X gcov) 22:37:45 ==> Python coveragepy not found 22:37:45 ==> Searching for coverage reports in: 22:37:45 + . 22:37:45 -> Found 1 reports 22:37:45 ==> Detecting git/mercurial file structure 22:37:45 ==> Reading reports 22:37:45 + ./coverage.out bytes=78459 22:37:45 ==> Appending adjustments 22:37:45 https://docs.codecov.io/docs/fixing-reports 22:37:45 + Found adjustments 22:37:45 ==> Gzipping contents 22:37:45 12K /tmp/codecov.5ePvh0.gz 22:37:45 ==> Uploading reports 22:37:45 url: https://codecov.io 22:37:45 query: branch=PR-367&commit=1043e38cf482cf822ee6cde679f09fbc497a5438&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= 22:37:45 -> Pinging Codecov 22:37:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-367&commit=1043e38cf482cf822ee6cde679f09fbc497a5438&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=367&job=&cmd_args= 22:37:46 -> Uploading to 22:37:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/F29A59C45E3A92E06B3E522C9905F8EF/1043e38cf482cf822ee6cde679f09fbc497a5438/634509c3-7a10-4f0d-8d5d-00e2d6e6fcbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T223745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe2088e4c3b3064e3c64ca97708520b0fbdf537300af18320384100abeca3d7d 22:37:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:46 Dload Upload Total Spent Left Speed 22:37:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 39539 --:--:-- --:--:-- --:--:-- 39391 100 10557 0 0 100 10557 0 39539 --:--:-- --:--:-- --:--:-- 39391 22:37:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1043e38cf482cf822ee6cde679f09fbc497a5438 [Pipeline] } 22:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:37:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-367/archives ] 22:37:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives 22:37:47 total 16 22:37:47 drwxr-xr-x 3 root root 4096 May 22 22:29 . 22:37:47 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:29 .. 22:37:47 drwxr-xr-x 2 root root 4096 May 22 22:29 cost 22:37:47 -rw-r--r-- 1 root root 91 May 22 22:29 cost.csv 22:37:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-367/archives 22:37:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-367/archives 22:37:47 total 16 22:37:47 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:29 . 22:37:47 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:29 .. 22:37:47 drwxr-xr-x 2 jenkins jenkins 4096 May 22 22:29 cost 22:37:47 -rw-r--r-- 1 jenkins jenkins 91 May 22 22:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:37:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:37:48 ---> package-listing.sh 22:37:48 ++ facter osfamily 22:37:48 ++ tr '[:upper:]' '[:lower:]' 22:37:48 + OS_FAMILY=debian 22:37:48 + workspace=/w/workspace/undry_device-onvif-camera_PR-367 22:37:48 + START_PACKAGES=/tmp/packages_start.txt 22:37:48 + END_PACKAGES=/tmp/packages_end.txt 22:37:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:37:48 + PACKAGES=/tmp/packages_start.txt 22:37:48 + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' 22:37:48 + PACKAGES=/tmp/packages_end.txt 22:37:48 + case "${OS_FAMILY}" in 22:37:48 + dpkg -l 22:37:48 + grep '^ii' 22:37:48 + '[' -f /tmp/packages_start.txt ']' 22:37:48 + '[' -f /tmp/packages_end.txt ']' 22:37:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:37:48 + '[' /w/workspace/undry_device-onvif-camera_PR-367 ']' 22:37:48 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-367/archives/ 22:37:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-367/archives/ [Pipeline] echo 22:37:48 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:37:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:49 prd-ubuntu20.04-docker-8c-8g-16395 does not seem to be running inside a container 22:37:49 $ 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-367/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-367 -v /w/workspace/undry_device-onvif-camera_PR-367:/w/workspace/undry_device-onvif-camera_PR-367:rw,z -v /w/workspace/undry_device-onvif-camera_PR-367@tmp:/w/workspace/undry_device-onvif-camera_PR-367@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:37:49 $ docker top 2d1d9a86b09bd43f05e1f4d407d569aad0c5aa7538f936309d3738aa3aada4de -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:50 + touch /tmp/pre-build-complete [Pipeline] sh 22:37:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:37:50 + ls /var/log/sa-host 22:37:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:50 provisioning config files... 22:37:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-367@tmp/config16567015230809673911tmp [Pipeline] { [Pipeline] echo 22:37:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:37:51 ---> create-netrc.sh [Pipeline] } 22:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:37:51 ---> python-tools-install.sh [Pipeline] echo 22:37:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:37:51 ---> sudo-logs.sh 22:37:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:37:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:37:51 ---> job-cost.sh 22:37:51 lf-activate-venv: SKIPPING 22:37:51 DEBUG: total: 0.2199999988079071 22:37:51 INFO: Retrieving Stack Cost... 22:37:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:37:52 INFO: Archiving Costs [Pipeline] echo 22:37:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:37:53 ---> logs-deploy.sh 22:37:53 lf-activate-venv: SKIPPING 22:37:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-367/3 22:37:53 INFO: archiving workspace using pattern(s): 22:37:54 Archives upload complete. 22:37:54 INFO: archiving logs to Nexus