Pull request #152 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than d3b5db350b41e531f02cde37af1e3c529d37495e Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh2344089506123441120.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-ssh5104662146664167871.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5663851063029460601.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 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-ssh7550437967707198511.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3825567018600663045.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-446 in /w/workspace/undry_device-onvif-camera_PR-152 [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-152 # 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit d3b5db350b41e531f02cde37af1e3c529d37495e Merge succeeded, producing e82ac98488901466a1785feb2e9118d30f93d671 Checking out Revision e82ac98488901466a1785feb2e9118d30f93d671 (PR-152) > git config core.sparsecheckout # timeout=10 > git checkout -f d3b5db350b41e531f02cde37af1e3c529d37495e # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e82ac98488901466a1785feb2e9118d30f93d671 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 94f2b2816e2f0adcf870efb52894f379b008c19f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T16:46:46.278Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-21T16:46:46.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T16:46:46.337Z] ========================================================= [2022-09-21T16:46:46.337Z] EdgeX Global Pipelines Version Info [2022-09-21T16:46:46.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:46:47.096Z] ------------------- [2022-09-21T16:46:47.096Z] stable info: [2022-09-21T16:46:47.096Z] ------------------- [2022-09-21T16:46:47.096Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T16:46:47.096Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T16:46:47.096Z] Message: update stable to v1.0.239 [2022-09-21T16:46:47.672Z] ------------------- [2022-09-21T16:46:47.672Z] experimental info: [2022-09-21T16:46:47.672Z] ------------------- [2022-09-21T16:46:47.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T16:46:47.672Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T16:46:47.672Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T16:46:47.851Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-21T16:46:47.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-21T16:46:47.872Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T16:46:47.885Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T16:46:47.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T16:46:47.906Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T16:46:47.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T16:46:47.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-21T16:46:47.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T16:46:47.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T16:46:47.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T16:46:47.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-21T16:46:47.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T16:46:47.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T16:46:48.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T16:46:48.020Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T16:46:48.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T16:46:48.042Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T16:46:48.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T16:46:48.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T16:46:48.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-21T16:46:48.086Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-21T16:46:48.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T16:46:48.108Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T16:46:48.121Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T16:46:48.132Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T16:46:48.143Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T16:46:48.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2022-09-21T16:46:48.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2022-09-21T16:46:48.177Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2022-09-21T16:46:48.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e82ac98488901466a1785feb2e9118d30f93d671 [Pipeline] echo [2022-09-21T16:46:48.200Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e82ac98 [Pipeline] echo [2022-09-21T16:46:48.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T16:46:48.256Z] provisioning config files... [2022-09-21T16:46:48.270Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config7201171078461590245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:46:48.569Z] ---> docker-login.sh [2022-09-21T16:46:48.569Z] nexus3.edgexfoundry.org:10001 [2022-09-21T16:46:48.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:46:49.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:46:49.088Z] Configure a credential helper to remove this warning. See [2022-09-21T16:46:49.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:46:49.088Z] [2022-09-21T16:46:49.088Z] Login Succeeded [2022-09-21T16:46:49.088Z] nexus3.edgexfoundry.org:10002 [2022-09-21T16:46:49.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:46:49.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:46:49.088Z] Configure a credential helper to remove this warning. See [2022-09-21T16:46:49.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:46:49.088Z] [2022-09-21T16:46:49.088Z] Login Succeeded [2022-09-21T16:46:49.088Z] nexus3.edgexfoundry.org:10003 [2022-09-21T16:46:49.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:46:49.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:46:49.349Z] Configure a credential helper to remove this warning. See [2022-09-21T16:46:49.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:46:49.349Z] [2022-09-21T16:46:49.349Z] Login Succeeded [2022-09-21T16:46:49.349Z] nexus3.edgexfoundry.org:10004 [2022-09-21T16:46:49.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:46:49.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:46:49.349Z] Configure a credential helper to remove this warning. See [2022-09-21T16:46:49.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:46:49.349Z] [2022-09-21T16:46:49.349Z] Login Succeeded [2022-09-21T16:46:49.349Z] docker.io [2022-09-21T16:46:49.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:46:49.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:46:49.867Z] Configure a credential helper to remove this warning. See [2022-09-21T16:46:49.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:46:49.867Z] [2022-09-21T16:46:49.867Z] Login Succeeded [2022-09-21T16:46:49.867Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T16:46:49.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T16:46:50.257Z] + git rev-list -1 --merges e82ac98488901466a1785feb2e9118d30f93d671~1..e82ac98488901466a1785feb2e9118d30f93d671 [Pipeline] echo [2022-09-21T16:46:50.284Z] -----------> git rev-list -1 --merges e82ac98488901466a1785feb2e9118d30f93d671~1..e82ac98488901466a1785feb2e9118d30f93d671 e82ac98488901466a1785feb2e9118d30f93d671 [2022-09-21T16:46:50.284Z] e82ac98488901466a1785feb2e9118d30f93d671 [false] [Pipeline] sh [2022-09-21T16:46:50.572Z] + git log --format=format:%s -1 e82ac98488901466a1785feb2e9118d30f93d671 [Pipeline] echo [2022-09-21T16:46:50.587Z] ========================================================= [2022-09-21T16:46:50.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T16:46:50.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T16:46:50.906Z] + git log --format=format:%s -1 e82ac98488901466a1785feb2e9118d30f93d671 [Pipeline] echo [2022-09-21T16:46:50.917Z] [semverPrep] GIT_COMMIT: e82ac98488901466a1785feb2e9118d30f93d671, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-21T16:46:50.925Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T16:46:51.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T16:46:51.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T16:46:51.274Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T16:46:51.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T16:46:51.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T16:46:51.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T16:46:51.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:46:51.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T16:46:51.725Z] [2022-09-21T16:46:51.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:46:52.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T16:46:52.032Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T16:46:52.032Z] b85a868b505f: Pulling fs layer [2022-09-21T16:46:52.032Z] e2be974225ed: Pulling fs layer [2022-09-21T16:46:52.032Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T16:46:52.032Z] 988bab9f4d93: Pulling fs layer [2022-09-21T16:46:52.032Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T16:46:52.032Z] eaf3925da568: Pulling fs layer [2022-09-21T16:46:52.032Z] bab4dde63d76: Pulling fs layer [2022-09-21T16:46:52.032Z] bde34c3a00c8: Pulling fs layer [2022-09-21T16:46:52.032Z] b352a97aabf1: Pulling fs layer [2022-09-21T16:46:52.032Z] 4872d77fe225: Pulling fs layer [2022-09-21T16:46:52.032Z] 5851b861e8e6: Pulling fs layer [2022-09-21T16:46:52.032Z] eaf3925da568: Waiting [2022-09-21T16:46:52.032Z] bab4dde63d76: Waiting [2022-09-21T16:46:52.032Z] bde34c3a00c8: Waiting [2022-09-21T16:46:52.032Z] 988bab9f4d93: Waiting [2022-09-21T16:46:52.032Z] b352a97aabf1: Waiting [2022-09-21T16:46:52.032Z] 4872d77fe225: Waiting [2022-09-21T16:46:52.032Z] 1469e6f7b9e6: Waiting [2022-09-21T16:46:52.032Z] 5851b861e8e6: Waiting [2022-09-21T16:46:52.032Z] e2be974225ed: Verifying Checksum [2022-09-21T16:46:52.032Z] e2be974225ed: Download complete [2022-09-21T16:46:52.032Z] 988bab9f4d93: Verifying Checksum [2022-09-21T16:46:52.032Z] 988bab9f4d93: Download complete [2022-09-21T16:46:52.298Z] 1469e6f7b9e6: Verifying Checksum [2022-09-21T16:46:52.298Z] 1469e6f7b9e6: Download complete [2022-09-21T16:46:52.298Z] eaf3925da568: Verifying Checksum [2022-09-21T16:46:52.298Z] eaf3925da568: Download complete [2022-09-21T16:46:52.298Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T16:46:52.298Z] 339a4e72a1f5: Download complete [2022-09-21T16:46:52.298Z] bde34c3a00c8: Verifying Checksum [2022-09-21T16:46:52.298Z] bde34c3a00c8: Download complete [2022-09-21T16:46:52.298Z] b352a97aabf1: Verifying Checksum [2022-09-21T16:46:52.298Z] 4872d77fe225: Download complete [2022-09-21T16:46:52.298Z] 5851b861e8e6: Download complete [2022-09-21T16:46:52.298Z] b85a868b505f: Verifying Checksum [2022-09-21T16:46:52.298Z] b85a868b505f: Download complete [2022-09-21T16:46:52.560Z] bab4dde63d76: Verifying Checksum [2022-09-21T16:46:53.502Z] b85a868b505f: Pull complete [2022-09-21T16:46:53.762Z] e2be974225ed: Pull complete [2022-09-21T16:46:54.334Z] 339a4e72a1f5: Pull complete [2022-09-21T16:46:54.334Z] 988bab9f4d93: Pull complete [2022-09-21T16:46:54.594Z] 1469e6f7b9e6: Pull complete [2022-09-21T16:46:54.854Z] eaf3925da568: Pull complete [2022-09-21T16:46:56.766Z] bab4dde63d76: Pull complete [2022-09-21T16:46:56.766Z] bde34c3a00c8: Pull complete [2022-09-21T16:46:56.766Z] b352a97aabf1: Pull complete [2022-09-21T16:46:57.026Z] 4872d77fe225: Pull complete [2022-09-21T16:46:57.026Z] 5851b861e8e6: Pull complete [2022-09-21T16:46:57.026Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T16:46:57.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T16:46:57.026Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:46:57.122Z] prd-ubuntu20.04-docker-8c-8g-446 does not seem to be running inside a container [2022-09-21T16:46:57.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T16:46:58.632Z] $ docker top f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 -eo pid,comm [2022-09-21T16:46:58.686Z] 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-09-21T16:46:58.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T16:46:58.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T16:46:58.715Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T16:46:58.826Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T16:46:58.830Z] $ docker exec f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 ssh-agent [2022-09-21T16:46:58.952Z] SSH_AUTH_SOCK=/tmp/ssh-gSquGYf5Jfne/agent.32 [2022-09-21T16:46:58.952Z] SSH_AGENT_PID=38 [2022-09-21T16:46:58.958Z] Running ssh-add (command line suppressed) [2022-09-21T16:46:59.060Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_10699814626423839681.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_10699814626423839681.key) [2022-09-21T16:46:59.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T16:46:59.360Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T16:46:59.376Z] $ docker exec --env ******** --env ******** f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 ssh-agent -k [2022-09-21T16:46:59.472Z] unset SSH_AUTH_SOCK; [2022-09-21T16:46:59.472Z] unset SSH_AGENT_PID; [2022-09-21T16:46:59.472Z] echo Agent pid 38 killed; [2022-09-21T16:46:59.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T16:46:59.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T16:46:59.503Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T16:46:59.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T16:46:59.617Z] $ docker exec f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 ssh-agent [2022-09-21T16:46:59.731Z] SSH_AUTH_SOCK=/tmp/ssh-63xIQhNZLhR2/agent.70 [2022-09-21T16:46:59.731Z] SSH_AGENT_PID=76 [2022-09-21T16:46:59.736Z] Running ssh-add (command line suppressed) [2022-09-21T16:46:59.850Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_16225327807824291740.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_16225327807824291740.key) [2022-09-21T16:46:59.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T16:47:00.151Z] + git semver init [2022-09-21T16:47:00.410Z] 2022-09-21 16:47:00,341 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T16:47:00.410Z] 2022-09-21 16:47:00,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-21T16:47:00.410Z] 2022-09-21 16:47:00,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-21T16:47:00.410Z] 2022-09-21 16:47:00,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-152/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-152, universal_newlines=False, shell=None, istream=None) [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,310 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-152/.git/info/exclude [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 with force:False [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,310 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,315 [execute] INFO git cat-file --batch-check [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,322 [execute] INFO git cat-file --batch [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T16:47:01.360Z] 2022-09-21 16:47:01,327 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-21T16:47:01.360Z] 0.0.0 [Pipeline] } [2022-09-21T16:47:01.370Z] $ docker exec --env ******** --env ******** f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 ssh-agent -k [2022-09-21T16:47:01.482Z] unset SSH_AUTH_SOCK; [2022-09-21T16:47:01.483Z] unset SSH_AGENT_PID; [2022-09-21T16:47:01.483Z] echo Agent pid 76 killed; [2022-09-21T16:47:01.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T16:47:01.790Z] + git semver [Pipeline] } [2022-09-21T16:47:02.064Z] $ docker stop --time=1 f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 [2022-09-21T16:47:03.377Z] $ docker rm -f f0e15fd2f53c56ed5bb0513a513dab0f12d09203dee579c506ebfe77358d3294 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T16:47:03.718Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T16:47:03.881Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T16:47:03.883Z] [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-09-21T16:47:03.977Z] provisioning config files... [2022-09-21T16:47:03.988Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config15432579330991043547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:47:04.280Z] ---> docker-login.sh [2022-09-21T16:47:04.280Z] nexus3.edgexfoundry.org:10001 [2022-09-21T16:47:04.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:47:04.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:47:04.280Z] Configure a credential helper to remove this warning. See [2022-09-21T16:47:04.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:47:04.280Z] [2022-09-21T16:47:04.280Z] Login Succeeded [2022-09-21T16:47:04.280Z] nexus3.edgexfoundry.org:10002 [2022-09-21T16:47:04.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:47:04.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:47:04.280Z] Configure a credential helper to remove this warning. See [2022-09-21T16:47:04.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:47:04.280Z] [2022-09-21T16:47:04.280Z] Login Succeeded [2022-09-21T16:47:04.280Z] nexus3.edgexfoundry.org:10003 [2022-09-21T16:47:04.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:47:04.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:47:04.539Z] Configure a credential helper to remove this warning. See [2022-09-21T16:47:04.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:47:04.539Z] [2022-09-21T16:47:04.539Z] Login Succeeded [2022-09-21T16:47:04.539Z] nexus3.edgexfoundry.org:10004 [2022-09-21T16:47:04.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:47:04.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:47:04.539Z] Configure a credential helper to remove this warning. See [2022-09-21T16:47:04.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:47:04.539Z] [2022-09-21T16:47:04.539Z] Login Succeeded [2022-09-21T16:47:04.539Z] docker.io [2022-09-21T16:47:04.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:47:05.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:47:05.056Z] Configure a credential helper to remove this warning. See [2022-09-21T16:47:05.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:47:05.056Z] [2022-09-21T16:47:05.056Z] Login Succeeded [2022-09-21T16:47:05.056Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T16:47:05.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T16:47:05.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T16:47:05.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T16:47:05.146Z] ========================================================= [2022-09-21T16:47:05.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T16:47:05.146Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:47:05.460Z] + 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-09-21T16:47:05.460Z] Sending build context to Docker daemon 20.69MB [2022-09-21T16:47:05.460Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T16:47:05.460Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T16:47:05.731Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T16:47:05.731Z] 2408cc74d12b: Pulling fs layer [2022-09-21T16:47:05.731Z] ea60b727a1ce: Pulling fs layer [2022-09-21T16:47:05.731Z] 30c4a7721957: Pulling fs layer [2022-09-21T16:47:05.731Z] 370296b7ddb6: Pulling fs layer [2022-09-21T16:47:05.731Z] 7c6cee850709: Pulling fs layer [2022-09-21T16:47:05.731Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T16:47:05.731Z] d94ebbe4e438: Pulling fs layer [2022-09-21T16:47:05.731Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T16:47:05.731Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T16:47:05.731Z] 39a5fcdaea64: Waiting [2022-09-21T16:47:05.731Z] bcfd1f05c69d: Waiting [2022-09-21T16:47:05.731Z] d94ebbe4e438: Waiting [2022-09-21T16:47:05.731Z] 59ccb84bbe0f: Waiting [2022-09-21T16:47:05.731Z] 7c6cee850709: Waiting [2022-09-21T16:47:05.731Z] 370296b7ddb6: Waiting [2022-09-21T16:47:05.731Z] 30c4a7721957: Verifying Checksum [2022-09-21T16:47:05.731Z] 30c4a7721957: Download complete [2022-09-21T16:47:05.731Z] ea60b727a1ce: Download complete [2022-09-21T16:47:05.731Z] 7c6cee850709: Verifying Checksum [2022-09-21T16:47:05.731Z] 7c6cee850709: Download complete [2022-09-21T16:47:05.731Z] 39a5fcdaea64: Download complete [2022-09-21T16:47:05.731Z] 2408cc74d12b: Verifying Checksum [2022-09-21T16:47:05.731Z] 2408cc74d12b: Download complete [2022-09-21T16:47:05.731Z] d94ebbe4e438: Download complete [2022-09-21T16:47:05.731Z] 2408cc74d12b: Pull complete [2022-09-21T16:47:05.990Z] ea60b727a1ce: Pull complete [2022-09-21T16:47:05.990Z] 30c4a7721957: Pull complete [2022-09-21T16:47:05.990Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T16:47:05.990Z] 59ccb84bbe0f: Download complete [2022-09-21T16:47:06.556Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T16:47:06.556Z] bcfd1f05c69d: Download complete [2022-09-21T16:47:06.556Z] 370296b7ddb6: Verifying Checksum [2022-09-21T16:47:06.556Z] 370296b7ddb6: Download complete [2022-09-21T16:47:10.758Z] 370296b7ddb6: Pull complete [2022-09-21T16:47:10.758Z] 7c6cee850709: Pull complete [2022-09-21T16:47:10.758Z] 39a5fcdaea64: Pull complete [2022-09-21T16:47:10.758Z] d94ebbe4e438: Pull complete [2022-09-21T16:47:13.286Z] bcfd1f05c69d: Pull complete [2022-09-21T16:47:13.547Z] 59ccb84bbe0f: Pull complete [2022-09-21T16:47:13.547Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T16:47:13.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T16:47:13.547Z] ---> a4fb48ad2a94 [2022-09-21T16:47:13.547Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T16:47:15.454Z] ---> Running in 6b58f4f1d0d5 [2022-09-21T16:47:15.454Z] Removing intermediate container 6b58f4f1d0d5 [2022-09-21T16:47:15.454Z] ---> a86d5a71c0d8 [2022-09-21T16:47:15.454Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T16:47:15.454Z] ---> Running in a9576f83f8ae [2022-09-21T16:47:15.454Z] Removing intermediate container a9576f83f8ae [2022-09-21T16:47:15.454Z] ---> 2648f96098cc [2022-09-21T16:47:15.454Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T16:47:15.713Z] ---> Running in c149828ac423 [2022-09-21T16:47:15.713Z] Removing intermediate container c149828ac423 [2022-09-21T16:47:15.713Z] ---> 14e4fe870fac [2022-09-21T16:47:15.713Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T16:47:15.713Z] ---> Running in 0b757c8880f7 [2022-09-21T16:47:15.971Z] Removing intermediate container 0b757c8880f7 [2022-09-21T16:47:15.971Z] ---> 514611917ad5 [2022-09-21T16:47:15.971Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T16:47:15.971Z] ---> Running in 4bdeeba78c23 [2022-09-21T16:47:16.538Z] Removing intermediate container 4bdeeba78c23 [2022-09-21T16:47:16.538Z] ---> 1473d5876579 [2022-09-21T16:47:16.538Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T16:47:16.538Z] ---> Running in d457d5112cae [2022-09-21T16:47:16.796Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T16:47:17.730Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T16:47:18.296Z] OK: 211 MiB in 51 packages [2022-09-21T16:47:18.554Z] Removing intermediate container d457d5112cae [2022-09-21T16:47:18.554Z] ---> 53a78269a7fc [2022-09-21T16:47:18.554Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T16:47:18.554Z] ---> Running in a29768839247 [2022-09-21T16:47:18.811Z] Removing intermediate container a29768839247 [2022-09-21T16:47:18.811Z] ---> 34176aedd436 [2022-09-21T16:47:18.811Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T16:47:18.953Z] Still waiting to schedule task [2022-09-21T16:47:18.953Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-21T16:47:19.074Z] ---> 962f61c0bf1f [2022-09-21T16:47:19.074Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T16:47:19.074Z] ---> Running in eb94d327986c [2022-09-21T16:47:41.012Z] Removing intermediate container eb94d327986c [2022-09-21T16:47:41.012Z] ---> bf311ffa8039 [2022-09-21T16:47:41.012Z] Step 12/13 : COPY . . [2022-09-21T16:47:41.012Z] ---> 0c9acba7682c [2022-09-21T16:47:41.012Z] Step 13/13 : RUN ${MAKE} [2022-09-21T16:47:41.012Z] ---> Running in f3620e8f9459 [2022-09-21T16:47:41.012Z] noop [2022-09-21T16:47:41.012Z] Removing intermediate container f3620e8f9459 [2022-09-21T16:47:41.012Z] ---> bddd69b4eaa9 [2022-09-21T16:47:41.012Z] Successfully built bddd69b4eaa9 [2022-09-21T16:47:41.012Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:47:41.318Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T16:47:41.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:47:41.386Z] prd-ubuntu20.04-docker-8c-8g-446 does not seem to be running inside a container [2022-09-21T16:47:41.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T16:47:41.796Z] $ docker top 10d7948f7e32325fb987ad43d2a570ff9c164ff9a570ce383489d0cca970b52a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T16:47:42.130Z] + go version [2022-09-21T16:47:42.130Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T16:47:42.141Z] $ docker stop --time=1 10d7948f7e32325fb987ad43d2a570ff9c164ff9a570ce383489d0cca970b52a [2022-09-21T16:47:43.446Z] $ docker rm -f 10d7948f7e32325fb987ad43d2a570ff9c164ff9a570ce383489d0cca970b52a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:47:43.815Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T16:47:43.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:47:43.877Z] prd-ubuntu20.04-docker-8c-8g-446 does not seem to be running inside a container [2022-09-21T16:47:43.911Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T16:47:44.295Z] $ docker top 722305a3c3e02dc94ff6e2a3668edf700ac8400c18f167c3c5be8ad7b5393a10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T16:47:44.633Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] fileExists [Pipeline] sh [2022-09-21T16:47:44.928Z] + make test [2022-09-21T16:47:44.928Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T16:47:45.493Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T16:47:57.686Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T16:47:57.686Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.6% of statements [2022-09-21T16:47:57.686Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T16:47:57.686Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.441s coverage: 86.5% of statements [2022-09-21T16:48:04.239Z] 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-09-21T16:48:04.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T16:48:07.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T16:48:07.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T16:48:07.524Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T16:48:07.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T16:48:07.547Z] $ docker stop --time=1 722305a3c3e02dc94ff6e2a3668edf700ac8400c18f167c3c5be8ad7b5393a10 [2022-09-21T16:48:09.507Z] $ docker rm -f 722305a3c3e02dc94ff6e2a3668edf700ac8400c18f167c3c5be8ad7b5393a10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T16:48:09.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T16:48:10.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T16:48:10.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T16:48:10.779Z] + ls -al . [2022-09-21T16:48:10.779Z] total 236 [2022-09-21T16:48:10.779Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 16:47 . [2022-09-21T16:48:10.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:46 .. [2022-09-21T16:48:10.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 16:47 .git [2022-09-21T16:48:10.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:46 .github [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 16:46 .gitignore [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 16:46 .golangci.yml [2022-09-21T16:48:10.779Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 16:47 .semver [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 16:46 Attribution.txt [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 16:46 CHANGELOG.md [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 16:46 Dockerfile [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 16:46 GOVERNANCE.md [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 16:46 Jenkinsfile [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 16:46 LICENSE [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 16:46 Makefile [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 16:46 OWNERS.md [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 16:46 README.md [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 16:47 VERSION [2022-09-21T16:48:10.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 16:46 bin [2022-09-21T16:48:10.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:46 cmd [2022-09-21T16:48:10.779Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 16:47 coverage.out [2022-09-21T16:48:10.779Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 16:46 doc [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 16:46 go.mod [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 16:46 go.sum [2022-09-21T16:48:10.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:46 internal [2022-09-21T16:48:10.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:46 snap [2022-09-21T16:48:10.779Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 16:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:48:11.078Z] + 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=e82ac98488901466a1785feb2e9118d30f93d671 --label arch=amd64 --label version=0.0.0 . [2022-09-21T16:48:11.078Z] Sending build context to Docker daemon 20.77MB [2022-09-21T16:48:11.078Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T16:48:11.078Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T16:48:11.078Z] ---> bddd69b4eaa9 [2022-09-21T16:48:11.078Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T16:48:11.342Z] ---> Running in b00299e14cc3 [2022-09-21T16:48:11.342Z] Removing intermediate container b00299e14cc3 [2022-09-21T16:48:11.342Z] ---> a84afd1ada70 [2022-09-21T16:48:11.342Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T16:48:11.342Z] ---> Running in ff9093fb408a [2022-09-21T16:48:11.605Z] Removing intermediate container ff9093fb408a [2022-09-21T16:48:11.605Z] ---> d4afea19a28d [2022-09-21T16:48:11.605Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T16:48:11.605Z] ---> Running in 1076efb1a382 [2022-09-21T16:48:11.605Z] Removing intermediate container 1076efb1a382 [2022-09-21T16:48:11.605Z] ---> 1ece3fe773f9 [2022-09-21T16:48:11.605Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T16:48:11.605Z] ---> Running in 2ea7a8110976 [2022-09-21T16:48:11.866Z] Removing intermediate container 2ea7a8110976 [2022-09-21T16:48:11.866Z] ---> 52fc8d4268f0 [2022-09-21T16:48:11.866Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T16:48:11.866Z] ---> Running in 460fd1dcbedf [2022-09-21T16:48:12.433Z] Removing intermediate container 460fd1dcbedf [2022-09-21T16:48:12.433Z] ---> e13b9bf4b8b1 [2022-09-21T16:48:12.433Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T16:48:12.433Z] ---> Running in 1ba80472467a [2022-09-21T16:48:12.693Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T16:48:13.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T16:48:13.886Z] OK: 211 MiB in 51 packages [2022-09-21T16:48:14.145Z] Removing intermediate container 1ba80472467a [2022-09-21T16:48:14.145Z] ---> 83f67ad6d99a [2022-09-21T16:48:14.145Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T16:48:14.145Z] ---> Running in 18474f754f51 [2022-09-21T16:48:14.405Z] Removing intermediate container 18474f754f51 [2022-09-21T16:48:14.405Z] ---> 41b185fdd9d6 [2022-09-21T16:48:14.405Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T16:48:14.405Z] ---> 7bb9fec1c617 [2022-09-21T16:48:14.405Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T16:48:14.665Z] ---> Running in 20eceba0faab [2022-09-21T16:48:15.233Z] Removing intermediate container 20eceba0faab [2022-09-21T16:48:15.233Z] ---> e485e589c962 [2022-09-21T16:48:15.233Z] Step 12/26 : COPY . . [2022-09-21T16:48:15.800Z] ---> 541b253761db [2022-09-21T16:48:15.800Z] Step 13/26 : RUN ${MAKE} [2022-09-21T16:48:15.800Z] ---> Running in 3a2a8d69dacf [2022-09-21T16:48:16.062Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T16:48:37.987Z] Removing intermediate container 3a2a8d69dacf [2022-09-21T16:48:37.987Z] ---> 92352a2fef63 [2022-09-21T16:48:37.987Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T16:48:37.987Z] 3.16: Pulling from library/alpine [2022-09-21T16:48:37.987Z] 213ec9aee27d: Pulling fs layer [2022-09-21T16:48:37.987Z] 213ec9aee27d: Verifying Checksum [2022-09-21T16:48:37.987Z] 213ec9aee27d: Download complete [2022-09-21T16:48:37.987Z] 213ec9aee27d: Pull complete [2022-09-21T16:48:37.987Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T16:48:37.987Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T16:48:37.987Z] ---> 9c6f07244728 [2022-09-21T16:48:37.987Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T16:48:37.987Z] ---> Running in 4fd69e1510e7 [2022-09-21T16:48:37.987Z] Removing intermediate container 4fd69e1510e7 [2022-09-21T16:48:37.987Z] ---> 60bc30fbc808 [2022-09-21T16:48:37.987Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T16:48:37.987Z] ---> Running in e0656550b5d6 [2022-09-21T16:48:37.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T16:48:37.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T16:48:37.987Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T16:48:37.987Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T16:48:37.987Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T16:48:37.987Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T16:48:37.987Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T16:48:37.987Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T16:48:37.987Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T16:48:37.987Z] OK: 8 MiB in 20 packages [2022-09-21T16:48:38.554Z] Removing intermediate container e0656550b5d6 [2022-09-21T16:48:38.554Z] ---> 8b350d2578df [2022-09-21T16:48:38.554Z] Step 17/26 : WORKDIR / [2022-09-21T16:48:38.554Z] ---> Running in ffb61e4d7f25 [2022-09-21T16:48:38.554Z] Removing intermediate container ffb61e4d7f25 [2022-09-21T16:48:38.554Z] ---> 078f2451d6fc [2022-09-21T16:48:38.554Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T16:48:38.687Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-447 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] ws [2022-09-21T16:48:38.701Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-09-21T16:48:38.734Z] The recommended git tool is: git [2022-09-21T16:48:39.118Z] ---> 6643396ca36d [2022-09-21T16:48:39.119Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T16:48:39.377Z] ---> dbd5f1c21f95 [2022-09-21T16:48:39.377Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T16:48:39.377Z] ---> a29a8c245c49 [2022-09-21T16:48:39.377Z] Step 21/26 : EXPOSE 59984 [2022-09-21T16:48:39.644Z] ---> Running in e08caca188bb [2022-09-21T16:48:39.644Z] Removing intermediate container e08caca188bb [2022-09-21T16:48:39.644Z] ---> 7babcdd1683d [2022-09-21T16:48:39.644Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T16:48:39.644Z] ---> Running in 1308cc47c5a4 [2022-09-21T16:48:39.644Z] Removing intermediate container 1308cc47c5a4 [2022-09-21T16:48:39.644Z] ---> e14fe498cf55 [2022-09-21T16:48:39.644Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T16:48:39.903Z] ---> Running in 5321bf07e223 [2022-09-21T16:48:39.903Z] Removing intermediate container 5321bf07e223 [2022-09-21T16:48:39.903Z] ---> d166f289bd05 [2022-09-21T16:48:39.903Z] Step 24/26 : LABEL arch=amd64 [2022-09-21T16:48:39.903Z] ---> Running in cba3383ef1e5 [2022-09-21T16:48:40.165Z] Removing intermediate container cba3383ef1e5 [2022-09-21T16:48:40.165Z] ---> cf05f642c441 [2022-09-21T16:48:40.165Z] Step 25/26 : LABEL git_sha=e82ac98488901466a1785feb2e9118d30f93d671 [2022-09-21T16:48:40.165Z] ---> Running in cda3e887e0a4 [2022-09-21T16:48:40.165Z] Removing intermediate container cda3e887e0a4 [2022-09-21T16:48:40.165Z] ---> 9024a129af0d [2022-09-21T16:48:40.165Z] Step 26/26 : LABEL version=0.0.0 [2022-09-21T16:48:40.165Z] ---> Running in d7c091167be9 [2022-09-21T16:48:40.423Z] Removing intermediate container d7c091167be9 [2022-09-21T16:48:40.423Z] ---> b744fc00bbbf [2022-09-21T16:48:40.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T16:48:40.423Z] Successfully built b744fc00bbbf [2022-09-21T16:48:40.423Z] 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-09-21T16:48:40.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T16:48:40.844Z] [2022-09-21T16:48:40.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:48:41.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T16:48:41.141Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T16:48:41.141Z] 5eb5b503b376: Pulling fs layer [2022-09-21T16:48:41.141Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T16:48:41.141Z] ec43610c2a17: Pulling fs layer [2022-09-21T16:48:41.141Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T16:48:41.141Z] 33b1e0a273af: Pulling fs layer [2022-09-21T16:48:41.141Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T16:48:41.141Z] 2f39f015ded8: Pulling fs layer [2022-09-21T16:48:41.141Z] 33b1e0a273af: Waiting [2022-09-21T16:48:41.141Z] 3a2ae6a8a46f: Waiting [2022-09-21T16:48:41.141Z] 2f39f015ded8: Waiting [2022-09-21T16:48:41.141Z] 5d3b04190fa2: Waiting [2022-09-21T16:48:41.141Z] 5c69ac0246d0: Download complete [2022-09-21T16:48:41.141Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-21T16:48:41.141Z] 3a2ae6a8a46f: Download complete [2022-09-21T16:48:41.141Z] 33b1e0a273af: Verifying Checksum [2022-09-21T16:48:41.141Z] 33b1e0a273af: Download complete [2022-09-21T16:48:41.401Z] 5d3b04190fa2: Download complete [2022-09-21T16:48:41.401Z] ec43610c2a17: Download complete [2022-09-21T16:48:41.401Z] 5eb5b503b376: Verifying Checksum [2022-09-21T16:48:41.401Z] 5eb5b503b376: Download complete [2022-09-21T16:48:41.967Z] 2f39f015ded8: Download complete [2022-09-21T16:48:42.533Z] 5eb5b503b376: Pull complete [2022-09-21T16:48:42.533Z] 5c69ac0246d0: Pull complete [2022-09-21T16:48:43.101Z] ec43610c2a17: Pull complete [2022-09-21T16:48:43.101Z] 3a2ae6a8a46f: Pull complete [2022-09-21T16:48:43.101Z] 33b1e0a273af: Pull complete [2022-09-21T16:48:43.359Z] 5d3b04190fa2: Pull complete [2022-09-21T16:48:43.561Z] using credential edgex-jenkins-ssh [2022-09-21T16:48:43.578Z] Cloning the remote Git repository [2022-09-21T16:48:43.605Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T16:48:43.682Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-09-21T16:48:43.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T16:48:43.810Z] > git --version # timeout=10 [2022-09-21T16:48:43.827Z] > git --version # 'git version 2.25.1' [2022-09-21T16:48:43.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T16:48:43.869Z] Verifying host key using known hosts file [2022-09-21T16:48:44.037Z] 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-09-21T16:48:44.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T16:48:45.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-21T16:48:45.289Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T16:48:46.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-21T16:48:46.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T16:48:46.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T16:48:46.060Z] Verifying host key using known hosts file [2022-09-21T16:48:46.067Z] 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-09-21T16:48:46.706Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit d3b5db350b41e531f02cde37af1e3c529d37495e [2022-09-21T16:48:47.306Z] Merge succeeded, producing de33b144a96bffa217b20018e28d01fc64eb16aa [2022-09-21T16:48:47.306Z] Checking out Revision de33b144a96bffa217b20018e28d01fc64eb16aa (PR-152) [2022-09-21T16:48:46.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-21T16:48:46.710Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T16:48:46.745Z] > git checkout -f d3b5db350b41e531f02cde37af1e3c529d37495e # timeout=10 [2022-09-21T16:48:46.965Z] > git remote # timeout=10 [2022-09-21T16:48:46.982Z] > git config --get remote.origin.url # timeout=10 [2022-09-21T16:48:47.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T16:48:47.010Z] Verifying host key using known hosts file [2022-09-21T16:48:47.014Z] 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-09-21T16:48:47.022Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-21T16:48:47.268Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-21T16:48:47.300Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T16:48:47.312Z] > git checkout -f de33b144a96bffa217b20018e28d01fc64eb16aa # timeout=10 [2022-09-21T16:48:47.538Z] 2f39f015ded8: Pull complete [2022-09-21T16:48:47.538Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T16:48:47.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T16:48:47.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:48:47.620Z] prd-ubuntu20.04-docker-8c-8g-446 does not seem to be running inside a container [2022-09-21T16:48:47.647Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T16:48:49.326Z] $ docker top f183b807609386bf39cf9def8ebf049a4a35200f1b3635883e8e1c143a84c0a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:48:49.714Z] ---> job-cost.sh [2022-09-21T16:48:49.714Z] lf-activate-venv: SKIPPING [2022-09-21T16:48:49.714Z] INFO: No Stack... [2022-09-21T16:48:49.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T16:48:50.541Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T16:48:50.766Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-21T16:48:50.788Z] First time build. Skipping changelog. [2022-09-21T16:48:50.828Z] + cat /w/workspace/undry_device-onvif-camera_PR-152/archives/cost.csv [2022-09-21T16:48:50.828Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T16:48:50.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [2022-09-21T16:48:50.850Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] did not exist. Created. [2022-09-21T16:48:50.850Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T16:48:51.147Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T16:48:51.180Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T16:48:51.187Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [Pipeline] // lock [2022-09-21T16:48:51.198Z] [2022-09-21T16:48:51.198Z] GitHub has been notified of this commit’s build result [2022-09-21T16:48:51.198Z] [Pipeline] } [2022-09-21T16:48:51.205Z] $ docker stop --time=1 f183b807609386bf39cf9def8ebf049a4a35200f1b3635883e8e1c143a84c0a8 [2022-09-21T16:48:50.763Z] > git rev-list --no-walk 94f2b2816e2f0adcf870efb52894f379b008c19f # timeout=10 [2022-09-21T16:48:52.391Z] $ docker rm -f f183b807609386bf39cf9def8ebf049a4a35200f1b3635883e8e1c143a84c0a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T16:48:52.933Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T16:48:52.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T16:48:52.933Z] Dload Upload Total Spent Left Speed [2022-09-21T16:48:52.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-09-21T16:48:53.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T16:48:53.927Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T16:48:53.927Z] + sudo tee /etc/docker/daemon.new [2022-09-21T16:48:53.927Z] { [2022-09-21T16:48:53.927Z] "registry-mirrors": [ [2022-09-21T16:48:53.927Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T16:48:53.927Z] ], [2022-09-21T16:48:53.927Z] "bip": "10.250.0.254/24", [2022-09-21T16:48:53.927Z] "hosts": [ [2022-09-21T16:48:53.927Z] "tcp://0.0.0.0:5555", [2022-09-21T16:48:53.927Z] "unix:///var/run/docker.sock" [2022-09-21T16:48:53.927Z] ], [2022-09-21T16:48:53.927Z] "mtu": 1458, [2022-09-21T16:48:53.927Z] "selinux-enabled": true, [2022-09-21T16:48:53.927Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T16:48:53.927Z] } [Pipeline] sh [2022-09-21T16:48:54.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T16:48:54.572Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T16:49:12.804Z] provisioning config files... [2022-09-21T16:49:12.826Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config12969684778390901681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:49:13.166Z] ---> docker-login.sh [2022-09-21T16:49:13.166Z] nexus3.edgexfoundry.org:10001 [2022-09-21T16:49:13.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:49:13.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:49:13.701Z] Configure a credential helper to remove this warning. See [2022-09-21T16:49:13.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:49:13.701Z] [2022-09-21T16:49:13.701Z] Login Succeeded [2022-09-21T16:49:13.701Z] nexus3.edgexfoundry.org:10002 [2022-09-21T16:49:13.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:49:13.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:49:13.968Z] Configure a credential helper to remove this warning. See [2022-09-21T16:49:13.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:49:13.968Z] [2022-09-21T16:49:13.968Z] Login Succeeded [2022-09-21T16:49:13.968Z] nexus3.edgexfoundry.org:10003 [2022-09-21T16:49:14.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:49:14.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:49:14.239Z] Configure a credential helper to remove this warning. See [2022-09-21T16:49:14.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:49:14.239Z] [2022-09-21T16:49:14.239Z] Login Succeeded [2022-09-21T16:49:14.239Z] nexus3.edgexfoundry.org:10004 [2022-09-21T16:49:14.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:49:14.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:49:14.770Z] Configure a credential helper to remove this warning. See [2022-09-21T16:49:14.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:49:14.770Z] [2022-09-21T16:49:14.770Z] Login Succeeded [2022-09-21T16:49:14.770Z] docker.io [2022-09-21T16:49:14.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T16:49:15.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T16:49:15.350Z] Configure a credential helper to remove this warning. See [2022-09-21T16:49:15.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T16:49:15.350Z] [2022-09-21T16:49:15.350Z] Login Succeeded [2022-09-21T16:49:15.350Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T16:49:15.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T16:49:15.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T16:49:15.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T16:49:15.507Z] ========================================================= [2022-09-21T16:49:15.507Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T16:49:15.507Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:49:15.838Z] + 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-09-21T16:49:16.422Z] Sending build context to Docker daemon 14.17MB [2022-09-21T16:49:16.423Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T16:49:16.423Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T16:49:16.423Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T16:49:16.423Z] b3c136eddcbf: Pulling fs layer [2022-09-21T16:49:16.423Z] c0a3192eca97: Pulling fs layer [2022-09-21T16:49:16.423Z] a050256f5b6f: Pulling fs layer [2022-09-21T16:49:16.423Z] 656be50a0ddc: Pulling fs layer [2022-09-21T16:49:16.423Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T16:49:16.423Z] 46d945488cbd: Pulling fs layer [2022-09-21T16:49:16.423Z] 8a5474983e97: Pulling fs layer [2022-09-21T16:49:16.423Z] 329c88fbcd65: Pulling fs layer [2022-09-21T16:49:16.423Z] 656be50a0ddc: Waiting [2022-09-21T16:49:16.423Z] 2bbca73fdf42: Waiting [2022-09-21T16:49:16.423Z] 46d945488cbd: Waiting [2022-09-21T16:49:16.423Z] 8a5474983e97: Waiting [2022-09-21T16:49:16.423Z] 329c88fbcd65: Waiting [2022-09-21T16:49:16.423Z] a050256f5b6f: Verifying Checksum [2022-09-21T16:49:16.423Z] a050256f5b6f: Download complete [2022-09-21T16:49:16.423Z] c0a3192eca97: Download complete [2022-09-21T16:49:16.423Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T16:49:16.423Z] 2bbca73fdf42: Download complete [2022-09-21T16:49:16.423Z] 46d945488cbd: Verifying Checksum [2022-09-21T16:49:16.423Z] 46d945488cbd: Download complete [2022-09-21T16:49:16.423Z] b3c136eddcbf: Verifying Checksum [2022-09-21T16:49:17.382Z] b3c136eddcbf: Pull complete [2022-09-21T16:49:17.382Z] 329c88fbcd65: Verifying Checksum [2022-09-21T16:49:17.382Z] 329c88fbcd65: Download complete [2022-09-21T16:49:17.979Z] c0a3192eca97: Pull complete [2022-09-21T16:49:18.249Z] a050256f5b6f: Pull complete [2022-09-21T16:49:18.516Z] 8a5474983e97: Download complete [2022-09-21T16:49:19.105Z] 656be50a0ddc: Verifying Checksum [2022-09-21T16:49:19.105Z] 656be50a0ddc: Download complete [2022-09-21T16:49:34.166Z] 656be50a0ddc: Pull complete [2022-09-21T16:49:34.166Z] 2bbca73fdf42: Pull complete [2022-09-21T16:49:34.166Z] 46d945488cbd: Pull complete [2022-09-21T16:49:38.437Z] 8a5474983e97: Pull complete [2022-09-21T16:49:39.854Z] 329c88fbcd65: Pull complete [2022-09-21T16:49:39.854Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T16:49:39.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T16:49:39.854Z] ---> ff4287adb874 [2022-09-21T16:49:39.854Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T16:49:41.809Z] ---> Running in 53113b27fc65 [2022-09-21T16:49:41.809Z] Removing intermediate container 53113b27fc65 [2022-09-21T16:49:41.809Z] ---> 3809dd65352f [2022-09-21T16:49:41.809Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T16:49:42.079Z] ---> Running in a1e2fe1cca46 [2022-09-21T16:49:42.346Z] Removing intermediate container a1e2fe1cca46 [2022-09-21T16:49:42.346Z] ---> 95ddea404600 [2022-09-21T16:49:42.346Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T16:49:42.346Z] ---> Running in 89aa294e3a2c [2022-09-21T16:49:42.612Z] Removing intermediate container 89aa294e3a2c [2022-09-21T16:49:42.612Z] ---> af8decf1dcec [2022-09-21T16:49:42.612Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T16:49:42.612Z] ---> Running in 107cb84cd70a [2022-09-21T16:49:43.198Z] Removing intermediate container 107cb84cd70a [2022-09-21T16:49:43.198Z] ---> 40055e018caf [2022-09-21T16:49:43.198Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T16:49:43.198Z] ---> Running in d6a1beea4d19 [2022-09-21T16:49:45.166Z] Removing intermediate container d6a1beea4d19 [2022-09-21T16:49:45.166Z] ---> ffcc0cd59a8b [2022-09-21T16:49:45.166Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T16:49:45.166Z] ---> Running in 60385329eafd [2022-09-21T16:49:45.747Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T16:49:46.704Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T16:49:47.663Z] OK: 221 MiB in 51 packages [2022-09-21T16:49:48.250Z] Removing intermediate container 60385329eafd [2022-09-21T16:49:48.250Z] ---> ca1ea92337ae [2022-09-21T16:49:48.250Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T16:49:48.250Z] ---> Running in b74639fb41e9 [2022-09-21T16:49:48.835Z] Removing intermediate container b74639fb41e9 [2022-09-21T16:49:48.835Z] ---> 0505202a7ed6 [2022-09-21T16:49:48.835Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T16:49:49.103Z] ---> 0930cea09097 [2022-09-21T16:49:49.103Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T16:49:49.371Z] ---> Running in 5c1ebf69e0b2 [2022-09-21T16:50:36.239Z] Removing intermediate container 5c1ebf69e0b2 [2022-09-21T16:50:36.239Z] ---> 4808dbff5679 [2022-09-21T16:50:36.239Z] Step 12/13 : COPY . . [2022-09-21T16:50:37.222Z] ---> 297768cf85a1 [2022-09-21T16:50:37.222Z] Step 13/13 : RUN ${MAKE} [2022-09-21T16:50:37.222Z] ---> Running in 364ee15b1cce [2022-09-21T16:50:38.180Z] noop [2022-09-21T16:50:38.760Z] Removing intermediate container 364ee15b1cce [2022-09-21T16:50:38.760Z] ---> 13b7aca7c403 [2022-09-21T16:50:38.760Z] Successfully built 13b7aca7c403 [2022-09-21T16:50:38.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:50:39.114Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T16:50:39.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:50:39.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2022-09-21T16:50:39.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T16:50:40.415Z] $ docker top 50b1e9a2779643cb638c2cac05b41766346f5715c9cd81acf7f894338877b58b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T16:50:41.227Z] + go version [2022-09-21T16:50:41.227Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T16:50:41.249Z] $ docker stop --time=1 50b1e9a2779643cb638c2cac05b41766346f5715c9cd81acf7f894338877b58b [2022-09-21T16:50:42.840Z] $ docker rm -f 50b1e9a2779643cb638c2cac05b41766346f5715c9cd81acf7f894338877b58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:50:43.365Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T16:50:43.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:50:43.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2022-09-21T16:50:43.593Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T16:50:44.656Z] $ docker top dd8b53475ac5a5475fe1892bb559ac1e81fe8253277e3ded40d5fdebc87bfe67 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T16:50:45.136Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-09-21T16:50:45.462Z] + make test [2022-09-21T16:50:45.462Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T16:50:47.400Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T16:52:09.022Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T16:52:17.224Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.213s coverage: 28.6% of statements [2022-09-21T16:52:17.224Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T16:52:39.301Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.310s coverage: 86.5% of statements [2022-09-21T16:52:39.301Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T16:52:39.301Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T16:53:01.530Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T16:53:01.530Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T16:53:01.530Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T16:53:01.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T16:53:01.639Z] $ docker stop --time=1 dd8b53475ac5a5475fe1892bb559ac1e81fe8253277e3ded40d5fdebc87bfe67 [2022-09-21T16:53:03.660Z] $ docker rm -f dd8b53475ac5a5475fe1892bb559ac1e81fe8253277e3ded40d5fdebc87bfe67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T16:53:04.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T16:53:04.777Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T16:53:05.187Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T16:53:05.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T16:53:05.879Z] + ls -al . [2022-09-21T16:53:05.879Z] total 232 [2022-09-21T16:53:05.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 16:50 . [2022-09-21T16:53:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:48 .. [2022-09-21T16:53:05.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 16:48 .git [2022-09-21T16:53:05.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:48 .github [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 16:48 .gitignore [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 16:48 .golangci.yml [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 16:48 Attribution.txt [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 16:48 CHANGELOG.md [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 16:48 Dockerfile [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 16:48 GOVERNANCE.md [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 16:48 Jenkinsfile [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 16:48 LICENSE [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 16:48 Makefile [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 16:48 OWNERS.md [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 16:48 README.md [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 16:47 VERSION [2022-09-21T16:53:05.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 16:48 bin [2022-09-21T16:53:05.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:48 cmd [2022-09-21T16:53:05.879Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 16:52 coverage.out [2022-09-21T16:53:05.879Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 16:48 doc [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 16:48 go.mod [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 16:48 go.sum [2022-09-21T16:53:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:48 internal [2022-09-21T16:53:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:48 snap [2022-09-21T16:53:05.879Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:53:06.210Z] + 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=de33b144a96bffa217b20018e28d01fc64eb16aa --label arch=arm64 --label version=0.0.0 . [2022-09-21T16:53:06.795Z] Sending build context to Docker daemon 14.25MB [2022-09-21T16:53:06.795Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T16:53:06.795Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T16:53:06.795Z] ---> 13b7aca7c403 [2022-09-21T16:53:06.795Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T16:53:07.379Z] ---> Running in 441ad626a0ec [2022-09-21T16:53:07.646Z] Removing intermediate container 441ad626a0ec [2022-09-21T16:53:07.646Z] ---> 2a2381e39188 [2022-09-21T16:53:07.646Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T16:53:07.646Z] ---> Running in a0b08e756e83 [2022-09-21T16:53:07.914Z] Removing intermediate container a0b08e756e83 [2022-09-21T16:53:07.914Z] ---> 82874553a393 [2022-09-21T16:53:07.914Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T16:53:08.181Z] ---> Running in 88ca9c35cfc7 [2022-09-21T16:53:08.452Z] Removing intermediate container 88ca9c35cfc7 [2022-09-21T16:53:08.452Z] ---> 6c4c4f57450a [2022-09-21T16:53:08.452Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T16:53:08.452Z] ---> Running in b37e27f71931 [2022-09-21T16:53:08.719Z] Removing intermediate container b37e27f71931 [2022-09-21T16:53:08.719Z] ---> 7e6b597ab4b4 [2022-09-21T16:53:08.719Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T16:53:08.986Z] ---> Running in 06c32582d1b7 [2022-09-21T16:53:10.941Z] Removing intermediate container 06c32582d1b7 [2022-09-21T16:53:10.941Z] ---> 4ebfb6f19cb1 [2022-09-21T16:53:10.941Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T16:53:10.941Z] ---> Running in 4d60bacb06ff [2022-09-21T16:53:11.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T16:53:12.870Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T16:53:13.846Z] OK: 221 MiB in 51 packages [2022-09-21T16:53:14.806Z] Removing intermediate container 4d60bacb06ff [2022-09-21T16:53:14.806Z] ---> 1d2ddf4e7fcf [2022-09-21T16:53:14.806Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T16:53:14.806Z] ---> Running in 07718fca6a3b [2022-09-21T16:53:15.074Z] Removing intermediate container 07718fca6a3b [2022-09-21T16:53:15.074Z] ---> 1f307f746027 [2022-09-21T16:53:15.074Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T16:53:16.029Z] ---> f9f07bc9ac0a [2022-09-21T16:53:16.029Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T16:53:16.029Z] ---> Running in 7afd61e8a69e [2022-09-21T16:53:18.613Z] Removing intermediate container 7afd61e8a69e [2022-09-21T16:53:18.613Z] ---> 8ffffe0a0361 [2022-09-21T16:53:18.613Z] Step 12/26 : COPY . . [2022-09-21T16:53:20.554Z] ---> 5d04caab520d [2022-09-21T16:53:20.554Z] Step 13/26 : RUN ${MAKE} [2022-09-21T16:53:20.554Z] ---> Running in b8d3dc500d9f [2022-09-21T16:53:21.514Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T16:55:43.246Z] Removing intermediate container b8d3dc500d9f [2022-09-21T16:55:43.246Z] ---> 3208e97f9177 [2022-09-21T16:55:43.246Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T16:55:43.246Z] 3.16: Pulling from library/alpine [2022-09-21T16:55:43.246Z] 9b18e9b68314: Pulling fs layer [2022-09-21T16:55:43.246Z] 9b18e9b68314: Download complete [2022-09-21T16:55:43.836Z] 9b18e9b68314: Pull complete [2022-09-21T16:55:43.836Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T16:55:43.836Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T16:55:43.836Z] ---> a6215f271958 [2022-09-21T16:55:43.836Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T16:55:43.836Z] ---> Running in 282272eb1f00 [2022-09-21T16:55:44.103Z] Removing intermediate container 282272eb1f00 [2022-09-21T16:55:44.103Z] ---> 735166b43d75 [2022-09-21T16:55:44.103Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T16:55:44.103Z] ---> Running in 67e24e7372b8 [2022-09-21T16:55:45.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T16:55:45.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T16:55:46.283Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T16:55:46.283Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T16:55:46.283Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T16:55:46.283Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T16:55:46.283Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T16:55:46.549Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T16:55:46.549Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T16:55:46.549Z] OK: 8 MiB in 20 packages [2022-09-21T16:55:47.507Z] Removing intermediate container 67e24e7372b8 [2022-09-21T16:55:47.507Z] ---> 6dd2f47be307 [2022-09-21T16:55:47.507Z] Step 17/26 : WORKDIR / [2022-09-21T16:55:47.507Z] ---> Running in 07dff9dd1eaa [2022-09-21T16:55:47.772Z] Removing intermediate container 07dff9dd1eaa [2022-09-21T16:55:47.772Z] ---> 4be2b016b450 [2022-09-21T16:55:47.772Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T16:55:49.175Z] ---> 770b54243d9e [2022-09-21T16:55:49.175Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T16:55:49.442Z] ---> 002a5d0d764d [2022-09-21T16:55:49.442Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T16:55:50.026Z] ---> 9a6e0ca7938b [2022-09-21T16:55:50.026Z] Step 21/26 : EXPOSE 59984 [2022-09-21T16:55:50.026Z] ---> Running in f2fe739c8ff4 [2022-09-21T16:55:50.293Z] Removing intermediate container f2fe739c8ff4 [2022-09-21T16:55:50.293Z] ---> e176e1e04d58 [2022-09-21T16:55:50.293Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T16:55:50.293Z] ---> Running in 6990572ead8f [2022-09-21T16:55:50.563Z] Removing intermediate container 6990572ead8f [2022-09-21T16:55:50.563Z] ---> f7b4f56fb43b [2022-09-21T16:55:50.563Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T16:55:50.563Z] ---> Running in 04d2baf3ae07 [2022-09-21T16:55:50.830Z] Removing intermediate container 04d2baf3ae07 [2022-09-21T16:55:50.830Z] ---> 005e2f0187cb [2022-09-21T16:55:50.830Z] Step 24/26 : LABEL arch=arm64 [2022-09-21T16:55:51.097Z] ---> Running in b13bbbb8d470 [2022-09-21T16:55:51.363Z] Removing intermediate container b13bbbb8d470 [2022-09-21T16:55:51.363Z] ---> c6bedc0e5562 [2022-09-21T16:55:51.363Z] Step 25/26 : LABEL git_sha=de33b144a96bffa217b20018e28d01fc64eb16aa [2022-09-21T16:55:51.363Z] ---> Running in 0e17d8e134d1 [2022-09-21T16:55:51.628Z] Removing intermediate container 0e17d8e134d1 [2022-09-21T16:55:51.628Z] ---> a29107de63e5 [2022-09-21T16:55:51.628Z] Step 26/26 : LABEL version=0.0.0 [2022-09-21T16:55:51.628Z] ---> Running in bfc4452adc43 [2022-09-21T16:55:51.894Z] Removing intermediate container bfc4452adc43 [2022-09-21T16:55:51.894Z] ---> d33da3f05fa3 [2022-09-21T16:55:51.894Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T16:55:51.894Z] Successfully built d33da3f05fa3 [2022-09-21T16:55:51.894Z] 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-09-21T16:55:52.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T16:55:52.300Z] [2022-09-21T16:55:52.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:55:52.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T16:55:52.625Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T16:55:52.625Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T16:55:52.625Z] 04944245beec: Pulling fs layer [2022-09-21T16:55:52.625Z] 699f458cf7ca: Pulling fs layer [2022-09-21T16:55:52.625Z] 765212b225bb: Pulling fs layer [2022-09-21T16:55:52.625Z] f23df028b6ca: Pulling fs layer [2022-09-21T16:55:52.625Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T16:55:52.625Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T16:55:52.625Z] 765212b225bb: Waiting [2022-09-21T16:55:52.625Z] f23df028b6ca: Waiting [2022-09-21T16:55:52.625Z] d65c8cfc05b1: Waiting [2022-09-21T16:55:52.625Z] 2437ff75d9bd: Waiting [2022-09-21T16:55:52.892Z] 04944245beec: Verifying Checksum [2022-09-21T16:55:52.892Z] 04944245beec: Download complete [2022-09-21T16:55:52.892Z] 765212b225bb: Verifying Checksum [2022-09-21T16:55:52.892Z] 765212b225bb: Download complete [2022-09-21T16:55:52.892Z] f23df028b6ca: Verifying Checksum [2022-09-21T16:55:52.892Z] f23df028b6ca: Download complete [2022-09-21T16:55:52.892Z] d65c8cfc05b1: Verifying Checksum [2022-09-21T16:55:52.892Z] d65c8cfc05b1: Download complete [2022-09-21T16:55:52.892Z] 699f458cf7ca: Verifying Checksum [2022-09-21T16:55:52.892Z] 699f458cf7ca: Download complete [2022-09-21T16:55:53.479Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T16:55:53.479Z] 8998bd30e6a1: Download complete [2022-09-21T16:55:56.061Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T16:55:56.061Z] 2437ff75d9bd: Download complete [2022-09-21T16:55:57.484Z] 8998bd30e6a1: Pull complete [2022-09-21T16:55:57.752Z] 04944245beec: Pull complete [2022-09-21T16:55:59.161Z] 699f458cf7ca: Pull complete [2022-09-21T16:55:59.430Z] 765212b225bb: Pull complete [2022-09-21T16:56:00.011Z] f23df028b6ca: Pull complete [2022-09-21T16:56:00.278Z] d65c8cfc05b1: Pull complete [2022-09-21T16:56:15.270Z] 2437ff75d9bd: Pull complete [2022-09-21T16:56:15.270Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T16:56:15.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T16:56:15.270Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:56:15.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2022-09-21T16:56:15.507Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-21T16:56:17.994Z] $ docker top 2d3fbe941d155e764712e80326999e5a236aa35becd02bc92b5ce845b3964780 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:18.814Z] ---> job-cost.sh [2022-09-21T16:56:18.814Z] lf-activate-venv: SKIPPING [2022-09-21T16:56:18.814Z] INFO: No Stack... [2022-09-21T16:56:19.077Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T16:56:20.028Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T16:56:20.345Z] + cut -d, -f6 [2022-09-21T16:56:20.346Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [Pipeline] lock [2022-09-21T16:56:20.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [2022-09-21T16:56:20.395Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] did not exist. Created. [2022-09-21T16:56:20.395Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T16:56:20.729Z] /w/workspace/device-onvif-camera/5@tmp/durable-d4f4f8dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T16:56:21.069Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T16:56:21.095Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T16:56:21.153Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T16:56:21.160Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T16:56:21.185Z] $ docker stop --time=1 2d3fbe941d155e764712e80326999e5a236aa35becd02bc92b5ce845b3964780 [2022-09-21T16:56:22.670Z] $ docker rm -f 2d3fbe941d155e764712e80326999e5a236aa35becd02bc92b5ce845b3964780 [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-09-21T16:56:23.049Z] provisioning config files... [2022-09-21T16:56:23.055Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config6863957728923325525tmp [Pipeline] { [Pipeline] sh [2022-09-21T16:56:23.351Z] + set +x [2022-09-21T16:56:23.351Z] + curl -s https://codecov.io/bash [2022-09-21T16:56:23.351Z] + bash -s -- [2022-09-21T16:56:23.351Z] [2022-09-21T16:56:23.351Z] _____ _ [2022-09-21T16:56:23.351Z] / ____| | | [2022-09-21T16:56:23.351Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T16:56:23.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T16:56:23.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T16:56:23.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T16:56:23.351Z] Bash-1.0.6 [2022-09-21T16:56:23.351Z] [2022-09-21T16:56:23.351Z] [2022-09-21T16:56:23.351Z] ==> git version 2.25.1 found [2022-09-21T16:56:23.351Z] ==> 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-09-21T16:56:23.351Z] Release-Date: 2020-01-08 [2022-09-21T16:56:23.351Z] 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-09-21T16:56:23.351Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T16:56:23.351Z] ==> Jenkins CI detected. [2022-09-21T16:56:23.351Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-152 [2022-09-21T16:56:23.351Z] project root: . [2022-09-21T16:56:23.351Z] --> token set from env [2022-09-21T16:56:23.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T16:56:23.351Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T16:56:23.351Z] ==> Python coveragepy not found [2022-09-21T16:56:23.351Z] ==> Searching for coverage reports in: [2022-09-21T16:56:23.351Z] + . [2022-09-21T16:56:23.351Z] -> Found 1 reports [2022-09-21T16:56:23.351Z] ==> Detecting git/mercurial file structure [2022-09-21T16:56:23.351Z] ==> Reading reports [2022-09-21T16:56:23.611Z] + ./coverage.out bytes=79818 [2022-09-21T16:56:23.611Z] ==> Appending adjustments [2022-09-21T16:56:23.611Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T16:56:23.611Z] + Found adjustments [2022-09-21T16:56:23.611Z] ==> Gzipping contents [2022-09-21T16:56:23.611Z] 12K /tmp/codecov.CNyYBR.gz [2022-09-21T16:56:23.611Z] ==> Uploading reports [2022-09-21T16:56:23.611Z] url: https://codecov.io [2022-09-21T16:56:23.611Z] query: branch=PR-152&commit=e82ac98488901466a1785feb2e9118d30f93d671&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-21T16:56:23.611Z] -> Pinging Codecov [2022-09-21T16:56:23.611Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-152&commit=e82ac98488901466a1785feb2e9118d30f93d671&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-21T16:56:24.180Z] -> Uploading to [2022-09-21T16:56:24.181Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/e82ac98488901466a1785feb2e9118d30f93d671/b4b2a111-52e3-4649-8d5d-a3dbe7635249.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T165623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59663c1c41eb86a0696e589064b12c2bf150fd3b200acce467af97f609f36f96 [2022-09-21T16:56:24.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T16:56:24.181Z] Dload Upload Total Spent Left Speed [2022-09-21T16:56:24.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10917 0 0 100 10917 0 46653 --:--:-- --:--:-- --:--:-- 46653 [2022-09-21T16:56:24.181Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e82ac98488901466a1785feb2e9118d30f93d671 [Pipeline] } [2022-09-21T16:56:24.188Z] 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-09-21T16:56:24.852Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-152/archives ] [2022-09-21T16:56:24.853Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-21T16:56:24.853Z] total 16 [2022-09-21T16:56:24.853Z] drwxr-xr-x 3 root root 4096 Sep 21 16:48 . [2022-09-21T16:56:24.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 16:48 .. [2022-09-21T16:56:24.853Z] drwxr-xr-x 2 root root 4096 Sep 21 16:48 cost [2022-09-21T16:56:24.853Z] -rw-r--r-- 1 root root 91 Sep 21 16:48 cost.csv [2022-09-21T16:56:24.853Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-21T16:56:24.853Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-21T16:56:24.853Z] total 16 [2022-09-21T16:56:24.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 16:48 . [2022-09-21T16:56:24.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 16:48 .. [2022-09-21T16:56:24.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 16:48 cost [2022-09-21T16:56:24.853Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 21 16:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:25.148Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:26.011Z] ---> package-listing.sh [2022-09-21T16:56:26.012Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T16:56:26.012Z] ++ facter osfamily [2022-09-21T16:56:26.271Z] + OS_FAMILY=debian [2022-09-21T16:56:26.271Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-152 [2022-09-21T16:56:26.271Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T16:56:26.271Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T16:56:26.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T16:56:26.271Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T16:56:26.271Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-21T16:56:26.271Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T16:56:26.271Z] + case "${OS_FAMILY}" in [2022-09-21T16:56:26.271Z] + dpkg -l [2022-09-21T16:56:26.271Z] + grep '^ii' [2022-09-21T16:56:26.271Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T16:56:26.271Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T16:56:26.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T16:56:26.271Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-21T16:56:26.271Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-152/archives/ [2022-09-21T16:56:26.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-152/archives/ [Pipeline] echo [2022-09-21T16:56:26.281Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-21T16:56:26.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T16:56:27.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T16:56:27.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T16:56:27.183Z] prd-ubuntu20.04-docker-8c-8g-446 does not seem to be running inside a container [2022-09-21T16:56:27.218Z] $ 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-152/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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T16:56:27.435Z] $ docker top 6c1d52118a21efb9abc13e8d1d604be385234e76708889d992e13eef10ba8002 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T16:56:27.772Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T16:56:28.058Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T16:56:28.343Z] + ls /var/log/sa-host [2022-09-21T16:56:28.343Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T16:56:28.482Z] provisioning config files... [2022-09-21T16:56:28.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config13980563493153837720tmp [Pipeline] { [Pipeline] echo [2022-09-21T16:56:28.501Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:28.778Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T16:56:28.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:29.103Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T16:56:29.111Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:29.394Z] ---> sudo-logs.sh [2022-09-21T16:56:29.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T16:56:29.420Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:29.703Z] ---> job-cost.sh [2022-09-21T16:56:29.703Z] lf-activate-venv: SKIPPING [2022-09-21T16:56:29.703Z] DEBUG: total: 0.2199999988079071 [2022-09-21T16:56:29.703Z] INFO: Retrieving Stack Cost... [2022-09-21T16:56:30.273Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T16:56:30.533Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T16:56:30.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T16:56:30.828Z] ---> logs-deploy.sh [2022-09-21T16:56:30.828Z] lf-activate-venv: SKIPPING [2022-09-21T16:56:30.828Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-152/5 [2022-09-21T16:56:30.828Z] INFO: archiving workspace using pattern(s): [2022-09-21T16:56:31.766Z] Archives upload complete. [2022-09-21T16:56:31.766Z] INFO: archiving logs to Nexus