Pull request #171 opened 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh7533728300170429845.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4583193448202537218.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12961610029100729731.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18238077979927001542.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9613428206514105927.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1949575611185824127.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7106 in /w/workspace/undry_device-onvif-camera_PR-171 [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-171 # 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/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 Merge succeeded, producing d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 Checking out Revision d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 # timeout=10 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-04T23:30:12.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-04T23:30:12.786Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-04T23:30:12.872Z] ========================================================= [2022-10-04T23:30:12.872Z] EdgeX Global Pipelines Version Info [2022-10-04T23:30:12.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:30:13.611Z] ------------------- [2022-10-04T23:30:13.611Z] stable info: [2022-10-04T23:30:13.611Z] ------------------- [2022-10-04T23:30:13.611Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-04T23:30:13.611Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T23:30:13.611Z] Message: update stable to v1.0.239 [2022-10-04T23:30:14.993Z] ------------------- [2022-10-04T23:30:14.993Z] experimental info: [2022-10-04T23:30:14.993Z] ------------------- [2022-10-04T23:30:14.993Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-04T23:30:14.993Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T23:30:14.993Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-04T23:30:15.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-04T23:30:15.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-04T23:30:15.331Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-04T23:30:15.370Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-04T23:30:15.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-04T23:30:15.443Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-04T23:30:15.485Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-04T23:30:15.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-04T23:30:15.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-04T23:30:15.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-04T23:30:15.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-04T23:30:15.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-04T23:30:15.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-04T23:30:15.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-04T23:30:15.802Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T23:30:15.841Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T23:30:15.880Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T23:30:15.918Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T23:30:15.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-04T23:30:16.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-04T23:30:16.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-04T23:30:16.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-04T23:30:16.130Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-04T23:30:16.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-04T23:30:16.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-04T23:30:16.260Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-04T23:30:16.301Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-04T23:30:16.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2022-10-04T23:30:16.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2022-10-04T23:30:16.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2022-10-04T23:30:16.478Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo [2022-10-04T23:30:16.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0414d5 [Pipeline] echo [2022-10-04T23:30:16.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T23:30:16.676Z] provisioning config files... [2022-10-04T23:30:16.690Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config12019798057294779365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:30:17.031Z] ---> docker-login.sh [2022-10-04T23:30:17.031Z] nexus3.edgexfoundry.org:10001 [2022-10-04T23:30:17.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:17.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:17.552Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:17.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:17.552Z] [2022-10-04T23:30:17.552Z] Login Succeeded [2022-10-04T23:30:17.552Z] nexus3.edgexfoundry.org:10002 [2022-10-04T23:30:17.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:17.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:17.552Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:17.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:17.552Z] [2022-10-04T23:30:17.552Z] Login Succeeded [2022-10-04T23:30:17.552Z] nexus3.edgexfoundry.org:10003 [2022-10-04T23:30:17.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:17.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:17.812Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:17.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:17.812Z] [2022-10-04T23:30:17.812Z] Login Succeeded [2022-10-04T23:30:17.812Z] nexus3.edgexfoundry.org:10004 [2022-10-04T23:30:17.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:17.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:17.812Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:17.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:17.812Z] [2022-10-04T23:30:17.812Z] Login Succeeded [2022-10-04T23:30:17.812Z] docker.io [2022-10-04T23:30:17.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:18.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:18.382Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:18.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:18.382Z] [2022-10-04T23:30:18.382Z] Login Succeeded [2022-10-04T23:30:18.382Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T23:30:18.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-04T23:30:19.045Z] + git rev-list -1 --merges d0414d5c0ff28bdf69f7026e887cf3e30b478ad5~1..d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo [2022-10-04T23:30:19.084Z] -----------> git rev-list -1 --merges d0414d5c0ff28bdf69f7026e887cf3e30b478ad5~1..d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [2022-10-04T23:30:19.084Z] d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [false] [Pipeline] sh [2022-10-04T23:30:19.389Z] + git log --format=format:%s -1 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo [2022-10-04T23:30:19.422Z] ========================================================= [2022-10-04T23:30:19.422Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-04T23:30:19.422Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T23:30:19.853Z] + git log --format=format:%s -1 d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] echo [2022-10-04T23:30:19.883Z] [semverPrep] GIT_COMMIT: d0414d5c0ff28bdf69f7026e887cf3e30b478ad5, Commit Message: Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD [Pipeline] echo [2022-10-04T23:30:19.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-04T23:30:20.293Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T23:30:20.293Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-04T23:30:20.293Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-04T23:30:20.293Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-04T23:30:20.294Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-04T23:30:20.294Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-04T23:30:20.294Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:30:20.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T23:30:20.766Z] [2022-10-04T23:30:20.766Z] 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-04T23:30:21.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T23:30:21.151Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-04T23:30:21.151Z] b85a868b505f: Pulling fs layer [2022-10-04T23:30:21.151Z] e2be974225ed: Pulling fs layer [2022-10-04T23:30:21.151Z] 339a4e72a1f5: Pulling fs layer [2022-10-04T23:30:21.151Z] 988bab9f4d93: Pulling fs layer [2022-10-04T23:30:21.151Z] 1469e6f7b9e6: Pulling fs layer [2022-10-04T23:30:21.151Z] eaf3925da568: Pulling fs layer [2022-10-04T23:30:21.151Z] bab4dde63d76: Pulling fs layer [2022-10-04T23:30:21.151Z] bde34c3a00c8: Pulling fs layer [2022-10-04T23:30:21.151Z] b352a97aabf1: Pulling fs layer [2022-10-04T23:30:21.151Z] 4872d77fe225: Pulling fs layer [2022-10-04T23:30:21.151Z] 5851b861e8e6: Pulling fs layer [2022-10-04T23:30:21.151Z] 1469e6f7b9e6: Waiting [2022-10-04T23:30:21.151Z] eaf3925da568: Waiting [2022-10-04T23:30:21.151Z] bab4dde63d76: Waiting [2022-10-04T23:30:21.151Z] bde34c3a00c8: Waiting [2022-10-04T23:30:21.151Z] 5851b861e8e6: Waiting [2022-10-04T23:30:21.151Z] b352a97aabf1: Waiting [2022-10-04T23:30:21.151Z] 4872d77fe225: Waiting [2022-10-04T23:30:21.151Z] 988bab9f4d93: Waiting [2022-10-04T23:30:21.151Z] e2be974225ed: Verifying Checksum [2022-10-04T23:30:21.151Z] e2be974225ed: Download complete [2022-10-04T23:30:21.151Z] 988bab9f4d93: Verifying Checksum [2022-10-04T23:30:21.151Z] 988bab9f4d93: Download complete [2022-10-04T23:30:21.410Z] 1469e6f7b9e6: Verifying Checksum [2022-10-04T23:30:21.410Z] 1469e6f7b9e6: Download complete [2022-10-04T23:30:21.410Z] eaf3925da568: Verifying Checksum [2022-10-04T23:30:21.410Z] eaf3925da568: Download complete [2022-10-04T23:30:21.410Z] 339a4e72a1f5: Verifying Checksum [2022-10-04T23:30:21.410Z] 339a4e72a1f5: Download complete [2022-10-04T23:30:21.410Z] bde34c3a00c8: Verifying Checksum [2022-10-04T23:30:21.410Z] bde34c3a00c8: Download complete [2022-10-04T23:30:21.410Z] b352a97aabf1: Verifying Checksum [2022-10-04T23:30:21.410Z] b352a97aabf1: Download complete [2022-10-04T23:30:21.410Z] 4872d77fe225: Download complete [2022-10-04T23:30:21.410Z] 5851b861e8e6: Download complete [2022-10-04T23:30:21.410Z] b85a868b505f: Verifying Checksum [2022-10-04T23:30:21.410Z] b85a868b505f: Download complete [2022-10-04T23:30:21.668Z] bab4dde63d76: Verifying Checksum [2022-10-04T23:30:21.668Z] bab4dde63d76: Download complete [2022-10-04T23:30:22.605Z] b85a868b505f: Pull complete [2022-10-04T23:30:22.864Z] e2be974225ed: Pull complete [2022-10-04T23:30:23.452Z] 339a4e72a1f5: Pull complete [2022-10-04T23:30:23.452Z] 988bab9f4d93: Pull complete [2022-10-04T23:30:23.712Z] 1469e6f7b9e6: Pull complete [2022-10-04T23:30:23.712Z] eaf3925da568: Pull complete [2022-10-04T23:30:25.633Z] bab4dde63d76: Pull complete [2022-10-04T23:30:25.633Z] bde34c3a00c8: Pull complete [2022-10-04T23:30:25.900Z] b352a97aabf1: Pull complete [2022-10-04T23:30:25.900Z] 4872d77fe225: Pull complete [2022-10-04T23:30:25.900Z] 5851b861e8e6: Pull complete [2022-10-04T23:30:25.900Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-04T23:30:25.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T23:30:25.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:30:26.108Z] prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container [2022-10-04T23:30:26.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-04T23:30:27.314Z] $ docker top 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 -eo pid,comm [2022-10-04T23:30:27.381Z] 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-04T23:30:27.381Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T23:30:27.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T23:30:27.516Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T23:30:27.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T23:30:27.623Z] $ docker exec 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent [2022-10-04T23:30:27.740Z] SSH_AUTH_SOCK=/tmp/ssh-k37WXhTDbIBK/agent.32 [2022-10-04T23:30:27.740Z] SSH_AGENT_PID=38 [2022-10-04T23:30:27.747Z] Running ssh-add (command line suppressed) [2022-10-04T23:30:27.844Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_17949106379830188441.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_17949106379830188441.key) [2022-10-04T23:30:27.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T23:30:28.187Z] + git tag --points-at HEAD [Pipeline] } [2022-10-04T23:30:28.208Z] $ docker exec --env ******** --env ******** 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent -k [2022-10-04T23:30:28.307Z] unset SSH_AUTH_SOCK; [2022-10-04T23:30:28.308Z] unset SSH_AGENT_PID; [2022-10-04T23:30:28.308Z] echo Agent pid 38 killed; [2022-10-04T23:30:28.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-04T23:30:28.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T23:30:28.408Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T23:30:28.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T23:30:28.515Z] $ docker exec 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent [2022-10-04T23:30:28.633Z] SSH_AUTH_SOCK=/tmp/ssh-0fX7zuEJK8AM/agent.70 [2022-10-04T23:30:28.633Z] SSH_AGENT_PID=76 [2022-10-04T23:30:28.638Z] Running ssh-add (command line suppressed) [2022-10-04T23:30:28.737Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_12554171150663353749.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_12554171150663353749.key) [2022-10-04T23:30:28.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T23:30:29.094Z] + git semver init [2022-10-04T23:30:29.353Z] 2022-10-04 23:30:29,284 [run_init] DEBUG init version:0.0.0 force:False [2022-10-04T23:30:29.353Z] 2022-10-04 23:30:29,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-04T23:30:29.353Z] 2022-10-04 23:30:29,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-04T23:30:29.354Z] 2022-10-04 23:30:29,285 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-171/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-171, universal_newlines=False, shell=None, istream=None) [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,188 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-171/.git/info/exclude [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 with force:False [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,189 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,194 [execute] INFO git cat-file --batch-check [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,201 [execute] INFO git cat-file --batch [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T23:30:30.290Z] 2022-10-04 23:30:30,207 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-04T23:30:30.290Z] 0.0.0 [Pipeline] } [2022-10-04T23:30:30.313Z] $ docker exec --env ******** --env ******** 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 ssh-agent -k [2022-10-04T23:30:30.421Z] unset SSH_AUTH_SOCK; [2022-10-04T23:30:30.421Z] unset SSH_AGENT_PID; [2022-10-04T23:30:30.421Z] echo Agent pid 76 killed; [2022-10-04T23:30:30.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T23:30:30.856Z] + git semver [Pipeline] } [2022-10-04T23:30:31.132Z] $ docker stop --time=1 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 [2022-10-04T23:30:32.451Z] $ docker rm -f 5b9bbf6570d993edd882a2452ad443dfbf0080578cf7314552fc7c5a6ffc7557 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T23:30:32.843Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-04T23:30:33.063Z] Stashed 1 file(s) [Pipeline] echo [2022-10-04T23:30:33.079Z] [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-04T23:30:33.659Z] provisioning config files... [2022-10-04T23:30:33.669Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config8315682257346842852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:30:34.005Z] ---> docker-login.sh [2022-10-04T23:30:34.005Z] nexus3.edgexfoundry.org:10001 [2022-10-04T23:30:34.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:34.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:34.005Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:34.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:34.005Z] [2022-10-04T23:30:34.005Z] Login Succeeded [2022-10-04T23:30:34.005Z] nexus3.edgexfoundry.org:10002 [2022-10-04T23:30:34.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:34.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:34.005Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:34.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:34.005Z] [2022-10-04T23:30:34.005Z] Login Succeeded [2022-10-04T23:30:34.005Z] nexus3.edgexfoundry.org:10003 [2022-10-04T23:30:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:34.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:34.263Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:34.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:34.263Z] [2022-10-04T23:30:34.263Z] Login Succeeded [2022-10-04T23:30:34.263Z] nexus3.edgexfoundry.org:10004 [2022-10-04T23:30:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:34.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:34.263Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:34.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:34.263Z] [2022-10-04T23:30:34.263Z] Login Succeeded [2022-10-04T23:30:34.263Z] docker.io [2022-10-04T23:30:34.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:30:34.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:30:34.833Z] Configure a credential helper to remove this warning. See [2022-10-04T23:30:34.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:30:34.833Z] [2022-10-04T23:30:34.833Z] Login Succeeded [2022-10-04T23:30:34.833Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T23:30:34.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T23:30:35.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T23:30:35.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T23:30:35.093Z] ========================================================= [2022-10-04T23:30:35.093Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-04T23:30:35.093Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:30:35.557Z] + 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-04T23:30:35.557Z] Sending build context to Docker daemon 20.81MB [2022-10-04T23:30:35.557Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T23:30:35.557Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-04T23:30:35.557Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-04T23:30:35.825Z] 2408cc74d12b: Pulling fs layer [2022-10-04T23:30:35.825Z] ea60b727a1ce: Pulling fs layer [2022-10-04T23:30:35.825Z] 30c4a7721957: Pulling fs layer [2022-10-04T23:30:35.825Z] 370296b7ddb6: Pulling fs layer [2022-10-04T23:30:35.825Z] 7c6cee850709: Pulling fs layer [2022-10-04T23:30:35.825Z] aa9baa53a306: Pulling fs layer [2022-10-04T23:30:35.825Z] 8b309c321861: Pulling fs layer [2022-10-04T23:30:35.825Z] d8d76fd02f46: Pulling fs layer [2022-10-04T23:30:35.825Z] fa31f396de31: Pulling fs layer [2022-10-04T23:30:35.825Z] aa9baa53a306: Waiting [2022-10-04T23:30:35.825Z] d8d76fd02f46: Waiting [2022-10-04T23:30:35.825Z] 370296b7ddb6: Waiting [2022-10-04T23:30:35.825Z] 8b309c321861: Waiting [2022-10-04T23:30:35.825Z] 7c6cee850709: Waiting [2022-10-04T23:30:35.825Z] 30c4a7721957: Verifying Checksum [2022-10-04T23:30:35.825Z] 30c4a7721957: Download complete [2022-10-04T23:30:35.825Z] ea60b727a1ce: Download complete [2022-10-04T23:30:35.825Z] 7c6cee850709: Verifying Checksum [2022-10-04T23:30:35.825Z] 7c6cee850709: Download complete [2022-10-04T23:30:35.825Z] aa9baa53a306: Download complete [2022-10-04T23:30:35.825Z] 2408cc74d12b: Verifying Checksum [2022-10-04T23:30:35.825Z] 2408cc74d12b: Pull complete [2022-10-04T23:30:36.087Z] ea60b727a1ce: Pull complete [2022-10-04T23:30:36.087Z] 30c4a7721957: Pull complete [2022-10-04T23:30:36.347Z] fa31f396de31: Verifying Checksum [2022-10-04T23:30:36.347Z] fa31f396de31: Download complete [2022-10-04T23:30:36.347Z] d8d76fd02f46: Verifying Checksum [2022-10-04T23:30:36.347Z] d8d76fd02f46: Download complete [2022-10-04T23:30:36.605Z] 370296b7ddb6: Verifying Checksum [2022-10-04T23:30:36.605Z] 370296b7ddb6: Download complete [2022-10-04T23:30:40.795Z] 370296b7ddb6: Pull complete [2022-10-04T23:30:40.795Z] 7c6cee850709: Pull complete [2022-10-04T23:30:40.795Z] aa9baa53a306: Pull complete [2022-10-04T23:30:40.795Z] 8b309c321861: Pull complete [2022-10-04T23:30:42.173Z] d8d76fd02f46: Pull complete [2022-10-04T23:30:43.110Z] fa31f396de31: Pull complete [2022-10-04T23:30:43.110Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-04T23:30:43.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-04T23:30:43.110Z] ---> cef68f9685f8 [2022-10-04T23:30:43.110Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-04T23:30:44.491Z] ---> Running in 963e97d38ae4 [2022-10-04T23:30:44.751Z] Removing intermediate container 963e97d38ae4 [2022-10-04T23:30:44.751Z] ---> 3324ed877642 [2022-10-04T23:30:44.751Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T23:30:44.751Z] ---> Running in 11923d12f1e9 [2022-10-04T23:30:44.751Z] Removing intermediate container 11923d12f1e9 [2022-10-04T23:30:44.751Z] ---> 88799a0549c5 [2022-10-04T23:30:44.751Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T23:30:44.751Z] ---> Running in a03a8fab4c87 [2022-10-04T23:30:45.010Z] Removing intermediate container a03a8fab4c87 [2022-10-04T23:30:45.010Z] ---> b39436f32f82 [2022-10-04T23:30:45.010Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T23:30:45.010Z] ---> Running in 4bb25d1901f4 [2022-10-04T23:30:45.010Z] Removing intermediate container 4bb25d1901f4 [2022-10-04T23:30:45.010Z] ---> 4d8ad36ff64d [2022-10-04T23:30:45.010Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-04T23:30:45.010Z] ---> Running in b7f3e635a01b [2022-10-04T23:30:45.268Z] Removing intermediate container b7f3e635a01b [2022-10-04T23:30:45.268Z] ---> d116a2e1d3a1 [2022-10-04T23:30:45.269Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T23:30:45.269Z] ---> Running in 1c583b5d7015 [2022-10-04T23:30:45.836Z] Removing intermediate container 1c583b5d7015 [2022-10-04T23:30:45.836Z] ---> cb35c352860d [2022-10-04T23:30:45.836Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T23:30:45.836Z] ---> Running in d8fb40c23caf [2022-10-04T23:30:46.095Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T23:30:47.031Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T23:30:47.291Z] OK: 211 MiB in 51 packages [2022-10-04T23:30:47.550Z] Removing intermediate container d8fb40c23caf [2022-10-04T23:30:47.550Z] ---> 079ed289993d [2022-10-04T23:30:47.550Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-04T23:30:47.550Z] ---> Running in 681674b65277 [2022-10-04T23:30:47.810Z] Removing intermediate container 681674b65277 [2022-10-04T23:30:47.810Z] ---> 641ebc73c08a [2022-10-04T23:30:47.810Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-04T23:30:47.810Z] ---> 58af3ca9def8 [2022-10-04T23:30:47.810Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T23:30:47.810Z] ---> Running in 6cf0ef0548f6 [2022-10-04T23:30:48.501Z] Still waiting to schedule task [2022-10-04T23:30:48.501Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-04T23:31:09.772Z] Removing intermediate container 6cf0ef0548f6 [2022-10-04T23:31:09.772Z] ---> 6679ed482818 [2022-10-04T23:31:09.772Z] Step 13/14 : COPY . . [2022-10-04T23:31:09.772Z] ---> 4b567346dac7 [2022-10-04T23:31:09.772Z] Step 14/14 : RUN ${MAKE} [2022-10-04T23:31:09.772Z] ---> Running in 6e3b95aa9a05 [2022-10-04T23:31:09.772Z] noop [2022-10-04T23:31:10.036Z] Removing intermediate container 6e3b95aa9a05 [2022-10-04T23:31:10.036Z] ---> b1b51813133f [2022-10-04T23:31:10.036Z] Successfully built b1b51813133f [2022-10-04T23:31:10.296Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:31:10.752Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T23:31:10.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:31:10.898Z] prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container [2022-10-04T23:31:10.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** ci-base-image-x86_64 cat [2022-10-04T23:31:11.308Z] $ docker top 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T23:31:11.690Z] + go version [2022-10-04T23:31:11.690Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-04T23:31:11.720Z] $ docker stop --time=1 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 [2022-10-04T23:31:13.017Z] $ docker rm -f 62546b7284d64b38352e412bc70f883bb69d7b7aaaa4df068b784f1604e13621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:31:13.719Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T23:31:13.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:31:13.859Z] prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container [2022-10-04T23:31:13.892Z] $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** ci-base-image-x86_64 cat [2022-10-04T23:31:14.223Z] $ docker top 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T23:31:14.609Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] fileExists [Pipeline] sh [2022-10-04T23:31:14.964Z] + make test [2022-10-04T23:31:14.964Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-04T23:31:15.223Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-04T23:31:27.421Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-04T23:31:27.421Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements [2022-10-04T23:31:27.421Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-04T23:31:27.421Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.367s coverage: 86.5% of statements [2022-10-04T23:31:35.533Z] 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-04T23:31:35.533Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-04T23:31:38.813Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T23:31:38.813Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T23:31:38.813Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-04T23:31:38.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T23:31:38.876Z] $ docker stop --time=1 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 [2022-10-04T23:31:40.691Z] $ docker rm -f 1250a9bec3e93af944369d5f37fcd084e6006ea18dd124192cafd6f414a37128 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T23:31:41.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T23:31:41.312Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-04T23:31:41.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T23:31:42.298Z] + ls -al . [2022-10-04T23:31:42.298Z] total 236 [2022-10-04T23:31:42.298Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 23:31 . [2022-10-04T23:31:42.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 .. [2022-10-04T23:31:42.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 23:31 .git [2022-10-04T23:31:42.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:30 .github [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 23:30 .gitignore [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 23:30 .golangci.yml [2022-10-04T23:31:42.298Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 23:30 .semver [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 23:30 Attribution.txt [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 23:30 CHANGELOG.md [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 4 23:30 Dockerfile [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 23:30 GOVERNANCE.md [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 23:30 Jenkinsfile [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 23:30 LICENSE [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 23:30 Makefile [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 23:30 OWNERS.md [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 23:30 README.md [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 23:30 VERSION [2022-10-04T23:31:42.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 23:30 bin [2022-10-04T23:31:42.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:30 cmd [2022-10-04T23:31:42.298Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 23:31 coverage.out [2022-10-04T23:31:42.298Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 23:30 doc [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 23:30 go.mod [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 23:30 go.sum [2022-10-04T23:31:42.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 internal [2022-10-04T23:31:42.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:30 snap [2022-10-04T23:31:42.298Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:31:42.704Z] + 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=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 --label arch=amd64 --label version=0.0.0 . [2022-10-04T23:31:42.704Z] Sending build context to Docker daemon 20.89MB [2022-10-04T23:31:42.704Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T23:31:42.704Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-04T23:31:42.704Z] ---> b1b51813133f [2022-10-04T23:31:42.704Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-04T23:31:42.965Z] ---> Running in a4f55d95f3c5 [2022-10-04T23:31:42.965Z] Removing intermediate container a4f55d95f3c5 [2022-10-04T23:31:42.965Z] ---> cb7adbeddf8c [2022-10-04T23:31:42.965Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T23:31:42.965Z] ---> Running in 9d30180ff6aa [2022-10-04T23:31:42.965Z] Removing intermediate container 9d30180ff6aa [2022-10-04T23:31:42.965Z] ---> 8972af774e78 [2022-10-04T23:31:42.965Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T23:31:42.965Z] ---> Running in f1c69b8cb396 [2022-10-04T23:31:43.224Z] Removing intermediate container f1c69b8cb396 [2022-10-04T23:31:43.224Z] ---> b7ce8f53c8a4 [2022-10-04T23:31:43.224Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T23:31:43.224Z] ---> Running in 04d963518fa4 [2022-10-04T23:31:43.224Z] Removing intermediate container 04d963518fa4 [2022-10-04T23:31:43.224Z] ---> a8239650bff8 [2022-10-04T23:31:43.224Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-04T23:31:43.224Z] ---> Running in b14edab63020 [2022-10-04T23:31:43.224Z] Removing intermediate container b14edab63020 [2022-10-04T23:31:43.224Z] ---> 797c055046c2 [2022-10-04T23:31:43.224Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T23:31:43.483Z] ---> Running in 1e17d790ec58 [2022-10-04T23:31:44.051Z] Removing intermediate container 1e17d790ec58 [2022-10-04T23:31:44.051Z] ---> 9310703f333a [2022-10-04T23:31:44.051Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T23:31:44.051Z] ---> Running in f3b2743f267c [2022-10-04T23:31:44.309Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T23:31:44.877Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T23:31:45.473Z] OK: 211 MiB in 51 packages [2022-10-04T23:31:45.734Z] Removing intermediate container f3b2743f267c [2022-10-04T23:31:45.735Z] ---> f25474ac4a4b [2022-10-04T23:31:45.735Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-04T23:31:45.735Z] ---> Running in 13ad5d4a243f [2022-10-04T23:31:45.735Z] Removing intermediate container 13ad5d4a243f [2022-10-04T23:31:45.735Z] ---> 705993319a6c [2022-10-04T23:31:45.735Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-04T23:31:45.994Z] ---> f903edfcd8cf [2022-10-04T23:31:45.994Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T23:31:45.994Z] ---> Running in 597aa3df5a58 [2022-10-04T23:31:46.560Z] Removing intermediate container 597aa3df5a58 [2022-10-04T23:31:46.560Z] ---> 46e5f44957d8 [2022-10-04T23:31:46.560Z] Step 13/27 : COPY . . [2022-10-04T23:31:47.126Z] ---> dddc791a2d54 [2022-10-04T23:31:47.127Z] Step 14/27 : RUN ${MAKE} [2022-10-04T23:31:47.127Z] ---> Running in ea2d835c378e [2022-10-04T23:31:47.385Z] 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-04T23:32:09.317Z] Removing intermediate container ea2d835c378e [2022-10-04T23:32:09.317Z] ---> fbfb86e634de [2022-10-04T23:32:09.317Z] Step 15/27 : FROM alpine:3.16 [2022-10-04T23:32:09.317Z] 3.16: Pulling from library/alpine [2022-10-04T23:32:09.317Z] 213ec9aee27d: Pulling fs layer [2022-10-04T23:32:09.317Z] 213ec9aee27d: Download complete [2022-10-04T23:32:09.317Z] 213ec9aee27d: Pull complete [2022-10-04T23:32:09.317Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T23:32:09.317Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T23:32:09.317Z] ---> 9c6f07244728 [2022-10-04T23:32:09.317Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-04T23:32:09.317Z] ---> Running in 1e1682b3f606 [2022-10-04T23:32:09.317Z] Removing intermediate container 1e1682b3f606 [2022-10-04T23:32:09.317Z] ---> da8fbb954e5e [2022-10-04T23:32:09.317Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-04T23:32:09.317Z] ---> Running in 6b90a99e7f43 [2022-10-04T23:32:09.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T23:32:09.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T23:32:09.831Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-04T23:32:09.831Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T23:32:09.831Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-04T23:32:09.831Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T23:32:09.831Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-04T23:32:09.831Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-04T23:32:09.831Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T23:32:09.831Z] OK: 8 MiB in 20 packages [2022-10-04T23:32:10.088Z] Removing intermediate container 6b90a99e7f43 [2022-10-04T23:32:10.088Z] ---> 8c5a81f3e0b5 [2022-10-04T23:32:10.088Z] Step 18/27 : WORKDIR / [2022-10-04T23:32:10.346Z] ---> Running in f10194038791 [2022-10-04T23:32:10.346Z] Removing intermediate container f10194038791 [2022-10-04T23:32:10.346Z] ---> e02233e08f05 [2022-10-04T23:32:10.346Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-04T23:32:10.913Z] ---> 959db1282f01 [2022-10-04T23:32:10.913Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-04T23:32:10.913Z] ---> 07a5316abea7 [2022-10-04T23:32:10.913Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-04T23:32:10.913Z] ---> 493398a90048 [2022-10-04T23:32:10.913Z] Step 22/27 : EXPOSE 59984 [2022-10-04T23:32:10.913Z] ---> Running in 0e7617408211 [2022-10-04T23:32:11.171Z] Removing intermediate container 0e7617408211 [2022-10-04T23:32:11.171Z] ---> c9538ff60f82 [2022-10-04T23:32:11.171Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-04T23:32:11.171Z] ---> Running in 2152bb96c8e3 [2022-10-04T23:32:11.171Z] Removing intermediate container 2152bb96c8e3 [2022-10-04T23:32:11.171Z] ---> 966978d547e9 [2022-10-04T23:32:11.171Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T23:32:11.171Z] ---> Running in 8673dcad998a [2022-10-04T23:32:11.429Z] Removing intermediate container 8673dcad998a [2022-10-04T23:32:11.429Z] ---> 17ee6beb1aec [2022-10-04T23:32:11.429Z] Step 25/27 : LABEL arch=amd64 [2022-10-04T23:32:11.429Z] ---> Running in cc55169681af [2022-10-04T23:32:11.429Z] Removing intermediate container cc55169681af [2022-10-04T23:32:11.430Z] ---> 54a08f60929d [2022-10-04T23:32:11.430Z] Step 26/27 : LABEL git_sha=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [2022-10-04T23:32:11.430Z] ---> Running in aeef6fe0630a [2022-10-04T23:32:11.430Z] Removing intermediate container aeef6fe0630a [2022-10-04T23:32:11.430Z] ---> e5360600b6da [2022-10-04T23:32:11.430Z] Step 27/27 : LABEL version=0.0.0 [2022-10-04T23:32:11.430Z] ---> Running in 2018de50e32c [2022-10-04T23:32:11.687Z] Removing intermediate container 2018de50e32c [2022-10-04T23:32:11.687Z] ---> 3ffc91117885 [2022-10-04T23:32:11.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T23:32:11.687Z] Successfully built 3ffc91117885 [2022-10-04T23:32:11.687Z] 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-04T23:32:12.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T23:32:12.533Z] [2022-10-04T23:32:12.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:32:12.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T23:32:12.892Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-04T23:32:12.892Z] 5eb5b503b376: Pulling fs layer [2022-10-04T23:32:12.892Z] 5c69ac0246d0: Pulling fs layer [2022-10-04T23:32:12.892Z] ec43610c2a17: Pulling fs layer [2022-10-04T23:32:12.892Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-04T23:32:12.892Z] 33b1e0a273af: Pulling fs layer [2022-10-04T23:32:12.892Z] 5d3b04190fa2: Pulling fs layer [2022-10-04T23:32:12.892Z] 2f39f015ded8: Pulling fs layer [2022-10-04T23:32:12.892Z] 5d3b04190fa2: Waiting [2022-10-04T23:32:12.892Z] 2f39f015ded8: Waiting [2022-10-04T23:32:12.892Z] 3a2ae6a8a46f: Waiting [2022-10-04T23:32:12.892Z] 33b1e0a273af: Waiting [2022-10-04T23:32:12.892Z] 5c69ac0246d0: Verifying Checksum [2022-10-04T23:32:12.892Z] 5c69ac0246d0: Download complete [2022-10-04T23:32:12.892Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-04T23:32:12.892Z] 3a2ae6a8a46f: Download complete [2022-10-04T23:32:12.892Z] 33b1e0a273af: Verifying Checksum [2022-10-04T23:32:12.892Z] 33b1e0a273af: Download complete [2022-10-04T23:32:12.892Z] ec43610c2a17: Verifying Checksum [2022-10-04T23:32:12.892Z] ec43610c2a17: Download complete [2022-10-04T23:32:12.892Z] 5d3b04190fa2: Verifying Checksum [2022-10-04T23:32:12.892Z] 5d3b04190fa2: Download complete [2022-10-04T23:32:13.153Z] 5eb5b503b376: Verifying Checksum [2022-10-04T23:32:13.153Z] 5eb5b503b376: Download complete [2022-10-04T23:32:13.741Z] 2f39f015ded8: Download complete [2022-10-04T23:32:14.310Z] 5eb5b503b376: Pull complete [2022-10-04T23:32:14.310Z] 5c69ac0246d0: Pull complete [2022-10-04T23:32:14.875Z] ec43610c2a17: Pull complete [2022-10-04T23:32:14.875Z] 3a2ae6a8a46f: Pull complete [2022-10-04T23:32:15.133Z] 33b1e0a273af: Pull complete [2022-10-04T23:32:15.133Z] 5d3b04190fa2: Pull complete [2022-10-04T23:32:15.305Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7107 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] ws [2022-10-04T23:32:15.348Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-04T23:32:15.423Z] The recommended git tool is: git [2022-10-04T23:32:19.313Z] 2f39f015ded8: Pull complete [2022-10-04T23:32:19.313Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-04T23:32:19.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T23:32:19.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:32:19.538Z] prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container [2022-10-04T23:32:19.572Z] $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-04T23:32:20.324Z] using credential edgex-jenkins-ssh [2022-10-04T23:32:20.339Z] Cloning the remote Git repository [2022-10-04T23:32:20.969Z] $ docker top 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:32:21.420Z] ---> job-cost.sh [2022-10-04T23:32:21.420Z] lf-activate-venv: SKIPPING [2022-10-04T23:32:21.420Z] INFO: No Stack... [2022-10-04T23:32:20.384Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T23:32:20.458Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-04T23:32:20.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T23:32:20.598Z] > git --version # timeout=10 [2022-10-04T23:32:20.618Z] > git --version # 'git version 2.25.1' [2022-10-04T23:32:20.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T23:32:20.667Z] Verifying host key using known hosts file [2022-10-04T23:32:20.856Z] 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-04T23:32:20.870Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T23:32:21.679Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T23:32:21.938Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T23:32:22.251Z] + cat /w/workspace/undry_device-onvif-camera_PR-171/archives/cost.csv [2022-10-04T23:32:22.251Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T23:32:22.289Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [2022-10-04T23:32:22.294Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] did not exist. Created. [2022-10-04T23:32:22.294Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T23:32:22.679Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-04T23:32:22.729Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T23:32:22.754Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] // lock [2022-10-04T23:32:22.120Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-04T23:32:22.141Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [2022-10-04T23:32:22.832Z] $ docker stop --time=1 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f [2022-10-04T23:32:23.645Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 [2022-10-04T23:32:23.974Z] $ docker rm -f 73da48d704925043bd1e083ec552964ab4f0f4e0499fffefe4d820587830da5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2022-10-04T23:32:22.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-04T23:32:22.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T23:32:22.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T23:32:22.999Z] Verifying host key using known hosts file [2022-10-04T23:32:23.006Z] 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-04T23:32:23.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-04T23:32:23.663Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T23:32:23.681Z] > git checkout -f f9facf4c56ef9beeb43f55939167cd7eb5c4dad8 # timeout=10 [2022-10-04T23:32:23.908Z] > git remote # timeout=10 [2022-10-04T23:32:23.927Z] > git config --get remote.origin.url # timeout=10 [2022-10-04T23:32:23.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T23:32:23.954Z] Verifying host key using known hosts file [2022-10-04T23:32:23.958Z] 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-04T23:32:23.966Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [Pipeline] // withEnv [Pipeline] } [2022-10-04T23:32:24.250Z] Merge succeeded, producing 3a896a9a9fef18f6179b9077942c70eae6bdba11 [2022-10-04T23:32:24.251Z] Checking out Revision 3a896a9a9fef18f6179b9077942c70eae6bdba11 (PR-171) [Pipeline] // stage [Pipeline] } [2022-10-04T23:32:24.234Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-04T23:32:24.258Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T23:32:24.280Z] > git checkout -f 3a896a9a9fef18f6179b9077942c70eae6bdba11 # timeout=10 [2022-10-04T23:32:27.724Z] Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" [2022-10-04T23:32:27.724Z] First time build. Skipping changelog. [2022-10-04T23:32:27.769Z] > git --version # timeout=10 [2022-10-04T23:32:27.783Z] > git --version # 'git version 2.25.1' [2022-10-04T23:32:27.798Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T23:32:28.912Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-04T23:32:28.912Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T23:32:28.912Z] Dload Upload Total Spent Left Speed [2022-10-04T23:32:28.912Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [Pipeline] sh [2022-10-04T23:32:29.614Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-04T23:32:29.952Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-04T23:32:29.952Z] + sudo tee /etc/docker/daemon.new [2022-10-04T23:32:29.952Z] { [2022-10-04T23:32:29.952Z] "registry-mirrors": [ [2022-10-04T23:32:29.952Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-04T23:32:29.952Z] ], [2022-10-04T23:32:29.952Z] "bip": "10.250.0.254/24", [2022-10-04T23:32:29.952Z] "hosts": [ [2022-10-04T23:32:29.952Z] "tcp://0.0.0.0:5555", [2022-10-04T23:32:29.952Z] "unix:///var/run/docker.sock" [2022-10-04T23:32:29.952Z] ], [2022-10-04T23:32:29.952Z] "mtu": 1458, [2022-10-04T23:32:29.952Z] "selinux-enabled": true, [2022-10-04T23:32:29.952Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-04T23:32:29.952Z] } [Pipeline] sh [2022-10-04T23:32:30.302Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-04T23:32:30.656Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T23:32:48.977Z] provisioning config files... [2022-10-04T23:32:49.000Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4372798453100226542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:32:49.383Z] ---> docker-login.sh [2022-10-04T23:32:49.383Z] nexus3.edgexfoundry.org:10001 [2022-10-04T23:32:49.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:32:49.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:32:49.969Z] Configure a credential helper to remove this warning. See [2022-10-04T23:32:49.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:32:49.969Z] [2022-10-04T23:32:49.969Z] Login Succeeded [2022-10-04T23:32:49.969Z] nexus3.edgexfoundry.org:10002 [2022-10-04T23:32:50.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:32:50.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:32:50.240Z] Configure a credential helper to remove this warning. See [2022-10-04T23:32:50.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:32:50.240Z] [2022-10-04T23:32:50.240Z] Login Succeeded [2022-10-04T23:32:50.510Z] nexus3.edgexfoundry.org:10003 [2022-10-04T23:32:50.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:32:50.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:32:50.785Z] Configure a credential helper to remove this warning. See [2022-10-04T23:32:50.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:32:50.785Z] [2022-10-04T23:32:50.785Z] Login Succeeded [2022-10-04T23:32:50.785Z] nexus3.edgexfoundry.org:10004 [2022-10-04T23:32:51.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:32:51.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:32:51.057Z] Configure a credential helper to remove this warning. See [2022-10-04T23:32:51.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:32:51.057Z] [2022-10-04T23:32:51.057Z] Login Succeeded [2022-10-04T23:32:51.057Z] docker.io [2022-10-04T23:32:51.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T23:32:51.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T23:32:51.594Z] Configure a credential helper to remove this warning. See [2022-10-04T23:32:51.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T23:32:51.594Z] [2022-10-04T23:32:51.594Z] Login Succeeded [2022-10-04T23:32:51.594Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T23:32:51.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T23:32:51.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T23:32:51.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T23:32:51.951Z] ========================================================= [2022-10-04T23:32:51.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-04T23:32:51.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:32:52.452Z] + 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-04T23:32:53.052Z] Sending build context to Docker daemon 14.23MB [2022-10-04T23:32:53.052Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T23:32:53.052Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-04T23:32:53.052Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-04T23:32:53.052Z] b3c136eddcbf: Pulling fs layer [2022-10-04T23:32:53.052Z] c0a3192eca97: Pulling fs layer [2022-10-04T23:32:53.052Z] a050256f5b6f: Pulling fs layer [2022-10-04T23:32:53.052Z] 656be50a0ddc: Pulling fs layer [2022-10-04T23:32:53.052Z] 2bbca73fdf42: Pulling fs layer [2022-10-04T23:32:53.052Z] f607e4fc86c3: Pulling fs layer [2022-10-04T23:32:53.052Z] 656be50a0ddc: Waiting [2022-10-04T23:32:53.052Z] 2bbca73fdf42: Waiting [2022-10-04T23:32:53.052Z] 4d572c569a2c: Pulling fs layer [2022-10-04T23:32:53.052Z] f607e4fc86c3: Waiting [2022-10-04T23:32:53.052Z] fcf976331f73: Pulling fs layer [2022-10-04T23:32:53.052Z] 4d572c569a2c: Waiting [2022-10-04T23:32:53.052Z] a050256f5b6f: Download complete [2022-10-04T23:32:53.052Z] c0a3192eca97: Verifying Checksum [2022-10-04T23:32:53.052Z] c0a3192eca97: Download complete [2022-10-04T23:32:53.052Z] 2bbca73fdf42: Verifying Checksum [2022-10-04T23:32:53.052Z] 2bbca73fdf42: Download complete [2022-10-04T23:32:53.052Z] f607e4fc86c3: Verifying Checksum [2022-10-04T23:32:53.052Z] f607e4fc86c3: Download complete [2022-10-04T23:32:53.052Z] b3c136eddcbf: Verifying Checksum [2022-10-04T23:32:53.052Z] b3c136eddcbf: Download complete [2022-10-04T23:32:54.026Z] b3c136eddcbf: Pull complete [2022-10-04T23:32:54.301Z] fcf976331f73: Verifying Checksum [2022-10-04T23:32:54.301Z] fcf976331f73: Download complete [2022-10-04T23:32:54.576Z] c0a3192eca97: Pull complete [2022-10-04T23:32:55.167Z] a050256f5b6f: Pull complete [2022-10-04T23:32:55.436Z] 4d572c569a2c: Download complete [2022-10-04T23:32:56.025Z] 656be50a0ddc: Verifying Checksum [2022-10-04T23:32:56.025Z] 656be50a0ddc: Download complete [2022-10-04T23:33:08.354Z] 656be50a0ddc: Pull complete [2022-10-04T23:33:08.354Z] 2bbca73fdf42: Pull complete [2022-10-04T23:33:08.354Z] f607e4fc86c3: Pull complete [2022-10-04T23:33:13.707Z] 4d572c569a2c: Pull complete [2022-10-04T23:33:15.668Z] fcf976331f73: Pull complete [2022-10-04T23:33:15.668Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-04T23:33:15.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-04T23:33:15.668Z] ---> 3970a7415f9e [2022-10-04T23:33:15.668Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-04T23:33:17.624Z] ---> Running in a98a7b133ea4 [2022-10-04T23:33:17.625Z] Removing intermediate container a98a7b133ea4 [2022-10-04T23:33:17.625Z] ---> 29758b4d2572 [2022-10-04T23:33:17.625Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T23:33:17.893Z] ---> Running in 2250e0db2122 [2022-10-04T23:33:18.160Z] Removing intermediate container 2250e0db2122 [2022-10-04T23:33:18.160Z] ---> 325cb3ac1094 [2022-10-04T23:33:18.160Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T23:33:18.160Z] ---> Running in 3cefbe4e4f40 [2022-10-04T23:33:18.436Z] Removing intermediate container 3cefbe4e4f40 [2022-10-04T23:33:18.436Z] ---> cf6b25c808ba [2022-10-04T23:33:18.436Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T23:33:18.436Z] ---> Running in 6cda89370d23 [2022-10-04T23:33:19.022Z] Removing intermediate container 6cda89370d23 [2022-10-04T23:33:19.022Z] ---> aa792ab7958c [2022-10-04T23:33:19.022Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-04T23:33:19.022Z] ---> Running in 25e445528221 [2022-10-04T23:33:19.293Z] Removing intermediate container 25e445528221 [2022-10-04T23:33:19.293Z] ---> 84e4d17dee09 [2022-10-04T23:33:19.293Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T23:33:19.293Z] ---> Running in 500fe35c9481 [2022-10-04T23:33:21.236Z] Removing intermediate container 500fe35c9481 [2022-10-04T23:33:21.237Z] ---> aceef7f6c41e [2022-10-04T23:33:21.237Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T23:33:21.237Z] ---> Running in 4b7b2db9a744 [2022-10-04T23:33:22.196Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T23:33:22.779Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T23:33:23.739Z] OK: 221 MiB in 51 packages [2022-10-04T23:33:24.697Z] Removing intermediate container 4b7b2db9a744 [2022-10-04T23:33:24.697Z] ---> bc42ca79f7dc [2022-10-04T23:33:24.697Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-04T23:33:24.697Z] ---> Running in 1f47985f9381 [2022-10-04T23:33:24.965Z] Removing intermediate container 1f47985f9381 [2022-10-04T23:33:24.965Z] ---> ead64ae10356 [2022-10-04T23:33:24.965Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-04T23:33:25.231Z] ---> 2091f1f703e9 [2022-10-04T23:33:25.231Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T23:33:25.502Z] ---> Running in ce9c4badb355 [2022-10-04T23:34:21.929Z] Removing intermediate container ce9c4badb355 [2022-10-04T23:34:21.929Z] ---> 3693da5abe2d [2022-10-04T23:34:21.929Z] Step 13/14 : COPY . . [2022-10-04T23:34:21.929Z] ---> 6d4a9e8db8fa [2022-10-04T23:34:21.929Z] Step 14/14 : RUN ${MAKE} [2022-10-04T23:34:21.929Z] ---> Running in 29c0103c8df5 [2022-10-04T23:34:21.929Z] noop [2022-10-04T23:34:21.929Z] Removing intermediate container 29c0103c8df5 [2022-10-04T23:34:21.929Z] ---> 6d2c8d24f475 [2022-10-04T23:34:21.929Z] Successfully built 6d2c8d24f475 [2022-10-04T23:34:21.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:34:22.401Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T23:34:22.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:34:22.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container [2022-10-04T23:34:22.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-04T23:34:23.873Z] $ docker top 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T23:34:24.735Z] + go version [2022-10-04T23:34:24.735Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-04T23:34:24.767Z] $ docker stop --time=1 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 [2022-10-04T23:34:26.387Z] $ docker rm -f 19351c807c4180878cda68e93475a7ff45cc571b279c2f5380d8d978878a5837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:34:27.212Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T23:34:27.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:34:27.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container [2022-10-04T23:34:27.515Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-04T23:34:28.622Z] $ docker top 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T23:34:29.177Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-04T23:34:30.151Z] + make test [2022-10-04T23:34:30.151Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-04T23:34:32.115Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-04T23:36:08.765Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-04T23:36:08.765Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements [2022-10-04T23:36:08.765Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-04T23:36:23.804Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.754s coverage: 86.5% of statements [2022-10-04T23:36:23.804Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-04T23:36:23.804Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-04T23:36:50.486Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T23:36:50.486Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T23:36:50.486Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-04T23:36:50.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T23:36:50.551Z] $ docker stop --time=1 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc [2022-10-04T23:36:52.456Z] $ docker rm -f 45ac774fc73cd0a859025d840e7dcc39b428ea5e3b2652f6953fbcf57ffc94fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T23:36:53.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T23:36:53.699Z] Warning: overwriting stash ‘coverage-report’ [2022-10-04T23:36:54.161Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T23:36:54.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T23:36:55.096Z] + ls -al . [2022-10-04T23:36:55.096Z] total 232 [2022-10-04T23:36:55.096Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 23:34 . [2022-10-04T23:36:55.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 .. [2022-10-04T23:36:55.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 23:32 .git [2022-10-04T23:36:55.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:32 .github [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 23:32 .gitignore [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 23:32 .golangci.yml [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 23:32 Attribution.txt [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 23:32 CHANGELOG.md [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 4 23:32 Dockerfile [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 23:32 GOVERNANCE.md [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 23:32 Jenkinsfile [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 23:32 LICENSE [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 23:32 Makefile [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 23:32 OWNERS.md [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 23:32 README.md [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 23:30 VERSION [2022-10-04T23:36:55.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 23:32 bin [2022-10-04T23:36:55.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 23:32 cmd [2022-10-04T23:36:55.096Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 23:36 coverage.out [2022-10-04T23:36:55.096Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 23:32 doc [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 23:32 go.mod [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 23:32 go.sum [2022-10-04T23:36:55.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 internal [2022-10-04T23:36:55.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 23:32 snap [2022-10-04T23:36:55.096Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:36:55.507Z] + 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=3a896a9a9fef18f6179b9077942c70eae6bdba11 --label arch=arm64 --label version=0.0.0 . [2022-10-04T23:36:56.116Z] Sending build context to Docker daemon 14.31MB [2022-10-04T23:36:56.116Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T23:36:56.116Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-04T23:36:56.116Z] ---> 6d2c8d24f475 [2022-10-04T23:36:56.116Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-04T23:36:56.385Z] ---> Running in 4ae5b985109e [2022-10-04T23:36:56.652Z] Removing intermediate container 4ae5b985109e [2022-10-04T23:36:56.652Z] ---> eb5ad63e709f [2022-10-04T23:36:56.652Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T23:36:56.652Z] ---> Running in 65dadfd4d7a2 [2022-10-04T23:36:57.238Z] Removing intermediate container 65dadfd4d7a2 [2022-10-04T23:36:57.238Z] ---> 787c374f424d [2022-10-04T23:36:57.238Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T23:36:57.238Z] ---> Running in 17cb8bc2ffcf [2022-10-04T23:36:57.511Z] Removing intermediate container 17cb8bc2ffcf [2022-10-04T23:36:57.511Z] ---> a6dbed4b0e75 [2022-10-04T23:36:57.511Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T23:36:57.511Z] ---> Running in 977d5f81df08 [2022-10-04T23:36:58.095Z] Removing intermediate container 977d5f81df08 [2022-10-04T23:36:58.095Z] ---> 304551cee0af [2022-10-04T23:36:58.095Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-04T23:36:58.095Z] ---> Running in f4449610c9c0 [2022-10-04T23:36:58.364Z] Removing intermediate container f4449610c9c0 [2022-10-04T23:36:58.364Z] ---> d11cd925caa6 [2022-10-04T23:36:58.364Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T23:36:58.631Z] ---> Running in 59127508d035 [2022-10-04T23:37:00.721Z] Removing intermediate container 59127508d035 [2022-10-04T23:37:00.721Z] ---> 5e77c266f177 [2022-10-04T23:37:00.721Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T23:37:00.721Z] ---> Running in 1c8237884469 [2022-10-04T23:37:01.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T23:37:02.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T23:37:03.760Z] OK: 221 MiB in 51 packages [2022-10-04T23:37:04.730Z] Removing intermediate container 1c8237884469 [2022-10-04T23:37:04.730Z] ---> 45d8550afad5 [2022-10-04T23:37:04.730Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-04T23:37:04.730Z] ---> Running in 7a023754166e [2022-10-04T23:37:06.142Z] Removing intermediate container 7a023754166e [2022-10-04T23:37:06.142Z] ---> 54d4bd57eddd [2022-10-04T23:37:06.142Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-04T23:37:06.730Z] ---> bfd9068a76ca [2022-10-04T23:37:06.730Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T23:37:06.730Z] ---> Running in 0aa25436ed46 [2022-10-04T23:37:09.322Z] Removing intermediate container 0aa25436ed46 [2022-10-04T23:37:09.322Z] ---> 15ef858106f3 [2022-10-04T23:37:09.322Z] Step 13/27 : COPY . . [2022-10-04T23:37:10.736Z] ---> 3b3145856272 [2022-10-04T23:37:10.736Z] Step 14/27 : RUN ${MAKE} [2022-10-04T23:37:11.003Z] ---> Running in d81155e31eb7 [2022-10-04T23:37:11.992Z] 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-04T23:39:33.715Z] Removing intermediate container d81155e31eb7 [2022-10-04T23:39:33.715Z] ---> a053f420cd91 [2022-10-04T23:39:33.715Z] Step 15/27 : FROM alpine:3.16 [2022-10-04T23:39:33.715Z] 3.16: Pulling from library/alpine [2022-10-04T23:39:33.715Z] 9b18e9b68314: Pulling fs layer [2022-10-04T23:39:33.715Z] 9b18e9b68314: Verifying Checksum [2022-10-04T23:39:33.715Z] 9b18e9b68314: Download complete [2022-10-04T23:39:33.715Z] 9b18e9b68314: Pull complete [2022-10-04T23:39:33.715Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T23:39:33.715Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T23:39:33.715Z] ---> a6215f271958 [2022-10-04T23:39:33.715Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-04T23:39:34.002Z] ---> Running in d298f753d1ed [2022-10-04T23:39:34.269Z] Removing intermediate container d298f753d1ed [2022-10-04T23:39:34.270Z] ---> 87b10c5b7d1f [2022-10-04T23:39:34.270Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-04T23:39:34.270Z] ---> Running in cf736f597794 [2022-10-04T23:39:35.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T23:39:35.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T23:39:36.464Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-04T23:39:36.464Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T23:39:36.464Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-04T23:39:36.464Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T23:39:36.464Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-04T23:39:36.464Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-04T23:39:36.464Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T23:39:36.464Z] OK: 8 MiB in 20 packages [2022-10-04T23:39:37.426Z] Removing intermediate container cf736f597794 [2022-10-04T23:39:37.426Z] ---> 6682f05563f6 [2022-10-04T23:39:37.426Z] Step 18/27 : WORKDIR / [2022-10-04T23:39:37.426Z] ---> Running in 81c177387c05 [2022-10-04T23:39:37.692Z] Removing intermediate container 81c177387c05 [2022-10-04T23:39:37.692Z] ---> f583b38a5548 [2022-10-04T23:39:37.692Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-04T23:39:39.100Z] ---> c5e3da4713c4 [2022-10-04T23:39:39.100Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-04T23:39:39.684Z] ---> cd25b3bde8a2 [2022-10-04T23:39:39.684Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-04T23:39:40.267Z] ---> 528bfe274d1b [2022-10-04T23:39:40.267Z] Step 22/27 : EXPOSE 59984 [2022-10-04T23:39:40.267Z] ---> Running in 401dfce95cbf [2022-10-04T23:39:40.534Z] Removing intermediate container 401dfce95cbf [2022-10-04T23:39:40.534Z] ---> 1aa8740d8429 [2022-10-04T23:39:40.534Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-04T23:39:40.534Z] ---> Running in 0de62e889a50 [2022-10-04T23:39:40.802Z] Removing intermediate container 0de62e889a50 [2022-10-04T23:39:40.802Z] ---> a10b3fa74379 [2022-10-04T23:39:40.802Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T23:39:41.070Z] ---> Running in ca9b63227b5b [2022-10-04T23:39:41.338Z] Removing intermediate container ca9b63227b5b [2022-10-04T23:39:41.338Z] ---> 0a16ed4815f8 [2022-10-04T23:39:41.338Z] Step 25/27 : LABEL arch=arm64 [2022-10-04T23:39:41.338Z] ---> Running in e886c48c135f [2022-10-04T23:39:41.606Z] Removing intermediate container e886c48c135f [2022-10-04T23:39:41.606Z] ---> ccc4a1b3e3d9 [2022-10-04T23:39:41.606Z] Step 26/27 : LABEL git_sha=3a896a9a9fef18f6179b9077942c70eae6bdba11 [2022-10-04T23:39:41.606Z] ---> Running in 05c3649125cd [2022-10-04T23:39:41.884Z] Removing intermediate container 05c3649125cd [2022-10-04T23:39:41.884Z] ---> b4d4d2c48ff2 [2022-10-04T23:39:41.884Z] Step 27/27 : LABEL version=0.0.0 [2022-10-04T23:39:42.151Z] ---> Running in 2cfc78a53a62 [2022-10-04T23:39:42.417Z] Removing intermediate container 2cfc78a53a62 [2022-10-04T23:39:42.417Z] ---> 847884d528b7 [2022-10-04T23:39:42.417Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T23:39:42.417Z] Successfully built 847884d528b7 [2022-10-04T23:39:42.417Z] 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-04T23:39:43.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T23:39:43.221Z] [2022-10-04T23:39:43.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:39:43.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T23:39:43.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-04T23:39:43.621Z] 8998bd30e6a1: Pulling fs layer [2022-10-04T23:39:43.621Z] 04944245beec: Pulling fs layer [2022-10-04T23:39:43.621Z] 699f458cf7ca: Pulling fs layer [2022-10-04T23:39:43.621Z] 765212b225bb: Pulling fs layer [2022-10-04T23:39:43.621Z] f23df028b6ca: Pulling fs layer [2022-10-04T23:39:43.621Z] d65c8cfc05b1: Pulling fs layer [2022-10-04T23:39:43.621Z] 2437ff75d9bd: Pulling fs layer [2022-10-04T23:39:43.621Z] 765212b225bb: Waiting [2022-10-04T23:39:43.621Z] d65c8cfc05b1: Waiting [2022-10-04T23:39:43.621Z] 2437ff75d9bd: Waiting [2022-10-04T23:39:43.891Z] 04944245beec: Verifying Checksum [2022-10-04T23:39:43.891Z] 04944245beec: Download complete [2022-10-04T23:39:43.891Z] 765212b225bb: Verifying Checksum [2022-10-04T23:39:43.891Z] 765212b225bb: Download complete [2022-10-04T23:39:43.891Z] f23df028b6ca: Verifying Checksum [2022-10-04T23:39:43.891Z] f23df028b6ca: Download complete [2022-10-04T23:39:43.891Z] d65c8cfc05b1: Verifying Checksum [2022-10-04T23:39:43.891Z] d65c8cfc05b1: Download complete [2022-10-04T23:39:44.160Z] 699f458cf7ca: Verifying Checksum [2022-10-04T23:39:44.160Z] 699f458cf7ca: Download complete [2022-10-04T23:39:44.428Z] 8998bd30e6a1: Verifying Checksum [2022-10-04T23:39:44.428Z] 8998bd30e6a1: Download complete [2022-10-04T23:39:47.011Z] 2437ff75d9bd: Verifying Checksum [2022-10-04T23:39:47.011Z] 2437ff75d9bd: Download complete [2022-10-04T23:39:48.419Z] 8998bd30e6a1: Pull complete [2022-10-04T23:39:48.686Z] 04944245beec: Pull complete [2022-10-04T23:39:50.095Z] 699f458cf7ca: Pull complete [2022-10-04T23:39:50.095Z] 765212b225bb: Pull complete [2022-10-04T23:39:51.054Z] f23df028b6ca: Pull complete [2022-10-04T23:39:51.054Z] d65c8cfc05b1: Pull complete [2022-10-04T23:40:06.044Z] 2437ff75d9bd: Pull complete [2022-10-04T23:40:06.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-04T23:40:06.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T23:40:06.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:40:06.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-7107 does not seem to be running inside a container [2022-10-04T23:40:06.386Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-04T23:40:08.915Z] $ docker top 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:09.823Z] ---> job-cost.sh [2022-10-04T23:40:09.823Z] lf-activate-venv: SKIPPING [2022-10-04T23:40:09.823Z] INFO: No Stack... [2022-10-04T23:40:10.088Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-04T23:40:12.023Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T23:40:12.676Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-04T23:40:12.676Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T23:40:12.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [2022-10-04T23:40:12.762Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] did not exist. Created. [2022-10-04T23:40:12.762Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T23:40:13.168Z] /w/workspace/device-onvif-camera/1@tmp/durable-77935754/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-04T23:40:13.781Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-04T23:40:13.821Z] Warning: overwriting stash ‘stack-cost’ [2022-10-04T23:40:13.872Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T23:40:13.888Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T23:40:13.954Z] $ docker stop --time=1 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 [2022-10-04T23:40:15.451Z] $ docker rm -f 8564fc1b9b9e020877377e4182a1f240bfbb4e6c68d6a2d73daba2cc186bf329 [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-04T23:40:16.446Z] provisioning config files... [2022-10-04T23:40:16.457Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config3441321492375201110tmp [Pipeline] { [Pipeline] sh [2022-10-04T23:40:16.789Z] + set +x [2022-10-04T23:40:16.789Z] + bash -s -- [2022-10-04T23:40:16.789Z] + curl -s https://codecov.io/bash [2022-10-04T23:40:16.789Z] [2022-10-04T23:40:16.789Z] _____ _ [2022-10-04T23:40:16.789Z] / ____| | | [2022-10-04T23:40:16.789Z] | | ___ __| | ___ ___ _____ __ [2022-10-04T23:40:16.789Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-04T23:40:16.789Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-04T23:40:16.789Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-04T23:40:16.789Z] Bash-1.0.6 [2022-10-04T23:40:16.789Z] [2022-10-04T23:40:16.789Z] [2022-10-04T23:40:16.789Z] ==> git version 2.25.1 found [2022-10-04T23:40:16.790Z] ==> 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-04T23:40:16.790Z] Release-Date: 2020-01-08 [2022-10-04T23:40:16.790Z] 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-04T23:40:16.790Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-04T23:40:16.790Z] ==> Jenkins CI detected. [2022-10-04T23:40:16.790Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-171 [2022-10-04T23:40:16.790Z] project root: . [2022-10-04T23:40:16.790Z] --> token set from env [2022-10-04T23:40:16.790Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-04T23:40:16.790Z] ==> Running gcov in . (disable via -X gcov) [2022-10-04T23:40:16.790Z] ==> Python coveragepy not found [2022-10-04T23:40:16.790Z] ==> Searching for coverage reports in: [2022-10-04T23:40:16.790Z] + . [2022-10-04T23:40:16.790Z] -> Found 1 reports [2022-10-04T23:40:16.790Z] ==> Detecting git/mercurial file structure [2022-10-04T23:40:17.049Z] ==> Reading reports [2022-10-04T23:40:17.049Z] + ./coverage.out bytes=78461 [2022-10-04T23:40:17.049Z] ==> Appending adjustments [2022-10-04T23:40:17.049Z] https://docs.codecov.io/docs/fixing-reports [2022-10-04T23:40:17.049Z] + Found adjustments [2022-10-04T23:40:17.049Z] ==> Gzipping contents [2022-10-04T23:40:17.049Z] 12K /tmp/codecov.FLzcZL.gz [2022-10-04T23:40:17.049Z] ==> Uploading reports [2022-10-04T23:40:17.049Z] url: https://codecov.io [2022-10-04T23:40:17.049Z] query: branch=PR-171&commit=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-04T23:40:17.049Z] -> Pinging Codecov [2022-10-04T23:40:17.049Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-171&commit=d0414d5c0ff28bdf69f7026e887cf3e30b478ad5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-04T23:40:17.311Z] -> Uploading to [2022-10-04T23:40:17.311Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-04/F29A59C45E3A92E06B3E522C9905F8EF/d0414d5c0ff28bdf69f7026e887cf3e30b478ad5/4fdf0a65-2423-4481-ac6b-9c200687bd38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T234017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7db0ee5485b607cddc1d277a09cc9c5378e0d020b705a86c23e8e00abc8b068c [2022-10-04T23:40:17.311Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T23:40:17.311Z] Dload Upload Total Spent Left Speed [2022-10-04T23:40:17.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10709 0 0 100 10709 0 44995 --:--:-- --:--:-- --:--:-- 44995 [2022-10-04T23:40:17.570Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d0414d5c0ff28bdf69f7026e887cf3e30b478ad5 [Pipeline] } [2022-10-04T23:40:17.595Z] 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-04T23:40:19.368Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-171/archives ] [2022-10-04T23:40:19.369Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-04T23:40:19.369Z] total 16 [2022-10-04T23:40:19.369Z] drwxr-xr-x 3 root root 4096 Oct 4 23:32 . [2022-10-04T23:40:19.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 23:32 .. [2022-10-04T23:40:19.369Z] drwxr-xr-x 2 root root 4096 Oct 4 23:32 cost [2022-10-04T23:40:19.369Z] -rw-r--r-- 1 root root 91 Oct 4 23:32 cost.csv [2022-10-04T23:40:19.369Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-04T23:40:19.369Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-04T23:40:19.369Z] total 16 [2022-10-04T23:40:19.369Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 23:32 . [2022-10-04T23:40:19.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 23:32 .. [2022-10-04T23:40:19.369Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 23:32 cost [2022-10-04T23:40:19.369Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 4 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:19.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:20.589Z] ---> package-listing.sh [2022-10-04T23:40:20.589Z] ++ facter osfamily [2022-10-04T23:40:20.589Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-04T23:40:20.847Z] + OS_FAMILY=debian [2022-10-04T23:40:20.847Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-171 [2022-10-04T23:40:20.847Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-04T23:40:20.847Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-04T23:40:20.847Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-04T23:40:20.847Z] + PACKAGES=/tmp/packages_start.txt [2022-10-04T23:40:20.847Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-04T23:40:20.847Z] + PACKAGES=/tmp/packages_end.txt [2022-10-04T23:40:20.847Z] + case "${OS_FAMILY}" in [2022-10-04T23:40:20.847Z] + dpkg -l [2022-10-04T23:40:20.847Z] + grep '^ii' [2022-10-04T23:40:20.847Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-04T23:40:20.847Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-04T23:40:20.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-04T23:40:20.847Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-04T23:40:20.847Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-171/archives/ [2022-10-04T23:40:20.847Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-171/archives/ [Pipeline] echo [2022-10-04T23:40:20.878Z] 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-04T23:40:21.166Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T23:40:21.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T23:40:21.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T23:40:21.944Z] prd-ubuntu20.04-docker-8c-8g-7106 does not seem to be running inside a container [2022-10-04T23:40:21.977Z] $ 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-171/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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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-lftools-log-publisher:latest cat [2022-10-04T23:40:22.170Z] $ docker top 79d06aaa75df0816ffbec22e32e60edaae833c3156e26feb5f6dbb6a626df8a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T23:40:22.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-04T23:40:22.865Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-04T23:40:23.169Z] + ls /var/log/sa-host [2022-10-04T23:40:23.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T23:40:23.374Z] provisioning config files... [2022-10-04T23:40:23.381Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config14641807151928919156tmp [Pipeline] { [Pipeline] echo [2022-10-04T23:40:23.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:23.756Z] ---> create-netrc.sh [Pipeline] } [2022-10-04T23:40:23.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:24.185Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-04T23:40:24.219Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:24.526Z] ---> sudo-logs.sh [2022-10-04T23:40:24.526Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-04T23:40:24.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:24.916Z] ---> job-cost.sh [2022-10-04T23:40:24.916Z] lf-activate-venv: SKIPPING [2022-10-04T23:40:24.916Z] DEBUG: total: 0.2199999988079071 [2022-10-04T23:40:24.916Z] INFO: Retrieving Stack Cost... [2022-10-04T23:40:25.483Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T23:40:25.741Z] INFO: Archiving Costs [Pipeline] echo [2022-10-04T23:40:25.772Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T23:40:26.092Z] ---> logs-deploy.sh [2022-10-04T23:40:26.092Z] lf-activate-venv: SKIPPING [2022-10-04T23:40:26.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-171/1 [2022-10-04T23:40:26.092Z] INFO: archiving workspace using pattern(s): [2022-10-04T23:40:27.028Z] Archives upload complete. [2022-10-04T23:40:27.028Z] INFO: archiving logs to Nexus