Pull request #301 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 weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c2d3d01f810081d5d03fdd295b4e21ae54f5a48a+c6cff038fe156dd62418d57d6c36ffe741a1df05 (9524113d5fcb34e706b688e3242e466b38f46a84) 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-ssh6453388386789422058.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-ssh12554158375503815375.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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16402663819657993511.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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2676148669942171.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-ssh6424861025175404835.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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7145416158190809594.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-7114 in /w/workspace/undry_device-onvif-camera_PR-301 [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-301 # 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/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit c2d3d01f810081d5d03fdd295b4e21ae54f5a48a Merge succeeded, producing c2d3d01f810081d5d03fdd295b4e21ae54f5a48a Checking out Revision c2d3d01f810081d5d03fdd295b4e21ae54f5a48a (PR-301) > git config core.sparsecheckout # timeout=10 > git checkout -f c2d3d01f810081d5d03fdd295b4e21ae54f5a48a # 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 c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2d3d01f810081d5d03fdd295b4e21ae54f5a48a # timeout=10 Commit message: "feat!: Consume SDK interface changes" 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 08:44:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:44:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:44:21 ========================================================= 08:44:21 EdgeX Global Pipelines Version Info 08:44:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:44:22 ------------------- 08:44:22 stable info: 08:44:22 ------------------- 08:44:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:44:22 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:44:22 Message: update stable to v1.0.245 08:44:23 ------------------- 08:44:23 experimental info: 08:44:23 ------------------- 08:44:23 Commited By: **** collab-it+edgex@linuxfoundation.org 08:44:23 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:44:23 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:44:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2d3d01f810081d5d03fdd295b4e21ae54f5a48a [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2d3d01 [Pipeline] echo 08:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:25 provisioning config files... 08:44:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config5178586499842300835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:25 ---> docker-login.sh 08:44:25 nexus3.edgexfoundry.org:10001 08:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:25 Configure a credential helper to remove this warning. See 08:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:25 08:44:25 Login Succeeded 08:44:25 nexus3.edgexfoundry.org:10002 08:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:26 Configure a credential helper to remove this warning. See 08:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:26 08:44:26 Login Succeeded 08:44:26 nexus3.edgexfoundry.org:10003 08:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:26 Configure a credential helper to remove this warning. See 08:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:26 08:44:26 Login Succeeded 08:44:26 nexus3.edgexfoundry.org:10004 08:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:26 Configure a credential helper to remove this warning. See 08:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:26 08:44:26 Login Succeeded 08:44:26 docker.io 08:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:26 Configure a credential helper to remove this warning. See 08:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:26 08:44:26 Login Succeeded 08:44:26 ---> docker-login.sh ends [Pipeline] } 08:44:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:44:27 + git rev-list -1 --merges c2d3d01f810081d5d03fdd295b4e21ae54f5a48a~1..c2d3d01f810081d5d03fdd295b4e21ae54f5a48a [Pipeline] echo 08:44:27 -----------> git rev-list -1 --merges c2d3d01f810081d5d03fdd295b4e21ae54f5a48a~1..c2d3d01f810081d5d03fdd295b4e21ae54f5a48a c2d3d01f810081d5d03fdd295b4e21ae54f5a48a [false] [Pipeline] sh 08:44:27 + git log --format=format:%s -1 c2d3d01f810081d5d03fdd295b4e21ae54f5a48a [Pipeline] echo 08:44:27 ========================================================= 08:44:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:44:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:44:28 + git log --format=format:%s -1 c2d3d01f810081d5d03fdd295b4e21ae54f5a48a [Pipeline] echo 08:44:28 [semverPrep] GIT_COMMIT: c2d3d01f810081d5d03fdd295b4e21ae54f5a48a, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 08:44:28 [semverPrep] This is not a build commit. [Pipeline] sh 08:44:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:44:28 + grep -v github /etc/ssh/ssh_known_hosts 08:44:28 + [ -e /tmp/ssh_known_hosts ] 08:44:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:44:28 + + sudo tee -a /etc/ssh/ssh_known_hosts 08:44:28 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:44:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:44:29 08:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:44:29 0.1.4: Pulling from edgex-devops/py-git-semver 08:44:29 b85a868b505f: Pulling fs layer 08:44:29 e2be974225ed: Pulling fs layer 08:44:29 339a4e72a1f5: Pulling fs layer 08:44:29 988bab9f4d93: Pulling fs layer 08:44:29 1469e6f7b9e6: Pulling fs layer 08:44:29 eaf3925da568: Pulling fs layer 08:44:29 bab4dde63d76: Pulling fs layer 08:44:29 bde34c3a00c8: Pulling fs layer 08:44:29 b352a97aabf1: Pulling fs layer 08:44:29 4872d77fe225: Pulling fs layer 08:44:29 eaf3925da568: Waiting 08:44:29 bab4dde63d76: Waiting 08:44:29 988bab9f4d93: Waiting 08:44:29 bde34c3a00c8: Waiting 08:44:29 b352a97aabf1: Waiting 08:44:29 5851b861e8e6: Pulling fs layer 08:44:29 4872d77fe225: Waiting 08:44:29 5851b861e8e6: Waiting 08:44:29 e2be974225ed: Verifying Checksum 08:44:29 e2be974225ed: Download complete 08:44:29 988bab9f4d93: Verifying Checksum 08:44:29 988bab9f4d93: Download complete 08:44:29 339a4e72a1f5: Verifying Checksum 08:44:29 339a4e72a1f5: Download complete 08:44:29 1469e6f7b9e6: Verifying Checksum 08:44:29 1469e6f7b9e6: Download complete 08:44:29 eaf3925da568: Verifying Checksum 08:44:29 eaf3925da568: Download complete 08:44:29 bde34c3a00c8: Download complete 08:44:29 b352a97aabf1: Verifying Checksum 08:44:29 b352a97aabf1: Download complete 08:44:29 4872d77fe225: Verifying Checksum 08:44:29 4872d77fe225: Download complete 08:44:29 5851b861e8e6: Download complete 08:44:29 b85a868b505f: Verifying Checksum 08:44:29 b85a868b505f: Download complete 08:44:29 bab4dde63d76: Download complete 08:44:30 b85a868b505f: Pull complete 08:44:30 e2be974225ed: Pull complete 08:44:31 339a4e72a1f5: Pull complete 08:44:31 988bab9f4d93: Pull complete 08:44:31 1469e6f7b9e6: Pull complete 08:44:31 eaf3925da568: Pull complete 08:44:33 bab4dde63d76: Pull complete 08:44:33 bde34c3a00c8: Pull complete 08:44:33 b352a97aabf1: Pull complete 08:44:33 4872d77fe225: Pull complete 08:44:33 5851b861e8e6: Pull complete 08:44:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:44:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:33 prd-ubuntu20.04-docker-8c-8g-7114 does not seem to be running inside a container 08:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:44:34 $ docker top cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 -eo pid,comm 08:44:35 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). 08:44:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:35 [ssh-agent] Looking for ssh-agent implementation... 08:44:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:35 $ docker exec cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 ssh-agent 08:44:35 SSH_AUTH_SOCK=/tmp/ssh-mpufjgMRqvXW/agent.31 08:44:35 SSH_AGENT_PID=37 08:44:35 Running ssh-add (command line suppressed) 08:44:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_6328286419748016117.key (/w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_6328286419748016117.key) 08:44:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:35 + git tag --points-at HEAD [Pipeline] } 08:44:35 $ docker exec --env ******** --env ******** cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 ssh-agent -k 08:44:35 unset SSH_AUTH_SOCK; 08:44:35 unset SSH_AGENT_PID; 08:44:35 echo Agent pid 37 killed; 08:44:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:36 [ssh-agent] Looking for ssh-agent implementation... 08:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:36 $ docker exec cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 ssh-agent 08:44:36 SSH_AUTH_SOCK=/tmp/ssh-VWg28h83m7ct/agent.69 08:44:36 SSH_AGENT_PID=75 08:44:36 Running ssh-add (command line suppressed) 08:44:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_8612658856684259686.key (/w/workspace/undry_device-onvif-camera_PR-301@tmp/private_key_8612658856684259686.key) 08:44:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:36 + git semver init 08:44:37 2023-04-07 08:44:37,144 [run_init] DEBUG init version:0.0.0 force:False 08:44:37 2023-04-07 08:44:37,145 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-301/.semver 08:44:37 2023-04-07 08:44:37,146 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-301/.semver 08:44:37 2023-04-07 08:44:37,146 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-301/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-301, universal_newlines=False, shell=None, istream=None) 08:44:38 2023-04-07 08:44:38,019 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-301/.git/info/exclude 08:44:38 2023-04-07 08:44:38,019 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 with force:False 08:44:38 2023-04-07 08:44:38,020 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 08:44:38 2023-04-07 08:44:38,024 [execute] INFO git cat-file --batch-check 08:44:38 2023-04-07 08:44:38,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-301/.semver, universal_newlines=False, shell=None, istream=) 08:44:38 2023-04-07 08:44:38,030 [execute] INFO git cat-file --batch 08:44:38 2023-04-07 08:44:38,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-301/.semver, universal_newlines=False, shell=None, istream=) 08:44:38 2023-04-07 08:44:38,035 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-301/.semver/PR-301 08:44:38 0.0.0 [Pipeline] } 08:44:38 $ docker exec --env ******** --env ******** cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 ssh-agent -k 08:44:38 unset SSH_AUTH_SOCK; 08:44:38 unset SSH_AGENT_PID; 08:44:38 echo Agent pid 75 killed; 08:44:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:38 + git semver [Pipeline] } 08:44:38 $ docker stop --time=1 cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 08:44:40 $ docker rm -f --volumes cf808bbdcdb305b9e4c0ed648cbc4fb140cd830769f8249b9182807b0273ac54 [Pipeline] // withDockerContainer [Pipeline] sh 08:44:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:44:40 Stashed 1 file(s) [Pipeline] echo 08:44:40 [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 08:44:41 provisioning config files... 08:44:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config12826310000267103677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:41 ---> docker-login.sh 08:44:41 nexus3.edgexfoundry.org:10001 08:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:41 Configure a credential helper to remove this warning. See 08:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:41 08:44:41 Login Succeeded 08:44:41 nexus3.edgexfoundry.org:10002 08:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:41 Configure a credential helper to remove this warning. See 08:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:41 08:44:41 Login Succeeded 08:44:41 nexus3.edgexfoundry.org:10003 08:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:42 Configure a credential helper to remove this warning. See 08:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:42 08:44:42 Login Succeeded 08:44:42 nexus3.edgexfoundry.org:10004 08:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:42 Configure a credential helper to remove this warning. See 08:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:42 08:44:42 Login Succeeded 08:44:42 docker.io 08:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:42 Configure a credential helper to remove this warning. See 08:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:42 08:44:42 Login Succeeded 08:44:42 ---> docker-login.sh ends [Pipeline] } 08:44:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:42 ========================================================= 08:44:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:44:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:43 + 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 . 08:44:43 Sending build context to Docker daemon 26.93MB 08:44:43 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 08:44:43 Step 2/13 : FROM ${BASE} AS builder 08:44:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:44:43 63b65145d645: Pulling fs layer 08:44:43 a2d21d5440eb: Pulling fs layer 08:44:43 935e6c44a52c: Pulling fs layer 08:44:43 94cc34f8dd06: Pulling fs layer 08:44:43 30dea6a524f1: Pulling fs layer 08:44:43 a2aff8979fd8: Pulling fs layer 08:44:43 6808be2612f2: Pulling fs layer 08:44:43 f25807f1079a: Pulling fs layer 08:44:43 94cc34f8dd06: Waiting 08:44:43 f25807f1079a: Waiting 08:44:43 6808be2612f2: Waiting 08:44:43 a2aff8979fd8: Waiting 08:44:43 30dea6a524f1: Waiting 08:44:43 a2d21d5440eb: Download complete 08:44:43 94cc34f8dd06: Verifying Checksum 08:44:43 94cc34f8dd06: Download complete 08:44:43 30dea6a524f1: Download complete 08:44:43 63b65145d645: Verifying Checksum 08:44:43 63b65145d645: Download complete 08:44:43 a2aff8979fd8: Verifying Checksum 08:44:43 a2aff8979fd8: Download complete 08:44:43 63b65145d645: Pull complete 08:44:43 a2d21d5440eb: Pull complete 08:44:43 f25807f1079a: Verifying Checksum 08:44:43 f25807f1079a: Download complete 08:44:43 935e6c44a52c: Verifying Checksum 08:44:43 935e6c44a52c: Download complete 08:44:44 6808be2612f2: Verifying Checksum 08:44:44 6808be2612f2: Download complete 08:44:46 935e6c44a52c: Pull complete 08:44:47 94cc34f8dd06: Pull complete 08:44:47 30dea6a524f1: Pull complete 08:44:47 a2aff8979fd8: Pull complete 08:44:49 6808be2612f2: Pull complete 08:44:49 f25807f1079a: Pull complete 08:44:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:44:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:44:49 ---> 3b553350e43f 08:44:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:44:51 ---> Running in 5a2f945bcf84 08:44:51 Removing intermediate container 5a2f945bcf84 08:44:51 ---> 83e5b7bd0ea9 08:44:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:44:51 ---> Running in 133da61ebc03 08:44:51 Removing intermediate container 133da61ebc03 08:44:51 ---> f286dc4fd979 08:44:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:44:51 ---> Running in c7557259f263 08:44:51 Removing intermediate container c7557259f263 08:44:51 ---> 3409966223d3 08:44:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:44:51 ---> Running in 257e0183efba 08:44:51 Removing intermediate container 257e0183efba 08:44:51 ---> 25c7ebbb73ac 08:44:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:44:51 ---> Running in 9453ad377172 08:44:51 Removing intermediate container 9453ad377172 08:44:51 ---> 27966968527f 08:44:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:44:51 ---> Running in b8e0e06e8ee0 08:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:44:52 OK: 265 MiB in 53 packages 08:44:52 Removing intermediate container b8e0e06e8ee0 08:44:52 ---> 3e68670513d6 08:44:52 Step 9/13 : WORKDIR /device-onvif-camera 08:44:52 ---> Running in fd1b25f65c14 08:44:53 Removing intermediate container fd1b25f65c14 08:44:53 ---> 8bea18c1b71c 08:44:53 Step 10/13 : COPY go.mod vendor* ./ 08:44:53 ---> 1fa787c6dcda 08:44:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:44:53 ---> Running in e745bc1830d0 08:44:56 Still waiting to schedule task 08:44:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:45:11 Removing intermediate container e745bc1830d0 08:45:11 ---> 3c7444fa6470 08:45:11 Step 12/13 : COPY . . 08:45:11 ---> 1d6b8c5c5f8d 08:45:11 Step 13/13 : RUN ${MAKE} 08:45:11 ---> Running in caa0fbf2be2d 08:45:11 noop 08:45:11 Removing intermediate container caa0fbf2be2d 08:45:11 ---> 4bef9d33603c 08:45:11 Successfully built 4bef9d33603c 08:45:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:11 + docker inspect -f . ci-base-image-x86_64 08:45:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:12 prd-ubuntu20.04-docker-8c-8g-7114 does not seem to be running inside a container 08:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@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-x86_64 cat 08:45:12 $ docker top 282949440c6a3ada76f4c0f3597548eecb3d813a74a10a188a40665e14ee34cb -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:12 + go version 08:45:12 go version go1.20.2 linux/amd64 [Pipeline] } 08:45:12 $ docker stop --time=1 282949440c6a3ada76f4c0f3597548eecb3d813a74a10a188a40665e14ee34cb 08:45:14 $ docker rm -f --volumes 282949440c6a3ada76f4c0f3597548eecb3d813a74a10a188a40665e14ee34cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:14 + docker inspect -f . ci-base-image-x86_64 08:45:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:14 prd-ubuntu20.04-docker-8c-8g-7114 does not seem to be running inside a container 08:45:14 $ 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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@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-x86_64 cat 08:45:15 $ docker top 9f743b35b48da8aeab4c9650da8dad595138a899bfac204ab2c2feed48dc96c7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:15 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-301 [Pipeline] fileExists [Pipeline] sh 08:45:16 + make test 08:45:16 go test ./... -coverprofile=coverage.out ./... 08:45:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:45:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:45:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:45:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.6% of statements 08:45:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.362s coverage: 86.5% of statements 08:45:39 internal/driver/driver.go:211:14: Error return value of `d.Discover` is not checked (errcheck) 08:45:39 d.Discover() 08:45:39 ^ 08:45:39 make: *** [Makefile:62: lint] Error 1 [Pipeline] } 08:45:39 $ docker stop --time=1 9f743b35b48da8aeab4c9650da8dad595138a899bfac204ab2c2feed48dc96c7 08:45:41 $ docker rm -f --volumes 9f743b35b48da8aeab4c9650da8dad595138a899bfac204ab2c2feed48dc96c7 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:42 08:45:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:43 latest: Pulling from edgex-lftools-log-publisher 08:45:43 5eb5b503b376: Pulling fs layer 08:45:43 5c69ac0246d0: Pulling fs layer 08:45:43 ec43610c2a17: Pulling fs layer 08:45:43 3a2ae6a8a46f: Pulling fs layer 08:45:43 33b1e0a273af: Pulling fs layer 08:45:43 5d3b04190fa2: Pulling fs layer 08:45:43 2f39f015ded8: Pulling fs layer 08:45:43 3a2ae6a8a46f: Waiting 08:45:43 33b1e0a273af: Waiting 08:45:43 2f39f015ded8: Waiting 08:45:43 5c69ac0246d0: Verifying Checksum 08:45:43 5c69ac0246d0: Download complete 08:45:43 3a2ae6a8a46f: Download complete 08:45:43 33b1e0a273af: Verifying Checksum 08:45:43 33b1e0a273af: Download complete 08:45:43 5d3b04190fa2: Verifying Checksum 08:45:43 5d3b04190fa2: Download complete 08:45:43 ec43610c2a17: Verifying Checksum 08:45:43 ec43610c2a17: Download complete 08:45:43 5eb5b503b376: Verifying Checksum 08:45:43 5eb5b503b376: Download complete 08:45:43 2f39f015ded8: Verifying Checksum 08:45:43 2f39f015ded8: Download complete 08:45:44 5eb5b503b376: Pull complete 08:45:44 5c69ac0246d0: Pull complete 08:45:44 ec43610c2a17: Pull complete 08:45:44 3a2ae6a8a46f: Pull complete 08:45:44 33b1e0a273af: Pull complete 08:45:44 5d3b04190fa2: Pull complete 08:45:49 2f39f015ded8: Pull complete 08:45:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:45:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:45:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:49 prd-ubuntu20.04-docker-8c-8g-7114 does not seem to be running inside a container 08:45:49 $ 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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@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:latest cat 08:45:50 $ docker top 5cc6d55cb48283b1f4c3943b1b0d49bbadb58413b575c40c8bcb8939f902dff4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:50 ---> job-cost.sh 08:45:50 lf-activate-venv: SKIPPING 08:45:50 INFO: No Stack... 08:45:51 INFO: Retrieving Pricing Info for: v3-standard-8 08:45:51 INFO: Archiving Costs [Pipeline] sh 08:45:51 + cat /w/workspace/undry_device-onvif-camera_PR-301/archives/cost.csv 08:45:51 + cut -d, -f6 [Pipeline] lock 08:45:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] 08:45:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] did not exist. Created. 08:45:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:45:52 + echo total: 0.2199999988079071 [Pipeline] stash 08:45:52 Stashed 1 file(s) [Pipeline] } 08:45:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:45:52 $ docker stop --time=1 5cc6d55cb48283b1f4c3943b1b0d49bbadb58413b575c40c8bcb8939f902dff4 08:45:53 $ docker rm -f --volumes 5cc6d55cb48283b1f4c3943b1b0d49bbadb58413b575c40c8bcb8939f902dff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:45:53 Failed in branch amd64 08:46:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7115 in /w/workspace/undry_device-onvif-camera_PR-301 [Pipeline] { [Pipeline] ws 08:46:29 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 08:46:29 The recommended git tool is: git 08:46:34 using credential edgex-jenkins-ssh 08:46:34 Cloning the remote Git repository 08:46:34 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:46:34 > git init /w/workspace/device-onvif-camera/1 # timeout=10 08:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:46:35 > git --version # timeout=10 08:46:35 > git --version # 'git version 2.25.1' 08:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:46:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:39 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit c2d3d01f810081d5d03fdd295b4e21ae54f5a48a 08:46:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:46:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:46:39 > git config core.sparsecheckout # timeout=10 08:46:39 > git checkout -f c2d3d01f810081d5d03fdd295b4e21ae54f5a48a # timeout=10 08:46:39 Merge succeeded, producing c2d3d01f810081d5d03fdd295b4e21ae54f5a48a 08:46:39 Checking out Revision c2d3d01f810081d5d03fdd295b4e21ae54f5a48a (PR-301) 08:46:39 > git remote # timeout=10 08:46:39 > git config --get remote.origin.url # timeout=10 08:46:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:39 > git merge c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 08:46:39 > git rev-parse HEAD^{commit} # timeout=10 08:46:39 > git config core.sparsecheckout # timeout=10 08:46:39 > git checkout -f c2d3d01f810081d5d03fdd295b4e21ae54f5a48a # timeout=10 08:46:43 Commit message: "feat!: Consume SDK interface changes" 08:46:43 > git --version # timeout=10 08:46:43 > git --version # 'git version 2.25.1' 08:46:43 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:46:44 % Total % Received % Xferd Average Speed Time Time Time Current 08:46:44 Dload Upload Total Spent Left Speed 08:46:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 30799 0 --:--:-- --:--:-- --:--:-- 30725 100 12751 100 12751 0 0 30651 0 --:--:-- --:--:-- --:--:-- 30651 [Pipeline] sh 08:46:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:46:46 + sudo tee /etc/docker/daemon.new 08:46:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:46:46 { 08:46:46 "registry-mirrors": [ 08:46:46 "https://nexus3.edgexfoundry.org:10001" 08:46:46 ], 08:46:46 "bip": "10.250.0.254/24", 08:46:46 "hosts": [ 08:46:46 "tcp://0.0.0.0:5555", 08:46:46 "unix:///var/run/docker.sock" 08:46:46 ], 08:46:46 "mtu": 1458, 08:46:46 "selinux-enabled": true, 08:46:46 "seccomp-profile": "/etc/docker/seccomp.json" 08:46:46 } [Pipeline] sh 08:46:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:46:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:47:09 provisioning config files... 08:47:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15976232462029416208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:09 ---> docker-login.sh 08:47:09 nexus3.edgexfoundry.org:10001 08:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:10 Configure a credential helper to remove this warning. See 08:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:10 08:47:10 Login Succeeded 08:47:10 nexus3.edgexfoundry.org:10002 08:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:10 Configure a credential helper to remove this warning. See 08:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:10 08:47:10 Login Succeeded 08:47:10 nexus3.edgexfoundry.org:10003 08:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:10 Configure a credential helper to remove this warning. See 08:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:10 08:47:10 Login Succeeded 08:47:10 nexus3.edgexfoundry.org:10004 08:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:11 Configure a credential helper to remove this warning. See 08:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:11 08:47:11 Login Succeeded 08:47:11 docker.io 08:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:11 Configure a credential helper to remove this warning. See 08:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:11 08:47:11 Login Succeeded 08:47:11 ---> docker-login.sh ends [Pipeline] } 08:47:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:47:12 ========================================================= 08:47:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:47:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:12 + 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 . 08:47:13 Sending build context to Docker daemon 19.67MB 08:47:13 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 08:47:13 Step 2/13 : FROM ${BASE} AS builder 08:47:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:47:13 af6eaf76a39c: Pulling fs layer 08:47:13 55522c791124: Pulling fs layer 08:47:13 ce5c4a1c91eb: Pulling fs layer 08:47:13 169dfbe0d373: Pulling fs layer 08:47:13 e1ff8fa3b103: Pulling fs layer 08:47:13 52ebb69f0ebf: Pulling fs layer 08:47:13 5abe8eddf0d5: Pulling fs layer 08:47:13 e1ff8fa3b103: Waiting 08:47:13 52ebb69f0ebf: Waiting 08:47:13 5abe8eddf0d5: Waiting 08:47:13 169dfbe0d373: Waiting 08:47:13 55522c791124: Verifying Checksum 08:47:13 55522c791124: Download complete 08:47:13 169dfbe0d373: Verifying Checksum 08:47:13 169dfbe0d373: Download complete 08:47:13 e1ff8fa3b103: Verifying Checksum 08:47:13 e1ff8fa3b103: Download complete 08:47:13 af6eaf76a39c: Verifying Checksum 08:47:13 af6eaf76a39c: Download complete 08:47:14 5abe8eddf0d5: Verifying Checksum 08:47:14 5abe8eddf0d5: Download complete 08:47:14 af6eaf76a39c: Pull complete 08:47:15 55522c791124: Pull complete 08:47:15 ce5c4a1c91eb: Verifying Checksum 08:47:15 ce5c4a1c91eb: Download complete 08:47:15 52ebb69f0ebf: Verifying Checksum 08:47:15 52ebb69f0ebf: Download complete 08:47:25 ce5c4a1c91eb: Pull complete 08:47:26 169dfbe0d373: Pull complete 08:47:26 e1ff8fa3b103: Pull complete 08:47:33 52ebb69f0ebf: Pull complete 08:47:34 5abe8eddf0d5: Pull complete 08:47:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:47:34 ---> 6cb57ee374ae 08:47:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:47:36 ---> Running in 57f89f6c7ceb 08:47:36 Removing intermediate container 57f89f6c7ceb 08:47:36 ---> 3705efe2d974 08:47:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:47:36 ---> Running in 5c1b1e75eea7 08:47:36 Removing intermediate container 5c1b1e75eea7 08:47:36 ---> c30140bfe4c5 08:47:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:47:36 ---> Running in 5ece7cc8570f 08:47:37 Removing intermediate container 5ece7cc8570f 08:47:37 ---> 63ee4a162eac 08:47:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:47:37 ---> Running in 89599aca341c 08:47:37 Removing intermediate container 89599aca341c 08:47:37 ---> 4115e85e45ae 08:47:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:47:37 ---> Running in 792da7ea91df 08:47:37 Removing intermediate container 792da7ea91df 08:47:37 ---> cb1f03863d97 08:47:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:37 ---> Running in 6e729fced6ea 08:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:47:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:47:40 OK: 263 MiB in 53 packages 08:47:41 Removing intermediate container 6e729fced6ea 08:47:41 ---> af59ddba28d1 08:47:41 Step 9/13 : WORKDIR /device-onvif-camera 08:47:41 ---> Running in a3795ae3fa3e 08:47:41 Removing intermediate container a3795ae3fa3e 08:47:41 ---> d791c47b42d9 08:47:41 Step 10/13 : COPY go.mod vendor* ./ 08:47:42 ---> 7f146bfa8d3f 08:47:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:42 ---> Running in db992a2d4552 08:48:50 Removing intermediate container db992a2d4552 08:48:50 ---> 73c79857420a 08:48:50 Step 12/13 : COPY . . 08:48:50 ---> 5d3bf92c5788 08:48:50 Step 13/13 : RUN ${MAKE} 08:48:50 ---> Running in 3bf87d8137bc 08:48:50 noop 08:48:50 Removing intermediate container 3bf87d8137bc 08:48:50 ---> e19b27480276 08:48:50 Successfully built e19b27480276 08:48:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:50 + docker inspect -f . ci-base-image-arm64 08:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:51 prd-ubuntu20.04-docker-arm64-4c-16g-7115 does not seem to be running inside a container 08:48:51 $ 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 08:48:52 $ docker top 5e05610e872e6a2f30e907c0c1091e0cb3b851d2aa652e996c46318c0ec8831d -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:53 + go version 08:48:53 go version go1.20.2 linux/arm64 [Pipeline] } 08:48:53 $ docker stop --time=1 5e05610e872e6a2f30e907c0c1091e0cb3b851d2aa652e996c46318c0ec8831d 08:48:54 $ docker rm -f --volumes 5e05610e872e6a2f30e907c0c1091e0cb3b851d2aa652e996c46318c0ec8831d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:55 + docker inspect -f . ci-base-image-arm64 08:48:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:55 prd-ubuntu20.04-docker-arm64-4c-16g-7115 does not seem to be running inside a container 08:48:55 $ 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 08:48:57 $ docker top 2c91c9fd3bdeacdae6e57e5023680de3da0d5e2e6ef8230955d1c6a9945ff719 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 08:48:57 + make test 08:48:58 go test ./... -coverprofile=coverage.out ./... 08:49:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:51:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:51:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:51:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.6% of statements 08:51:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.899s coverage: 86.5% of statements 08:51:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:51:59 go vet ./... 08:52:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:52:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:52:31 ./bin/test-attribution-txt.sh 08:52:31 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:52:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:52:31 $ docker stop --time=1 2c91c9fd3bdeacdae6e57e5023680de3da0d5e2e6ef8230955d1c6a9945ff719 08:52:33 $ docker rm -f --volumes 2c91c9fd3bdeacdae6e57e5023680de3da0d5e2e6ef8230955d1c6a9945ff719 [Pipeline] // withDockerContainer [Pipeline] sh 08:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:36 + ls -al . 08:52:36 total 232 08:52:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 08:49 . 08:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:46 .. 08:52:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 08:46 .git 08:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:46 .github 08:52:36 -rw-rw-r-- 1 jenkins jenkins 496 Apr 7 08:46 .gitignore 08:52:36 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 08:46 .golangci.yml 08:52:36 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 7 08:46 Attribution.txt 08:52:36 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 7 08:46 CHANGELOG.md 08:52:36 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 7 08:46 Dockerfile 08:52:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 08:46 GOVERNANCE.md 08:52:36 -rw-rw-r-- 1 jenkins jenkins 734 Apr 7 08:46 Jenkinsfile 08:52:36 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 08:46 LICENSE 08:52:36 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 7 08:46 Makefile 08:52:36 -rw-rw-r-- 1 jenkins jenkins 625 Apr 7 08:46 OWNERS.md 08:52:36 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 7 08:46 README.md 08:52:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 08:44 VERSION 08:52:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:46 bin 08:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:46 cmd 08:52:36 -rw-r--r-- 1 jenkins jenkins 78747 Apr 7 08:51 coverage.out 08:52:36 drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 08:46 doc 08:52:36 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 7 08:46 go.mod 08:52:36 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 7 08:46 go.sum 08:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:46 internal 08:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:46 snap 08:52:36 -rw-rw-r-- 1 jenkins jenkins 236 Apr 7 08:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:37 + 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=c2d3d01f810081d5d03fdd295b4e21ae54f5a48a --label arch=arm64 --label version=0.0.0 . 08:52:37 Sending build context to Docker daemon 19.75MB 08:52:37 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:52:37 Step 2/26 : FROM ${BASE} AS builder 08:52:37 ---> e19b27480276 08:52:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:52:38 ---> Running in 39fed4f88d5a 08:52:38 Removing intermediate container 39fed4f88d5a 08:52:38 ---> 2fdc56994c12 08:52:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:52:38 ---> Running in 477db190e960 08:52:38 Removing intermediate container 477db190e960 08:52:38 ---> 54e9de33bbec 08:52:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 08:52:38 ---> Running in 241bcc99df08 08:52:39 Removing intermediate container 241bcc99df08 08:52:39 ---> 269b5301b457 08:52:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:52:39 ---> Running in ffbccff322ae 08:52:39 Removing intermediate container ffbccff322ae 08:52:39 ---> 2f01991e4407 08:52:39 Step 7/26 : LABEL Name=edgex-device-onvif-camera 08:52:39 ---> Running in d2747fa0a536 08:52:39 Removing intermediate container d2747fa0a536 08:52:39 ---> 5e9a58a7cc5f 08:52:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:39 ---> Running in 773ff441b2f7 08:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:52:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:52:42 OK: 263 MiB in 53 packages 08:52:43 Removing intermediate container 773ff441b2f7 08:52:43 ---> a5a2c533640c 08:52:43 Step 9/26 : WORKDIR /device-onvif-camera 08:52:43 ---> Running in b13273516b0a 08:52:44 Removing intermediate container b13273516b0a 08:52:44 ---> bf1e1cf219ed 08:52:44 Step 10/26 : COPY go.mod vendor* ./ 08:52:44 ---> 38f8b3c75846 08:52:44 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:44 ---> Running in 5654efbd0c9a 08:52:47 Removing intermediate container 5654efbd0c9a 08:52:47 ---> b37bb551c325 08:52:47 Step 12/26 : COPY . . 08:52:48 ---> acacbe5170fd 08:52:48 Step 13/26 : RUN ${MAKE} 08:52:48 ---> Running in e176c3fbf898 08:52:49 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 08:55:11 Removing intermediate container e176c3fbf898 08:55:11 ---> 648dfc777273 08:55:11 Step 14/26 : FROM alpine:3.17 08:55:11 3.17: Pulling from library/alpine 08:55:11 c41833b44d91: Pulling fs layer 08:55:11 c41833b44d91: Verifying Checksum 08:55:11 c41833b44d91: Download complete 08:55:11 c41833b44d91: Pull complete 08:55:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:55:11 Status: Downloaded newer image for alpine:3.17 08:55:11 ---> 51e60588ff2c 08:55:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:55:11 ---> Running in 271945683e73 08:55:11 Removing intermediate container 271945683e73 08:55:11 ---> 97bb21a2b7d1 08:55:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:55:11 ---> Running in 47b19b502725 08:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:55:11 (1/1) Installing dumb-init (1.2.5-r2) 08:55:11 Executing busybox-1.35.0-r29.trigger 08:55:11 OK: 8 MiB in 16 packages 08:55:11 Removing intermediate container 47b19b502725 08:55:11 ---> e641084c7752 08:55:11 Step 17/26 : WORKDIR / 08:55:11 ---> Running in 9e0bdb771e2f 08:55:11 Removing intermediate container 9e0bdb771e2f 08:55:11 ---> 1998d7922234 08:55:11 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:55:11 ---> 1a219dec1b08 08:55:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:55:11 ---> 62cf0cc86ec6 08:55:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:55:11 ---> b87a790a5495 08:55:11 Step 21/26 : EXPOSE 59984 08:55:11 ---> Running in 0182fd870fb5 08:55:11 Removing intermediate container 0182fd870fb5 08:55:11 ---> 6b19afa15ab4 08:55:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:55:11 ---> Running in dc2e49ea55b0 08:55:11 Removing intermediate container dc2e49ea55b0 08:55:11 ---> 0e46c230ff28 08:55:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:55:11 ---> Running in 137a7ddcc8ba 08:55:11 Removing intermediate container 137a7ddcc8ba 08:55:11 ---> 45473a9cb196 08:55:11 Step 24/26 : LABEL arch=arm64 08:55:11 ---> Running in 6c2fa1a47c15 08:55:11 Removing intermediate container 6c2fa1a47c15 08:55:11 ---> 74b3db92ac76 08:55:11 Step 25/26 : LABEL git_sha=c2d3d01f810081d5d03fdd295b4e21ae54f5a48a 08:55:11 ---> Running in 35305bbc7cb5 08:55:11 Removing intermediate container 35305bbc7cb5 08:55:11 ---> 8565642bb72a 08:55:11 Step 26/26 : LABEL version=0.0.0 08:55:11 ---> Running in 4e6c146eeff3 08:55:11 Removing intermediate container 4e6c146eeff3 08:55:11 ---> c443264f3b60 08:55:11 [Warning] One or more build-args [ARCH] were not consumed 08:55:11 Successfully built c443264f3b60 08:55:11 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 08:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:55:12 08:55:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:55:12 arm64: Pulling from edgex-lftools-log-publisher 08:55:12 8998bd30e6a1: Pulling fs layer 08:55:12 04944245beec: Pulling fs layer 08:55:12 699f458cf7ca: Pulling fs layer 08:55:12 765212b225bb: Pulling fs layer 08:55:12 f23df028b6ca: Pulling fs layer 08:55:12 d65c8cfc05b1: Pulling fs layer 08:55:12 2437ff75d9bd: Pulling fs layer 08:55:12 765212b225bb: Waiting 08:55:12 f23df028b6ca: Waiting 08:55:12 d65c8cfc05b1: Waiting 08:55:12 2437ff75d9bd: Waiting 08:55:13 04944245beec: Verifying Checksum 08:55:13 04944245beec: Download complete 08:55:13 765212b225bb: Verifying Checksum 08:55:13 765212b225bb: Download complete 08:55:13 f23df028b6ca: Verifying Checksum 08:55:13 f23df028b6ca: Download complete 08:55:13 d65c8cfc05b1: Verifying Checksum 08:55:13 d65c8cfc05b1: Download complete 08:55:13 699f458cf7ca: Download complete 08:55:13 8998bd30e6a1: Download complete 08:55:15 2437ff75d9bd: Download complete 08:55:17 8998bd30e6a1: Pull complete 08:55:17 04944245beec: Pull complete 08:55:19 699f458cf7ca: Pull complete 08:55:19 765212b225bb: Pull complete 08:55:20 f23df028b6ca: Pull complete 08:55:20 d65c8cfc05b1: Pull complete 08:55:35 2437ff75d9bd: Pull complete 08:55:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:55:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:55:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:35 prd-ubuntu20.04-docker-arm64-4c-16g-7115 does not seem to be running inside a container 08:55:35 $ 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 08:55:38 $ docker top 8c28eaf001dcd2c84af144a1918a92948a684a13731918eac1ed40af43e389d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:38 ---> job-cost.sh 08:55:39 lf-activate-venv: SKIPPING 08:55:39 INFO: No Stack... 08:55:39 INFO: Retrieving Pricing Info for: v3-standard-4 08:55:40 INFO: Archiving Costs [Pipeline] sh 08:55:41 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 08:55:41 + cut -d, -f6 [Pipeline] lock 08:55:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] 08:55:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] did not exist. Created. 08:55:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:55:41 /w/workspace/device-onvif-camera/1@tmp/durable-6d4c01c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:55:42 + echo total: 0.10999999940395355 [Pipeline] stash 08:55:42 Warning: overwriting stash ‘stack-cost’ 08:55:42 Stashed 1 file(s) [Pipeline] } 08:55:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:55:42 $ docker stop --time=1 8c28eaf001dcd2c84af144a1918a92948a684a13731918eac1ed40af43e389d5 08:55:45 $ docker rm -f --volumes 8c28eaf001dcd2c84af144a1918a92948a684a13731918eac1ed40af43e389d5 [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) 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 08:55:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-301/archives ] 08:55:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-301/archives 08:55:47 total 16 08:55:47 drwxr-xr-x 3 root root 4096 Apr 7 08:45 . 08:55:47 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:45 .. 08:55:47 drwxr-xr-x 2 root root 4096 Apr 7 08:45 cost 08:55:47 -rw-r--r-- 1 root root 91 Apr 7 08:45 cost.csv 08:55:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-301/archives 08:55:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-301/archives 08:55:47 total 16 08:55:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 08:45 . 08:55:47 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:45 .. 08:55:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 08:45 cost 08:55:47 -rw-r--r-- 1 jenkins jenkins 91 Apr 7 08:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:55:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:55:49 ---> package-listing.sh 08:55:49 ++ facter osfamily 08:55:49 ++ tr '[:upper:]' '[:lower:]' 08:55:49 + OS_FAMILY=debian 08:55:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-301 08:55:49 + START_PACKAGES=/tmp/packages_start.txt 08:55:49 + END_PACKAGES=/tmp/packages_end.txt 08:55:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:55:49 + PACKAGES=/tmp/packages_start.txt 08:55:49 + '[' /w/workspace/undry_device-onvif-camera_PR-301 ']' 08:55:49 + PACKAGES=/tmp/packages_end.txt 08:55:49 + case "${OS_FAMILY}" in 08:55:49 + dpkg -l 08:55:49 + grep '^ii' 08:55:49 + '[' -f /tmp/packages_start.txt ']' 08:55:49 + '[' -f /tmp/packages_end.txt ']' 08:55:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:55:49 + '[' /w/workspace/undry_device-onvif-camera_PR-301 ']' 08:55:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-301/archives/ 08:55:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-301/archives/ [Pipeline] echo 08:55:49 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:55:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:55:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:50 prd-ubuntu20.04-docker-8c-8g-7114 does not seem to be running inside a container 08:55:50 $ 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-301/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-301 -v /w/workspace/undry_device-onvif-camera_PR-301:/w/workspace/undry_device-onvif-camera_PR-301:rw,z -v /w/workspace/undry_device-onvif-camera_PR-301@tmp:/w/workspace/undry_device-onvif-camera_PR-301@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 08:55:50 $ docker top 2751f921a9b86f7cdfcde2bfae6e29ff9191fd5c5b97bd4fdb5c82ddcad9f57c -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:50 + touch /tmp/pre-build-complete [Pipeline] sh 08:55:51 + mkdir -p /var/log/sysstat [Pipeline] sh 08:55:51 + ls /var/log/sa-host 08:55:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:55:51 provisioning config files... 08:55:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-301@tmp/config9006749569624775259tmp [Pipeline] { [Pipeline] echo 08:55:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:55:52 ---> create-netrc.sh [Pipeline] } 08:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:55:52 ---> python-tools-install.sh [Pipeline] echo 08:55:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:55:52 ---> sudo-logs.sh 08:55:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:55:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:55:53 ---> job-cost.sh 08:55:53 lf-activate-venv: SKIPPING 08:55:53 DEBUG: total: 0.2199999988079071 08:55:53 INFO: Retrieving Stack Cost... 08:55:54 INFO: Retrieving Pricing Info for: v3-standard-8 08:55:54 INFO: Archiving Costs [Pipeline] echo 08:55:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:55:54 ---> logs-deploy.sh 08:55:54 lf-activate-venv: SKIPPING 08:55:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-301/1 08:55:54 INFO: archiving workspace using pattern(s): 08:55:55 Archives upload complete. 08:55:55 INFO: archiving logs to Nexus