Pull request #177 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 45b6d688c6e97385f61642aadc73fdb1f0b5c87c rather than ffbff162aac394af497cabb37cda3a2f6632d839 Obtained Jenkinsfile from 45b6d688c6e97385f61642aadc73fdb1f0b5c87c 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-ssh17598222211171145677.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh18193719849610950380.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6195519289494458782.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh5636492352637216837.key Verifying host key using known hosts file > 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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11020371311713460596.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8387’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8389 in /w/workspace/undry_device-onvif-camera_PR-177 [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-177 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit ffbff162aac394af497cabb37cda3a2f6632d839 Merge succeeded, producing 61d54e68b491ba9afb2b0be67624d31ec22b7b1f Checking out Revision 61d54e68b491ba9afb2b0be67624d31ec22b7b1f (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f ffbff162aac394af497cabb37cda3a2f6632d839 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61d54e68b491ba9afb2b0be67624d31ec22b7b1f # timeout=10 Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1a22b8e850afb19e203cd07be8e91502006e9716 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T18:36:55.142Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T18:36:55.202Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T18:36:55.218Z] ========================================================= [2022-10-17T18:36:55.218Z] EdgeX Global Pipelines Version Info [2022-10-17T18:36:55.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:36:55.912Z] ------------------- [2022-10-17T18:36:55.912Z] stable info: [2022-10-17T18:36:55.912Z] ------------------- [2022-10-17T18:36:55.912Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T18:36:55.912Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T18:36:55.912Z] Message: update stable to v1.0.243 [2022-10-17T18:36:56.853Z] ------------------- [2022-10-17T18:36:56.853Z] experimental info: [2022-10-17T18:36:56.853Z] ------------------- [2022-10-17T18:36:56.853Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T18:36:56.853Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T18:36:56.853Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T18:36:57.016Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-17T18:36:57.026Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-17T18:36:57.036Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T18:36:57.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T18:36:57.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T18:36:57.074Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T18:36:57.084Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T18:36:57.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T18:36:57.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T18:36:57.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T18:36:57.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T18:36:57.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-17T18:36:57.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T18:36:57.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T18:36:57.181Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T18:36:57.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T18:36:57.206Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T18:36:57.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T18:36:57.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T18:36:57.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T18:36:57.261Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-17T18:36:57.272Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-17T18:36:57.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T18:36:57.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T18:36:57.312Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T18:36:57.325Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T18:36:57.336Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T18:36:57.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo [2022-10-17T18:36:57.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo [2022-10-17T18:36:57.371Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo [2022-10-17T18:36:57.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo [2022-10-17T18:36:57.392Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61d54e6 [Pipeline] echo [2022-10-17T18:36:57.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T18:36:57.443Z] provisioning config files... [2022-10-17T18:36:57.458Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config10358825325309649253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:36:57.750Z] ---> docker-login.sh [2022-10-17T18:36:57.750Z] nexus3.edgexfoundry.org:10001 [2022-10-17T18:36:58.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:36:58.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:36:58.017Z] Configure a credential helper to remove this warning. See [2022-10-17T18:36:58.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:36:58.017Z] [2022-10-17T18:36:58.017Z] Login Succeeded [2022-10-17T18:36:58.017Z] nexus3.edgexfoundry.org:10002 [2022-10-17T18:36:58.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:36:58.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:36:58.017Z] Configure a credential helper to remove this warning. See [2022-10-17T18:36:58.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:36:58.017Z] [2022-10-17T18:36:58.017Z] Login Succeeded [2022-10-17T18:36:58.017Z] nexus3.edgexfoundry.org:10003 [2022-10-17T18:36:58.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:36:58.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:36:58.277Z] Configure a credential helper to remove this warning. See [2022-10-17T18:36:58.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:36:58.277Z] [2022-10-17T18:36:58.277Z] Login Succeeded [2022-10-17T18:36:58.277Z] nexus3.edgexfoundry.org:10004 [2022-10-17T18:36:58.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:36:58.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:36:58.277Z] Configure a credential helper to remove this warning. See [2022-10-17T18:36:58.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:36:58.277Z] [2022-10-17T18:36:58.277Z] Login Succeeded [2022-10-17T18:36:58.277Z] docker.io [2022-10-17T18:36:58.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:36:58.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:36:58.848Z] Configure a credential helper to remove this warning. See [2022-10-17T18:36:58.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:36:58.848Z] [2022-10-17T18:36:58.848Z] Login Succeeded [2022-10-17T18:36:58.848Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T18:36:58.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T18:36:59.223Z] + git rev-list -1 --merges 61d54e68b491ba9afb2b0be67624d31ec22b7b1f~1..61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo [2022-10-17T18:36:59.249Z] -----------> git rev-list -1 --merges 61d54e68b491ba9afb2b0be67624d31ec22b7b1f~1..61d54e68b491ba9afb2b0be67624d31ec22b7b1f 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [2022-10-17T18:36:59.249Z] 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [false] [Pipeline] sh [2022-10-17T18:36:59.601Z] + git log --format=format:%s -1 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo [2022-10-17T18:36:59.612Z] ========================================================= [2022-10-17T18:36:59.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T18:36:59.612Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T18:36:59.926Z] + git log --format=format:%s -1 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo [2022-10-17T18:36:59.938Z] [semverPrep] GIT_COMMIT: 61d54e68b491ba9afb2b0be67624d31ec22b7b1f, Commit Message: Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD [Pipeline] echo [2022-10-17T18:36:59.949Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T18:37:00.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T18:37:00.292Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T18:37:00.292Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T18:37:00.292Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T18:37:00.292Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T18:37:00.292Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T18:37:00.292Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:37:00.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T18:37:00.641Z] [2022-10-17T18:37:00.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:37:00.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T18:37:00.946Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T18:37:00.946Z] b85a868b505f: Pulling fs layer [2022-10-17T18:37:00.946Z] e2be974225ed: Pulling fs layer [2022-10-17T18:37:00.946Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T18:37:00.946Z] 988bab9f4d93: Pulling fs layer [2022-10-17T18:37:00.946Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T18:37:00.946Z] eaf3925da568: Pulling fs layer [2022-10-17T18:37:00.946Z] bab4dde63d76: Pulling fs layer [2022-10-17T18:37:00.946Z] bde34c3a00c8: Pulling fs layer [2022-10-17T18:37:00.946Z] b352a97aabf1: Pulling fs layer [2022-10-17T18:37:00.946Z] 4872d77fe225: Pulling fs layer [2022-10-17T18:37:00.946Z] 5851b861e8e6: Pulling fs layer [2022-10-17T18:37:00.946Z] 1469e6f7b9e6: Waiting [2022-10-17T18:37:00.946Z] 988bab9f4d93: Waiting [2022-10-17T18:37:00.946Z] b352a97aabf1: Waiting [2022-10-17T18:37:00.946Z] eaf3925da568: Waiting [2022-10-17T18:37:00.946Z] 4872d77fe225: Waiting [2022-10-17T18:37:00.946Z] bab4dde63d76: Waiting [2022-10-17T18:37:00.946Z] 5851b861e8e6: Waiting [2022-10-17T18:37:00.946Z] bde34c3a00c8: Waiting [2022-10-17T18:37:00.946Z] e2be974225ed: Verifying Checksum [2022-10-17T18:37:00.946Z] e2be974225ed: Download complete [2022-10-17T18:37:00.946Z] 988bab9f4d93: Verifying Checksum [2022-10-17T18:37:00.946Z] 988bab9f4d93: Download complete [2022-10-17T18:37:01.207Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T18:37:01.207Z] 1469e6f7b9e6: Download complete [2022-10-17T18:37:01.207Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T18:37:01.207Z] 339a4e72a1f5: Download complete [2022-10-17T18:37:01.207Z] eaf3925da568: Verifying Checksum [2022-10-17T18:37:01.207Z] eaf3925da568: Download complete [2022-10-17T18:37:01.207Z] bde34c3a00c8: Verifying Checksum [2022-10-17T18:37:01.207Z] bde34c3a00c8: Download complete [2022-10-17T18:37:01.207Z] b352a97aabf1: Verifying Checksum [2022-10-17T18:37:01.207Z] b352a97aabf1: Download complete [2022-10-17T18:37:01.207Z] 4872d77fe225: Verifying Checksum [2022-10-17T18:37:01.207Z] 4872d77fe225: Download complete [2022-10-17T18:37:01.207Z] 5851b861e8e6: Download complete [2022-10-17T18:37:01.207Z] b85a868b505f: Download complete [2022-10-17T18:37:01.465Z] bab4dde63d76: Verifying Checksum [2022-10-17T18:37:01.465Z] bab4dde63d76: Download complete [2022-10-17T18:37:02.403Z] b85a868b505f: Pull complete [2022-10-17T18:37:02.662Z] e2be974225ed: Pull complete [2022-10-17T18:37:03.230Z] 339a4e72a1f5: Pull complete [2022-10-17T18:37:03.230Z] 988bab9f4d93: Pull complete [2022-10-17T18:37:03.488Z] 1469e6f7b9e6: Pull complete [2022-10-17T18:37:03.488Z] eaf3925da568: Pull complete [2022-10-17T18:37:05.389Z] bab4dde63d76: Pull complete [2022-10-17T18:37:05.389Z] bde34c3a00c8: Pull complete [2022-10-17T18:37:05.389Z] b352a97aabf1: Pull complete [2022-10-17T18:37:05.389Z] 4872d77fe225: Pull complete [2022-10-17T18:37:05.648Z] 5851b861e8e6: Pull complete [2022-10-17T18:37:05.648Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T18:37:05.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T18:37:05.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:37:05.732Z] prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container [2022-10-17T18:37:05.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T18:37:08.517Z] $ docker top 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 -eo pid,comm [2022-10-17T18:37:08.579Z] 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). [2022-10-17T18:37:08.579Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T18:37:08.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T18:37:08.615Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T18:37:08.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T18:37:08.732Z] $ docker exec 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent [2022-10-17T18:37:08.857Z] SSH_AUTH_SOCK=/tmp/ssh-SfFV0UbI78sO/agent.34 [2022-10-17T18:37:08.857Z] SSH_AGENT_PID=40 [2022-10-17T18:37:08.865Z] Running ssh-add (command line suppressed) [2022-10-17T18:37:08.971Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16080336675872525740.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16080336675872525740.key) [2022-10-17T18:37:08.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T18:37:09.278Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T18:37:09.294Z] $ docker exec --env ******** --env ******** 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent -k [2022-10-17T18:37:09.396Z] unset SSH_AUTH_SOCK; [2022-10-17T18:37:09.397Z] unset SSH_AGENT_PID; [2022-10-17T18:37:09.397Z] echo Agent pid 40 killed; [2022-10-17T18:37:09.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T18:37:09.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T18:37:09.431Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T18:37:09.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T18:37:09.549Z] $ docker exec 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent [2022-10-17T18:37:09.663Z] SSH_AUTH_SOCK=/tmp/ssh-VgfnnNYVEuYo/agent.72 [2022-10-17T18:37:09.663Z] SSH_AGENT_PID=79 [2022-10-17T18:37:09.669Z] Running ssh-add (command line suppressed) [2022-10-17T18:37:09.783Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_1686581579816515177.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_1686581579816515177.key) [2022-10-17T18:37:09.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T18:37:10.082Z] + git semver init [2022-10-17T18:37:10.341Z] 2022-10-17 18:37:10,274 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T18:37:10.341Z] 2022-10-17 18:37:10,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-177/.semver [2022-10-17T18:37:10.341Z] 2022-10-17 18:37:10,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-177/.semver [2022-10-17T18:37:10.341Z] 2022-10-17 18:37:10,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-177/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-177, universal_newlines=False, shell=None, istream=None) [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,318 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-177/.git/info/exclude [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 with force:False [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,319 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,323 [execute] INFO git cat-file --batch-check [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,331 [execute] INFO git cat-file --batch [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T18:37:11.734Z] 2022-10-17 18:37:11,337 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 [2022-10-17T18:37:11.734Z] 0.0.0 [Pipeline] } [2022-10-17T18:37:11.747Z] $ docker exec --env ******** --env ******** 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent -k [2022-10-17T18:37:11.843Z] unset SSH_AUTH_SOCK; [2022-10-17T18:37:11.843Z] unset SSH_AGENT_PID; [2022-10-17T18:37:11.844Z] echo Agent pid 79 killed; [2022-10-17T18:37:11.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T18:37:12.160Z] + git semver [Pipeline] } [2022-10-17T18:37:12.438Z] $ docker stop --time=1 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 [2022-10-17T18:37:13.738Z] $ docker rm -f 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T18:37:14.070Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T18:37:14.243Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T18:37:14.245Z] [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 [2022-10-17T18:37:14.350Z] provisioning config files... [2022-10-17T18:37:14.360Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config1623828266811035085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:37:14.653Z] ---> docker-login.sh [2022-10-17T18:37:14.653Z] nexus3.edgexfoundry.org:10001 [2022-10-17T18:37:14.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:37:14.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:37:14.653Z] Configure a credential helper to remove this warning. See [2022-10-17T18:37:14.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:37:14.653Z] [2022-10-17T18:37:14.653Z] Login Succeeded [2022-10-17T18:37:14.653Z] nexus3.edgexfoundry.org:10002 [2022-10-17T18:37:14.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:37:14.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:37:14.913Z] Configure a credential helper to remove this warning. See [2022-10-17T18:37:14.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:37:14.913Z] [2022-10-17T18:37:14.913Z] Login Succeeded [2022-10-17T18:37:14.913Z] nexus3.edgexfoundry.org:10003 [2022-10-17T18:37:14.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:37:14.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:37:14.913Z] Configure a credential helper to remove this warning. See [2022-10-17T18:37:14.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:37:14.913Z] [2022-10-17T18:37:14.913Z] Login Succeeded [2022-10-17T18:37:14.913Z] nexus3.edgexfoundry.org:10004 [2022-10-17T18:37:14.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:37:14.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:37:14.913Z] Configure a credential helper to remove this warning. See [2022-10-17T18:37:14.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:37:14.913Z] [2022-10-17T18:37:14.913Z] Login Succeeded [2022-10-17T18:37:15.173Z] docker.io [2022-10-17T18:37:15.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:37:15.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:37:15.433Z] Configure a credential helper to remove this warning. See [2022-10-17T18:37:15.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:37:15.433Z] [2022-10-17T18:37:15.433Z] Login Succeeded [2022-10-17T18:37:15.433Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T18:37:15.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T18:37:15.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T18:37:15.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T18:37:15.510Z] ========================================================= [2022-10-17T18:37:15.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T18:37:15.510Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:37:15.814Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T18:37:15.814Z] Sending build context to Docker daemon 21.47MB [2022-10-17T18:37:15.814Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T18:37:15.814Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-17T18:37:16.077Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T18:37:16.077Z] 213ec9aee27d: Pulling fs layer [2022-10-17T18:37:16.077Z] 4583459ba037: Pulling fs layer [2022-10-17T18:37:16.077Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T18:37:16.077Z] 53926ce57604: Pulling fs layer [2022-10-17T18:37:16.077Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T18:37:16.077Z] 30f14e443154: Pulling fs layer [2022-10-17T18:37:16.077Z] 801331c1e519: Pulling fs layer [2022-10-17T18:37:16.077Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T18:37:16.077Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T18:37:16.077Z] 53926ce57604: Waiting [2022-10-17T18:37:16.077Z] 801331c1e519: Waiting [2022-10-17T18:37:16.077Z] 21b2b0c7a3f4: Waiting [2022-10-17T18:37:16.077Z] 30f14e443154: Waiting [2022-10-17T18:37:16.077Z] 99cc6dd402b0: Waiting [2022-10-17T18:37:16.077Z] 7d9ed39f4882: Waiting [2022-10-17T18:37:16.077Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T18:37:16.077Z] 93c1e223e6f2: Download complete [2022-10-17T18:37:16.077Z] 4583459ba037: Verifying Checksum [2022-10-17T18:37:16.077Z] 4583459ba037: Download complete [2022-10-17T18:37:16.077Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T18:37:16.077Z] 21b2b0c7a3f4: Download complete [2022-10-17T18:37:16.077Z] 30f14e443154: Download complete [2022-10-17T18:37:16.077Z] 213ec9aee27d: Verifying Checksum [2022-10-17T18:37:16.077Z] 213ec9aee27d: Download complete [2022-10-17T18:37:16.077Z] 801331c1e519: Verifying Checksum [2022-10-17T18:37:16.077Z] 801331c1e519: Download complete [2022-10-17T18:37:16.353Z] 213ec9aee27d: Pull complete [2022-10-17T18:37:16.353Z] 4583459ba037: Pull complete [2022-10-17T18:37:16.353Z] 93c1e223e6f2: Pull complete [2022-10-17T18:37:16.954Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T18:37:16.954Z] 7d9ed39f4882: Download complete [2022-10-17T18:37:17.215Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T18:37:17.215Z] 99cc6dd402b0: Download complete [2022-10-17T18:37:17.215Z] 53926ce57604: Verifying Checksum [2022-10-17T18:37:17.215Z] 53926ce57604: Download complete [2022-10-17T18:37:21.422Z] 53926ce57604: Pull complete [2022-10-17T18:37:21.422Z] 21b2b0c7a3f4: Pull complete [2022-10-17T18:37:21.422Z] 30f14e443154: Pull complete [2022-10-17T18:37:21.422Z] 801331c1e519: Pull complete [2022-10-17T18:37:23.318Z] 99cc6dd402b0: Pull complete [2022-10-17T18:37:23.886Z] 7d9ed39f4882: Pull complete [2022-10-17T18:37:23.886Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T18:37:23.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T18:37:23.886Z] ---> 1dedd983c030 [2022-10-17T18:37:23.886Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-17T18:37:25.265Z] ---> Running in 5d3999d63fb1 [2022-10-17T18:37:25.265Z] Removing intermediate container 5d3999d63fb1 [2022-10-17T18:37:25.265Z] ---> 33ed49db0373 [2022-10-17T18:37:25.265Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T18:37:25.524Z] ---> Running in beab857c0270 [2022-10-17T18:37:25.524Z] Removing intermediate container beab857c0270 [2022-10-17T18:37:25.524Z] ---> 2f829584d3a7 [2022-10-17T18:37:25.525Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T18:37:25.525Z] ---> Running in 998eecd309d1 [2022-10-17T18:37:25.525Z] Removing intermediate container 998eecd309d1 [2022-10-17T18:37:25.525Z] ---> 7b9ac3e57679 [2022-10-17T18:37:25.525Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T18:37:25.783Z] ---> Running in c0f3d8f6733a [2022-10-17T18:37:25.783Z] Removing intermediate container c0f3d8f6733a [2022-10-17T18:37:25.783Z] ---> 9b22d657f0e5 [2022-10-17T18:37:25.783Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-17T18:37:25.783Z] ---> Running in e4cbdc9959a8 [2022-10-17T18:37:25.783Z] Removing intermediate container e4cbdc9959a8 [2022-10-17T18:37:25.783Z] ---> c3aa5b096af7 [2022-10-17T18:37:25.783Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T18:37:25.783Z] ---> Running in b8dbd2d5413b [2022-10-17T18:37:26.348Z] Removing intermediate container b8dbd2d5413b [2022-10-17T18:37:26.348Z] ---> a3f4e28dbeaf [2022-10-17T18:37:26.348Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T18:37:26.348Z] ---> Running in cc7020c8b5ec [2022-10-17T18:37:26.607Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T18:37:27.544Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T18:37:27.804Z] OK: 211 MiB in 51 packages [2022-10-17T18:37:28.063Z] Removing intermediate container cc7020c8b5ec [2022-10-17T18:37:28.063Z] ---> 0f8a1d262fee [2022-10-17T18:37:28.063Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-17T18:37:28.322Z] ---> Running in d80010b8a2e3 [2022-10-17T18:37:28.322Z] Removing intermediate container d80010b8a2e3 [2022-10-17T18:37:28.322Z] ---> a6b3a29e611b [2022-10-17T18:37:28.322Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-17T18:37:28.322Z] ---> 9d76efb6648f [2022-10-17T18:37:28.322Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T18:37:28.322Z] ---> Running in 2a017572b44c [2022-10-17T18:37:29.320Z] Still waiting to schedule task [2022-10-17T18:37:29.320Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8388’ is offline [2022-10-17T18:37:46.414Z] Removing intermediate container 2a017572b44c [2022-10-17T18:37:46.414Z] ---> e9b010b94eec [2022-10-17T18:37:46.414Z] Step 13/14 : COPY . . [2022-10-17T18:37:46.414Z] ---> e02e4c619583 [2022-10-17T18:37:46.414Z] Step 14/14 : RUN ${MAKE} [2022-10-17T18:37:46.414Z] ---> Running in 34c73a6087bb [2022-10-17T18:37:46.414Z] noop [2022-10-17T18:37:46.414Z] Removing intermediate container 34c73a6087bb [2022-10-17T18:37:46.414Z] ---> 066030125c10 [2022-10-17T18:37:46.414Z] Successfully built 066030125c10 [2022-10-17T18:37:46.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:37:46.727Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T18:37:46.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:37:46.782Z] prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container [2022-10-17T18:37:46.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T18:37:47.133Z] $ docker top 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T18:37:47.461Z] + go version [2022-10-17T18:37:47.461Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T18:37:47.473Z] $ docker stop --time=1 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa [2022-10-17T18:37:48.735Z] $ docker rm -f 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:37:49.130Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T18:37:49.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:37:49.192Z] prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container [2022-10-17T18:37:49.216Z] $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T18:37:49.576Z] $ docker top 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T18:37:49.910Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] fileExists [Pipeline] sh [2022-10-17T18:37:50.218Z] + make test [2022-10-17T18:37:50.218Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T18:37:50.476Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-17T18:38:00.463Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-17T18:38:01.837Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-17T18:38:01.837Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-17T18:38:01.837Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.405s coverage: 86.5% of statements [2022-10-17T18:38:09.948Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T18:38:09.948Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T18:38:13.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T18:38:13.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T18:38:13.224Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T18:38:13.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T18:38:13.246Z] $ docker stop --time=1 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 [2022-10-17T18:38:15.438Z] $ docker rm -f 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T18:38:15.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T18:38:15.936Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T18:38:16.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T18:38:16.723Z] + ls -al . [2022-10-17T18:38:16.723Z] total 236 [2022-10-17T18:38:16.723Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 18:37 . [2022-10-17T18:38:16.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 .. [2022-10-17T18:38:16.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:38 .git [2022-10-17T18:38:16.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:36 .github [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:36 .gitignore [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:36 .golangci.yml [2022-10-17T18:38:16.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:37 .semver [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:36 Attribution.txt [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:36 CHANGELOG.md [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:36 Dockerfile [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:36 GOVERNANCE.md [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:36 Jenkinsfile [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:36 LICENSE [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:36 Makefile [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:36 OWNERS.md [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:36 README.md [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:37 VERSION [2022-10-17T18:38:16.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:36 bin [2022-10-17T18:38:16.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:36 cmd [2022-10-17T18:38:16.723Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:38 coverage.out [2022-10-17T18:38:16.723Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:36 doc [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:36 go.mod [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:36 go.sum [2022-10-17T18:38:16.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 internal [2022-10-17T18:38:16.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 snap [2022-10-17T18:38:16.723Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:38:17.092Z] + 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=61d54e68b491ba9afb2b0be67624d31ec22b7b1f --label arch=amd64 --label version=0.0.0 . [2022-10-17T18:38:17.092Z] Sending build context to Docker daemon 21.55MB [2022-10-17T18:38:17.092Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T18:38:17.092Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T18:38:17.092Z] ---> 066030125c10 [2022-10-17T18:38:17.092Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T18:38:17.351Z] ---> Running in 220ed917048f [2022-10-17T18:38:17.351Z] Removing intermediate container 220ed917048f [2022-10-17T18:38:17.351Z] ---> c4e9a5ebbf62 [2022-10-17T18:38:17.351Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T18:38:17.351Z] ---> Running in 531de28ae720 [2022-10-17T18:38:17.609Z] Removing intermediate container 531de28ae720 [2022-10-17T18:38:17.609Z] ---> ef06db7d9379 [2022-10-17T18:38:17.609Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T18:38:17.609Z] ---> Running in 751dab670563 [2022-10-17T18:38:17.609Z] Removing intermediate container 751dab670563 [2022-10-17T18:38:17.609Z] ---> b15d024dac03 [2022-10-17T18:38:17.609Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T18:38:17.609Z] ---> Running in 677cc524153d [2022-10-17T18:38:17.609Z] Removing intermediate container 677cc524153d [2022-10-17T18:38:17.609Z] ---> e58c04db3e24 [2022-10-17T18:38:17.609Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-17T18:38:17.609Z] ---> Running in 54bd66820801 [2022-10-17T18:38:17.868Z] Removing intermediate container 54bd66820801 [2022-10-17T18:38:17.868Z] ---> ab8ddac861a8 [2022-10-17T18:38:17.868Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T18:38:17.868Z] ---> Running in 6feedb0934f2 [2022-10-17T18:38:18.439Z] Removing intermediate container 6feedb0934f2 [2022-10-17T18:38:18.439Z] ---> 1a302d2d5261 [2022-10-17T18:38:18.439Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T18:38:18.439Z] ---> Running in 16b583fb1e0e [2022-10-17T18:38:18.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T18:38:19.635Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T18:38:19.635Z] OK: 211 MiB in 51 packages [2022-10-17T18:38:20.203Z] Removing intermediate container 16b583fb1e0e [2022-10-17T18:38:20.203Z] ---> 09b7bf5d26a0 [2022-10-17T18:38:20.203Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-17T18:38:20.203Z] ---> Running in b73cf22588a0 [2022-10-17T18:38:20.203Z] Removing intermediate container b73cf22588a0 [2022-10-17T18:38:20.203Z] ---> 07538e23ef9e [2022-10-17T18:38:20.203Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-17T18:38:20.203Z] ---> 6ee28cfa580b [2022-10-17T18:38:20.203Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T18:38:20.203Z] ---> Running in ca68768c5367 [2022-10-17T18:38:20.771Z] Removing intermediate container ca68768c5367 [2022-10-17T18:38:20.771Z] ---> e00ff27729f3 [2022-10-17T18:38:20.771Z] Step 13/27 : COPY . . [2022-10-17T18:38:21.722Z] ---> e9bd8a10317d [2022-10-17T18:38:21.722Z] Step 14/27 : RUN ${MAKE} [2022-10-17T18:38:21.722Z] ---> Running in ba345d924a0e [2022-10-17T18:38:21.980Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-17T18:38:43.913Z] Removing intermediate container ba345d924a0e [2022-10-17T18:38:43.913Z] ---> 6e96bd137bbe [2022-10-17T18:38:43.913Z] Step 15/27 : FROM alpine:3.16 [2022-10-17T18:38:44.849Z] 3.16: Pulling from library/alpine [2022-10-17T18:38:44.849Z] 213ec9aee27d: Already exists [2022-10-17T18:38:45.108Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T18:38:45.108Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T18:38:45.108Z] ---> 9c6f07244728 [2022-10-17T18:38:45.108Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-17T18:38:45.108Z] ---> Running in dddf8e0024dc [2022-10-17T18:38:45.108Z] Removing intermediate container dddf8e0024dc [2022-10-17T18:38:45.108Z] ---> e9248b54716b [2022-10-17T18:38:45.108Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T18:38:45.108Z] ---> Running in 579a9214e250 [2022-10-17T18:38:45.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T18:38:45.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T18:38:45.625Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T18:38:45.625Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T18:38:45.625Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T18:38:45.625Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T18:38:45.884Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T18:38:45.884Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T18:38:45.884Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T18:38:45.884Z] OK: 8 MiB in 20 packages [2022-10-17T18:38:46.143Z] Removing intermediate container 579a9214e250 [2022-10-17T18:38:46.143Z] ---> 0cf4d14b37e7 [2022-10-17T18:38:46.143Z] Step 18/27 : WORKDIR / [2022-10-17T18:38:46.143Z] ---> Running in 0a142362160f [2022-10-17T18:38:46.404Z] Removing intermediate container 0a142362160f [2022-10-17T18:38:46.404Z] ---> 4461a835e4d3 [2022-10-17T18:38:46.404Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-17T18:38:47.339Z] ---> 716cb3ac7d94 [2022-10-17T18:38:47.339Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-17T18:38:47.597Z] ---> f0f51dc8c50b [2022-10-17T18:38:47.597Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-17T18:38:47.597Z] ---> f254f8c0c7a3 [2022-10-17T18:38:47.597Z] Step 22/27 : EXPOSE 59984 [2022-10-17T18:38:47.597Z] ---> Running in 63cb12eb14e0 [2022-10-17T18:38:47.597Z] Removing intermediate container 63cb12eb14e0 [2022-10-17T18:38:47.597Z] ---> db22e9c41efe [2022-10-17T18:38:47.597Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-17T18:38:47.597Z] ---> Running in 7d318cc42dfe [2022-10-17T18:38:47.857Z] Removing intermediate container 7d318cc42dfe [2022-10-17T18:38:47.857Z] ---> f67b1db04bc5 [2022-10-17T18:38:47.857Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T18:38:47.857Z] ---> Running in 6a0065719ab9 [2022-10-17T18:38:47.857Z] Removing intermediate container 6a0065719ab9 [2022-10-17T18:38:47.857Z] ---> 5cfaeca82d99 [2022-10-17T18:38:47.857Z] Step 25/27 : LABEL arch=amd64 [2022-10-17T18:38:47.857Z] ---> Running in 58ee6db96a3f [2022-10-17T18:38:47.857Z] Removing intermediate container 58ee6db96a3f [2022-10-17T18:38:47.857Z] ---> a11e0d6254cc [2022-10-17T18:38:47.857Z] Step 26/27 : LABEL git_sha=61d54e68b491ba9afb2b0be67624d31ec22b7b1f [2022-10-17T18:38:48.117Z] ---> Running in 8117f086dfaf [2022-10-17T18:38:48.117Z] Removing intermediate container 8117f086dfaf [2022-10-17T18:38:48.117Z] ---> c0edc9661dda [2022-10-17T18:38:48.117Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T18:38:48.117Z] ---> Running in 8a9d89e7ee1e [2022-10-17T18:38:48.117Z] Removing intermediate container 8a9d89e7ee1e [2022-10-17T18:38:48.117Z] ---> beccde372771 [2022-10-17T18:38:48.117Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T18:38:48.117Z] Successfully built beccde372771 [2022-10-17T18:38:48.117Z] 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 [2022-10-17T18:38:48.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T18:38:48.569Z] [2022-10-17T18:38:48.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:38:48.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T18:38:48.868Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T18:38:48.868Z] 5eb5b503b376: Pulling fs layer [2022-10-17T18:38:48.868Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T18:38:48.868Z] ec43610c2a17: Pulling fs layer [2022-10-17T18:38:48.868Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T18:38:48.868Z] 33b1e0a273af: Pulling fs layer [2022-10-17T18:38:48.868Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T18:38:48.868Z] 2f39f015ded8: Pulling fs layer [2022-10-17T18:38:48.868Z] 33b1e0a273af: Waiting [2022-10-17T18:38:48.868Z] 5d3b04190fa2: Waiting [2022-10-17T18:38:48.868Z] 2f39f015ded8: Waiting [2022-10-17T18:38:48.868Z] 3a2ae6a8a46f: Waiting [2022-10-17T18:38:48.868Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T18:38:48.868Z] 5c69ac0246d0: Download complete [2022-10-17T18:38:48.868Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T18:38:48.868Z] 3a2ae6a8a46f: Download complete [2022-10-17T18:38:48.868Z] 33b1e0a273af: Verifying Checksum [2022-10-17T18:38:48.868Z] 33b1e0a273af: Download complete [2022-10-17T18:38:48.868Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T18:38:48.868Z] 5d3b04190fa2: Download complete [2022-10-17T18:38:49.127Z] ec43610c2a17: Verifying Checksum [2022-10-17T18:38:49.127Z] ec43610c2a17: Download complete [2022-10-17T18:38:49.127Z] 5eb5b503b376: Verifying Checksum [2022-10-17T18:38:49.127Z] 5eb5b503b376: Download complete [2022-10-17T18:38:49.704Z] 2f39f015ded8: Download complete [2022-10-17T18:38:50.270Z] 5eb5b503b376: Pull complete [2022-10-17T18:38:50.528Z] 5c69ac0246d0: Pull complete [2022-10-17T18:38:50.789Z] ec43610c2a17: Pull complete [2022-10-17T18:38:51.047Z] 3a2ae6a8a46f: Pull complete [2022-10-17T18:38:51.305Z] 33b1e0a273af: Pull complete [2022-10-17T18:38:51.305Z] 5d3b04190fa2: Pull complete [2022-10-17T18:38:53.906Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8390 in /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] { [Pipeline] ws [2022-10-17T18:38:53.922Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-17T18:38:53.947Z] The recommended git tool is: git [2022-10-17T18:38:55.492Z] 2f39f015ded8: Pull complete [2022-10-17T18:38:55.493Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T18:38:55.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T18:38:55.493Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:38:55.564Z] prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container [2022-10-17T18:38:55.598Z] $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T18:38:59.023Z] using credential edgex-jenkins-ssh [2022-10-17T18:38:59.038Z] Cloning the remote Git repository [2022-10-17T18:38:59.633Z] $ docker top 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:39:00.004Z] ---> job-cost.sh [2022-10-17T18:39:00.004Z] lf-activate-venv: SKIPPING [2022-10-17T18:39:00.004Z] INFO: No Stack... [2022-10-17T18:38:59.077Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T18:38:59.148Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-17T18:38:59.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T18:38:59.292Z] > git --version # timeout=10 [2022-10-17T18:38:59.312Z] > git --version # 'git version 2.25.1' [2022-10-17T18:38:59.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T18:38:59.365Z] Verifying host key using known hosts file [2022-10-17T18:38:59.553Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T18:38:59.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T18:39:00.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T18:39:00.520Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T18:39:01.064Z] + cat /w/workspace/undry_device-onvif-camera_PR-177/archives/cost.csv [2022-10-17T18:39:01.064Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T18:39:01.076Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [2022-10-17T18:39:01.082Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] did not exist. Created. [2022-10-17T18:39:01.082Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T18:39:00.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-17T18:39:00.966Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T18:39:01.385Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T18:39:01.417Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T18:39:01.423Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T18:39:01.443Z] $ docker stop --time=1 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 [2022-10-17T18:39:02.572Z] Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit ffbff162aac394af497cabb37cda3a2f6632d839 [2022-10-17T18:39:02.587Z] $ docker rm -f 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T18:39:01.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-17T18:39:01.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-17T18:39:01.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T18:39:01.805Z] Verifying host key using known hosts file [2022-10-17T18:39:01.812Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T18:39:01.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T18:39:02.589Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T18:39:02.605Z] > git checkout -f ffbff162aac394af497cabb37cda3a2f6632d839 # timeout=10 [2022-10-17T18:39:03.180Z] Merge succeeded, producing f7f3e5c563f5f693e8190ce60b25e29b70b46900 [2022-10-17T18:39:03.181Z] Checking out Revision f7f3e5c563f5f693e8190ce60b25e29b70b46900 (PR-177) [2022-10-17T18:39:02.819Z] > git remote # timeout=10 [2022-10-17T18:39:02.843Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T18:39:02.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T18:39:02.862Z] Verifying host key using known hosts file [2022-10-17T18:39:02.866Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T18:39:02.875Z] > git merge 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 [2022-10-17T18:39:03.141Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T18:39:03.187Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T18:39:03.201Z] > git checkout -f f7f3e5c563f5f693e8190ce60b25e29b70b46900 # timeout=10 [2022-10-17T18:39:06.701Z] Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" [2022-10-17T18:39:06.729Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2022-10-17T18:39:06.707Z] > git rev-list --no-walk 1a22b8e850afb19e203cd07be8e91502006e9716 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T18:39:07.596Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T18:39:07.597Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T18:39:07.597Z] Dload Upload Total Spent Left Speed [2022-10-17T18:39:07.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 70797 0 --:--:-- --:--:-- --:--:-- 71197 [Pipeline] sh [2022-10-17T18:39:08.324Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T18:39:08.643Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T18:39:08.643Z] sudo tee /etc/docker/daemon.new [2022-10-17T18:39:08.643Z] { [2022-10-17T18:39:08.643Z] "registry-mirrors": [ [2022-10-17T18:39:08.643Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T18:39:08.643Z] ], [2022-10-17T18:39:08.643Z] "bip": "10.250.0.254/24", [2022-10-17T18:39:08.643Z] "hosts": [ [2022-10-17T18:39:08.643Z] "tcp://0.0.0.0:5555", [2022-10-17T18:39:08.643Z] "unix:///var/run/docker.sock" [2022-10-17T18:39:08.643Z] ], [2022-10-17T18:39:08.643Z] "mtu": 1458, [2022-10-17T18:39:08.643Z] "selinux-enabled": true, [2022-10-17T18:39:08.643Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T18:39:08.643Z] } [Pipeline] sh [2022-10-17T18:39:08.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T18:39:09.293Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T18:39:27.525Z] provisioning config files... [2022-10-17T18:39:27.547Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4977124892790603099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:39:27.888Z] ---> docker-login.sh [2022-10-17T18:39:27.888Z] nexus3.edgexfoundry.org:10001 [2022-10-17T18:39:28.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:39:28.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:39:28.423Z] Configure a credential helper to remove this warning. See [2022-10-17T18:39:28.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:39:28.423Z] [2022-10-17T18:39:28.423Z] Login Succeeded [2022-10-17T18:39:28.423Z] nexus3.edgexfoundry.org:10002 [2022-10-17T18:39:28.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:39:28.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:39:28.691Z] Configure a credential helper to remove this warning. See [2022-10-17T18:39:28.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:39:28.691Z] [2022-10-17T18:39:28.691Z] Login Succeeded [2022-10-17T18:39:28.691Z] nexus3.edgexfoundry.org:10003 [2022-10-17T18:39:28.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:39:29.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:39:29.228Z] Configure a credential helper to remove this warning. See [2022-10-17T18:39:29.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:39:29.228Z] [2022-10-17T18:39:29.228Z] Login Succeeded [2022-10-17T18:39:29.228Z] nexus3.edgexfoundry.org:10004 [2022-10-17T18:39:29.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:39:29.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:39:29.497Z] Configure a credential helper to remove this warning. See [2022-10-17T18:39:29.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:39:29.497Z] [2022-10-17T18:39:29.497Z] Login Succeeded [2022-10-17T18:39:29.497Z] docker.io [2022-10-17T18:39:29.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T18:39:30.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T18:39:30.034Z] Configure a credential helper to remove this warning. See [2022-10-17T18:39:30.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T18:39:30.034Z] [2022-10-17T18:39:30.034Z] Login Succeeded [2022-10-17T18:39:30.034Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T18:39:30.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T18:39:30.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T18:39:30.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T18:39:30.203Z] ========================================================= [2022-10-17T18:39:30.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T18:39:30.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:39:30.528Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T18:39:30.794Z] Sending build context to Docker daemon 14.84MB [2022-10-17T18:39:31.065Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T18:39:31.065Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-17T18:39:31.065Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T18:39:31.065Z] 9b18e9b68314: Pulling fs layer [2022-10-17T18:39:31.065Z] d32db5db7311: Pulling fs layer [2022-10-17T18:39:31.065Z] d0c4b47475fc: Pulling fs layer [2022-10-17T18:39:31.065Z] 5831b945b038: Pulling fs layer [2022-10-17T18:39:31.065Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T18:39:31.065Z] e10730c5d714: Pulling fs layer [2022-10-17T18:39:31.065Z] 5dd5c2283517: Pulling fs layer [2022-10-17T18:39:31.065Z] d5ac0230b979: Pulling fs layer [2022-10-17T18:39:31.065Z] 86bbec2aaacd: Waiting [2022-10-17T18:39:31.065Z] e10730c5d714: Waiting [2022-10-17T18:39:31.065Z] 5dd5c2283517: Waiting [2022-10-17T18:39:31.065Z] d5ac0230b979: Waiting [2022-10-17T18:39:31.065Z] 5831b945b038: Waiting [2022-10-17T18:39:31.065Z] d0c4b47475fc: Verifying Checksum [2022-10-17T18:39:31.065Z] d0c4b47475fc: Download complete [2022-10-17T18:39:31.065Z] d32db5db7311: Download complete [2022-10-17T18:39:31.065Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T18:39:31.065Z] 86bbec2aaacd: Download complete [2022-10-17T18:39:31.065Z] e10730c5d714: Verifying Checksum [2022-10-17T18:39:31.065Z] e10730c5d714: Download complete [2022-10-17T18:39:31.065Z] 9b18e9b68314: Verifying Checksum [2022-10-17T18:39:31.065Z] 9b18e9b68314: Download complete [2022-10-17T18:39:32.043Z] 9b18e9b68314: Pull complete [2022-10-17T18:39:32.043Z] d5ac0230b979: Verifying Checksum [2022-10-17T18:39:32.043Z] d5ac0230b979: Download complete [2022-10-17T18:39:32.633Z] d32db5db7311: Pull complete [2022-10-17T18:39:32.909Z] d0c4b47475fc: Pull complete [2022-10-17T18:39:33.183Z] 5dd5c2283517: Download complete [2022-10-17T18:39:34.144Z] 5831b945b038: Download complete [2022-10-17T18:39:46.468Z] 5831b945b038: Pull complete [2022-10-17T18:39:46.468Z] 86bbec2aaacd: Pull complete [2022-10-17T18:39:46.468Z] e10730c5d714: Pull complete [2022-10-17T18:39:53.132Z] 5dd5c2283517: Pull complete [2022-10-17T18:39:54.546Z] d5ac0230b979: Pull complete [2022-10-17T18:39:54.546Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T18:39:54.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T18:39:54.546Z] ---> 59b3b1a385d4 [2022-10-17T18:39:54.546Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-17T18:39:56.504Z] ---> Running in b885ac65a012 [2022-10-17T18:39:56.504Z] Removing intermediate container b885ac65a012 [2022-10-17T18:39:56.504Z] ---> 5f23d3557968 [2022-10-17T18:39:56.504Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T18:39:56.504Z] ---> Running in fdbe6efd4efc [2022-10-17T18:39:56.771Z] Removing intermediate container fdbe6efd4efc [2022-10-17T18:39:56.771Z] ---> baa590f5ac10 [2022-10-17T18:39:56.771Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T18:39:57.037Z] ---> Running in bde8a49581fa [2022-10-17T18:39:57.310Z] Removing intermediate container bde8a49581fa [2022-10-17T18:39:57.310Z] ---> cb6439a84652 [2022-10-17T18:39:57.310Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T18:39:57.310Z] ---> Running in 7f86ef2df7a3 [2022-10-17T18:39:57.576Z] Removing intermediate container 7f86ef2df7a3 [2022-10-17T18:39:57.576Z] ---> 73c0a584e653 [2022-10-17T18:39:57.576Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-17T18:39:57.576Z] ---> Running in 367d5f802bda [2022-10-17T18:39:57.844Z] Removing intermediate container 367d5f802bda [2022-10-17T18:39:57.844Z] ---> d59f0e9c7714 [2022-10-17T18:39:57.844Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T18:39:58.111Z] ---> Running in a541a64b3e87 [2022-10-17T18:39:59.519Z] Removing intermediate container a541a64b3e87 [2022-10-17T18:39:59.519Z] ---> c8521c62d0a3 [2022-10-17T18:39:59.519Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T18:39:59.789Z] ---> Running in 54222956a4c8 [2022-10-17T18:40:00.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T18:40:01.716Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T18:40:02.300Z] OK: 221 MiB in 51 packages [2022-10-17T18:40:03.258Z] Removing intermediate container 54222956a4c8 [2022-10-17T18:40:03.258Z] ---> 323db8f5920a [2022-10-17T18:40:03.258Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-17T18:40:03.258Z] ---> Running in 872e52ebf1cd [2022-10-17T18:40:03.526Z] Removing intermediate container 872e52ebf1cd [2022-10-17T18:40:03.526Z] ---> dd6cdf48f9d2 [2022-10-17T18:40:03.526Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-17T18:40:04.109Z] ---> 64b09eb9572f [2022-10-17T18:40:04.109Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T18:40:04.109Z] ---> Running in e3267a397f1a [2022-10-17T18:41:00.557Z] Removing intermediate container e3267a397f1a [2022-10-17T18:41:00.557Z] ---> 6c37537abcfe [2022-10-17T18:41:00.557Z] Step 13/14 : COPY . . [2022-10-17T18:41:00.557Z] ---> 4658dcb2ef7b [2022-10-17T18:41:00.557Z] Step 14/14 : RUN ${MAKE} [2022-10-17T18:41:00.557Z] ---> Running in 5e3fd9e0a7ed [2022-10-17T18:41:00.557Z] noop [2022-10-17T18:41:00.557Z] Removing intermediate container 5e3fd9e0a7ed [2022-10-17T18:41:00.557Z] ---> 4c84f3b397f9 [2022-10-17T18:41:00.557Z] Successfully built 4c84f3b397f9 [2022-10-17T18:41:00.557Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:41:00.899Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T18:41:00.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:41:01.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container [2022-10-17T18:41:01.143Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-10-17T18:41:02.299Z] $ docker top 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T18:41:03.106Z] + go version [2022-10-17T18:41:03.107Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T18:41:03.123Z] $ docker stop --time=1 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 [2022-10-17T18:41:04.708Z] $ docker rm -f 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:41:05.223Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T18:41:05.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:41:05.382Z] prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container [2022-10-17T18:41:05.441Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-10-17T18:41:06.554Z] $ docker top 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T18:41:07.029Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-17T18:41:07.360Z] + make test [2022-10-17T18:41:07.360Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T18:41:09.321Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-17T18:42:45.969Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-17T18:42:45.969Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.225s coverage: 28.2% of statements [2022-10-17T18:42:45.969Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-17T18:43:00.978Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.908s coverage: 86.5% of statements [2022-10-17T18:43:00.978Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T18:43:00.978Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T18:43:27.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T18:43:27.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T18:43:27.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T18:43:27.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T18:43:27.702Z] $ docker stop --time=1 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 [2022-10-17T18:43:29.633Z] $ docker rm -f 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T18:43:30.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T18:43:30.658Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T18:43:31.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T18:43:31.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T18:43:31.988Z] + ls -al . [2022-10-17T18:43:31.988Z] total 232 [2022-10-17T18:43:31.988Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 18:41 . [2022-10-17T18:43:31.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:38 .. [2022-10-17T18:43:31.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:39 .git [2022-10-17T18:43:31.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:39 .github [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:39 .gitignore [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:39 .golangci.yml [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:39 Attribution.txt [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:39 CHANGELOG.md [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:39 Dockerfile [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:39 GOVERNANCE.md [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:39 Jenkinsfile [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:39 LICENSE [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:39 Makefile [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:39 OWNERS.md [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:39 README.md [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:37 VERSION [2022-10-17T18:43:31.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:39 bin [2022-10-17T18:43:31.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:39 cmd [2022-10-17T18:43:31.988Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:43 coverage.out [2022-10-17T18:43:31.988Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:39 doc [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:39 go.mod [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:39 go.sum [2022-10-17T18:43:31.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:39 internal [2022-10-17T18:43:31.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:39 snap [2022-10-17T18:43:31.988Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:43:32.340Z] + 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=f7f3e5c563f5f693e8190ce60b25e29b70b46900 --label arch=arm64 --label version=0.0.0 . [2022-10-17T18:43:33.306Z] Sending build context to Docker daemon 14.92MB [2022-10-17T18:43:33.306Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T18:43:33.306Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T18:43:33.306Z] ---> 4c84f3b397f9 [2022-10-17T18:43:33.306Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T18:43:33.573Z] ---> Running in 1e23e1bc0da3 [2022-10-17T18:43:33.839Z] Removing intermediate container 1e23e1bc0da3 [2022-10-17T18:43:33.839Z] ---> 454272afb6b9 [2022-10-17T18:43:33.839Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T18:43:33.839Z] ---> Running in 95c9dd1bd770 [2022-10-17T18:43:34.106Z] Removing intermediate container 95c9dd1bd770 [2022-10-17T18:43:34.106Z] ---> 032d850a6766 [2022-10-17T18:43:34.106Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T18:43:34.106Z] ---> Running in 5e387aa03970 [2022-10-17T18:43:34.688Z] Removing intermediate container 5e387aa03970 [2022-10-17T18:43:34.688Z] ---> 37e45a281989 [2022-10-17T18:43:34.688Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T18:43:34.688Z] ---> Running in 98cf2f3c2cdd [2022-10-17T18:43:34.955Z] Removing intermediate container 98cf2f3c2cdd [2022-10-17T18:43:34.955Z] ---> 539a14cf2371 [2022-10-17T18:43:34.955Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-17T18:43:34.955Z] ---> Running in 227cd4d10643 [2022-10-17T18:43:35.544Z] Removing intermediate container 227cd4d10643 [2022-10-17T18:43:35.544Z] ---> 9244fe17b9f0 [2022-10-17T18:43:35.544Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T18:43:35.544Z] ---> Running in ef552c856d27 [2022-10-17T18:43:37.493Z] Removing intermediate container ef552c856d27 [2022-10-17T18:43:37.493Z] ---> 35cfcc94d7df [2022-10-17T18:43:37.493Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T18:43:37.493Z] ---> Running in 8a03b34ec976 [2022-10-17T18:43:38.467Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T18:43:39.425Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T18:43:40.126Z] OK: 221 MiB in 51 packages [2022-10-17T18:43:41.682Z] Removing intermediate container 8a03b34ec976 [2022-10-17T18:43:41.682Z] ---> 1b32da169ada [2022-10-17T18:43:41.682Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-17T18:43:41.682Z] ---> Running in 9a33b144c1d8 [2022-10-17T18:43:41.959Z] Removing intermediate container 9a33b144c1d8 [2022-10-17T18:43:41.959Z] ---> 73eb7bdaadee [2022-10-17T18:43:41.959Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-17T18:43:42.239Z] ---> 577fe57ebce1 [2022-10-17T18:43:42.239Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T18:43:42.558Z] ---> Running in 3a3fb6fb73da [2022-10-17T18:43:45.978Z] Removing intermediate container 3a3fb6fb73da [2022-10-17T18:43:45.978Z] ---> bcab3760a489 [2022-10-17T18:43:45.978Z] Step 13/27 : COPY . . [2022-10-17T18:43:48.574Z] ---> 3f62bed7c85b [2022-10-17T18:43:48.574Z] Step 14/27 : RUN ${MAKE} [2022-10-17T18:43:48.574Z] ---> Running in e79f20738d07 [2022-10-17T18:43:49.536Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-17T18:46:11.288Z] Removing intermediate container e79f20738d07 [2022-10-17T18:46:11.288Z] ---> f2caaeba875b [2022-10-17T18:46:11.288Z] Step 15/27 : FROM alpine:3.16 [2022-10-17T18:46:11.553Z] 3.16: Pulling from library/alpine [2022-10-17T18:46:11.553Z] 9b18e9b68314: Already exists [2022-10-17T18:46:11.819Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T18:46:11.819Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T18:46:11.819Z] ---> a6215f271958 [2022-10-17T18:46:11.819Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-17T18:46:11.819Z] ---> Running in fbb67f9bff87 [2022-10-17T18:46:12.092Z] Removing intermediate container fbb67f9bff87 [2022-10-17T18:46:12.092Z] ---> 2ae2e9458173 [2022-10-17T18:46:12.092Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T18:46:12.359Z] ---> Running in 9e2f35504eb4 [2022-10-17T18:46:13.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T18:46:13.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T18:46:14.283Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T18:46:14.283Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T18:46:14.283Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T18:46:14.283Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T18:46:14.283Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T18:46:14.283Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T18:46:14.283Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T18:46:14.283Z] OK: 8 MiB in 20 packages [2022-10-17T18:46:15.245Z] Removing intermediate container 9e2f35504eb4 [2022-10-17T18:46:15.245Z] ---> 5ba1eaec6603 [2022-10-17T18:46:15.245Z] Step 18/27 : WORKDIR / [2022-10-17T18:46:15.245Z] ---> Running in 982c0b5d127a [2022-10-17T18:46:15.513Z] Removing intermediate container 982c0b5d127a [2022-10-17T18:46:15.513Z] ---> 3657d309d2f9 [2022-10-17T18:46:15.513Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-17T18:46:16.918Z] ---> f2614e9b9b24 [2022-10-17T18:46:16.918Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-17T18:46:17.502Z] ---> e5b7dc98bd19 [2022-10-17T18:46:17.502Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-17T18:46:18.085Z] ---> 7079e7650c80 [2022-10-17T18:46:18.085Z] Step 22/27 : EXPOSE 59984 [2022-10-17T18:46:18.085Z] ---> Running in fd26249e68d3 [2022-10-17T18:46:18.352Z] Removing intermediate container fd26249e68d3 [2022-10-17T18:46:18.352Z] ---> b2980e949c80 [2022-10-17T18:46:18.352Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-17T18:46:18.352Z] ---> Running in cf146d2bdb75 [2022-10-17T18:46:18.620Z] Removing intermediate container cf146d2bdb75 [2022-10-17T18:46:18.620Z] ---> b250a5404fa1 [2022-10-17T18:46:18.620Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T18:46:18.620Z] ---> Running in 6411cdf0608a [2022-10-17T18:46:18.887Z] Removing intermediate container 6411cdf0608a [2022-10-17T18:46:18.887Z] ---> 762644a8531d [2022-10-17T18:46:18.887Z] Step 25/27 : LABEL arch=arm64 [2022-10-17T18:46:19.154Z] ---> Running in 5df4d365fb6d [2022-10-17T18:46:19.420Z] Removing intermediate container 5df4d365fb6d [2022-10-17T18:46:19.420Z] ---> e9e1fc2031f4 [2022-10-17T18:46:19.420Z] Step 26/27 : LABEL git_sha=f7f3e5c563f5f693e8190ce60b25e29b70b46900 [2022-10-17T18:46:19.420Z] ---> Running in 06d623780224 [2022-10-17T18:46:19.687Z] Removing intermediate container 06d623780224 [2022-10-17T18:46:19.687Z] ---> 2ce48d491f9f [2022-10-17T18:46:19.687Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T18:46:19.687Z] ---> Running in f84bdcdea89e [2022-10-17T18:46:19.952Z] Removing intermediate container f84bdcdea89e [2022-10-17T18:46:19.952Z] ---> 4269b1e14f60 [2022-10-17T18:46:19.952Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T18:46:19.952Z] Successfully built 4269b1e14f60 [2022-10-17T18:46:19.952Z] 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 [2022-10-17T18:46:20.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T18:46:20.362Z] [2022-10-17T18:46:20.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:46:20.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T18:46:20.690Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T18:46:20.690Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T18:46:20.690Z] 04944245beec: Pulling fs layer [2022-10-17T18:46:20.690Z] 699f458cf7ca: Pulling fs layer [2022-10-17T18:46:20.690Z] 765212b225bb: Pulling fs layer [2022-10-17T18:46:20.690Z] f23df028b6ca: Pulling fs layer [2022-10-17T18:46:20.690Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T18:46:20.690Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T18:46:20.690Z] 765212b225bb: Waiting [2022-10-17T18:46:20.690Z] f23df028b6ca: Waiting [2022-10-17T18:46:20.690Z] d65c8cfc05b1: Waiting [2022-10-17T18:46:20.690Z] 2437ff75d9bd: Waiting [2022-10-17T18:46:20.959Z] 04944245beec: Verifying Checksum [2022-10-17T18:46:20.960Z] 04944245beec: Download complete [2022-10-17T18:46:20.960Z] 765212b225bb: Verifying Checksum [2022-10-17T18:46:20.960Z] 765212b225bb: Download complete [2022-10-17T18:46:20.960Z] f23df028b6ca: Verifying Checksum [2022-10-17T18:46:20.960Z] f23df028b6ca: Download complete [2022-10-17T18:46:20.960Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T18:46:20.960Z] d65c8cfc05b1: Download complete [2022-10-17T18:46:20.960Z] 699f458cf7ca: Verifying Checksum [2022-10-17T18:46:20.960Z] 699f458cf7ca: Download complete [2022-10-17T18:46:21.546Z] 8998bd30e6a1: Download complete [2022-10-17T18:46:24.126Z] 2437ff75d9bd: Download complete [2022-10-17T18:46:25.537Z] 8998bd30e6a1: Pull complete [2022-10-17T18:46:25.803Z] 04944245beec: Pull complete [2022-10-17T18:46:27.210Z] 699f458cf7ca: Pull complete [2022-10-17T18:46:27.477Z] 765212b225bb: Pull complete [2022-10-17T18:46:28.060Z] f23df028b6ca: Pull complete [2022-10-17T18:46:28.327Z] d65c8cfc05b1: Pull complete [2022-10-17T18:46:43.323Z] 2437ff75d9bd: Pull complete [2022-10-17T18:46:43.323Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T18:46:43.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T18:46:43.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:46:43.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container [2022-10-17T18:46:43.565Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T18:46:46.149Z] $ docker top e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:46.982Z] ---> job-cost.sh [2022-10-17T18:46:46.982Z] lf-activate-venv: SKIPPING [2022-10-17T18:46:46.982Z] INFO: No Stack... [2022-10-17T18:46:47.248Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T18:46:48.205Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T18:46:48.838Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-10-17T18:46:48.838Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T18:46:48.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [2022-10-17T18:46:48.903Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] did not exist. Created. [2022-10-17T18:46:48.903Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T18:46:49.239Z] /w/workspace/device-onvif-camera/3@tmp/durable-1dd81540/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T18:46:49.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T18:46:49.860Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T18:46:49.915Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T18:46:49.921Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T18:46:49.942Z] $ docker stop --time=1 e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b [2022-10-17T18:46:51.427Z] $ docker rm -f e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b [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 [2022-10-17T18:46:51.803Z] provisioning config files... [2022-10-17T18:46:51.812Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config1415577718708668379tmp [Pipeline] { [Pipeline] sh [2022-10-17T18:46:52.102Z] + set +x [2022-10-17T18:46:52.102Z] + bash -s -- [2022-10-17T18:46:52.102Z] + curl -s https://codecov.io/bash [2022-10-17T18:46:52.102Z] [2022-10-17T18:46:52.102Z] _____ _ [2022-10-17T18:46:52.102Z] / ____| | | [2022-10-17T18:46:52.102Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T18:46:52.102Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T18:46:52.102Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T18:46:52.102Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T18:46:52.102Z] Bash-1.0.6 [2022-10-17T18:46:52.102Z] [2022-10-17T18:46:52.102Z] [2022-10-17T18:46:52.102Z] ==> git version 2.25.1 found [2022-10-17T18:46:52.102Z] ==> 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 [2022-10-17T18:46:52.102Z] Release-Date: 2020-01-08 [2022-10-17T18:46:52.102Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T18:46:52.102Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T18:46:52.102Z] ==> Jenkins CI detected. [2022-10-17T18:46:52.102Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-177 [2022-10-17T18:46:52.102Z] project root: . [2022-10-17T18:46:52.102Z] --> token set from env [2022-10-17T18:46:52.102Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T18:46:52.102Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T18:46:52.102Z] ==> Python coveragepy not found [2022-10-17T18:46:52.102Z] ==> Searching for coverage reports in: [2022-10-17T18:46:52.102Z] + . [2022-10-17T18:46:52.102Z] -> Found 1 reports [2022-10-17T18:46:52.102Z] ==> Detecting git/mercurial file structure [2022-10-17T18:46:52.102Z] ==> Reading reports [2022-10-17T18:46:52.102Z] + ./coverage.out bytes=78636 [2022-10-17T18:46:52.360Z] ==> Appending adjustments [2022-10-17T18:46:52.360Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T18:46:52.360Z] + Found adjustments [2022-10-17T18:46:52.360Z] ==> Gzipping contents [2022-10-17T18:46:52.360Z] 12K /tmp/codecov.6knvGo.gz [2022-10-17T18:46:52.360Z] ==> Uploading reports [2022-10-17T18:46:52.360Z] url: https://codecov.io [2022-10-17T18:46:52.360Z] query: branch=PR-177&commit=61d54e68b491ba9afb2b0be67624d31ec22b7b1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-10-17T18:46:52.360Z] -> Pinging Codecov [2022-10-17T18:46:52.360Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-177&commit=61d54e68b491ba9afb2b0be67624d31ec22b7b1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-10-17T18:46:52.619Z] -> Uploading to [2022-10-17T18:46:52.619Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/61d54e68b491ba9afb2b0be67624d31ec22b7b1f/0e5cf7ce-9a2e-482a-bf8a-bf97e8be4a7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T184652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0df93d0bd5e3c04dc4a83ce513a3c2d76b2950ab34d82d5794415b68ed755b99 [2022-10-17T18:46:52.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T18:46:52.619Z] Dload Upload Total Spent Left Speed [2022-10-17T18:46:52.878Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10806 0 0 100 10806 0 42376 --:--:-- --:--:-- --:--:-- 42376 [2022-10-17T18:46:52.878Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] } [2022-10-17T18:46:52.884Z] 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 [2022-10-17T18:46:53.572Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-177/archives ] [2022-10-17T18:46:53.572Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives [2022-10-17T18:46:53.572Z] total 16 [2022-10-17T18:46:53.572Z] drwxr-xr-x 3 root root 4096 Oct 17 18:39 . [2022-10-17T18:46:53.572Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:39 .. [2022-10-17T18:46:53.572Z] drwxr-xr-x 2 root root 4096 Oct 17 18:39 cost [2022-10-17T18:46:53.572Z] -rw-r--r-- 1 root root 91 Oct 17 18:39 cost.csv [2022-10-17T18:46:53.572Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-177/archives [2022-10-17T18:46:53.572Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives [2022-10-17T18:46:53.572Z] total 16 [2022-10-17T18:46:53.572Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:39 . [2022-10-17T18:46:53.572Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:39 .. [2022-10-17T18:46:53.572Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 18:39 cost [2022-10-17T18:46:53.572Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 17 18:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:53.861Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:54.719Z] ---> package-listing.sh [2022-10-17T18:46:54.719Z] ++ facter osfamily [2022-10-17T18:46:54.719Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T18:46:54.981Z] + OS_FAMILY=debian [2022-10-17T18:46:54.981Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-177 [2022-10-17T18:46:54.981Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T18:46:54.981Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T18:46:54.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T18:46:54.981Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T18:46:54.981Z] + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' [2022-10-17T18:46:54.981Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T18:46:54.981Z] + case "${OS_FAMILY}" in [2022-10-17T18:46:54.981Z] + dpkg -l [2022-10-17T18:46:54.981Z] + grep '^ii' [2022-10-17T18:46:54.981Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T18:46:54.981Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T18:46:54.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T18:46:54.981Z] + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' [2022-10-17T18:46:54.981Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-177/archives/ [2022-10-17T18:46:54.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-177/archives/ [Pipeline] echo [2022-10-17T18:46:54.991Z] 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T18:46:55.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T18:46:55.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T18:46:55.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T18:46:55.914Z] prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container [2022-10-17T18:46:55.945Z] $ 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-177/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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 [2022-10-17T18:46:56.155Z] $ docker top c19f30ab9fbd1a6bb307691fb44e7014994bad5398c09177d8f386778a8af48f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T18:46:56.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T18:46:56.780Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T18:46:57.065Z] + ls /var/log/sa-host [2022-10-17T18:46:57.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T18:46:57.132Z] provisioning config files... [2022-10-17T18:46:57.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config3611908881924206844tmp [Pipeline] { [Pipeline] echo [2022-10-17T18:46:57.155Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:57.436Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T18:46:57.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:57.775Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T18:46:57.783Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:58.065Z] ---> sudo-logs.sh [2022-10-17T18:46:58.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T18:46:58.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:58.381Z] ---> job-cost.sh [2022-10-17T18:46:58.381Z] lf-activate-venv: SKIPPING [2022-10-17T18:46:58.381Z] DEBUG: total: 0.2199999988079071 [2022-10-17T18:46:58.381Z] INFO: Retrieving Stack Cost... [2022-10-17T18:46:58.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T18:46:59.205Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T18:46:59.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T18:46:59.494Z] ---> logs-deploy.sh [2022-10-17T18:46:59.494Z] lf-activate-venv: SKIPPING [2022-10-17T18:46:59.494Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-177/3 [2022-10-17T18:46:59.494Z] INFO: archiving workspace using pattern(s): [2022-10-17T18:47:00.430Z] Archives upload complete. [2022-10-17T18:47:00.689Z] INFO: archiving logs to Nexus