Pull request #123 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 05e696a048ef8259bab02eb1831af29872241b30 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh15426280326673614915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2547673081953262243.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-123/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-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13011178255408468809.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-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1658734043597797716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh4547741611289931120.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-123/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-123/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12346981746389870149.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 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21980 in /w/workspace/undry_device-onvif-camera_PR-123 [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-123 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 05e696a048ef8259bab02eb1831af29872241b30 Merge succeeded, producing 51efc5ccc94ee12395d5568a425ee5aeaabe5871 Checking out Revision 51efc5ccc94ee12395d5568a425ee5aeaabe5871 (PR-123) > 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/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05e696a048ef8259bab02eb1831af29872241b30 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51efc5ccc94ee12395d5568a425ee5aeaabe5871 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:03 ========================================================= 04:19:03 EdgeX Global Pipelines Version Info 04:19:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:04 ------------------- 04:19:04 stable info: 04:19:04 ------------------- 04:19:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:04 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 04:19:04 Message: update stable to v1.0.238 04:19:04 ------------------- 04:19:04 experimental info: 04:19:04 ------------------- 04:19:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:04 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 04:19:04 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51efc5c [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:06 provisioning config files... 04:19:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config6509867786998806969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:07 ---> docker-login.sh 04:19:07 nexus3.edgexfoundry.org:10001 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 nexus3.edgexfoundry.org:10002 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 nexus3.edgexfoundry.org:10003 04:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:08 Configure a credential helper to remove this warning. See 04:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:08 04:19:08 Login Succeeded 04:19:08 nexus3.edgexfoundry.org:10004 04:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:08 Configure a credential helper to remove this warning. See 04:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:08 04:19:08 Login Succeeded 04:19:08 docker.io 04:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:08 Configure a credential helper to remove this warning. See 04:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:08 04:19:08 Login Succeeded 04:19:08 ---> docker-login.sh ends [Pipeline] } 04:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:09 + git rev-list -1 --merges 51efc5ccc94ee12395d5568a425ee5aeaabe5871~1..51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo 04:19:09 -----------> git rev-list -1 --merges 51efc5ccc94ee12395d5568a425ee5aeaabe5871~1..51efc5ccc94ee12395d5568a425ee5aeaabe5871 51efc5ccc94ee12395d5568a425ee5aeaabe5871 04:19:09 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [false] [Pipeline] sh 04:19:09 + git log --format=format:%s -1 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo 04:19:09 ========================================================= 04:19:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:10 + git log --format=format:%s -1 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo 04:19:10 [semverPrep] GIT_COMMIT: 51efc5ccc94ee12395d5568a425ee5aeaabe5871, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo 04:19:10 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:10 + grep -v github /etc/ssh/ssh_known_hosts 04:19:10 + [ -e /tmp/ssh_known_hosts ] 04:19:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:10 + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:11 04:19:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:11 0.1.4: Pulling from edgex-devops/py-git-semver 04:19:11 b85a868b505f: Pulling fs layer 04:19:11 e2be974225ed: Pulling fs layer 04:19:11 339a4e72a1f5: Pulling fs layer 04:19:11 988bab9f4d93: Pulling fs layer 04:19:11 1469e6f7b9e6: Pulling fs layer 04:19:11 eaf3925da568: Pulling fs layer 04:19:11 bab4dde63d76: Pulling fs layer 04:19:11 bde34c3a00c8: Pulling fs layer 04:19:11 b352a97aabf1: Pulling fs layer 04:19:11 4872d77fe225: Pulling fs layer 04:19:11 5851b861e8e6: Pulling fs layer 04:19:11 1469e6f7b9e6: Waiting 04:19:11 eaf3925da568: Waiting 04:19:11 bab4dde63d76: Waiting 04:19:11 bde34c3a00c8: Waiting 04:19:11 b352a97aabf1: Waiting 04:19:11 4872d77fe225: Waiting 04:19:11 5851b861e8e6: Waiting 04:19:11 988bab9f4d93: Waiting 04:19:11 e2be974225ed: Verifying Checksum 04:19:11 e2be974225ed: Download complete 04:19:11 988bab9f4d93: Verifying Checksum 04:19:11 988bab9f4d93: Download complete 04:19:11 1469e6f7b9e6: Verifying Checksum 04:19:11 1469e6f7b9e6: Download complete 04:19:11 339a4e72a1f5: Verifying Checksum 04:19:11 339a4e72a1f5: Download complete 04:19:11 eaf3925da568: Verifying Checksum 04:19:11 eaf3925da568: Download complete 04:19:11 bde34c3a00c8: Verifying Checksum 04:19:11 bde34c3a00c8: Download complete 04:19:11 b352a97aabf1: Download complete 04:19:11 4872d77fe225: Download complete 04:19:11 5851b861e8e6: Verifying Checksum 04:19:11 5851b861e8e6: Download complete 04:19:11 b85a868b505f: Download complete 04:19:12 bab4dde63d76: Verifying Checksum 04:19:12 bab4dde63d76: Download complete 04:19:13 b85a868b505f: Pull complete 04:19:13 e2be974225ed: Pull complete 04:19:13 339a4e72a1f5: Pull complete 04:19:14 988bab9f4d93: Pull complete 04:19:14 1469e6f7b9e6: Pull complete 04:19:14 eaf3925da568: Pull complete 04:19:16 bab4dde63d76: Pull complete 04:19:16 bde34c3a00c8: Pull complete 04:19:16 b352a97aabf1: Pull complete 04:19:16 4872d77fe225: Pull complete 04:19:16 5851b861e8e6: Pull complete 04:19:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:16 prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container 04:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:19:19 $ docker top 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad -eo pid,comm 04:19:19 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). 04:19:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:19 [ssh-agent] Looking for ssh-agent implementation... 04:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:19 $ docker exec 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent 04:19:19 SSH_AUTH_SOCK=/tmp/ssh-UFkFhvi5HOpY/agent.33 04:19:19 SSH_AGENT_PID=40 04:19:19 Running ssh-add (command line suppressed) 04:19:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_3611853595128323501.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_3611853595128323501.key) 04:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:20 + git tag --points-at HEAD [Pipeline] } 04:19:20 $ docker exec --env ******** --env ******** 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent -k 04:19:20 unset SSH_AUTH_SOCK; 04:19:20 unset SSH_AGENT_PID; 04:19:20 echo Agent pid 40 killed; 04:19:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:20 [ssh-agent] Looking for ssh-agent implementation... 04:19:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:20 $ docker exec 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent 04:19:20 SSH_AUTH_SOCK=/tmp/ssh-CEdKIe0RUHZE/agent.74 04:19:20 SSH_AGENT_PID=80 04:19:20 Running ssh-add (command line suppressed) 04:19:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_4950019741479853612.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_4950019741479853612.key) 04:19:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:21 + git semver init 04:19:21 2022-08-05 04:19:21,314 [run_init] DEBUG init version:0.0.0 force:False 04:19:21 2022-08-05 04:19:21,315 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-123/.semver 04:19:21 2022-08-05 04:19:21,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-123/.semver 04:19:21 2022-08-05 04:19:21,315 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-123/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-123, universal_newlines=False, shell=None, istream=None) 04:19:22 2022-08-05 04:19:22,119 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-123/.git/info/exclude 04:19:22 2022-08-05 04:19:22,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 with force:False 04:19:22 2022-08-05 04:19:22,119 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 04:19:22 2022-08-05 04:19:22,123 [execute] INFO git cat-file --batch-check 04:19:22 2022-08-05 04:19:22,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) 04:19:22 2022-08-05 04:19:22,129 [execute] INFO git cat-file --batch 04:19:22 2022-08-05 04:19:22,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) 04:19:22 2022-08-05 04:19:22,133 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 04:19:22 0.0.0 [Pipeline] } 04:19:22 $ docker exec --env ******** --env ******** 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent -k 04:19:22 unset SSH_AUTH_SOCK; 04:19:22 unset SSH_AGENT_PID; 04:19:22 echo Agent pid 80 killed; 04:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:22 + git semver [Pipeline] } 04:19:23 $ docker stop --time=1 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad 04:19:24 $ docker rm -f 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad [Pipeline] // withDockerContainer [Pipeline] sh 04:19:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:25 Stashed 1 file(s) [Pipeline] echo 04:19:25 [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 04:19:25 provisioning config files... 04:19:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config1964294054572911746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:26 ---> docker-login.sh 04:19:26 nexus3.edgexfoundry.org:10001 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10002 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10003 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10004 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 docker.io 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 ---> docker-login.sh ends [Pipeline] } 04:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:27 ========================================================= 04:19:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:19:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:27 + 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 . 04:19:27 Sending build context to Docker daemon 20.33MB 04:19:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:19:27 Step 2/13 : FROM ${BASE} AS builder 04:19:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:27 2408cc74d12b: Pulling fs layer 04:19:27 ea60b727a1ce: Pulling fs layer 04:19:27 30c4a7721957: Pulling fs layer 04:19:27 370296b7ddb6: Pulling fs layer 04:19:27 7c6cee850709: Pulling fs layer 04:19:27 39a5fcdaea64: Pulling fs layer 04:19:27 d94ebbe4e438: Pulling fs layer 04:19:27 bcfd1f05c69d: Pulling fs layer 04:19:27 59ccb84bbe0f: Pulling fs layer 04:19:27 370296b7ddb6: Waiting 04:19:27 7c6cee850709: Waiting 04:19:27 39a5fcdaea64: Waiting 04:19:27 d94ebbe4e438: Waiting 04:19:27 bcfd1f05c69d: Waiting 04:19:27 59ccb84bbe0f: Waiting 04:19:27 30c4a7721957: Verifying Checksum 04:19:27 30c4a7721957: Download complete 04:19:27 ea60b727a1ce: Download complete 04:19:27 7c6cee850709: Verifying Checksum 04:19:27 7c6cee850709: Download complete 04:19:27 39a5fcdaea64: Verifying Checksum 04:19:27 39a5fcdaea64: Download complete 04:19:27 2408cc74d12b: Verifying Checksum 04:19:27 2408cc74d12b: Download complete 04:19:27 d94ebbe4e438: Download complete 04:19:28 2408cc74d12b: Pull complete 04:19:28 ea60b727a1ce: Pull complete 04:19:28 30c4a7721957: Pull complete 04:19:28 59ccb84bbe0f: Verifying Checksum 04:19:28 59ccb84bbe0f: Download complete 04:19:28 bcfd1f05c69d: Verifying Checksum 04:19:28 bcfd1f05c69d: Download complete 04:19:28 370296b7ddb6: Verifying Checksum 04:19:28 370296b7ddb6: Download complete 04:19:32 370296b7ddb6: Pull complete 04:19:32 7c6cee850709: Pull complete 04:19:32 39a5fcdaea64: Pull complete 04:19:32 d94ebbe4e438: Pull complete 04:19:34 bcfd1f05c69d: Pull complete 04:19:35 59ccb84bbe0f: Pull complete 04:19:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:19:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:19:35 ---> a4fb48ad2a94 04:19:35 Step 3/13 : ARG MAKE="make build" 04:19:40 Still waiting to schedule task 04:19:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:19:40 ---> Running in 9d1f984300a9 04:19:40 Removing intermediate container 9d1f984300a9 04:19:40 ---> 838e20689de8 04:19:40 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:19:40 ---> Running in 36e22c82345b 04:19:40 Removing intermediate container 36e22c82345b 04:19:40 ---> 006be7b19ab9 04:19:40 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:19:40 ---> Running in f00487fa47f0 04:19:40 Removing intermediate container f00487fa47f0 04:19:40 ---> b21ae8d1dc13 04:19:40 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:19:40 ---> Running in 3eea491395d8 04:19:40 Removing intermediate container 3eea491395d8 04:19:40 ---> 670cca2b305d 04:19:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:40 ---> Running in 8d996d5f58b8 04:19:41 Removing intermediate container 8d996d5f58b8 04:19:41 ---> c10ecaf6d9bb 04:19:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:41 ---> Running in 22b43716b5dd 04:19:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:19:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:19:42 OK: 211 MiB in 51 packages 04:19:43 Removing intermediate container 22b43716b5dd 04:19:43 ---> 3890a76e3180 04:19:43 Step 9/13 : WORKDIR /device-onvif-camera 04:19:43 ---> Running in 90dd1a82f7db 04:19:43 Removing intermediate container 90dd1a82f7db 04:19:43 ---> d975d1454247 04:19:43 Step 10/13 : COPY go.mod vendor* ./ 04:19:43 ---> 86153ed058cb 04:19:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:43 ---> Running in 0d6459c0ed5c 04:20:05 Removing intermediate container 0d6459c0ed5c 04:20:05 ---> f23d95113ec5 04:20:05 Step 12/13 : COPY . . 04:20:05 ---> 0b42e79966ae 04:20:05 Step 13/13 : RUN ${MAKE} 04:20:05 ---> Running in 3569cedd5265 04:20:05 noop 04:20:05 Removing intermediate container 3569cedd5265 04:20:05 ---> f325dd9b66e3 04:20:05 Successfully built f325dd9b66e3 04:20:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:06 + docker inspect -f . ci-base-image-x86_64 04:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:06 prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container 04:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:06 $ docker top ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:07 + go version 04:20:07 go version go1.18.3 linux/amd64 [Pipeline] } 04:20:07 $ docker stop --time=1 ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a 04:20:08 $ docker rm -f ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:09 + docker inspect -f . ci-base-image-x86_64 04:20:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:09 prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container 04:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:09 $ docker top 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:10 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] fileExists [Pipeline] sh 04:20:10 + make test 04:20:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:20:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:20:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:20:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 10.6% of statements 04:20:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:20:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.155s coverage: 13.8% of statements 04:20:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:20:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:20:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:20:35 $ docker stop --time=1 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 04:20:37 $ docker rm -f 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:39 + ls -al . 04:20:39 total 232 04:20:39 drwxrwxr-x 10 jenkins jenkins 4096 Aug 5 04:20 . 04:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 .. 04:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 04:20 .git 04:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:18 .github 04:20:39 -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 04:18 .gitignore 04:20:39 -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 04:18 .golangci.yml 04:20:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 04:19 .semver 04:20:39 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 04:18 Attribution.txt 04:20:39 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 04:18 CHANGELOG.md 04:20:39 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 04:18 Dockerfile 04:20:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 04:18 GOVERNANCE.md 04:20:39 -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 04:18 Jenkinsfile 04:20:39 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 04:18 LICENSE 04:20:39 -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 04:18 Makefile 04:20:39 -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 04:18 OWNERS.md 04:20:39 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 04:18 README.md 04:20:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 04:19 VERSION 04:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 04:18 bin 04:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:18 cmd 04:20:39 -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 04:20 coverage.out 04:20:39 drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 04:18 doc 04:20:39 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 04:18 go.mod 04:20:39 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 04:18 go.sum 04:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 internal 04:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 snap 04:20:39 -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:39 + 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=51efc5ccc94ee12395d5568a425ee5aeaabe5871 --label arch=amd64 --label version=0.0.0 . 04:20:39 Sending build context to Docker daemon 20.41MB 04:20:39 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:20:39 Step 2/26 : FROM ${BASE} AS builder 04:20:39 ---> f325dd9b66e3 04:20:39 Step 3/26 : ARG MAKE="make build" 04:20:40 ---> Running in 83df5b1d30ec 04:20:40 Removing intermediate container 83df5b1d30ec 04:20:40 ---> 915a0662c1c2 04:20:40 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:20:40 ---> Running in c161610d5b15 04:20:40 Removing intermediate container c161610d5b15 04:20:40 ---> e39406bd54fc 04:20:40 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:20:40 ---> Running in 46a79ce13fcb 04:20:40 Removing intermediate container 46a79ce13fcb 04:20:40 ---> 00d0a1e31f88 04:20:40 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:20:40 ---> Running in 5d1c0560ece3 04:20:40 Removing intermediate container 5d1c0560ece3 04:20:40 ---> e003d8d36252 04:20:40 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:40 ---> Running in ccf968f52689 04:20:40 Removing intermediate container ccf968f52689 04:20:40 ---> 5240fc98acee 04:20:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:20:40 ---> Running in 379fc510fd7a 04:20:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:20:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:20:42 OK: 211 MiB in 51 packages 04:20:42 Removing intermediate container 379fc510fd7a 04:20:42 ---> 442f17b0f6c6 04:20:42 Step 9/26 : WORKDIR /device-onvif-camera 04:20:42 ---> Running in e3418856168a 04:20:42 Removing intermediate container e3418856168a 04:20:42 ---> c4c5d362bb88 04:20:42 Step 10/26 : COPY go.mod vendor* ./ 04:20:42 ---> e1fa47da7862 04:20:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:42 ---> Running in 05a2e6823686 04:20:43 Removing intermediate container 05a2e6823686 04:20:43 ---> d3d81d6c8bc4 04:20:43 Step 12/26 : COPY . . 04:20:44 ---> 0f674c3c0c01 04:20:44 Step 13/26 : RUN ${MAKE} 04:20:44 ---> Running in 34f38be004ef 04:20:44 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:21:06 Removing intermediate container 34f38be004ef 04:21:06 ---> 9a1749adc34f 04:21:06 Step 14/26 : FROM alpine:3.15 04:21:06 3.15: Pulling from library/alpine 04:21:06 ab6db1bc80d0: Pulling fs layer 04:21:06 ab6db1bc80d0: Verifying Checksum 04:21:06 ab6db1bc80d0: Download complete 04:21:06 ab6db1bc80d0: Pull complete 04:21:06 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 04:21:06 Status: Downloaded newer image for alpine:3.15 04:21:06 ---> 2720e26172a0 04:21:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:21:07 ---> Running in 80d70cd93d99 04:21:07 Removing intermediate container 80d70cd93d99 04:21:07 ---> c9bc4c392100 04:21:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:21:07 ---> Running in 10f1f291bfdc 04:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:21:07 (1/6) Installing dumb-init (1.2.5-r1) 04:21:07 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:21:07 (3/6) Installing libsodium (1.0.18-r0) 04:21:07 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:21:07 (5/6) Installing libzmq (4.3.4-r0) 04:21:07 (6/6) Installing zeromq (4.3.4-r0) 04:21:07 Executing busybox-1.34.1-r7.trigger 04:21:07 OK: 8 MiB in 20 packages 04:21:08 Removing intermediate container 10f1f291bfdc 04:21:08 ---> 3e908a76d04f 04:21:08 Step 17/26 : WORKDIR / 04:21:08 ---> Running in 35121fb7d8bd 04:21:08 Removing intermediate container 35121fb7d8bd 04:21:08 ---> 9d66afaa07d6 04:21:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:21:09 ---> 3699e4e63433 04:21:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:21:09 ---> 568f70ec5d62 04:21:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:21:09 ---> a398158f5dad 04:21:09 Step 21/26 : EXPOSE 59984 04:21:09 ---> Running in 625e0d19c6e6 04:21:09 Removing intermediate container 625e0d19c6e6 04:21:09 ---> 22dfbb94a679 04:21:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:21:09 ---> Running in 9a2d78797545 04:21:09 Removing intermediate container 9a2d78797545 04:21:09 ---> ac1cc78156e8 04:21:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:09 ---> Running in d72b291fde59 04:21:09 Removing intermediate container d72b291fde59 04:21:09 ---> 71b66697e50f 04:21:09 Step 24/26 : LABEL arch=amd64 04:21:09 ---> Running in b5e1c82055be 04:21:09 Removing intermediate container b5e1c82055be 04:21:09 ---> 7a950ead390f 04:21:09 Step 25/26 : LABEL git_sha=51efc5ccc94ee12395d5568a425ee5aeaabe5871 04:21:09 ---> Running in 21e51e0e4faa 04:21:09 Removing intermediate container 21e51e0e4faa 04:21:09 ---> 5ff593c588a0 04:21:09 Step 26/26 : LABEL version=0.0.0 04:21:09 ---> Running in 4e461403e1a2 04:21:10 Removing intermediate container 4e461403e1a2 04:21:10 ---> 2730f53e4bc5 04:21:10 [Warning] One or more build-args [ARCH] were not consumed 04:21:10 Successfully built 2730f53e4bc5 04:21:10 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 04:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:11 04:21:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:11 latest: Pulling from edgex-lftools-log-publisher 04:21:11 5eb5b503b376: Pulling fs layer 04:21:11 5c69ac0246d0: Pulling fs layer 04:21:11 ec43610c2a17: Pulling fs layer 04:21:11 3a2ae6a8a46f: Pulling fs layer 04:21:11 33b1e0a273af: Pulling fs layer 04:21:11 5d3b04190fa2: Pulling fs layer 04:21:11 2f39f015ded8: Pulling fs layer 04:21:11 33b1e0a273af: Waiting 04:21:11 5d3b04190fa2: Waiting 04:21:11 2f39f015ded8: Waiting 04:21:11 3a2ae6a8a46f: Waiting 04:21:11 5c69ac0246d0: Download complete 04:21:11 3a2ae6a8a46f: Verifying Checksum 04:21:11 3a2ae6a8a46f: Download complete 04:21:11 33b1e0a273af: Verifying Checksum 04:21:11 33b1e0a273af: Download complete 04:21:11 ec43610c2a17: Download complete 04:21:11 5d3b04190fa2: Verifying Checksum 04:21:11 5d3b04190fa2: Download complete 04:21:11 5eb5b503b376: Verifying Checksum 04:21:11 5eb5b503b376: Download complete 04:21:12 2f39f015ded8: Download complete 04:21:12 5eb5b503b376: Pull complete 04:21:13 5c69ac0246d0: Pull complete 04:21:13 ec43610c2a17: Pull complete 04:21:13 3a2ae6a8a46f: Pull complete 04:21:13 33b1e0a273af: Pull complete 04:21:13 5d3b04190fa2: Pull complete 04:21:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21981 in /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] { [Pipeline] ws 04:21:17 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:21:17 Selected Git installation does not exist. Using Default 04:21:17 The recommended git tool is: NONE 04:21:19 2f39f015ded8: Pull complete 04:21:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:19 prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container 04:21:19 $ 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-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:22 $ docker top 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:22 ---> job-cost.sh 04:21:22 lf-activate-venv: SKIPPING 04:21:22 INFO: No Stack... 04:21:23 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:23 using credential edgex-jenkins-ssh 04:21:23 Cloning the remote Git repository 04:21:23 INFO: Archiving Costs [Pipeline] sh 04:21:24 + cat /w/workspace/undry_device-onvif-camera_PR-123/archives/cost.csv 04:21:24 + cut -d, -f6 04:21:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:21:23 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:21:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:21:23 > git --version # timeout=10 04:21:23 > git --version # 'git version 2.25.1' 04:21:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] lock 04:21:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] 04:21:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] did not exist. Created. 04:21:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:24 + echo total: 0.2199999988079071 [Pipeline] stash 04:21:24 Stashed 1 file(s) [Pipeline] } 04:21:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:24 $ docker stop --time=1 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 04:21:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:21:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:21:25 $ docker rm -f 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 04:21:25 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 05e696a048ef8259bab02eb1831af29872241b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:26 Merge succeeded, producing 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 04:21:26 Checking out Revision 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 (PR-123) 04:21:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:21:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:21:25 > git config core.sparsecheckout # timeout=10 04:21:25 > git checkout -f 05e696a048ef8259bab02eb1831af29872241b30 # timeout=10 04:21:26 > git remote # timeout=10 04:21:26 > git config --get remote.origin.url # timeout=10 04:21:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:26 > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 04:21:26 > git rev-parse HEAD^{commit} # timeout=10 04:21:26 > git config core.sparsecheckout # timeout=10 04:21:26 > git checkout -f 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 # timeout=10 04:21:30 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" 04:21:30 First time build. Skipping changelog. 04:21:30 > git --version # timeout=10 04:21:30 > git --version # 'git version 2.25.1' 04:21:30 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:21:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:31 Dload Upload Total Spent Left Speed 04:21:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 04:21:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:21:33 + sudo tee /etc/docker/daemon.new 04:21:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:21:33 { 04:21:33 "registry-mirrors": [ 04:21:33 "https://nexus3.edgexfoundry.org:10001" 04:21:33 ], 04:21:33 "bip": "10.250.0.254/24", 04:21:33 "hosts": [ 04:21:33 "tcp://0.0.0.0:5555", 04:21:33 "unix:///var/run/docker.sock" 04:21:33 ], 04:21:33 "mtu": 1458, 04:21:33 "selinux-enabled": true, 04:21:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:21:33 } [Pipeline] sh 04:21:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:21:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:52 provisioning config files... 04:21:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7573619404784159637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:52 ---> docker-login.sh 04:21:52 nexus3.edgexfoundry.org:10001 04:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:53 Configure a credential helper to remove this warning. See 04:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:53 04:21:53 Login Succeeded 04:21:53 nexus3.edgexfoundry.org:10002 04:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:54 Configure a credential helper to remove this warning. See 04:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:54 04:21:54 Login Succeeded 04:21:54 nexus3.edgexfoundry.org:10003 04:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:54 Configure a credential helper to remove this warning. See 04:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:54 04:21:54 Login Succeeded 04:21:54 nexus3.edgexfoundry.org:10004 04:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:55 Configure a credential helper to remove this warning. See 04:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:55 04:21:55 Login Succeeded 04:21:55 docker.io 04:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:55 Configure a credential helper to remove this warning. See 04:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:55 04:21:55 Login Succeeded 04:21:55 ---> docker-login.sh ends [Pipeline] } 04:21:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:21:56 ========================================================= 04:21:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:21:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:56 + 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 . 04:21:57 Sending build context to Docker daemon 13.96MB 04:21:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:21:57 Step 2/13 : FROM ${BASE} AS builder 04:21:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:21:57 b3c136eddcbf: Pulling fs layer 04:21:57 c0a3192eca97: Pulling fs layer 04:21:57 a050256f5b6f: Pulling fs layer 04:21:57 656be50a0ddc: Pulling fs layer 04:21:57 2bbca73fdf42: Pulling fs layer 04:21:57 46d945488cbd: Pulling fs layer 04:21:57 8a5474983e97: Pulling fs layer 04:21:57 329c88fbcd65: Pulling fs layer 04:21:57 656be50a0ddc: Waiting 04:21:57 2bbca73fdf42: Waiting 04:21:57 46d945488cbd: Waiting 04:21:57 8a5474983e97: Waiting 04:21:57 329c88fbcd65: Waiting 04:21:57 a050256f5b6f: Download complete 04:21:57 c0a3192eca97: Download complete 04:21:57 2bbca73fdf42: Download complete 04:21:57 46d945488cbd: Verifying Checksum 04:21:57 46d945488cbd: Download complete 04:21:57 b3c136eddcbf: Download complete 04:21:58 b3c136eddcbf: Pull complete 04:21:58 329c88fbcd65: Verifying Checksum 04:21:58 329c88fbcd65: Download complete 04:21:59 c0a3192eca97: Pull complete 04:21:59 a050256f5b6f: Pull complete 04:21:59 8a5474983e97: Verifying Checksum 04:21:59 8a5474983e97: Download complete 04:22:00 656be50a0ddc: Verifying Checksum 04:22:00 656be50a0ddc: Download complete 04:22:12 656be50a0ddc: Pull complete 04:22:13 2bbca73fdf42: Pull complete 04:22:13 46d945488cbd: Pull complete 04:22:20 8a5474983e97: Pull complete 04:22:22 329c88fbcd65: Pull complete 04:22:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:22:22 ---> ff4287adb874 04:22:22 Step 3/13 : ARG MAKE="make build" 04:22:23 ---> Running in 7292b7a65641 04:22:23 Removing intermediate container 7292b7a65641 04:22:23 ---> 0b4d2d4bf4f1 04:22:23 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:22:23 ---> Running in 24d5bdade56b 04:22:23 Removing intermediate container 24d5bdade56b 04:22:23 ---> 8c116987fea2 04:22:23 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:22:23 ---> Running in f9b28749088b 04:22:25 Removing intermediate container f9b28749088b 04:22:25 ---> 30e69a8f18ee 04:22:25 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:22:25 ---> Running in f9f965b3a879 04:22:25 Removing intermediate container f9f965b3a879 04:22:25 ---> 60bd1fbc4301 04:22:25 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:25 ---> Running in 90742b3f494c 04:22:27 Removing intermediate container 90742b3f494c 04:22:27 ---> b5867b1c5b1b 04:22:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:22:27 ---> Running in 0ecf89ba538e 04:22:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:22:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:22:30 OK: 221 MiB in 51 packages 04:22:30 Removing intermediate container 0ecf89ba538e 04:22:30 ---> 272345b36b84 04:22:30 Step 9/13 : WORKDIR /device-onvif-camera 04:22:30 ---> Running in 65a2d85290e7 04:22:31 Removing intermediate container 65a2d85290e7 04:22:31 ---> dcfcc77a9955 04:22:31 Step 10/13 : COPY go.mod vendor* ./ 04:22:31 ---> 9cf34b8df4f1 04:22:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:31 ---> Running in a107b74e1c96 04:23:18 Removing intermediate container a107b74e1c96 04:23:18 ---> 8a102deb9ffd 04:23:18 Step 12/13 : COPY . . 04:23:18 ---> 3dea79b1113b 04:23:18 Step 13/13 : RUN ${MAKE} 04:23:18 ---> Running in cc0af19b5b81 04:23:18 noop 04:23:18 Removing intermediate container cc0af19b5b81 04:23:18 ---> 625cb9ff54ef 04:23:18 Successfully built 625cb9ff54ef 04:23:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:19 + docker inspect -f . ci-base-image-arm64 04:23:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:19 prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container 04:23:19 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:21 $ docker top d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:22 + go version 04:23:22 go version go1.18.3 linux/arm64 [Pipeline] } 04:23:22 $ docker stop --time=1 d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 04:23:23 $ docker rm -f d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:24 + docker inspect -f . ci-base-image-arm64 04:23:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:24 prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container 04:23:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:26 $ docker top adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:23:27 + make test 04:23:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:23:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:24:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:24:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.115s coverage: 10.6% of statements 04:24:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:25:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.499s coverage: 13.8% of statements 04:25:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:25:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:25:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:25:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:25:42 ./bin/test-attribution-txt.sh [Pipeline] echo 04:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:25:44 $ docker stop --time=1 adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 04:25:46 $ docker rm -f adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 [Pipeline] // withDockerContainer [Pipeline] sh 04:25:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:47 Warning: overwriting stash ‘coverage-report’ 04:25:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:48 + ls -al . 04:25:48 total 228 04:25:48 drwxrwxr-x 9 jenkins jenkins 4096 Aug 5 04:25 . 04:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 .. 04:25:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 04:21 .git 04:25:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:21 .github 04:25:48 -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 04:21 .gitignore 04:25:48 -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 04:21 .golangci.yml 04:25:48 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 04:21 Attribution.txt 04:25:48 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 04:21 CHANGELOG.md 04:25:48 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 04:21 Dockerfile 04:25:48 -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 04:21 GOVERNANCE.md 04:25:48 -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 04:21 Jenkinsfile 04:25:48 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 04:21 LICENSE 04:25:48 -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 04:21 Makefile 04:25:48 -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 04:21 OWNERS.md 04:25:48 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 04:21 README.md 04:25:48 -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 04:19 VERSION 04:25:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 04:21 bin 04:25:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:21 cmd 04:25:48 -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 04:25 coverage.out 04:25:48 drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 04:21 doc 04:25:48 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 04:21 go.mod 04:25:48 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 04:21 go.sum 04:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 internal 04:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 snap 04:25:48 -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:49 + 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=72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 --label arch=arm64 --label version=0.0.0 . 04:25:49 Sending build context to Docker daemon 14.04MB 04:25:49 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:25:49 Step 2/26 : FROM ${BASE} AS builder 04:25:49 ---> 625cb9ff54ef 04:25:49 Step 3/26 : ARG MAKE="make build" 04:25:49 ---> Running in 2833571084fb 04:25:50 Removing intermediate container 2833571084fb 04:25:50 ---> f1ef206f07f3 04:25:50 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:25:50 ---> Running in 0d0ca0a106a9 04:25:50 Removing intermediate container 0d0ca0a106a9 04:25:50 ---> 723514248a58 04:25:50 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:25:50 ---> Running in bae482a6d622 04:25:51 Removing intermediate container bae482a6d622 04:25:51 ---> ab6ac9086010 04:25:51 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:25:51 ---> Running in 797427af4758 04:25:51 Removing intermediate container 797427af4758 04:25:51 ---> 1fa84cdc300d 04:25:51 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:51 ---> Running in 22de5a66eee5 04:25:53 Removing intermediate container 22de5a66eee5 04:25:53 ---> a416ee7961dd 04:25:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:53 ---> Running in 94dfe7769f27 04:25:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:25:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:25:56 OK: 221 MiB in 51 packages 04:25:56 Removing intermediate container 94dfe7769f27 04:25:56 ---> 2a0974856d2b 04:25:56 Step 9/26 : WORKDIR /device-onvif-camera 04:25:56 ---> Running in 9befd5719001 04:25:56 Removing intermediate container 9befd5719001 04:25:56 ---> 3d95c447f558 04:25:56 Step 10/26 : COPY go.mod vendor* ./ 04:25:57 ---> 6fc283e5c0ec 04:25:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:57 ---> Running in 9948028364eb 04:25:59 Removing intermediate container 9948028364eb 04:25:59 ---> d91e158798f1 04:25:59 Step 12/26 : COPY . . 04:26:00 ---> c5ee07889c40 04:26:00 Step 13/26 : RUN ${MAKE} 04:26:00 ---> Running in fc6e57864c3d 04:26:01 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:28:08 Removing intermediate container fc6e57864c3d 04:28:08 ---> 982dc909a845 04:28:08 Step 14/26 : FROM alpine:3.15 04:28:08 3.15: Pulling from library/alpine 04:28:08 e0295fd11fe2: Pulling fs layer 04:28:08 e0295fd11fe2: Verifying Checksum 04:28:08 e0295fd11fe2: Download complete 04:28:08 e0295fd11fe2: Pull complete 04:28:08 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 04:28:08 Status: Downloaded newer image for alpine:3.15 04:28:08 ---> 60f2846fe774 04:28:08 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:28:08 ---> Running in 38e5f39a3b0b 04:28:08 Removing intermediate container 38e5f39a3b0b 04:28:08 ---> 313599a762ca 04:28:08 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:28:09 ---> Running in af3ba0b29b7b 04:28:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:28:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:28:11 (1/6) Installing dumb-init (1.2.5-r1) 04:28:11 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:28:11 (3/6) Installing libsodium (1.0.18-r0) 04:28:11 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:28:11 (5/6) Installing libzmq (4.3.4-r0) 04:28:11 (6/6) Installing zeromq (4.3.4-r0) 04:28:11 Executing busybox-1.34.1-r7.trigger 04:28:11 OK: 8 MiB in 20 packages 04:28:12 Removing intermediate container af3ba0b29b7b 04:28:12 ---> 3317ab3021cf 04:28:12 Step 17/26 : WORKDIR / 04:28:12 ---> Running in e89b85487dcb 04:28:12 Removing intermediate container e89b85487dcb 04:28:12 ---> d930031d2418 04:28:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:28:14 ---> 8cd5ee4fad97 04:28:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:28:14 ---> 46655421cfec 04:28:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:28:15 ---> aeefa1ed07b2 04:28:15 Step 21/26 : EXPOSE 59984 04:28:15 ---> Running in 511ff6b27d39 04:28:15 Removing intermediate container 511ff6b27d39 04:28:15 ---> 676f192b6091 04:28:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:28:15 ---> Running in b6f47b511cfd 04:28:15 Removing intermediate container b6f47b511cfd 04:28:15 ---> 12a081bc5577 04:28:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:28:15 ---> Running in 7de1a7afe846 04:28:16 Removing intermediate container 7de1a7afe846 04:28:16 ---> 449b346fc330 04:28:16 Step 24/26 : LABEL arch=arm64 04:28:16 ---> Running in ef74743aec4b 04:28:16 Removing intermediate container ef74743aec4b 04:28:16 ---> 6b6c92ca05d8 04:28:16 Step 25/26 : LABEL git_sha=72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 04:28:16 ---> Running in 7f1a2611e59d 04:28:16 Removing intermediate container 7f1a2611e59d 04:28:16 ---> fd910bde7ca2 04:28:16 Step 26/26 : LABEL version=0.0.0 04:28:16 ---> Running in e977cb579083 04:28:17 Removing intermediate container e977cb579083 04:28:17 ---> f479900a3f59 04:28:17 [Warning] One or more build-args [ARCH] were not consumed 04:28:17 Successfully built f479900a3f59 04:28:17 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 04:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:18 04:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:19 arm64: Pulling from edgex-lftools-log-publisher 04:28:19 8998bd30e6a1: Pulling fs layer 04:28:19 04944245beec: Pulling fs layer 04:28:19 699f458cf7ca: Pulling fs layer 04:28:19 765212b225bb: Pulling fs layer 04:28:19 f23df028b6ca: Pulling fs layer 04:28:19 d65c8cfc05b1: Pulling fs layer 04:28:19 2437ff75d9bd: Pulling fs layer 04:28:19 f23df028b6ca: Waiting 04:28:19 d65c8cfc05b1: Waiting 04:28:19 2437ff75d9bd: Waiting 04:28:19 765212b225bb: Waiting 04:28:19 04944245beec: Verifying Checksum 04:28:19 04944245beec: Download complete 04:28:19 765212b225bb: Verifying Checksum 04:28:19 765212b225bb: Download complete 04:28:19 f23df028b6ca: Verifying Checksum 04:28:19 f23df028b6ca: Download complete 04:28:19 d65c8cfc05b1: Verifying Checksum 04:28:19 d65c8cfc05b1: Download complete 04:28:19 699f458cf7ca: Verifying Checksum 04:28:19 699f458cf7ca: Download complete 04:28:19 8998bd30e6a1: Verifying Checksum 04:28:19 8998bd30e6a1: Download complete 04:28:22 2437ff75d9bd: Verifying Checksum 04:28:22 2437ff75d9bd: Download complete 04:28:24 8998bd30e6a1: Pull complete 04:28:24 04944245beec: Pull complete 04:28:25 699f458cf7ca: Pull complete 04:28:26 765212b225bb: Pull complete 04:28:26 f23df028b6ca: Pull complete 04:28:27 d65c8cfc05b1: Pull complete 04:28:42 2437ff75d9bd: Pull complete 04:28:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:42 prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container 04:28:42 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:28:45 $ docker top b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:46 ---> job-cost.sh 04:28:46 lf-activate-venv: SKIPPING 04:28:46 INFO: No Stack... 04:28:46 INFO: Retrieving Pricing Info for: v3-standard-4 04:28:47 INFO: Archiving Costs [Pipeline] sh 04:28:48 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:28:48 + cut -d, -f6 [Pipeline] lock 04:28:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] 04:28:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] did not exist. Created. 04:28:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:49 /w/workspace/device-onvif-camera/1@tmp/durable-a99196bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:50 + echo total: 0.10999999940395355 [Pipeline] stash 04:28:50 Warning: overwriting stash ‘stack-cost’ 04:28:50 Stashed 1 file(s) [Pipeline] } 04:28:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:50 $ docker stop --time=1 b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 04:28:51 $ docker rm -f b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 [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 04:28:52 provisioning config files... 04:28:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config8546524100354777191tmp [Pipeline] { [Pipeline] sh 04:28:53 + set +x 04:28:53 + + curl -s https://codecov.io/bash 04:28:53 bash -s -- 04:28:53 04:28:53 _____ _ 04:28:53 / ____| | | 04:28:53 | | ___ __| | ___ ___ _____ __ 04:28:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:53 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:53 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:53 Bash-1.0.6 04:28:53 04:28:53 04:28:53 ==> git version 2.25.1 found 04:28:53 ==> 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 04:28:53 Release-Date: 2020-01-08 04:28:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:28:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:28:53 ==> Jenkins CI detected. 04:28:53 current dir:  /w/workspace/undry_device-onvif-camera_PR-123 04:28:53 project root: . 04:28:53 --> token set from env 04:28:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:53 ==> Running gcov in . (disable via -X gcov) 04:28:53 ==> Python coveragepy not found 04:28:53 ==> Searching for coverage reports in: 04:28:53 + . 04:28:53 -> Found 1 reports 04:28:53 ==> Detecting git/mercurial file structure 04:28:53 ==> Reading reports 04:28:53 + ./coverage.out bytes=76856 04:28:53 ==> Appending adjustments 04:28:53 https://docs.codecov.io/docs/fixing-reports 04:28:53 + Found adjustments 04:28:53 ==> Gzipping contents 04:28:53 12K /tmp/codecov.prHbqV.gz 04:28:53 ==> Uploading reports 04:28:53 url: https://codecov.io 04:28:53 query: branch=PR-123&commit=51efc5ccc94ee12395d5568a425ee5aeaabe5871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= 04:28:53 -> Pinging Codecov 04:28:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-123&commit=51efc5ccc94ee12395d5568a425ee5aeaabe5871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= 04:28:53 -> Uploading to 04:28:53 https://storage.googleapis.com/codecov/v4/raw/2022-08-05/F29A59C45E3A92E06B3E522C9905F8EF/51efc5ccc94ee12395d5568a425ee5aeaabe5871/df7b231f-68cf-4ee3-bd32-d16d1b500fec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220805%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220805T042853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=819093a66a554f9a18ac6d80d8e33a228caebe8154e7e1b069e5628ec33af557 04:28:53 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:53 Dload Upload Total Spent Left Speed 04:28:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10366 0 0 100 10366 0 38535 --:--:-- --:--:-- --:--:-- 38535 04:28:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] } 04:28:54 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 04:28:55 + [ -d /w/workspace/undry_device-onvif-camera_PR-123/archives ] 04:28:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives 04:28:55 total 16 04:28:55 drwxr-xr-x 3 root root 4096 Aug 5 04:21 . 04:28:55 drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 04:21 .. 04:28:55 drwxr-xr-x 2 root root 4096 Aug 5 04:21 cost 04:28:55 -rw-r--r-- 1 root root 91 Aug 5 04:21 cost.csv 04:28:55 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-123/archives 04:28:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives 04:28:55 total 16 04:28:55 drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 04:21 . 04:28:55 drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 04:21 .. 04:28:55 drwxr-xr-x 2 jenkins jenkins 4096 Aug 5 04:21 cost 04:28:55 -rw-r--r-- 1 jenkins jenkins 91 Aug 5 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:57 ---> package-listing.sh 04:28:57 ++ facter osfamily 04:28:57 ++ tr '[:upper:]' '[:lower:]' 04:28:57 + OS_FAMILY=debian 04:28:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-123 04:28:57 + START_PACKAGES=/tmp/packages_start.txt 04:28:57 + END_PACKAGES=/tmp/packages_end.txt 04:28:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:57 + PACKAGES=/tmp/packages_start.txt 04:28:57 + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' 04:28:57 + PACKAGES=/tmp/packages_end.txt 04:28:57 + case "${OS_FAMILY}" in 04:28:57 + dpkg -l 04:28:57 + grep '^ii' 04:28:57 + '[' -f /tmp/packages_start.txt ']' 04:28:57 + '[' -f /tmp/packages_end.txt ']' 04:28:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:57 + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' 04:28:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-123/archives/ 04:28:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-123/archives/ [Pipeline] echo 04:28:57 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-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:58 prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container 04:28:58 $ 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-123/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-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@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 04:28:58 $ docker top 636088f20598283e54f3684ea60d08ce3b47dafbefbecccde357302be416f497 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:58 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:59 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:59 + ls /var/log/sa-host 04:28:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:59 provisioning config files... 04:28:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config1117277418213563811tmp [Pipeline] { [Pipeline] echo 04:28:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:00 ---> create-netrc.sh [Pipeline] } 04:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:29:00 ---> python-tools-install.sh [Pipeline] echo 04:29:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:00 ---> sudo-logs.sh 04:29:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:01 ---> job-cost.sh 04:29:01 lf-activate-venv: SKIPPING 04:29:01 DEBUG: total: 0.2199999988079071 04:29:01 INFO: Retrieving Stack Cost... 04:29:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:02 INFO: Archiving Costs [Pipeline] echo 04:29:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:02 ---> logs-deploy.sh 04:29:02 lf-activate-venv: SKIPPING 04:29:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-123/1 04:29:02 INFO: archiving workspace using pattern(s): 04:29:03 Archives upload complete. 04:29:03 INFO: archiving logs to Nexus