Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 8cde03907317ddd70396338e707efcd965c83c2c 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-ssh6516840589808209759.key > 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-ssh13506741144211318326.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11092314440465835647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13822127437772170128.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4379449159554016095.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16420728217166793373.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-29303 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-161 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 8cde03907317ddd70396338e707efcd965c83c2c Merge succeeded, producing 3748a9a5c05b969ff34d619c79d238bb3e853e46 Checking out Revision 3748a9a5c05b969ff34d619c79d238bb3e853e46 (PR-161) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cde03907317ddd70396338e707efcd965c83c2c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3748a9a5c05b969ff34d619c79d238bb3e853e46 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-15T21:11:28.116Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-15T21:11:28.302Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-15T21:11:28.393Z] ========================================================= [2022-09-15T21:11:28.393Z] EdgeX Global Pipelines Version Info [2022-09-15T21:11:28.393Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:11:29.210Z] ------------------- [2022-09-15T21:11:29.210Z] stable info: [2022-09-15T21:11:29.210Z] ------------------- [2022-09-15T21:11:29.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-15T21:11:29.210Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T21:11:29.210Z] Message: update stable to v1.0.239 [2022-09-15T21:11:29.787Z] ------------------- [2022-09-15T21:11:29.787Z] experimental info: [2022-09-15T21:11:29.787Z] ------------------- [2022-09-15T21:11:29.787Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-15T21:11:29.787Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T21:11:29.787Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-15T21:11:30.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-15T21:11:30.172Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-15T21:11:30.215Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-15T21:11:30.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-15T21:11:30.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-15T21:11:30.331Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-15T21:11:30.367Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-15T21:11:30.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-15T21:11:30.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-15T21:11:30.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-15T21:11:30.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-15T21:11:30.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-15T21:11:30.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-15T21:11:30.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-15T21:11:30.666Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T21:11:30.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T21:11:30.741Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T21:11:30.778Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T21:11:30.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-15T21:11:30.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-15T21:11:30.884Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-15T21:11:30.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-15T21:11:30.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-15T21:11:31.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-15T21:11:31.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-15T21:11:31.078Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-15T21:11:31.118Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-15T21:11:31.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-15T21:11:31.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-15T21:11:31.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-15T21:11:31.277Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3748a9a5c05b969ff34d619c79d238bb3e853e46 [Pipeline] echo [2022-09-15T21:11:31.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3748a9a [Pipeline] echo [2022-09-15T21:11:31.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T21:11:31.487Z] provisioning config files... [2022-09-15T21:11:31.504Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config98057645050855976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:11:31.857Z] ---> docker-login.sh [2022-09-15T21:11:31.857Z] nexus3.edgexfoundry.org:10001 [2022-09-15T21:11:32.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:32.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:32.386Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:32.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:32.386Z] [2022-09-15T21:11:32.386Z] Login Succeeded [2022-09-15T21:11:32.386Z] nexus3.edgexfoundry.org:10002 [2022-09-15T21:11:32.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:32.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:32.646Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:32.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:32.646Z] [2022-09-15T21:11:32.646Z] Login Succeeded [2022-09-15T21:11:32.646Z] nexus3.edgexfoundry.org:10003 [2022-09-15T21:11:32.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:32.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:32.646Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:32.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:32.646Z] [2022-09-15T21:11:32.646Z] Login Succeeded [2022-09-15T21:11:32.646Z] nexus3.edgexfoundry.org:10004 [2022-09-15T21:11:32.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:32.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:32.909Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:32.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:32.909Z] [2022-09-15T21:11:32.909Z] Login Succeeded [2022-09-15T21:11:32.909Z] docker.io [2022-09-15T21:11:32.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:33.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:33.169Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:33.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:33.169Z] [2022-09-15T21:11:33.169Z] Login Succeeded [2022-09-15T21:11:33.169Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T21:11:33.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-15T21:11:33.824Z] + git rev-list -1 --merges 3748a9a5c05b969ff34d619c79d238bb3e853e46~1..3748a9a5c05b969ff34d619c79d238bb3e853e46 [Pipeline] echo [2022-09-15T21:11:33.866Z] -----------> git rev-list -1 --merges 3748a9a5c05b969ff34d619c79d238bb3e853e46~1..3748a9a5c05b969ff34d619c79d238bb3e853e46 3748a9a5c05b969ff34d619c79d238bb3e853e46 [2022-09-15T21:11:33.866Z] 3748a9a5c05b969ff34d619c79d238bb3e853e46 [false] [Pipeline] sh [2022-09-15T21:11:34.184Z] + git log --format=format:%s -1 3748a9a5c05b969ff34d619c79d238bb3e853e46 [Pipeline] echo [2022-09-15T21:11:34.219Z] ========================================================= [2022-09-15T21:11:34.219Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-15T21:11:34.219Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T21:11:34.652Z] + git log --format=format:%s -1 3748a9a5c05b969ff34d619c79d238bb3e853e46 [Pipeline] echo [2022-09-15T21:11:34.684Z] [semverPrep] GIT_COMMIT: 3748a9a5c05b969ff34d619c79d238bb3e853e46, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-15T21:11:34.713Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-15T21:11:35.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T21:11:35.130Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-15T21:11:35.130Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-15T21:11:35.130Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-15T21:11:35.130Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-15T21:11:35.130Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-15T21:11:35.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:11:35.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T21:11:35.626Z] [2022-09-15T21:11:35.626Z] 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-15T21:11:36.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T21:11:36.010Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-15T21:11:36.010Z] b85a868b505f: Pulling fs layer [2022-09-15T21:11:36.010Z] e2be974225ed: Pulling fs layer [2022-09-15T21:11:36.010Z] 339a4e72a1f5: Pulling fs layer [2022-09-15T21:11:36.010Z] 988bab9f4d93: Pulling fs layer [2022-09-15T21:11:36.010Z] 1469e6f7b9e6: Pulling fs layer [2022-09-15T21:11:36.010Z] eaf3925da568: Pulling fs layer [2022-09-15T21:11:36.010Z] 988bab9f4d93: Waiting [2022-09-15T21:11:36.010Z] 1469e6f7b9e6: Waiting [2022-09-15T21:11:36.010Z] eaf3925da568: Waiting [2022-09-15T21:11:36.010Z] bab4dde63d76: Pulling fs layer [2022-09-15T21:11:36.010Z] bde34c3a00c8: Pulling fs layer [2022-09-15T21:11:36.010Z] b352a97aabf1: Pulling fs layer [2022-09-15T21:11:36.010Z] 4872d77fe225: Pulling fs layer [2022-09-15T21:11:36.010Z] 5851b861e8e6: Pulling fs layer [2022-09-15T21:11:36.010Z] bde34c3a00c8: Waiting [2022-09-15T21:11:36.010Z] bab4dde63d76: Waiting [2022-09-15T21:11:36.010Z] b352a97aabf1: Waiting [2022-09-15T21:11:36.010Z] 4872d77fe225: Waiting [2022-09-15T21:11:36.010Z] 5851b861e8e6: Waiting [2022-09-15T21:11:36.010Z] e2be974225ed: Download complete [2022-09-15T21:11:36.010Z] 988bab9f4d93: Download complete [2022-09-15T21:11:36.276Z] 1469e6f7b9e6: Verifying Checksum [2022-09-15T21:11:36.276Z] 1469e6f7b9e6: Download complete [2022-09-15T21:11:36.276Z] eaf3925da568: Verifying Checksum [2022-09-15T21:11:36.276Z] eaf3925da568: Download complete [2022-09-15T21:11:36.276Z] 339a4e72a1f5: Verifying Checksum [2022-09-15T21:11:36.276Z] 339a4e72a1f5: Download complete [2022-09-15T21:11:36.276Z] bde34c3a00c8: Verifying Checksum [2022-09-15T21:11:36.276Z] bde34c3a00c8: Download complete [2022-09-15T21:11:36.276Z] b352a97aabf1: Download complete [2022-09-15T21:11:36.276Z] 4872d77fe225: Verifying Checksum [2022-09-15T21:11:36.276Z] 4872d77fe225: Download complete [2022-09-15T21:11:36.276Z] 5851b861e8e6: Verifying Checksum [2022-09-15T21:11:36.276Z] 5851b861e8e6: Download complete [2022-09-15T21:11:36.538Z] b85a868b505f: Verifying Checksum [2022-09-15T21:11:36.538Z] b85a868b505f: Download complete [2022-09-15T21:11:36.538Z] bab4dde63d76: Verifying Checksum [2022-09-15T21:11:36.538Z] bab4dde63d76: Download complete [2022-09-15T21:11:37.935Z] b85a868b505f: Pull complete [2022-09-15T21:11:37.935Z] e2be974225ed: Pull complete [2022-09-15T21:11:38.510Z] 339a4e72a1f5: Pull complete [2022-09-15T21:11:38.510Z] 988bab9f4d93: Pull complete [2022-09-15T21:11:39.086Z] 1469e6f7b9e6: Pull complete [2022-09-15T21:11:39.086Z] eaf3925da568: Pull complete [2022-09-15T21:11:41.001Z] bab4dde63d76: Pull complete [2022-09-15T21:11:41.263Z] bde34c3a00c8: Pull complete [2022-09-15T21:11:41.263Z] b352a97aabf1: Pull complete [2022-09-15T21:11:41.263Z] 4872d77fe225: Pull complete [2022-09-15T21:11:41.527Z] 5851b861e8e6: Pull complete [2022-09-15T21:11:41.527Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-15T21:11:41.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T21:11:41.527Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:11:41.770Z] prd-ubuntu20.04-docker-8c-8g-29303 does not seem to be running inside a container [2022-09-15T21:11:41.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-15T21:11:43.159Z] $ docker top fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 -eo pid,comm [2022-09-15T21:11:43.236Z] 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-15T21:11:43.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T21:11:43.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T21:11:43.364Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T21:11:43.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T21:11:43.513Z] $ docker exec fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 ssh-agent [2022-09-15T21:11:43.650Z] SSH_AUTH_SOCK=/tmp/ssh-78bAsCFlMKYO/agent.33 [2022-09-15T21:11:43.650Z] SSH_AGENT_PID=40 [2022-09-15T21:11:43.658Z] Running ssh-add (command line suppressed) [2022-09-15T21:11:43.791Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6718909093641863074.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6718909093641863074.key) [2022-09-15T21:11:43.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T21:11:44.149Z] + git tag --points-at HEAD [Pipeline] } [2022-09-15T21:11:44.180Z] $ docker exec --env ******** --env ******** fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 ssh-agent -k [2022-09-15T21:11:44.302Z] unset SSH_AUTH_SOCK; [2022-09-15T21:11:44.303Z] unset SSH_AGENT_PID; [2022-09-15T21:11:44.303Z] echo Agent pid 40 killed; [2022-09-15T21:11:44.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-15T21:11:44.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T21:11:44.402Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T21:11:44.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T21:11:44.547Z] $ docker exec fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 ssh-agent [2022-09-15T21:11:44.688Z] SSH_AUTH_SOCK=/tmp/ssh-CM9b0k1BJRxF/agent.73 [2022-09-15T21:11:44.688Z] SSH_AGENT_PID=79 [2022-09-15T21:11:44.695Z] Running ssh-add (command line suppressed) [2022-09-15T21:11:44.834Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1345910658420112942.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1345910658420112942.key) [2022-09-15T21:11:44.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T21:11:45.174Z] + git semver init [2022-09-15T21:11:45.437Z] 2022-09-15 21:11:45,399 [run_init] DEBUG init version:0.0.0 force:False [2022-09-15T21:11:45.437Z] 2022-09-15 21:11:45,399 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-15T21:11:45.437Z] 2022-09-15 21:11:45,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-15T21:11:45.437Z] 2022-09-15 21:11:45,400 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,363 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,363 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,364 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,368 [execute] INFO git cat-file --batch-check [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,374 [execute] INFO git cat-file --batch [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T21:11:46.382Z] 2022-09-15 21:11:46,382 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-15T21:11:46.382Z] 0.0.0 [Pipeline] } [2022-09-15T21:11:46.668Z] $ docker exec --env ******** --env ******** fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 ssh-agent -k [2022-09-15T21:11:46.793Z] unset SSH_AUTH_SOCK; [2022-09-15T21:11:46.793Z] unset SSH_AGENT_PID; [2022-09-15T21:11:46.793Z] echo Agent pid 79 killed; [2022-09-15T21:11:46.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T21:11:47.222Z] + git semver [Pipeline] } [2022-09-15T21:11:47.511Z] $ docker stop --time=1 fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 [2022-09-15T21:11:48.835Z] $ docker rm -f fd877b73128b5adaaa6cd55b296811783a1217c71a955763f427aa83434c38e8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T21:11:49.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-15T21:11:49.574Z] Stashed 1 file(s) [Pipeline] echo [2022-09-15T21:11:49.590Z] [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-15T21:11:50.153Z] provisioning config files... [2022-09-15T21:11:50.166Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1606341131771254284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:11:50.513Z] ---> docker-login.sh [2022-09-15T21:11:50.513Z] nexus3.edgexfoundry.org:10001 [2022-09-15T21:11:50.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:50.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:50.513Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:50.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:50.513Z] [2022-09-15T21:11:50.513Z] Login Succeeded [2022-09-15T21:11:50.513Z] nexus3.edgexfoundry.org:10002 [2022-09-15T21:11:50.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:50.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:50.785Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:50.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:50.785Z] [2022-09-15T21:11:50.785Z] Login Succeeded [2022-09-15T21:11:50.785Z] nexus3.edgexfoundry.org:10003 [2022-09-15T21:11:50.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:50.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:50.785Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:50.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:50.785Z] [2022-09-15T21:11:50.785Z] Login Succeeded [2022-09-15T21:11:50.785Z] nexus3.edgexfoundry.org:10004 [2022-09-15T21:11:51.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:51.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:51.047Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:51.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:51.047Z] [2022-09-15T21:11:51.047Z] Login Succeeded [2022-09-15T21:11:51.047Z] docker.io [2022-09-15T21:11:51.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:11:51.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:11:51.620Z] Configure a credential helper to remove this warning. See [2022-09-15T21:11:51.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:11:51.620Z] [2022-09-15T21:11:51.620Z] Login Succeeded [2022-09-15T21:11:51.620Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T21:11:51.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T21:11:51.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T21:11:51.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T21:11:51.901Z] ========================================================= [2022-09-15T21:11:51.901Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-15T21:11:51.901Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:11:52.394Z] + 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-15T21:11:52.394Z] Sending build context to Docker daemon 20.68MB [2022-09-15T21:11:52.394Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T21:11:52.394Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-15T21:11:52.656Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-15T21:11:52.656Z] 2408cc74d12b: Pulling fs layer [2022-09-15T21:11:52.656Z] ea60b727a1ce: Pulling fs layer [2022-09-15T21:11:52.656Z] 30c4a7721957: Pulling fs layer [2022-09-15T21:11:52.656Z] 370296b7ddb6: Pulling fs layer [2022-09-15T21:11:52.656Z] 7c6cee850709: Pulling fs layer [2022-09-15T21:11:52.656Z] 39a5fcdaea64: Pulling fs layer [2022-09-15T21:11:52.656Z] d94ebbe4e438: Pulling fs layer [2022-09-15T21:11:52.656Z] bcfd1f05c69d: Pulling fs layer [2022-09-15T21:11:52.656Z] 59ccb84bbe0f: Pulling fs layer [2022-09-15T21:11:52.656Z] 7c6cee850709: Waiting [2022-09-15T21:11:52.656Z] 39a5fcdaea64: Waiting [2022-09-15T21:11:52.656Z] d94ebbe4e438: Waiting [2022-09-15T21:11:52.656Z] 370296b7ddb6: Waiting [2022-09-15T21:11:52.656Z] bcfd1f05c69d: Waiting [2022-09-15T21:11:52.656Z] 59ccb84bbe0f: Waiting [2022-09-15T21:11:52.656Z] 30c4a7721957: Download complete [2022-09-15T21:11:52.656Z] ea60b727a1ce: Download complete [2022-09-15T21:11:52.657Z] 7c6cee850709: Download complete [2022-09-15T21:11:52.657Z] 39a5fcdaea64: Download complete [2022-09-15T21:11:52.657Z] 2408cc74d12b: Verifying Checksum [2022-09-15T21:11:52.657Z] 2408cc74d12b: Download complete [2022-09-15T21:11:52.657Z] d94ebbe4e438: Download complete [2022-09-15T21:11:52.924Z] 2408cc74d12b: Pull complete [2022-09-15T21:11:52.924Z] ea60b727a1ce: Pull complete [2022-09-15T21:11:53.187Z] 30c4a7721957: Pull complete [2022-09-15T21:11:53.187Z] 59ccb84bbe0f: Verifying Checksum [2022-09-15T21:11:53.187Z] 59ccb84bbe0f: Download complete [2022-09-15T21:11:53.446Z] 370296b7ddb6: Verifying Checksum [2022-09-15T21:11:53.446Z] 370296b7ddb6: Download complete [2022-09-15T21:11:53.446Z] bcfd1f05c69d: Verifying Checksum [2022-09-15T21:11:53.446Z] bcfd1f05c69d: Download complete [2022-09-15T21:11:58.735Z] 370296b7ddb6: Pull complete [2022-09-15T21:11:58.735Z] 7c6cee850709: Pull complete [2022-09-15T21:11:58.735Z] 39a5fcdaea64: Pull complete [2022-09-15T21:11:58.735Z] d94ebbe4e438: Pull complete [2022-09-15T21:12:00.642Z] bcfd1f05c69d: Pull complete [2022-09-15T21:12:01.587Z] 59ccb84bbe0f: Pull complete [2022-09-15T21:12:01.587Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-15T21:12:01.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T21:12:01.587Z] ---> a4fb48ad2a94 [2022-09-15T21:12:01.587Z] Step 3/13 : ARG MAKE="make build" [2022-09-15T21:12:03.535Z] ---> Running in 7c4f84e13f91 [2022-09-15T21:12:03.535Z] Removing intermediate container 7c4f84e13f91 [2022-09-15T21:12:03.535Z] ---> 137b85df1ec0 [2022-09-15T21:12:03.535Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T21:12:03.535Z] ---> Running in 5f0f52f8ae04 [2022-09-15T21:12:03.535Z] Removing intermediate container 5f0f52f8ae04 [2022-09-15T21:12:03.535Z] ---> 9edd7e6bdddc [2022-09-15T21:12:03.535Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T21:12:03.535Z] ---> Running in d8e34f81e112 [2022-09-15T21:12:03.535Z] Removing intermediate container d8e34f81e112 [2022-09-15T21:12:03.535Z] ---> dd1c53f48d27 [2022-09-15T21:12:03.535Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-15T21:12:03.535Z] ---> Running in 464db6934eac [2022-09-15T21:12:03.798Z] Removing intermediate container 464db6934eac [2022-09-15T21:12:03.798Z] ---> 49dc88512b79 [2022-09-15T21:12:03.798Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T21:12:03.798Z] ---> Running in 32c3f7cbff91 [2022-09-15T21:12:04.370Z] Removing intermediate container 32c3f7cbff91 [2022-09-15T21:12:04.370Z] ---> 31b46c3c6449 [2022-09-15T21:12:04.370Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T21:12:04.370Z] ---> Running in 879a5e1d2468 [2022-09-15T21:12:04.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T21:12:04.983Z] Still waiting to schedule task [2022-09-15T21:12:04.984Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-15T21:12:05.515Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T21:12:06.089Z] OK: 211 MiB in 51 packages [2022-09-15T21:12:06.349Z] Removing intermediate container 879a5e1d2468 [2022-09-15T21:12:06.349Z] ---> 0225d31db01a [2022-09-15T21:12:06.349Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-15T21:12:06.349Z] ---> Running in d83eace95051 [2022-09-15T21:12:06.349Z] Removing intermediate container d83eace95051 [2022-09-15T21:12:06.349Z] ---> c5169154abb2 [2022-09-15T21:12:06.349Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-15T21:12:06.612Z] ---> dd97aacde0d6 [2022-09-15T21:12:06.612Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T21:12:06.612Z] ---> Running in f5d6ca8bf4b2 [2022-09-15T21:12:33.207Z] Removing intermediate container f5d6ca8bf4b2 [2022-09-15T21:12:33.208Z] ---> 378e1ef03db1 [2022-09-15T21:12:33.208Z] Step 12/13 : COPY . . [2022-09-15T21:12:33.208Z] ---> 51a4c08f63fd [2022-09-15T21:12:33.208Z] Step 13/13 : RUN ${MAKE} [2022-09-15T21:12:33.208Z] ---> Running in 271c22783734 [2022-09-15T21:12:33.208Z] noop [2022-09-15T21:12:33.208Z] Removing intermediate container 271c22783734 [2022-09-15T21:12:33.208Z] ---> c96a44859cf4 [2022-09-15T21:12:33.208Z] Successfully built c96a44859cf4 [2022-09-15T21:12:33.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:12:33.656Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T21:12:33.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:12:33.818Z] prd-ubuntu20.04-docker-8c-8g-29303 does not seem to be running inside a container [2022-09-15T21:12:33.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-15T21:12:34.284Z] $ docker top 163c42ffba4254332fe36c6d595aad9fe977722a0c236692ec41f23e13afac97 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T21:12:34.691Z] + go version [2022-09-15T21:12:34.691Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-15T21:12:34.722Z] $ docker stop --time=1 163c42ffba4254332fe36c6d595aad9fe977722a0c236692ec41f23e13afac97 [2022-09-15T21:12:36.045Z] $ docker rm -f 163c42ffba4254332fe36c6d595aad9fe977722a0c236692ec41f23e13afac97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:12:36.768Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T21:12:36.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:12:37.008Z] prd-ubuntu20.04-docker-8c-8g-29303 does not seem to be running inside a container [2022-09-15T21:12:37.069Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-15T21:12:37.505Z] $ docker top 0ad3772cbcff1cb709cd65b9c1fbc04ed2ed5fe6ee4630355c48d43e007699a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T21:12:37.918Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-15T21:12:38.284Z] + make test [2022-09-15T21:12:38.285Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-15T21:12:38.854Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-15T21:12:51.073Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-15T21:12:51.073Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.6% of statements [2022-09-15T21:12:51.073Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-15T21:12:55.280Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.353s coverage: 13.8% of statements [2022-09-15T21:13:03.417Z] 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-15T21:13:03.417Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T21:13:06.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T21:13:06.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T21:13:06.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-15T21:13:06.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T21:13:06.780Z] $ docker stop --time=1 0ad3772cbcff1cb709cd65b9c1fbc04ed2ed5fe6ee4630355c48d43e007699a8 [2022-09-15T21:13:08.463Z] $ docker rm -f 0ad3772cbcff1cb709cd65b9c1fbc04ed2ed5fe6ee4630355c48d43e007699a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T21:13:09.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T21:13:09.092Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-15T21:13:09.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T21:13:10.084Z] + ls -al . [2022-09-15T21:13:10.084Z] total 232 [2022-09-15T21:13:10.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 21:12 . [2022-09-15T21:13:10.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:11 .. [2022-09-15T21:13:10.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 21:12 .git [2022-09-15T21:13:10.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 21:11 .github [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 15 21:11 .gitignore [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 15 21:11 .golangci.yml [2022-09-15T21:13:10.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 21:11 .semver [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 15 21:11 Attribution.txt [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 15 21:11 CHANGELOG.md [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 15 21:11 Dockerfile [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 21:11 GOVERNANCE.md [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 15 21:11 Jenkinsfile [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 15 21:11 LICENSE [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 15 21:11 Makefile [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 15 21:11 OWNERS.md [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 15 21:11 README.md [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 21:11 VERSION [2022-09-15T21:13:10.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 21:11 bin [2022-09-15T21:13:10.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 21:11 cmd [2022-09-15T21:13:10.084Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 15 21:12 coverage.out [2022-09-15T21:13:10.084Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 15 21:11 doc [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 15 21:11 go.mod [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 15 21:11 go.sum [2022-09-15T21:13:10.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:11 internal [2022-09-15T21:13:10.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:11 snap [2022-09-15T21:13:10.084Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 15 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:13:10.487Z] + 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=3748a9a5c05b969ff34d619c79d238bb3e853e46 --label arch=amd64 --label version=0.0.0 . [2022-09-15T21:13:10.487Z] Sending build context to Docker daemon 20.75MB [2022-09-15T21:13:10.487Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T21:13:10.487Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-15T21:13:10.487Z] ---> c96a44859cf4 [2022-09-15T21:13:10.487Z] Step 3/26 : ARG MAKE="make build" [2022-09-15T21:13:10.748Z] ---> Running in 6c3ba5c97cb7 [2022-09-15T21:13:10.749Z] Removing intermediate container 6c3ba5c97cb7 [2022-09-15T21:13:10.749Z] ---> 218492dd4c96 [2022-09-15T21:13:10.749Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T21:13:10.749Z] ---> Running in 1add9e281d48 [2022-09-15T21:13:11.009Z] Removing intermediate container 1add9e281d48 [2022-09-15T21:13:11.009Z] ---> 9bdf4b504b88 [2022-09-15T21:13:11.009Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T21:13:11.009Z] ---> Running in 6f0865eda70c [2022-09-15T21:13:11.009Z] Removing intermediate container 6f0865eda70c [2022-09-15T21:13:11.009Z] ---> 933cb3f444c6 [2022-09-15T21:13:11.009Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-15T21:13:11.009Z] ---> Running in a40e64433221 [2022-09-15T21:13:11.273Z] Removing intermediate container a40e64433221 [2022-09-15T21:13:11.274Z] ---> 1f8bf6478715 [2022-09-15T21:13:11.274Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T21:13:11.274Z] ---> Running in 250f405538a7 [2022-09-15T21:13:11.844Z] Removing intermediate container 250f405538a7 [2022-09-15T21:13:11.844Z] ---> 40d9d014f1da [2022-09-15T21:13:11.844Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T21:13:11.844Z] ---> Running in 4f1d6b52237b [2022-09-15T21:13:12.106Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T21:13:13.048Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T21:13:13.309Z] OK: 211 MiB in 51 packages [2022-09-15T21:13:13.568Z] Removing intermediate container 4f1d6b52237b [2022-09-15T21:13:13.568Z] ---> e1c2ce4ee55b [2022-09-15T21:13:13.568Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-15T21:13:13.568Z] ---> Running in 863dedc463ce [2022-09-15T21:13:13.829Z] Removing intermediate container 863dedc463ce [2022-09-15T21:13:13.829Z] ---> 62018a5a210c [2022-09-15T21:13:13.829Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-15T21:13:13.829Z] ---> 59a5db25996e [2022-09-15T21:13:13.829Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T21:13:14.090Z] ---> Running in 3806feb7ebe3 [2022-09-15T21:13:14.663Z] Removing intermediate container 3806feb7ebe3 [2022-09-15T21:13:14.663Z] ---> d6a6497118de [2022-09-15T21:13:14.663Z] Step 12/26 : COPY . . [2022-09-15T21:13:15.235Z] ---> 77638893ccb2 [2022-09-15T21:13:15.235Z] Step 13/26 : RUN ${MAKE} [2022-09-15T21:13:15.235Z] ---> Running in cfae0e556dab [2022-09-15T21:13:15.495Z] 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-15T21:13:36.086Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29304 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-15T21:13:36.125Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-15T21:13:36.207Z] Selected Git installation does not exist. Using Default [2022-09-15T21:13:36.207Z] The recommended git tool is: NONE [2022-09-15T21:13:42.063Z] Removing intermediate container cfae0e556dab [2022-09-15T21:13:42.063Z] ---> b0760fcf5d0e [2022-09-15T21:13:42.063Z] Step 14/26 : FROM alpine:3.16 [2022-09-15T21:13:42.063Z] 3.16: Pulling from library/alpine [2022-09-15T21:13:42.063Z] 213ec9aee27d: Pulling fs layer [2022-09-15T21:13:42.063Z] 213ec9aee27d: Verifying Checksum [2022-09-15T21:13:42.063Z] 213ec9aee27d: Download complete [2022-09-15T21:13:42.063Z] 213ec9aee27d: Pull complete [2022-09-15T21:13:42.063Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-15T21:13:42.063Z] Status: Downloaded newer image for alpine:3.16 [2022-09-15T21:13:42.063Z] ---> 9c6f07244728 [2022-09-15T21:13:42.063Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-15T21:13:42.063Z] ---> Running in 679105f87da3 [2022-09-15T21:13:42.063Z] Removing intermediate container 679105f87da3 [2022-09-15T21:13:42.063Z] ---> 25339eaa7630 [2022-09-15T21:13:42.063Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T21:13:42.063Z] ---> Running in 07d79e47ad74 [2022-09-15T21:13:42.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T21:13:42.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T21:13:42.063Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T21:13:42.063Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-15T21:13:42.063Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T21:13:42.063Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-15T21:13:42.063Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T21:13:42.063Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T21:13:42.063Z] Executing busybox-1.35.0-r17.trigger [2022-09-15T21:13:42.063Z] OK: 8 MiB in 20 packages [2022-09-15T21:13:42.063Z] Removing intermediate container 07d79e47ad74 [2022-09-15T21:13:42.063Z] ---> f214571c088b [2022-09-15T21:13:42.063Z] Step 17/26 : WORKDIR / [2022-09-15T21:13:42.063Z] ---> Running in 71037d3856da [2022-09-15T21:13:42.063Z] Removing intermediate container 71037d3856da [2022-09-15T21:13:42.063Z] ---> 8f739a114030 [2022-09-15T21:13:42.063Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-15T21:13:42.063Z] ---> 1c10a45a9f7e [2022-09-15T21:13:42.063Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-15T21:13:42.063Z] ---> 4de0c8663554 [2022-09-15T21:13:42.063Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-15T21:13:42.063Z] ---> 5ad310b5b115 [2022-09-15T21:13:42.063Z] Step 21/26 : EXPOSE 59984 [2022-09-15T21:13:42.063Z] ---> Running in 76a89e5130e1 [2022-09-15T21:13:42.063Z] Removing intermediate container 76a89e5130e1 [2022-09-15T21:13:42.063Z] ---> df306b9a3778 [2022-09-15T21:13:42.063Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-15T21:13:42.063Z] ---> Running in 40ef1b8b0048 [2022-09-15T21:13:42.063Z] Removing intermediate container 40ef1b8b0048 [2022-09-15T21:13:42.063Z] ---> 4f54369941fc [2022-09-15T21:13:42.063Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-15T21:13:42.063Z] ---> Running in d5d70af272d2 [2022-09-15T21:13:42.063Z] Removing intermediate container d5d70af272d2 [2022-09-15T21:13:42.063Z] ---> 96875eb342cd [2022-09-15T21:13:42.063Z] Step 24/26 : LABEL arch=amd64 [2022-09-15T21:13:42.063Z] ---> Running in 240c775c911d [2022-09-15T21:13:42.063Z] Removing intermediate container 240c775c911d [2022-09-15T21:13:42.063Z] ---> 4f799957d0f0 [2022-09-15T21:13:42.063Z] Step 25/26 : LABEL git_sha=3748a9a5c05b969ff34d619c79d238bb3e853e46 [2022-09-15T21:13:42.063Z] ---> Running in 7e58da00630a [2022-09-15T21:13:42.063Z] Removing intermediate container 7e58da00630a [2022-09-15T21:13:42.063Z] ---> bba5f0e87d60 [2022-09-15T21:13:42.063Z] Step 26/26 : LABEL version=0.0.0 [2022-09-15T21:13:42.063Z] ---> Running in 91d08cd116db [2022-09-15T21:13:42.063Z] Removing intermediate container 91d08cd116db [2022-09-15T21:13:42.063Z] ---> 11b0045518e4 [2022-09-15T21:13:42.063Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T21:13:42.063Z] Successfully built 11b0045518e4 [2022-09-15T21:13:42.063Z] 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-15T21:13:42.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T21:13:42.906Z] [2022-09-15T21:13:42.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:13:43.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T21:13:43.277Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-15T21:13:43.277Z] 5eb5b503b376: Pulling fs layer [2022-09-15T21:13:43.277Z] 5c69ac0246d0: Pulling fs layer [2022-09-15T21:13:43.277Z] ec43610c2a17: Pulling fs layer [2022-09-15T21:13:43.277Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-15T21:13:43.277Z] 33b1e0a273af: Pulling fs layer [2022-09-15T21:13:43.277Z] 5d3b04190fa2: Pulling fs layer [2022-09-15T21:13:43.277Z] 2f39f015ded8: Pulling fs layer [2022-09-15T21:13:43.277Z] 3a2ae6a8a46f: Waiting [2022-09-15T21:13:43.277Z] 2f39f015ded8: Waiting [2022-09-15T21:13:43.277Z] 5c69ac0246d0: Download complete [2022-09-15T21:13:43.277Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-15T21:13:43.277Z] 3a2ae6a8a46f: Download complete [2022-09-15T21:13:43.464Z] using credential edgex-jenkins-ssh [2022-09-15T21:13:43.482Z] Cloning the remote Git repository [2022-09-15T21:13:43.539Z] 33b1e0a273af: Verifying Checksum [2022-09-15T21:13:43.539Z] 33b1e0a273af: Download complete [2022-09-15T21:13:43.539Z] 5d3b04190fa2: Download complete [2022-09-15T21:13:43.539Z] ec43610c2a17: Verifying Checksum [2022-09-15T21:13:43.539Z] ec43610c2a17: Download complete [2022-09-15T21:13:43.539Z] 5eb5b503b376: Verifying Checksum [2022-09-15T21:13:43.539Z] 5eb5b503b376: Download complete [2022-09-15T21:13:43.561Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-15T21:13:43.675Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-15T21:13:43.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-15T21:13:43.793Z] > git --version # timeout=10 [2022-09-15T21:13:43.823Z] > git --version # 'git version 2.25.1' [2022-09-15T21:13:43.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T21:13:44.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T21:13:44.479Z] 2f39f015ded8: Download complete [2022-09-15T21:13:45.048Z] 5eb5b503b376: Pull complete [2022-09-15T21:13:45.048Z] 5c69ac0246d0: Pull complete [2022-09-15T21:13:45.618Z] ec43610c2a17: Pull complete [2022-09-15T21:13:45.618Z] 3a2ae6a8a46f: Pull complete [2022-09-15T21:13:45.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-15T21:13:45.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T21:13:45.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-15T21:13:45.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-15T21:13:45.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T21:13:45.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-15T21:13:45.880Z] 33b1e0a273af: Pull complete [2022-09-15T21:13:46.062Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 8cde03907317ddd70396338e707efcd965c83c2c [2022-09-15T21:13:46.141Z] 5d3b04190fa2: Pull complete [2022-09-15T21:13:46.765Z] Merge succeeded, producing ba68ce7de06218551ad6889b53b44f342c4e0825 [2022-09-15T21:13:46.766Z] Checking out Revision ba68ce7de06218551ad6889b53b44f342c4e0825 (PR-161) [2022-09-15T21:13:46.085Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T21:13:46.102Z] > git checkout -f 8cde03907317ddd70396338e707efcd965c83c2c # timeout=10 [2022-09-15T21:13:46.324Z] > git remote # timeout=10 [2022-09-15T21:13:46.345Z] > git config --get remote.origin.url # timeout=10 [2022-09-15T21:13:46.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T21:13:46.373Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-15T21:13:46.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-15T21:13:46.775Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T21:13:46.790Z] > git checkout -f ba68ce7de06218551ad6889b53b44f342c4e0825 # timeout=10 [2022-09-15T21:13:51.093Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-15T21:13:51.093Z] First time build. Skipping changelog. [2022-09-15T21:13:51.150Z] > git --version # timeout=10 [2022-09-15T21:13:51.160Z] > git --version # 'git version 2.25.1' [2022-09-15T21:13:51.175Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T21:13:51.427Z] 2f39f015ded8: Pull complete [2022-09-15T21:13:51.427Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-15T21:13:51.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T21:13:51.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2022-09-15T21:13:51.587Z] [2022-09-15T21:13:51.587Z] GitHub has been notified of this commit’s build result [2022-09-15T21:13:51.587Z] [Pipeline] withDockerContainer [2022-09-15T21:13:51.656Z] prd-ubuntu20.04-docker-8c-8g-29303 does not seem to be running inside a container [2022-09-15T21:13:51.698Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-15T21:13:53.243Z] $ docker top 165cc9c12991805fb4b86f74eee6c487842e7b4bb418a5c405dedef467ca67ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-09-15T21:13:53.725Z] ---> job-cost.sh [2022-09-15T21:13:53.725Z] lf-activate-venv: SKIPPING [2022-09-15T21:13:53.725Z] INFO: No Stack... [Pipeline] sh [2022-09-15T21:13:53.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T21:13:54.225Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-15T21:13:54.225Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T21:13:54.225Z] Dload Upload Total Spent Left Speed [2022-09-15T21:13:54.225Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 82907 [2022-09-15T21:13:54.558Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-09-15T21:13:54.879Z] + cut -d, -f6 [2022-09-15T21:13:54.879Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [Pipeline] lock [2022-09-15T21:13:54.918Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [2022-09-15T21:13:54.923Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] did not exist. Created. [2022-09-15T21:13:54.923Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T21:13:55.078Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-15T21:13:55.327Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-15T21:13:55.381Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T21:13:55.404Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [2022-09-15T21:13:55.452Z] + + sudosudo tee /etc/docker/daemon.new [2022-09-15T21:13:55.452Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-15T21:13:55.452Z] { [2022-09-15T21:13:55.452Z] "registry-mirrors": [ [2022-09-15T21:13:55.452Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-15T21:13:55.452Z] ], [2022-09-15T21:13:55.452Z] "bip": "10.250.0.254/24", [2022-09-15T21:13:55.452Z] "hosts": [ [2022-09-15T21:13:55.452Z] "tcp://0.0.0.0:5555", [2022-09-15T21:13:55.452Z] "unix:///var/run/docker.sock" [2022-09-15T21:13:55.452Z] ], [2022-09-15T21:13:55.452Z] "mtu": 1458, [2022-09-15T21:13:55.452Z] "selinux-enabled": true, [2022-09-15T21:13:55.452Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-15T21:13:55.452Z] } [Pipeline] // lock [Pipeline] } [2022-09-15T21:13:55.503Z] $ docker stop --time=1 165cc9c12991805fb4b86f74eee6c487842e7b4bb418a5c405dedef467ca67ff [2022-09-15T21:13:56.686Z] $ docker rm -f 165cc9c12991805fb4b86f74eee6c487842e7b4bb418a5c405dedef467ca67ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-15T21:13:57.137Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-15T21:13:57.486Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T21:14:16.049Z] provisioning config files... [2022-09-15T21:14:16.072Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3180577949976191392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:14:16.477Z] ---> docker-login.sh [2022-09-15T21:14:16.477Z] nexus3.edgexfoundry.org:10001 [2022-09-15T21:14:17.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:14:17.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:14:17.350Z] Configure a credential helper to remove this warning. See [2022-09-15T21:14:17.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:14:17.350Z] [2022-09-15T21:14:17.350Z] Login Succeeded [2022-09-15T21:14:17.350Z] nexus3.edgexfoundry.org:10002 [2022-09-15T21:14:17.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:14:17.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:14:17.622Z] Configure a credential helper to remove this warning. See [2022-09-15T21:14:17.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:14:17.622Z] [2022-09-15T21:14:17.622Z] Login Succeeded [2022-09-15T21:14:17.622Z] nexus3.edgexfoundry.org:10003 [2022-09-15T21:14:18.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:14:18.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:14:18.220Z] Configure a credential helper to remove this warning. See [2022-09-15T21:14:18.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:14:18.220Z] [2022-09-15T21:14:18.220Z] Login Succeeded [2022-09-15T21:14:18.220Z] nexus3.edgexfoundry.org:10004 [2022-09-15T21:14:18.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:14:18.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:14:18.497Z] Configure a credential helper to remove this warning. See [2022-09-15T21:14:18.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:14:18.497Z] [2022-09-15T21:14:18.497Z] Login Succeeded [2022-09-15T21:14:18.497Z] docker.io [2022-09-15T21:14:18.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T21:14:19.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T21:14:19.375Z] Configure a credential helper to remove this warning. See [2022-09-15T21:14:19.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T21:14:19.375Z] [2022-09-15T21:14:19.375Z] Login Succeeded [2022-09-15T21:14:19.375Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T21:14:19.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T21:14:19.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T21:14:19.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T21:14:19.858Z] ========================================================= [2022-09-15T21:14:19.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-15T21:14:19.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:14:20.360Z] + 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-15T21:14:20.980Z] Sending build context to Docker daemon 14.16MB [2022-09-15T21:14:20.980Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T21:14:20.980Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-15T21:14:20.980Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-15T21:14:20.980Z] b3c136eddcbf: Pulling fs layer [2022-09-15T21:14:20.980Z] c0a3192eca97: Pulling fs layer [2022-09-15T21:14:20.980Z] a050256f5b6f: Pulling fs layer [2022-09-15T21:14:20.980Z] 656be50a0ddc: Pulling fs layer [2022-09-15T21:14:20.980Z] 2bbca73fdf42: Pulling fs layer [2022-09-15T21:14:20.980Z] 46d945488cbd: Pulling fs layer [2022-09-15T21:14:20.980Z] 8a5474983e97: Pulling fs layer [2022-09-15T21:14:20.980Z] 329c88fbcd65: Pulling fs layer [2022-09-15T21:14:20.980Z] 46d945488cbd: Waiting [2022-09-15T21:14:20.980Z] 656be50a0ddc: Waiting [2022-09-15T21:14:20.980Z] 2bbca73fdf42: Waiting [2022-09-15T21:14:20.980Z] 8a5474983e97: Waiting [2022-09-15T21:14:20.980Z] 329c88fbcd65: Waiting [2022-09-15T21:14:20.980Z] a050256f5b6f: Download complete [2022-09-15T21:14:20.980Z] c0a3192eca97: Verifying Checksum [2022-09-15T21:14:20.980Z] c0a3192eca97: Download complete [2022-09-15T21:14:21.258Z] 2bbca73fdf42: Download complete [2022-09-15T21:14:21.258Z] 46d945488cbd: Download complete [2022-09-15T21:14:21.258Z] b3c136eddcbf: Verifying Checksum [2022-09-15T21:14:21.258Z] b3c136eddcbf: Download complete [2022-09-15T21:14:22.477Z] b3c136eddcbf: Pull complete [2022-09-15T21:14:22.477Z] 329c88fbcd65: Verifying Checksum [2022-09-15T21:14:22.477Z] 329c88fbcd65: Download complete [2022-09-15T21:14:23.078Z] c0a3192eca97: Pull complete [2022-09-15T21:14:23.355Z] a050256f5b6f: Pull complete [2022-09-15T21:14:23.629Z] 8a5474983e97: Verifying Checksum [2022-09-15T21:14:23.629Z] 8a5474983e97: Download complete [2022-09-15T21:14:24.228Z] 656be50a0ddc: Download complete [2022-09-15T21:14:36.645Z] 656be50a0ddc: Pull complete [2022-09-15T21:14:36.918Z] 2bbca73fdf42: Pull complete [2022-09-15T21:14:37.194Z] 46d945488cbd: Pull complete [2022-09-15T21:14:43.927Z] 8a5474983e97: Pull complete [2022-09-15T21:14:45.370Z] 329c88fbcd65: Pull complete [2022-09-15T21:14:45.370Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-15T21:14:45.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T21:14:45.370Z] ---> ff4287adb874 [2022-09-15T21:14:45.370Z] Step 3/13 : ARG MAKE="make build" [2022-09-15T21:14:47.359Z] ---> Running in 4c035f64e5db [2022-09-15T21:14:47.635Z] Removing intermediate container 4c035f64e5db [2022-09-15T21:14:47.635Z] ---> af94feec7908 [2022-09-15T21:14:47.635Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T21:14:47.635Z] ---> Running in 95dc6367288a [2022-09-15T21:14:48.235Z] Removing intermediate container 95dc6367288a [2022-09-15T21:14:48.235Z] ---> 9720fdcdc76e [2022-09-15T21:14:48.236Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T21:14:48.236Z] ---> Running in 974efce4a668 [2022-09-15T21:14:48.510Z] Removing intermediate container 974efce4a668 [2022-09-15T21:14:48.510Z] ---> 0b076dd77548 [2022-09-15T21:14:48.510Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-15T21:14:48.510Z] ---> Running in 8fb9714f2438 [2022-09-15T21:14:48.792Z] Removing intermediate container 8fb9714f2438 [2022-09-15T21:14:48.792Z] ---> 25ca2473598b [2022-09-15T21:14:48.792Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T21:14:48.792Z] ---> Running in 62595ac82144 [2022-09-15T21:14:50.800Z] Removing intermediate container 62595ac82144 [2022-09-15T21:14:50.800Z] ---> d2968578d9d1 [2022-09-15T21:14:50.800Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T21:14:50.800Z] ---> Running in a09163fd8aa8 [2022-09-15T21:14:51.805Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T21:14:52.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T21:14:53.380Z] OK: 221 MiB in 51 packages [2022-09-15T21:14:54.363Z] Removing intermediate container a09163fd8aa8 [2022-09-15T21:14:54.363Z] ---> 7c5d9ad15ea8 [2022-09-15T21:14:54.363Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-15T21:14:54.363Z] ---> Running in 7d695fdc8fbe [2022-09-15T21:14:54.637Z] Removing intermediate container 7d695fdc8fbe [2022-09-15T21:14:54.637Z] ---> 69a346ad3766 [2022-09-15T21:14:54.637Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-15T21:14:55.235Z] ---> 989d3f03fd6f [2022-09-15T21:14:55.235Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T21:14:55.235Z] ---> Running in d65421ea1d80 [2022-09-15T21:15:51.790Z] Removing intermediate container d65421ea1d80 [2022-09-15T21:15:51.790Z] ---> ae178e16ca3b [2022-09-15T21:15:51.790Z] Step 12/13 : COPY . . [2022-09-15T21:15:51.790Z] ---> 5ec6f76ba737 [2022-09-15T21:15:51.790Z] Step 13/13 : RUN ${MAKE} [2022-09-15T21:15:51.790Z] ---> Running in b95e6826bd42 [2022-09-15T21:15:51.790Z] noop [2022-09-15T21:15:51.790Z] Removing intermediate container b95e6826bd42 [2022-09-15T21:15:51.790Z] ---> bb02ff241321 [2022-09-15T21:15:51.790Z] Successfully built bb02ff241321 [2022-09-15T21:15:51.790Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:15:52.299Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T21:15:52.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:15:52.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-29304 does not seem to be running inside a container [2022-09-15T21:15:52.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-15T21:15:53.906Z] $ docker top c1ee107c7d7e3b3fab1bb39e0467a6556f0e146ec158309ef2c1dac6346e234d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T21:15:54.837Z] + go version [2022-09-15T21:15:54.837Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-15T21:15:54.873Z] $ docker stop --time=1 c1ee107c7d7e3b3fab1bb39e0467a6556f0e146ec158309ef2c1dac6346e234d [2022-09-15T21:15:56.497Z] $ docker rm -f c1ee107c7d7e3b3fab1bb39e0467a6556f0e146ec158309ef2c1dac6346e234d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:15:57.374Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T21:15:57.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:15:57.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-29304 does not seem to be running inside a container [2022-09-15T21:15:57.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-15T21:15:58.906Z] $ docker top 7b99a8b29cc6c4aaea29a327f0157cab2904d2204a6a97fa7a6af549a262dc01 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T21:15:59.826Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-15T21:16:00.553Z] + make test [2022-09-15T21:16:00.553Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-15T21:16:01.995Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-15T21:17:23.866Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-15T21:17:32.205Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.182s coverage: 28.6% of statements [2022-09-15T21:17:32.205Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-15T21:17:59.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.409s coverage: 13.8% of statements [2022-09-15T21:17:59.003Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-15T21:17:59.003Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T21:18:17.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T21:18:17.340Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T21:18:17.340Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-15T21:18:17.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T21:18:17.406Z] $ docker stop --time=1 7b99a8b29cc6c4aaea29a327f0157cab2904d2204a6a97fa7a6af549a262dc01 [2022-09-15T21:18:19.114Z] $ docker rm -f 7b99a8b29cc6c4aaea29a327f0157cab2904d2204a6a97fa7a6af549a262dc01 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T21:18:20.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T21:18:20.166Z] Warning: overwriting stash ‘coverage-report’ [2022-09-15T21:18:20.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T21:18:21.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T21:18:21.659Z] + ls -al . [2022-09-15T21:18:21.659Z] total 228 [2022-09-15T21:18:21.659Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 21:16 . [2022-09-15T21:18:21.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:13 .. [2022-09-15T21:18:21.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 21:13 .git [2022-09-15T21:18:21.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 21:13 .github [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 15 21:13 .gitignore [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 15 21:13 .golangci.yml [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 15 21:13 Attribution.txt [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 15 21:13 CHANGELOG.md [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 15 21:13 Dockerfile [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 21:13 GOVERNANCE.md [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 15 21:13 Jenkinsfile [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 15 21:13 LICENSE [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 15 21:13 Makefile [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 15 21:13 OWNERS.md [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 15 21:13 README.md [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 21:11 VERSION [2022-09-15T21:18:21.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 21:13 bin [2022-09-15T21:18:21.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 21:13 cmd [2022-09-15T21:18:21.659Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 15 21:17 coverage.out [2022-09-15T21:18:21.659Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 15 21:13 doc [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 15 21:13 go.mod [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 15 21:13 go.sum [2022-09-15T21:18:21.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:13 internal [2022-09-15T21:18:21.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 21:13 snap [2022-09-15T21:18:21.659Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 15 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:18:22.097Z] + 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=ba68ce7de06218551ad6889b53b44f342c4e0825 --label arch=arm64 --label version=0.0.0 . [2022-09-15T21:18:22.698Z] Sending build context to Docker daemon 14.24MB [2022-09-15T21:18:22.698Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T21:18:22.698Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-15T21:18:22.698Z] ---> bb02ff241321 [2022-09-15T21:18:22.698Z] Step 3/26 : ARG MAKE="make build" [2022-09-15T21:18:22.698Z] ---> Running in 278954960ca6 [2022-09-15T21:18:22.974Z] Removing intermediate container 278954960ca6 [2022-09-15T21:18:22.974Z] ---> f38e67e0cc49 [2022-09-15T21:18:22.974Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T21:18:23.251Z] ---> Running in b5219e86b110 [2022-09-15T21:18:23.526Z] Removing intermediate container b5219e86b110 [2022-09-15T21:18:23.526Z] ---> a4ca5fa37150 [2022-09-15T21:18:23.526Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T21:18:23.526Z] ---> Running in 6a0c630968a6 [2022-09-15T21:18:23.802Z] Removing intermediate container 6a0c630968a6 [2022-09-15T21:18:23.802Z] ---> 381f58ff38fb [2022-09-15T21:18:23.802Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-15T21:18:23.802Z] ---> Running in 5be298de755b [2022-09-15T21:18:24.078Z] Removing intermediate container 5be298de755b [2022-09-15T21:18:24.078Z] ---> 94113850cef7 [2022-09-15T21:18:24.078Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T21:18:24.365Z] ---> Running in 71c245cbe443 [2022-09-15T21:18:25.843Z] Removing intermediate container 71c245cbe443 [2022-09-15T21:18:25.843Z] ---> 2e61b3ed7de7 [2022-09-15T21:18:25.843Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T21:18:25.843Z] ---> Running in 739ff2c45e16 [2022-09-15T21:18:26.836Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T21:18:27.815Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T21:18:28.797Z] OK: 221 MiB in 51 packages [2022-09-15T21:18:29.398Z] Removing intermediate container 739ff2c45e16 [2022-09-15T21:18:29.398Z] ---> e9857fccd3a2 [2022-09-15T21:18:29.398Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-15T21:18:29.674Z] ---> Running in 1ec632d9ffc6 [2022-09-15T21:18:29.950Z] Removing intermediate container 1ec632d9ffc6 [2022-09-15T21:18:29.950Z] ---> 3dbf30a72074 [2022-09-15T21:18:29.950Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-15T21:18:30.554Z] ---> ca094639bdb6 [2022-09-15T21:18:30.554Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T21:18:30.554Z] ---> Running in a21b8f754549 [2022-09-15T21:18:32.539Z] Removing intermediate container a21b8f754549 [2022-09-15T21:18:32.539Z] ---> a3ec0e960843 [2022-09-15T21:18:32.539Z] Step 12/26 : COPY . . [2022-09-15T21:18:33.981Z] ---> 50a51d39a311 [2022-09-15T21:18:33.981Z] Step 13/26 : RUN ${MAKE} [2022-09-15T21:18:34.264Z] ---> Running in 1f3d690b7313 [2022-09-15T21:18:35.246Z] 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-15T21:20:42.158Z] Removing intermediate container 1f3d690b7313 [2022-09-15T21:20:42.158Z] ---> 3f5d0ec12e16 [2022-09-15T21:20:42.158Z] Step 14/26 : FROM alpine:3.16 [2022-09-15T21:20:42.158Z] 3.16: Pulling from library/alpine [2022-09-15T21:20:42.158Z] 9b18e9b68314: Pulling fs layer [2022-09-15T21:20:42.158Z] 9b18e9b68314: Verifying Checksum [2022-09-15T21:20:42.158Z] 9b18e9b68314: Download complete [2022-09-15T21:20:42.755Z] 9b18e9b68314: Pull complete [2022-09-15T21:20:42.755Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-15T21:20:42.755Z] Status: Downloaded newer image for alpine:3.16 [2022-09-15T21:20:42.755Z] ---> a6215f271958 [2022-09-15T21:20:42.755Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-15T21:20:42.755Z] ---> Running in eca385f6cf34 [2022-09-15T21:20:43.034Z] Removing intermediate container eca385f6cf34 [2022-09-15T21:20:43.034Z] ---> b543f898ea31 [2022-09-15T21:20:43.034Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T21:20:43.312Z] ---> Running in fb5d7aa31701 [2022-09-15T21:20:44.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T21:20:44.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T21:20:45.168Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T21:20:45.168Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-15T21:20:45.168Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T21:20:45.442Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-15T21:20:45.442Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T21:20:45.442Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T21:20:45.442Z] Executing busybox-1.35.0-r17.trigger [2022-09-15T21:20:45.442Z] OK: 8 MiB in 20 packages [2022-09-15T21:20:46.427Z] Removing intermediate container fb5d7aa31701 [2022-09-15T21:20:46.427Z] ---> e1f5034ce0a3 [2022-09-15T21:20:46.427Z] Step 17/26 : WORKDIR / [2022-09-15T21:20:46.427Z] ---> Running in 1b6e1b5346fa [2022-09-15T21:20:46.704Z] Removing intermediate container 1b6e1b5346fa [2022-09-15T21:20:46.704Z] ---> f2fdba0d1dbc [2022-09-15T21:20:46.704Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-15T21:20:48.146Z] ---> 9c8ff67b88c8 [2022-09-15T21:20:48.146Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-15T21:20:48.746Z] ---> 51a2f00d3acb [2022-09-15T21:20:48.746Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-15T21:20:49.344Z] ---> cdf76bf79b08 [2022-09-15T21:20:49.344Z] Step 21/26 : EXPOSE 59984 [2022-09-15T21:20:49.344Z] ---> Running in 57a29516cd0b [2022-09-15T21:20:49.619Z] Removing intermediate container 57a29516cd0b [2022-09-15T21:20:49.619Z] ---> 3e11bc6b8ade [2022-09-15T21:20:49.619Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-15T21:20:49.619Z] ---> Running in 97365ba43555 [2022-09-15T21:20:49.896Z] Removing intermediate container 97365ba43555 [2022-09-15T21:20:49.896Z] ---> 26c1abf5cf22 [2022-09-15T21:20:49.896Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-15T21:20:50.179Z] ---> Running in 348dd2019391 [2022-09-15T21:20:50.456Z] Removing intermediate container 348dd2019391 [2022-09-15T21:20:50.456Z] ---> cd3f0e303fe4 [2022-09-15T21:20:50.456Z] Step 24/26 : LABEL arch=arm64 [2022-09-15T21:20:50.456Z] ---> Running in 0181d7c225cc [2022-09-15T21:20:50.729Z] Removing intermediate container 0181d7c225cc [2022-09-15T21:20:50.729Z] ---> 7bc8f8de5893 [2022-09-15T21:20:50.729Z] Step 25/26 : LABEL git_sha=ba68ce7de06218551ad6889b53b44f342c4e0825 [2022-09-15T21:20:50.729Z] ---> Running in 87c60615f903 [2022-09-15T21:20:51.002Z] Removing intermediate container 87c60615f903 [2022-09-15T21:20:51.002Z] ---> 4bef35be0b4b [2022-09-15T21:20:51.002Z] Step 26/26 : LABEL version=0.0.0 [2022-09-15T21:20:51.002Z] ---> Running in fa080459413d [2022-09-15T21:20:51.599Z] Removing intermediate container fa080459413d [2022-09-15T21:20:51.599Z] ---> f0a188ea5ddf [2022-09-15T21:20:51.599Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T21:20:51.599Z] Successfully built f0a188ea5ddf [2022-09-15T21:20:51.599Z] 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-15T21:20:52.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T21:20:52.428Z] [2022-09-15T21:20:52.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:20:52.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T21:20:53.124Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-15T21:20:53.124Z] 8998bd30e6a1: Pulling fs layer [2022-09-15T21:20:53.124Z] 04944245beec: Pulling fs layer [2022-09-15T21:20:53.124Z] 699f458cf7ca: Pulling fs layer [2022-09-15T21:20:53.124Z] 765212b225bb: Pulling fs layer [2022-09-15T21:20:53.124Z] f23df028b6ca: Pulling fs layer [2022-09-15T21:20:53.124Z] d65c8cfc05b1: Pulling fs layer [2022-09-15T21:20:53.124Z] 2437ff75d9bd: Pulling fs layer [2022-09-15T21:20:53.124Z] f23df028b6ca: Waiting [2022-09-15T21:20:53.124Z] d65c8cfc05b1: Waiting [2022-09-15T21:20:53.124Z] 765212b225bb: Waiting [2022-09-15T21:20:53.124Z] 2437ff75d9bd: Waiting [2022-09-15T21:20:53.124Z] 04944245beec: Verifying Checksum [2022-09-15T21:20:53.124Z] 04944245beec: Download complete [2022-09-15T21:20:53.124Z] 765212b225bb: Verifying Checksum [2022-09-15T21:20:53.124Z] 765212b225bb: Download complete [2022-09-15T21:20:53.124Z] f23df028b6ca: Verifying Checksum [2022-09-15T21:20:53.124Z] f23df028b6ca: Download complete [2022-09-15T21:20:53.124Z] d65c8cfc05b1: Verifying Checksum [2022-09-15T21:20:53.124Z] d65c8cfc05b1: Download complete [2022-09-15T21:20:53.400Z] 699f458cf7ca: Verifying Checksum [2022-09-15T21:20:53.400Z] 699f458cf7ca: Download complete [2022-09-15T21:20:53.676Z] 8998bd30e6a1: Verifying Checksum [2022-09-15T21:20:53.676Z] 8998bd30e6a1: Download complete [2022-09-15T21:20:56.312Z] 2437ff75d9bd: Verifying Checksum [2022-09-15T21:20:56.312Z] 2437ff75d9bd: Download complete [2022-09-15T21:20:58.297Z] 8998bd30e6a1: Pull complete [2022-09-15T21:20:58.571Z] 04944245beec: Pull complete [2022-09-15T21:21:00.009Z] 699f458cf7ca: Pull complete [2022-09-15T21:21:00.283Z] 765212b225bb: Pull complete [2022-09-15T21:21:01.265Z] f23df028b6ca: Pull complete [2022-09-15T21:21:01.265Z] d65c8cfc05b1: Pull complete [2022-09-15T21:21:16.366Z] 2437ff75d9bd: Pull complete [2022-09-15T21:21:16.366Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-15T21:21:16.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T21:21:16.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:21:16.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-29304 does not seem to be running inside a container [2022-09-15T21:21:16.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-15T21:21:19.353Z] $ docker top a1eb7960c3c13caff3933852b8108e87d94933ed2a506b2c5efe192b96769eb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:20.331Z] ---> job-cost.sh [2022-09-15T21:21:20.331Z] lf-activate-venv: SKIPPING [2022-09-15T21:21:20.331Z] INFO: No Stack... [2022-09-15T21:21:20.926Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-15T21:21:21.914Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T21:21:22.591Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-15T21:21:22.591Z] + cut -d, -f6 [Pipeline] lock [2022-09-15T21:21:22.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [2022-09-15T21:21:22.680Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] did not exist. Created. [2022-09-15T21:21:22.680Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T21:21:23.420Z] /w/workspace/device-onvif-camera/1@tmp/durable-46a00132/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-15T21:21:24.111Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-15T21:21:24.145Z] Warning: overwriting stash ‘stack-cost’ [2022-09-15T21:21:24.202Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T21:21:24.218Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T21:21:24.294Z] $ docker stop --time=1 a1eb7960c3c13caff3933852b8108e87d94933ed2a506b2c5efe192b96769eb2 [2022-09-15T21:21:25.815Z] $ docker rm -f a1eb7960c3c13caff3933852b8108e87d94933ed2a506b2c5efe192b96769eb2 [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-15T21:21:26.803Z] provisioning config files... [2022-09-15T21:21:26.839Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3153583763492640500tmp [Pipeline] { [Pipeline] sh [2022-09-15T21:21:27.181Z] + set +x [2022-09-15T21:21:27.181Z] + curl -s https://codecov.io/bash [2022-09-15T21:21:27.181Z] + bash -s -- [2022-09-15T21:21:27.181Z] [2022-09-15T21:21:27.181Z] _____ _ [2022-09-15T21:21:27.181Z] / ____| | | [2022-09-15T21:21:27.181Z] | | ___ __| | ___ ___ _____ __ [2022-09-15T21:21:27.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-15T21:21:27.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-15T21:21:27.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-15T21:21:27.181Z] Bash-1.0.6 [2022-09-15T21:21:27.181Z] [2022-09-15T21:21:27.181Z] [2022-09-15T21:21:27.181Z] ==> git version 2.25.1 found [2022-09-15T21:21:27.181Z] ==> 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-15T21:21:27.181Z] Release-Date: 2020-01-08 [2022-09-15T21:21:27.181Z] 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-15T21:21:27.181Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-15T21:21:27.181Z] ==> Jenkins CI detected. [2022-09-15T21:21:27.181Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-15T21:21:27.181Z] project root: . [2022-09-15T21:21:27.181Z] --> token set from env [2022-09-15T21:21:27.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-15T21:21:27.181Z] ==> Running gcov in . (disable via -X gcov) [2022-09-15T21:21:27.181Z] ==> Python coveragepy not found [2022-09-15T21:21:27.181Z] ==> Searching for coverage reports in: [2022-09-15T21:21:27.181Z] + . [2022-09-15T21:21:27.446Z] -> Found 1 reports [2022-09-15T21:21:27.446Z] ==> Detecting git/mercurial file structure [2022-09-15T21:21:27.446Z] ==> Reading reports [2022-09-15T21:21:27.446Z] + ./coverage.out bytes=77283 [2022-09-15T21:21:27.446Z] ==> Appending adjustments [2022-09-15T21:21:27.446Z] https://docs.codecov.io/docs/fixing-reports [2022-09-15T21:21:27.446Z] + Found adjustments [2022-09-15T21:21:27.446Z] ==> Gzipping contents [2022-09-15T21:21:27.446Z] 12K /tmp/codecov.nuYCMH.gz [2022-09-15T21:21:27.446Z] ==> Uploading reports [2022-09-15T21:21:27.446Z] url: https://codecov.io [2022-09-15T21:21:27.446Z] query: branch=PR-161&commit=3748a9a5c05b969ff34d619c79d238bb3e853e46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-15T21:21:27.446Z] -> Pinging Codecov [2022-09-15T21:21:27.446Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=3748a9a5c05b969ff34d619c79d238bb3e853e46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-15T21:21:27.705Z] -> Uploading to [2022-09-15T21:21:27.705Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-15/F29A59C45E3A92E06B3E522C9905F8EF/3748a9a5c05b969ff34d619c79d238bb3e853e46/cd06f65d-8696-4109-ad4a-c679376c577f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T212127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27233a1c7a68ae65071cd111e53a91f1b4d4b3a13f1e17c39da5a61f9c96eee4 [2022-09-15T21:21:27.705Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T21:21:27.705Z] Dload Upload Total Spent Left Speed [2022-09-15T21:21:27.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10567 0 0 100 10567 0 40026 --:--:-- --:--:-- --:--:-- 40026 [2022-09-15T21:21:27.965Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3748a9a5c05b969ff34d619c79d238bb3e853e46 [Pipeline] } [2022-09-15T21:21:27.991Z] 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-15T21:21:29.733Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-15T21:21:29.734Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-15T21:21:29.734Z] total 16 [2022-09-15T21:21:29.734Z] drwxr-xr-x 3 root root 4096 Sep 15 21:13 . [2022-09-15T21:21:29.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 21:13 .. [2022-09-15T21:21:29.734Z] drwxr-xr-x 2 root root 4096 Sep 15 21:13 cost [2022-09-15T21:21:29.734Z] -rw-r--r-- 1 root root 91 Sep 15 21:13 cost.csv [2022-09-15T21:21:29.734Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-15T21:21:29.734Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-15T21:21:29.734Z] total 16 [2022-09-15T21:21:29.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 21:13 . [2022-09-15T21:21:29.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 21:13 .. [2022-09-15T21:21:29.734Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 21:13 cost [2022-09-15T21:21:29.734Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 15 21:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:30.063Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:30.960Z] ---> package-listing.sh [2022-09-15T21:21:30.960Z] ++ facter osfamily [2022-09-15T21:21:30.960Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-15T21:21:31.220Z] + OS_FAMILY=debian [2022-09-15T21:21:31.220Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-15T21:21:31.220Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-15T21:21:31.220Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-15T21:21:31.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-15T21:21:31.220Z] + PACKAGES=/tmp/packages_start.txt [2022-09-15T21:21:31.220Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-15T21:21:31.220Z] + PACKAGES=/tmp/packages_end.txt [2022-09-15T21:21:31.220Z] + case "${OS_FAMILY}" in [2022-09-15T21:21:31.220Z] + dpkg -l [2022-09-15T21:21:31.220Z] + grep '^ii' [2022-09-15T21:21:31.220Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-15T21:21:31.220Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-15T21:21:31.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-15T21:21:31.220Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-15T21:21:31.220Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-15T21:21:31.220Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo [2022-09-15T21:21:31.252Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-15T21:21:31.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T21:21:32.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T21:21:32.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T21:21:32.352Z] prd-ubuntu20.04-docker-8c-8g-29303 does not seem to be running inside a container [2022-09-15T21:21:32.393Z] $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-15T21:21:32.626Z] $ docker top 7f5b94f7a807628f7545f0da88e1368e8cfa99c72e2ae74cae16bdfe713b2523 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T21:21:33.032Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-15T21:21:33.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-15T21:21:33.652Z] + ls /var/log/sa-host [2022-09-15T21:21:33.652Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T21:21:33.863Z] provisioning config files... [2022-09-15T21:21:33.874Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5438037329307975079tmp [Pipeline] { [Pipeline] echo [2022-09-15T21:21:33.925Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:34.242Z] ---> create-netrc.sh [Pipeline] } [2022-09-15T21:21:34.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:34.687Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-15T21:21:34.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:35.037Z] ---> sudo-logs.sh [2022-09-15T21:21:35.037Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-15T21:21:35.129Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:35.460Z] ---> job-cost.sh [2022-09-15T21:21:35.460Z] lf-activate-venv: SKIPPING [2022-09-15T21:21:35.460Z] DEBUG: total: 0.2199999988079071 [2022-09-15T21:21:35.460Z] INFO: Retrieving Stack Cost... [2022-09-15T21:21:36.031Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T21:21:36.293Z] INFO: Archiving Costs [Pipeline] echo [2022-09-15T21:21:36.326Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T21:21:36.642Z] ---> logs-deploy.sh [2022-09-15T21:21:36.642Z] lf-activate-venv: SKIPPING [2022-09-15T21:21:36.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/1 [2022-09-15T21:21:36.642Z] INFO: archiving workspace using pattern(s): [2022-09-15T21:21:37.587Z] Archives upload complete. [2022-09-15T21:21:37.848Z] INFO: archiving logs to Nexus