Pull request #263 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 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 rather than 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 Obtained Jenkinsfile from 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 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-ssh11417386138885864129.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4548542325246975947.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-263/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-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh788139664719815481.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-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh146262962922396860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9272097207783489485.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-263/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-263/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12172515086631500278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-274 in /w/workspace/undry_device-onvif-camera_PR-263 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-263 # 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 > 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/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 into PR head commit 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 Merge succeeded, producing 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 Checking out Revision 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 (PR-263) > git config core.sparsecheckout # timeout=10 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # 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 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # timeout=10 Commit message: "docs: add warning for main branch, link to releases" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:00:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:00:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:00:25 ========================================================= 22:00:25 EdgeX Global Pipelines Version Info 22:00:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:00:26 ------------------- 22:00:26 stable info: 22:00:26 ------------------- 22:00:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:00:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:00:26 Message: update stable to v1.0.245 22:00:27 ------------------- 22:00:27 experimental info: 22:00:27 ------------------- 22:00:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:00:27 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:00:27 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-263 [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-263 [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-263 [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a5483b [Pipeline] echo 22:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:00:28 provisioning config files... 22:00:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config15296892682186494910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:29 ---> docker-login.sh 22:00:29 nexus3.edgexfoundry.org:10001 22:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:29 Configure a credential helper to remove this warning. See 22:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:29 22:00:29 Login Succeeded 22:00:29 nexus3.edgexfoundry.org:10002 22:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:29 Configure a credential helper to remove this warning. See 22:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:29 22:00:29 Login Succeeded 22:00:29 nexus3.edgexfoundry.org:10003 22:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:29 Configure a credential helper to remove this warning. See 22:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:29 22:00:29 Login Succeeded 22:00:29 nexus3.edgexfoundry.org:10004 22:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:30 Configure a credential helper to remove this warning. See 22:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:30 22:00:30 Login Succeeded 22:00:30 docker.io 22:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:30 Configure a credential helper to remove this warning. See 22:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:30 22:00:30 Login Succeeded 22:00:30 ---> docker-login.sh ends [Pipeline] } 22:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:00:30 + git rev-list -1 --merges 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3~1..4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 [Pipeline] echo 22:00:31 -----------> git rev-list -1 --merges 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3~1..4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 [false] [Pipeline] sh 22:00:31 + git log --format=format:%s -1 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 [Pipeline] echo 22:00:31 ========================================================= 22:00:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:00:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:00:31 + git log --format=format:%s -1 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 [Pipeline] echo 22:00:31 [semverPrep] GIT_COMMIT: 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3, Commit Message: docs: add warning for main branch, link to releases [Pipeline] echo 22:00:31 [semverPrep] This is not a build commit. [Pipeline] sh 22:00:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:32 + grep -v github /etc/ssh/ssh_known_hosts 22:00:32 + [ -e /tmp/ssh_known_hosts ] 22:00:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:00:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:00:32 + sudo tee -a /etc/ssh/ssh_known_hosts 22:00:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:32 22:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:33 0.1.4: Pulling from edgex-devops/py-git-semver 22:00:33 b85a868b505f: Pulling fs layer 22:00:33 e2be974225ed: Pulling fs layer 22:00:33 339a4e72a1f5: Pulling fs layer 22:00:33 988bab9f4d93: Pulling fs layer 22:00:33 1469e6f7b9e6: Pulling fs layer 22:00:33 eaf3925da568: Pulling fs layer 22:00:33 bab4dde63d76: Pulling fs layer 22:00:33 988bab9f4d93: Waiting 22:00:33 eaf3925da568: Waiting 22:00:33 bab4dde63d76: Waiting 22:00:33 bde34c3a00c8: Pulling fs layer 22:00:33 b352a97aabf1: Pulling fs layer 22:00:33 bde34c3a00c8: Waiting 22:00:33 4872d77fe225: Pulling fs layer 22:00:33 5851b861e8e6: Pulling fs layer 22:00:33 b352a97aabf1: Waiting 22:00:33 4872d77fe225: Waiting 22:00:33 5851b861e8e6: Waiting 22:00:33 e2be974225ed: Verifying Checksum 22:00:33 e2be974225ed: Download complete 22:00:33 988bab9f4d93: Download complete 22:00:33 1469e6f7b9e6: Verifying Checksum 22:00:33 1469e6f7b9e6: Download complete 22:00:33 eaf3925da568: Verifying Checksum 22:00:33 eaf3925da568: Download complete 22:00:33 339a4e72a1f5: Verifying Checksum 22:00:33 339a4e72a1f5: Download complete 22:00:33 bde34c3a00c8: Verifying Checksum 22:00:33 bde34c3a00c8: Download complete 22:00:33 b352a97aabf1: Verifying Checksum 22:00:33 b352a97aabf1: Download complete 22:00:33 4872d77fe225: Download complete 22:00:33 5851b861e8e6: Verifying Checksum 22:00:33 5851b861e8e6: Download complete 22:00:33 b85a868b505f: Verifying Checksum 22:00:33 b85a868b505f: Download complete 22:00:33 bab4dde63d76: Verifying Checksum 22:00:33 bab4dde63d76: Download complete 22:00:35 b85a868b505f: Pull complete 22:00:35 e2be974225ed: Pull complete 22:00:35 339a4e72a1f5: Pull complete 22:00:35 988bab9f4d93: Pull complete 22:00:35 1469e6f7b9e6: Pull complete 22:00:35 eaf3925da568: Pull complete 22:00:37 bab4dde63d76: Pull complete 22:00:37 bde34c3a00c8: Pull complete 22:00:38 b352a97aabf1: Pull complete 22:00:38 4872d77fe225: Pull complete 22:00:38 5851b861e8e6: Pull complete 22:00:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:00:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:38 prd-ubuntu20.04-docker-8c-8g-274 does not seem to be running inside a container 22:00:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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 22:00:40 $ docker top 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 -eo pid,comm 22:00:40 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). 22:00:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:40 [ssh-agent] Looking for ssh-agent implementation... 22:00:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:40 $ docker exec 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 ssh-agent 22:00:40 SSH_AUTH_SOCK=/tmp/ssh-r6cWy8JlkuiW/agent.32 22:00:40 SSH_AGENT_PID=38 22:00:40 Running ssh-add (command line suppressed) 22:00:40 Identity added: /w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_1095954736709521972.key (/w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_1095954736709521972.key) 22:00:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:40 + git tag --points-at HEAD [Pipeline] } 22:00:41 $ docker exec --env ******** --env ******** 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 ssh-agent -k 22:00:41 unset SSH_AUTH_SOCK; 22:00:41 unset SSH_AGENT_PID; 22:00:41 echo Agent pid 38 killed; 22:00:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:00:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:41 [ssh-agent] Looking for ssh-agent implementation... 22:00:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:41 $ docker exec 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 ssh-agent 22:00:41 SSH_AUTH_SOCK=/tmp/ssh-HhM7fFuBh2Te/agent.70 22:00:41 SSH_AGENT_PID=76 22:00:41 Running ssh-add (command line suppressed) 22:00:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_3197243835356779641.key (/w/workspace/undry_device-onvif-camera_PR-263@tmp/private_key_3197243835356779641.key) 22:00:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:41 + git semver init 22:00:42 2023-03-14 22:00:42,176 [run_init] DEBUG init version:0.0.0 force:False 22:00:42 2023-03-14 22:00:42,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-263/.semver 22:00:42 2023-03-14 22:00:42,177 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-263/.semver 22:00:42 2023-03-14 22:00:42,178 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-263/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-263, universal_newlines=False, shell=None, istream=None) 22:00:43 2023-03-14 22:00:43,324 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-263/.git/info/exclude 22:00:43 2023-03-14 22:00:43,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 with force:False 22:00:43 2023-03-14 22:00:43,325 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 22:00:43 2023-03-14 22:00:43,329 [execute] INFO git cat-file --batch-check 22:00:43 2023-03-14 22:00:43,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-263/.semver, universal_newlines=False, shell=None, istream=) 22:00:43 2023-03-14 22:00:43,336 [execute] INFO git cat-file --batch 22:00:43 2023-03-14 22:00:43,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-263/.semver, universal_newlines=False, shell=None, istream=) 22:00:43 2023-03-14 22:00:43,342 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-263/.semver/PR-263 22:00:43 0.0.0 [Pipeline] } 22:00:43 $ docker exec --env ******** --env ******** 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 ssh-agent -k 22:00:43 unset SSH_AUTH_SOCK; 22:00:43 unset SSH_AGENT_PID; 22:00:43 echo Agent pid 76 killed; 22:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:44 + git semver [Pipeline] } 22:00:44 $ docker stop --time=1 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 22:00:45 $ docker rm -f --volumes 2c62f1ed83c430da23b8f1781abaea3a8765028eb162d8fa347136792d99f964 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:00:46 Stashed 1 file(s) [Pipeline] echo 22:00:46 [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 22:00:47 provisioning config files... 22:00:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config13478708757941466841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:47 ---> docker-login.sh 22:00:47 nexus3.edgexfoundry.org:10001 22:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:47 Configure a credential helper to remove this warning. See 22:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:47 22:00:47 Login Succeeded 22:00:47 nexus3.edgexfoundry.org:10002 22:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:47 Configure a credential helper to remove this warning. See 22:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:47 22:00:47 Login Succeeded 22:00:47 nexus3.edgexfoundry.org:10003 22:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:47 Configure a credential helper to remove this warning. See 22:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:47 22:00:47 Login Succeeded 22:00:47 nexus3.edgexfoundry.org:10004 22:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:47 Configure a credential helper to remove this warning. See 22:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:47 22:00:47 Login Succeeded 22:00:47 docker.io 22:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:47 Configure a credential helper to remove this warning. See 22:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:47 22:00:47 Login Succeeded 22:00:47 ---> docker-login.sh ends [Pipeline] } 22:00:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:00:48 ========================================================= 22:00:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:00:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:00:48 Sending build context to Docker daemon 27.86MB 22:00:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:00:48 Step 2/13 : FROM ${BASE} AS builder 22:00:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:00:48 63b65145d645: Pulling fs layer 22:00:48 a2d21d5440eb: Pulling fs layer 22:00:48 935e6c44a52c: Pulling fs layer 22:00:48 94cc34f8dd06: Pulling fs layer 22:00:48 30dea6a524f1: Pulling fs layer 22:00:48 a2aff8979fd8: Pulling fs layer 22:00:48 6808be2612f2: Pulling fs layer 22:00:48 f25807f1079a: Pulling fs layer 22:00:48 30dea6a524f1: Waiting 22:00:48 94cc34f8dd06: Waiting 22:00:48 a2aff8979fd8: Waiting 22:00:48 6808be2612f2: Waiting 22:00:48 f25807f1079a: Waiting 22:00:48 a2d21d5440eb: Verifying Checksum 22:00:48 a2d21d5440eb: Download complete 22:00:48 94cc34f8dd06: Verifying Checksum 22:00:48 94cc34f8dd06: Download complete 22:00:48 30dea6a524f1: Download complete 22:00:48 63b65145d645: Download complete 22:00:48 a2aff8979fd8: Verifying Checksum 22:00:48 a2aff8979fd8: Download complete 22:00:49 63b65145d645: Pull complete 22:00:49 a2d21d5440eb: Pull complete 22:00:49 f25807f1079a: Verifying Checksum 22:00:49 f25807f1079a: Download complete 22:00:49 935e6c44a52c: Verifying Checksum 22:00:49 935e6c44a52c: Download complete 22:00:49 6808be2612f2: Verifying Checksum 22:00:49 6808be2612f2: Download complete 22:00:53 935e6c44a52c: Pull complete 22:00:53 94cc34f8dd06: Pull complete 22:00:53 30dea6a524f1: Pull complete 22:00:53 a2aff8979fd8: Pull complete 22:00:56 6808be2612f2: Pull complete 22:00:57 f25807f1079a: Pull complete 22:00:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:00:57 ---> 3b553350e43f 22:00:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:00:58 ---> Running in 6632ca642a5f 22:00:59 Removing intermediate container 6632ca642a5f 22:00:59 ---> 90db7dd812cf 22:00:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:59 ---> Running in 05dbe946c7e1 22:00:59 Removing intermediate container 05dbe946c7e1 22:00:59 ---> cf38afb38844 22:00:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:00:59 ---> Running in 3c1728c6a91d 22:00:59 Removing intermediate container 3c1728c6a91d 22:00:59 ---> 9ab15e227725 22:00:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:00:59 ---> Running in 12ce3ed8958a 22:00:59 Removing intermediate container 12ce3ed8958a 22:00:59 ---> 7b3a26e115e6 22:00:59 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:00:59 ---> Running in 059b494ed54d 22:00:59 Removing intermediate container 059b494ed54d 22:00:59 ---> 7056e4a81ca7 22:00:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:59 ---> Running in 50a7ddfd6a2c 22:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:01:00 OK: 265 MiB in 53 packages 22:01:01 Removing intermediate container 50a7ddfd6a2c 22:01:01 ---> 143d251ba72f 22:01:01 Step 9/13 : WORKDIR /device-onvif-camera 22:01:01 ---> Running in 5ce2f3158c25 22:01:01 Removing intermediate container 5ce2f3158c25 22:01:01 ---> 6defebccd1cc 22:01:01 Step 10/13 : COPY go.mod vendor* ./ 22:01:01 ---> 6840d3716553 22:01:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:01 ---> Running in 7c486bc922bd 22:01:01 Still waiting to schedule task 22:01:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:01:27 Removing intermediate container 7c486bc922bd 22:01:27 ---> 84ce67f232cb 22:01:27 Step 12/13 : COPY . . 22:01:27 ---> 4fdd93adc5eb 22:01:27 Step 13/13 : RUN ${MAKE} 22:01:27 ---> Running in 9fd3f5a8b5b0 22:01:27 noop 22:01:27 Removing intermediate container 9fd3f5a8b5b0 22:01:27 ---> 389b1382d20b 22:01:27 Successfully built 389b1382d20b 22:01:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:28 + docker inspect -f . ci-base-image-x86_64 22:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:28 prd-ubuntu20.04-docker-8c-8g-274 does not seem to be running inside a container 22:01:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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 22:01:28 $ docker top b4e8bf0aa8dd6e8f056ad639b677a7e2c36aa07540d542320f03165c5a03a93e -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:29 + go version 22:01:29 go version go1.20.2 linux/amd64 [Pipeline] } 22:01:29 $ docker stop --time=1 b4e8bf0aa8dd6e8f056ad639b677a7e2c36aa07540d542320f03165c5a03a93e 22:01:30 $ docker rm -f --volumes b4e8bf0aa8dd6e8f056ad639b677a7e2c36aa07540d542320f03165c5a03a93e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:31 + docker inspect -f . ci-base-image-x86_64 22:01:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:31 prd-ubuntu20.04-docker-8c-8g-274 does not seem to be running inside a container 22:01:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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 22:01:31 $ docker top 5a6fda4ed3067b0138b1fffe3311b5c47761acbedcde841f5ac57e7bb0149e72 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-263 [Pipeline] fileExists [Pipeline] sh 22:01:32 + make test 22:01:32 go test ./... -coverprofile=coverage.out ./... 22:01:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:01:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:01:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:01:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.061s coverage: 30.5% of statements 22:01:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.844s coverage: 86.5% of statements 22:02:02 go vet ./... 22:02:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:02:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:02:05 ./bin/test-attribution-txt.sh [Pipeline] echo 22:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:02:06 $ docker stop --time=1 5a6fda4ed3067b0138b1fffe3311b5c47761acbedcde841f5ac57e7bb0149e72 22:02:07 $ docker rm -f --volumes 5a6fda4ed3067b0138b1fffe3311b5c47761acbedcde841f5ac57e7bb0149e72 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:02:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:02:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:02:09 + ls -al . 22:02:09 total 232 22:02:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 22:01 . 22:02:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:00 .. 22:02:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 22:00 .git 22:02:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:00 .github 22:02:09 -rw-rw-r-- 1 jenkins jenkins 496 Mar 14 22:00 .gitignore 22:02:09 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 22:00 .golangci.yml 22:02:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 22:00 .semver 22:02:09 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 14 22:00 Attribution.txt 22:02:09 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 14 22:00 CHANGELOG.md 22:02:09 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 14 22:00 Dockerfile 22:02:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 22:00 GOVERNANCE.md 22:02:09 -rw-rw-r-- 1 jenkins jenkins 734 Mar 14 22:00 Jenkinsfile 22:02:09 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 22:00 LICENSE 22:02:09 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 14 22:00 Makefile 22:02:09 -rw-rw-r-- 1 jenkins jenkins 625 Mar 14 22:00 OWNERS.md 22:02:09 -rw-rw-r-- 1 jenkins jenkins 6159 Mar 14 22:00 README.md 22:02:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 22:00 VERSION 22:02:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:00 bin 22:02:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:00 cmd 22:02:09 -rw-r--r-- 1 jenkins jenkins 76650 Mar 14 22:01 coverage.out 22:02:09 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 22:00 doc 22:02:09 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 14 22:00 go.mod 22:02:09 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 14 22:00 go.sum 22:02:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:00 internal 22:02:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:00 snap 22:02:09 -rw-rw-r-- 1 jenkins jenkins 236 Mar 14 22:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:09 + 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=4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 --label arch=amd64 --label version=0.0.0 . 22:02:09 Sending build context to Docker daemon 27.94MB 22:02:09 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:02:09 Step 2/26 : FROM ${BASE} AS builder 22:02:09 ---> 389b1382d20b 22:02:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:02:09 ---> Running in 66b29cede601 22:02:09 Removing intermediate container 66b29cede601 22:02:09 ---> 1d8301355ddf 22:02:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:09 ---> Running in 807920c1b846 22:02:10 Removing intermediate container 807920c1b846 22:02:10 ---> e6a25e5d621e 22:02:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:02:10 ---> Running in 65bd22d747c6 22:02:10 Removing intermediate container 65bd22d747c6 22:02:10 ---> df544127d783 22:02:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:02:10 ---> Running in 145c87621ce4 22:02:10 Removing intermediate container 145c87621ce4 22:02:10 ---> b79caf6f4d57 22:02:10 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:02:10 ---> Running in 05300385950d 22:02:10 Removing intermediate container 05300385950d 22:02:10 ---> 6437018fc55e 22:02:10 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:10 ---> Running in 75a62b6a8e9d 22:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:02:11 OK: 265 MiB in 53 packages 22:02:11 Removing intermediate container 75a62b6a8e9d 22:02:11 ---> ceeb70c04e2a 22:02:11 Step 9/26 : WORKDIR /device-onvif-camera 22:02:11 ---> Running in 47cad839528d 22:02:11 Removing intermediate container 47cad839528d 22:02:11 ---> 37f1cf137cf3 22:02:11 Step 10/26 : COPY go.mod vendor* ./ 22:02:12 ---> 5dafce72784b 22:02:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:12 ---> Running in 327f95934b7d 22:02:13 Removing intermediate container 327f95934b7d 22:02:13 ---> 8b18d0037acf 22:02:13 Step 12/26 : COPY . . 22:02:13 ---> c37c2eac2a3f 22:02:13 Step 13/26 : RUN ${MAKE} 22:02:13 ---> Running in 1230db8d4fa3 22:02:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:02:36 Removing intermediate container 1230db8d4fa3 22:02:36 ---> 07c7c57bbabc 22:02:36 Step 14/26 : FROM alpine:3.16 22:02:36 3.16: Pulling from library/alpine 22:02:36 ef5531b6e74e: Pulling fs layer 22:02:36 ef5531b6e74e: Verifying Checksum 22:02:36 ef5531b6e74e: Download complete 22:02:36 ef5531b6e74e: Pull complete 22:02:36 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:02:36 Status: Downloaded newer image for alpine:3.16 22:02:36 ---> dfd21b5a31f5 22:02:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:02:36 ---> Running in 4d52ccc31a75 22:02:36 Removing intermediate container 4d52ccc31a75 22:02:36 ---> 004bed66c84e 22:02:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:02:36 ---> Running in e91ae5d3e826 22:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:02:36 (1/1) Installing dumb-init (1.2.5-r1) 22:02:36 Executing busybox-1.35.0-r17.trigger 22:02:36 OK: 6 MiB in 15 packages 22:02:36 Removing intermediate container e91ae5d3e826 22:02:36 ---> eb7d956e2cd4 22:02:36 Step 17/26 : WORKDIR / 22:02:36 ---> Running in 556e1abd4b9f 22:02:36 Removing intermediate container 556e1abd4b9f 22:02:36 ---> f2edb1f2f725 22:02:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:02:36 ---> c6b9efb28bdf 22:02:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:02:36 ---> 1c3b2b5dbe79 22:02:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:02:36 ---> 69bfd4c97df0 22:02:36 Step 21/26 : EXPOSE 59984 22:02:36 ---> Running in b071ea7fdcc9 22:02:36 Removing intermediate container b071ea7fdcc9 22:02:36 ---> 1aa800530232 22:02:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:02:36 ---> Running in 2b8781adc542 22:02:36 Removing intermediate container 2b8781adc542 22:02:36 ---> 5c43e9c20af1 22:02:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:02:36 ---> Running in 7310bdcd1d89 22:02:36 Removing intermediate container 7310bdcd1d89 22:02:36 ---> 095b4a10bbee 22:02:36 Step 24/26 : LABEL arch=amd64 22:02:36 ---> Running in 0f77117adb50 22:02:36 Removing intermediate container 0f77117adb50 22:02:36 ---> de8487459d53 22:02:36 Step 25/26 : LABEL git_sha=4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 22:02:36 ---> Running in 58190d797bc3 22:02:36 Removing intermediate container 58190d797bc3 22:02:36 ---> 559c7df0199a 22:02:36 Step 26/26 : LABEL version=0.0.0 22:02:36 ---> Running in ff118bf88a42 22:02:36 Removing intermediate container ff118bf88a42 22:02:36 ---> 3482b6772b30 22:02:36 [Warning] One or more build-args [ARCH] were not consumed 22:02:36 Successfully built 3482b6772b30 22:02:36 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 22:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:37 22:02:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:38 latest: Pulling from edgex-lftools-log-publisher 22:02:38 5eb5b503b376: Pulling fs layer 22:02:38 5c69ac0246d0: Pulling fs layer 22:02:38 ec43610c2a17: Pulling fs layer 22:02:38 3a2ae6a8a46f: Pulling fs layer 22:02:38 33b1e0a273af: Pulling fs layer 22:02:38 5d3b04190fa2: Pulling fs layer 22:02:38 2f39f015ded8: Pulling fs layer 22:02:38 3a2ae6a8a46f: Waiting 22:02:38 33b1e0a273af: Waiting 22:02:38 5d3b04190fa2: Waiting 22:02:38 2f39f015ded8: Waiting 22:02:38 5c69ac0246d0: Download complete 22:02:38 3a2ae6a8a46f: Download complete 22:02:38 33b1e0a273af: Verifying Checksum 22:02:38 33b1e0a273af: Download complete 22:02:38 5d3b04190fa2: Verifying Checksum 22:02:38 5d3b04190fa2: Download complete 22:02:38 ec43610c2a17: Verifying Checksum 22:02:38 ec43610c2a17: Download complete 22:02:38 5eb5b503b376: Verifying Checksum 22:02:38 5eb5b503b376: Download complete 22:02:38 2f39f015ded8: Download complete 22:02:39 5eb5b503b376: Pull complete 22:02:39 5c69ac0246d0: Pull complete 22:02:39 ec43610c2a17: Pull complete 22:02:40 3a2ae6a8a46f: Pull complete 22:02:40 33b1e0a273af: Pull complete 22:02:40 5d3b04190fa2: Pull complete 22:02:45 2f39f015ded8: Pull complete 22:02:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:45 prd-ubuntu20.04-docker-8c-8g-274 does not seem to be running inside a container 22:02:46 $ 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-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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 22:02:48 $ docker top 3b303a6493c2359cb00e64cfb5d786a7e9aa1e0af4be8d830454a0a6c3386207 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:48 ---> job-cost.sh 22:02:48 lf-activate-venv: SKIPPING 22:02:48 INFO: No Stack... 22:02:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:02:49 INFO: Archiving Costs [Pipeline] sh 22:02:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-275 in /w/workspace/undry_device-onvif-camera_PR-263 [Pipeline] { [Pipeline] ws 22:02:49 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 22:02:49 + cat /w/workspace/undry_device-onvif-camera_PR-263/archives/cost.csv 22:02:49 + cut -d, -f6 22:02:49 The recommended git tool is: git [Pipeline] lock 22:02:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] 22:02:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] did not exist. Created. 22:02:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:49 + echo total: 0.2199999988079071 [Pipeline] stash 22:02:49 Stashed 1 file(s) [Pipeline] } 22:02:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:50 $ docker stop --time=1 3b303a6493c2359cb00e64cfb5d786a7e9aa1e0af4be8d830454a0a6c3386207 22:02:51 $ docker rm -f --volumes 3b303a6493c2359cb00e64cfb5d786a7e9aa1e0af4be8d830454a0a6c3386207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:02:55 using credential edgex-jenkins-ssh 22:02:55 Cloning the remote Git repository 22:02:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:02:55 > git init /w/workspace/device-onvif-camera/1 # timeout=10 22:02:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:02:55 > git --version # timeout=10 22:02:55 > git --version # 'git version 2.25.1' 22:02:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:02:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:02:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:02:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:02:59 Merging remotes/origin/main commit 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 into PR head commit 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 22:02:59 Merge succeeded, producing 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 22:02:59 Checking out Revision 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 (PR-263) 22:02:59 > git config core.sparsecheckout # timeout=10 22:02:59 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # timeout=10 22:02:59 > git remote # timeout=10 22:02:59 > git config --get remote.origin.url # timeout=10 22:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:59 > git merge 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 22:02:59 > git rev-parse HEAD^{commit} # timeout=10 22:02:59 > git config core.sparsecheckout # timeout=10 22:02:59 > git checkout -f 4a5483b6b1853ce2ee33a117cbdac6c2dce732a3 # timeout=10 22:03:03 Commit message: "docs: add warning for main branch, link to releases" 22:03:03 > git --version # timeout=10 22:03:03 > git --version # 'git version 2.25.1' 22:03:03 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:03:04 % Total % Received % Xferd Average Speed Time Time Time Current 22:03:04 Dload Upload Total Spent Left Speed 22:03:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 22:03:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:03:05 + sudo tee /etc/docker/daemon.new 22:03:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:03:05 { 22:03:05 "registry-mirrors": [ 22:03:05 "https://nexus3.edgexfoundry.org:10001" 22:03:05 ], 22:03:05 "bip": "10.250.0.254/24", 22:03:05 "hosts": [ 22:03:05 "tcp://0.0.0.0:5555", 22:03:05 "unix:///var/run/docker.sock" 22:03:05 ], 22:03:05 "mtu": 1458, 22:03:05 "selinux-enabled": true, 22:03:05 "seccomp-profile": "/etc/docker/seccomp.json" 22:03:05 } [Pipeline] sh 22:03:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:03:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:24 provisioning config files... 22:03:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config10529027628869904206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:25 ---> docker-login.sh 22:03:25 nexus3.edgexfoundry.org:10001 22:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:25 Configure a credential helper to remove this warning. See 22:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:25 22:03:25 Login Succeeded 22:03:25 nexus3.edgexfoundry.org:10002 22:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:26 Configure a credential helper to remove this warning. See 22:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:26 22:03:26 Login Succeeded 22:03:26 nexus3.edgexfoundry.org:10003 22:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:26 Configure a credential helper to remove this warning. See 22:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:26 22:03:26 Login Succeeded 22:03:26 nexus3.edgexfoundry.org:10004 22:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:26 Configure a credential helper to remove this warning. See 22:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:26 22:03:26 Login Succeeded 22:03:26 docker.io 22:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:27 Configure a credential helper to remove this warning. See 22:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:27 22:03:27 Login Succeeded 22:03:27 ---> docker-login.sh ends [Pipeline] } 22:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:27 ========================================================= 22:03:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:03:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:03:29 Sending build context to Docker daemon 20.62MB 22:03:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:03:29 Step 2/13 : FROM ${BASE} AS builder 22:03:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:03:29 af6eaf76a39c: Pulling fs layer 22:03:29 55522c791124: Pulling fs layer 22:03:29 ce5c4a1c91eb: Pulling fs layer 22:03:29 169dfbe0d373: Pulling fs layer 22:03:29 e1ff8fa3b103: Pulling fs layer 22:03:29 52ebb69f0ebf: Pulling fs layer 22:03:29 5abe8eddf0d5: Pulling fs layer 22:03:29 169dfbe0d373: Waiting 22:03:29 e1ff8fa3b103: Waiting 22:03:29 52ebb69f0ebf: Waiting 22:03:29 5abe8eddf0d5: Waiting 22:03:29 55522c791124: Verifying Checksum 22:03:29 55522c791124: Download complete 22:03:29 169dfbe0d373: Verifying Checksum 22:03:29 169dfbe0d373: Download complete 22:03:29 e1ff8fa3b103: Verifying Checksum 22:03:29 e1ff8fa3b103: Download complete 22:03:29 af6eaf76a39c: Verifying Checksum 22:03:29 af6eaf76a39c: Download complete 22:03:30 af6eaf76a39c: Pull complete 22:03:30 5abe8eddf0d5: Verifying Checksum 22:03:30 5abe8eddf0d5: Download complete 22:03:31 ce5c4a1c91eb: Verifying Checksum 22:03:31 ce5c4a1c91eb: Download complete 22:03:31 52ebb69f0ebf: Verifying Checksum 22:03:31 52ebb69f0ebf: Download complete 22:03:33 55522c791124: Pull complete 22:03:45 ce5c4a1c91eb: Pull complete 22:03:45 169dfbe0d373: Pull complete 22:03:46 e1ff8fa3b103: Pull complete 22:03:52 52ebb69f0ebf: Pull complete 22:03:53 5abe8eddf0d5: Pull complete 22:03:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:03:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:03:53 ---> 6cb57ee374ae 22:03:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:03:55 ---> Running in 978d45d2542c 22:03:56 Removing intermediate container 978d45d2542c 22:03:56 ---> d17499b37a3f 22:03:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:56 ---> Running in 9c1a3829d994 22:03:56 Removing intermediate container 9c1a3829d994 22:03:56 ---> 308ac76ef51b 22:03:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:03:56 ---> Running in 6ee06c586dd4 22:03:57 Removing intermediate container 6ee06c586dd4 22:03:57 ---> e24c8c3f1029 22:03:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:03:57 ---> Running in d92917eaeb2f 22:03:57 Removing intermediate container d92917eaeb2f 22:03:57 ---> f9f57b549590 22:03:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:03:57 ---> Running in 11fa56bf6e7c 22:03:57 Removing intermediate container 11fa56bf6e7c 22:03:57 ---> 414fd64f8aba 22:03:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:58 ---> Running in a11f0652402a 22:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:04:01 OK: 263 MiB in 53 packages 22:04:02 Removing intermediate container a11f0652402a 22:04:02 ---> ae57f3b0d4e1 22:04:02 Step 9/13 : WORKDIR /device-onvif-camera 22:04:02 ---> Running in 95763204759f 22:04:02 Removing intermediate container 95763204759f 22:04:02 ---> 6e0beb22768d 22:04:02 Step 10/13 : COPY go.mod vendor* ./ 22:04:03 ---> 150a2544c07c 22:04:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:03 ---> Running in de8560a01fe2 22:05:11 Removing intermediate container de8560a01fe2 22:05:11 ---> c38dd07185f5 22:05:11 Step 12/13 : COPY . . 22:05:11 ---> cd6e9ce9918c 22:05:11 Step 13/13 : RUN ${MAKE} 22:05:11 ---> Running in c8a2f167a69c 22:05:11 noop 22:05:11 Removing intermediate container c8a2f167a69c 22:05:11 ---> fcdbeeb94d25 22:05:11 Successfully built fcdbeeb94d25 22:05:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:11 + docker inspect -f . ci-base-image-arm64 22:05:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:12 prd-ubuntu20.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 22:05:12 $ 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 22:05:13 $ docker top 81ff4b4578c17ea3cb33161aca5a20d61f62793d038a931682e599794fdf631f -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:14 + go version 22:05:14 go version go1.20.2 linux/arm64 [Pipeline] } 22:05:14 $ docker stop --time=1 81ff4b4578c17ea3cb33161aca5a20d61f62793d038a931682e599794fdf631f 22:05:16 $ docker rm -f --volumes 81ff4b4578c17ea3cb33161aca5a20d61f62793d038a931682e599794fdf631f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:17 + docker inspect -f . ci-base-image-arm64 22:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:17 prd-ubuntu20.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 22:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:05:19 $ docker top def896abf203157f310d827505dabe2e32cb98f233b73cf83464a2e3e75388c2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:20 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 22:05:20 + make test 22:05:20 go test ./... -coverprofile=coverage.out ./... 22:05:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:08:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:08:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:08:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 30.5% of statements 22:09:23 --- FAIL: TestIpGenerator (0.00s) 22:09:23 --- FAIL: TestIpGenerator/basic_/8_subnet (30.62s) 22:09:23 util_test.go:180: 22:09:23 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:180 22:09:23 Error: Not equal: 22:09:23 expected: 0xfffffe 22:09:23 actual : 0xf1e2ba 22:09:23 Test: TestIpGenerator/basic_/8_subnet 22:09:23 util_test.go:183: 22:09:23 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:183 22:09:23 Error: Not equal: 22:09:23 expected: "10.255.255.254" 22:09:23 actual : "10.241.226.186" 22:09:23 22:09:23 Diff: 22:09:23 --- Expected 22:09:23 +++ Actual 22:09:23 @@ -1 +1 @@ 22:09:23 -10.255.255.254 22:09:23 +10.241.226.186 22:09:23 Test: TestIpGenerator/basic_/8_subnet 22:09:23 FAIL 22:09:23 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 22:09:23 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.854s 22:09:23 FAIL 22:09:23 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 22:09:23 $ docker stop --time=1 def896abf203157f310d827505dabe2e32cb98f233b73cf83464a2e3e75388c2 22:09:25 $ docker rm -f --volumes def896abf203157f310d827505dabe2e32cb98f233b73cf83464a2e3e75388c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:27 22:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:28 arm64: Pulling from edgex-lftools-log-publisher 22:09:28 8998bd30e6a1: Pulling fs layer 22:09:28 04944245beec: Pulling fs layer 22:09:28 699f458cf7ca: Pulling fs layer 22:09:28 765212b225bb: Pulling fs layer 22:09:28 f23df028b6ca: Pulling fs layer 22:09:28 d65c8cfc05b1: Pulling fs layer 22:09:28 2437ff75d9bd: Pulling fs layer 22:09:28 d65c8cfc05b1: Waiting 22:09:28 2437ff75d9bd: Waiting 22:09:28 765212b225bb: Waiting 22:09:28 f23df028b6ca: Waiting 22:09:28 04944245beec: Verifying Checksum 22:09:28 04944245beec: Download complete 22:09:28 765212b225bb: Verifying Checksum 22:09:28 765212b225bb: Download complete 22:09:28 f23df028b6ca: Verifying Checksum 22:09:28 f23df028b6ca: Download complete 22:09:28 d65c8cfc05b1: Verifying Checksum 22:09:28 d65c8cfc05b1: Download complete 22:09:29 699f458cf7ca: Verifying Checksum 22:09:29 699f458cf7ca: Download complete 22:09:29 8998bd30e6a1: Verifying Checksum 22:09:29 8998bd30e6a1: Download complete 22:09:32 2437ff75d9bd: Verifying Checksum 22:09:32 2437ff75d9bd: Download complete 22:09:34 8998bd30e6a1: Pull complete 22:09:34 04944245beec: Pull complete 22:09:35 699f458cf7ca: Pull complete 22:09:36 765212b225bb: Pull complete 22:09:36 f23df028b6ca: Pull complete 22:09:37 d65c8cfc05b1: Pull complete 22:09:52 2437ff75d9bd: Pull complete 22:09:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:53 prd-ubuntu20.04-docker-arm64-4c-16g-275 does not seem to be running inside a container 22:09:53 $ 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 22:09:56 $ docker top 4f7a1a4ddcca413acb6eb0eed83bf8f721d9c6d8f403fa0122d3b84d94202281 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:57 ---> job-cost.sh 22:09:57 lf-activate-venv: SKIPPING 22:09:57 INFO: No Stack... 22:09:57 INFO: Retrieving Pricing Info for: v3-standard-4 22:09:58 INFO: Archiving Costs [Pipeline] sh 22:09:59 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 22:09:59 + cut -d, -f6 [Pipeline] lock 22:09:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] 22:09:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] did not exist. Created. 22:09:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:09:59 /w/workspace/device-onvif-camera/1@tmp/durable-16279449/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:10:00 + echo total: 0.10999999940395355 [Pipeline] stash 22:10:00 Warning: overwriting stash ‘stack-cost’ 22:10:01 Stashed 1 file(s) [Pipeline] } 22:10:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:10:01 $ docker stop --time=1 4f7a1a4ddcca413acb6eb0eed83bf8f721d9c6d8f403fa0122d3b84d94202281 22:10:02 $ docker rm -f --volumes 4f7a1a4ddcca413acb6eb0eed83bf8f721d9c6d8f403fa0122d3b84d94202281 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:10:03 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:10:05 + [ -d /w/workspace/undry_device-onvif-camera_PR-263/archives ] 22:10:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-263/archives 22:10:05 total 16 22:10:05 drwxr-xr-x 3 root root 4096 Mar 14 22:02 . 22:10:05 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 22:02 .. 22:10:05 drwxr-xr-x 2 root root 4096 Mar 14 22:02 cost 22:10:05 -rw-r--r-- 1 root root 91 Mar 14 22:02 cost.csv 22:10:05 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-263/archives 22:10:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-263/archives 22:10:05 total 16 22:10:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 22:02 . 22:10:05 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 22:02 .. 22:10:05 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 22:02 cost 22:10:05 -rw-r--r-- 1 jenkins jenkins 91 Mar 14 22:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:10:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:06 ---> package-listing.sh 22:10:06 ++ tr '[:upper:]' '[:lower:]' 22:10:06 ++ facter osfamily 22:10:07 + OS_FAMILY=debian 22:10:07 + workspace=/w/workspace/undry_device-onvif-camera_PR-263 22:10:07 + START_PACKAGES=/tmp/packages_start.txt 22:10:07 + END_PACKAGES=/tmp/packages_end.txt 22:10:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:07 + PACKAGES=/tmp/packages_start.txt 22:10:07 + '[' /w/workspace/undry_device-onvif-camera_PR-263 ']' 22:10:07 + PACKAGES=/tmp/packages_end.txt 22:10:07 + case "${OS_FAMILY}" in 22:10:07 + dpkg -l 22:10:07 + grep '^ii' 22:10:07 + '[' -f /tmp/packages_start.txt ']' 22:10:07 + '[' -f /tmp/packages_end.txt ']' 22:10:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:07 + '[' /w/workspace/undry_device-onvif-camera_PR-263 ']' 22:10:07 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-263/archives/ 22:10:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-263/archives/ [Pipeline] echo 22:10:07 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-263/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:10:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:08 prd-ubuntu20.04-docker-8c-8g-274 does not seem to be running inside a container 22:10:08 $ 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-263/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-263 -v /w/workspace/undry_device-onvif-camera_PR-263:/w/workspace/undry_device-onvif-camera_PR-263:rw,z -v /w/workspace/undry_device-onvif-camera_PR-263@tmp:/w/workspace/undry_device-onvif-camera_PR-263@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 22:10:08 $ docker top e661caa8dbe90d2ec7f677eb80b67f9194f916a77616d99065230d7e16e14b1c -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:08 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:09 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:09 + ls /var/log/sa-host 22:10:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:09 provisioning config files... 22:10:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-263@tmp/config13249345653011629232tmp [Pipeline] { [Pipeline] echo 22:10:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> create-netrc.sh [Pipeline] } 22:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> python-tools-install.sh [Pipeline] echo 22:10:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:10 ---> sudo-logs.sh 22:10:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:10:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:11 ---> job-cost.sh 22:10:11 lf-activate-venv: SKIPPING 22:10:11 DEBUG: total: 0.2199999988079071 22:10:11 INFO: Retrieving Stack Cost... 22:10:11 INFO: Retrieving Pricing Info for: v3-standard-8 22:10:12 INFO: Archiving Costs [Pipeline] echo 22:10:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:12 ---> logs-deploy.sh 22:10:12 lf-activate-venv: SKIPPING 22:10:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-263/1 22:10:12 INFO: archiving workspace using pattern(s): 22:10:13 Archives upload complete. 22:10:13 INFO: archiving logs to Nexus