Pull request #294 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c11c832ad94aad64069d937e40f2c2142e620a13+163d81e496ee931b2d3d9b2549810c1b7a8df380 (c739bfe84f9cfa18e08246e9bb92874553400c65) 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-ssh3211244111068065368.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-ssh486324445257853216.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18146824475019405395.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 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-ssh17592602642618831635.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13437420665257605137.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-6236’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6238 in /w/workspace/undry_device-onvif-camera_PR-294 [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-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit c11c832ad94aad64069d937e40f2c2142e620a13 > 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/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 Merge succeeded, producing c11c832ad94aad64069d937e40f2c2142e620a13 Checking out Revision c11c832ad94aad64069d937e40f2c2142e620a13 (PR-294) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:47:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:47:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:47:42 ========================================================= 19:47:42 EdgeX Global Pipelines Version Info 19:47:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 > git rev-list --no-walk 6db8186d5164b303051de63896a93b95b8de55f8 # timeout=10 19:47:43 ------------------- 19:47:43 stable info: 19:47:43 ------------------- 19:47:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:47:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:47:43 Message: update stable to v1.0.245 19:47:44 ------------------- 19:47:44 experimental info: 19:47:44 ------------------- 19:47:44 Commited By: **** collab-it+edgex@linuxfoundation.org 19:47:44 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:47:44 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c11c832 [Pipeline] echo 19:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:44 provisioning config files... 19:47:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config9740243346530286524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:45 ---> docker-login.sh 19:47:45 nexus3.edgexfoundry.org:10001 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 nexus3.edgexfoundry.org:10002 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 nexus3.edgexfoundry.org:10003 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 nexus3.edgexfoundry.org:10004 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 docker.io 19:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:45 Configure a credential helper to remove this warning. See 19:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:45 19:47:45 Login Succeeded 19:47:45 ---> docker-login.sh ends [Pipeline] } 19:47:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:47:46 + git rev-list -1 --merges c11c832ad94aad64069d937e40f2c2142e620a13~1..c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo 19:47:46 -----------> git rev-list -1 --merges c11c832ad94aad64069d937e40f2c2142e620a13~1..c11c832ad94aad64069d937e40f2c2142e620a13 c11c832ad94aad64069d937e40f2c2142e620a13 [false] [Pipeline] sh 19:47:46 + git log --format=format:%s -1 c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo 19:47:46 ========================================================= 19:47:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:47:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:46 + git log --format=format:%s -1 c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo 19:47:46 [semverPrep] GIT_COMMIT: c11c832ad94aad64069d937e40f2c2142e620a13, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 19:47:46 [semverPrep] This is not a build commit. [Pipeline] sh 19:47:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:47:47 + grep -v github /etc/ssh/ssh_known_hosts 19:47:47 + [ -e /tmp/ssh_known_hosts ] 19:47:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:47:47 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 19:47:47 -a /etc/ssh/ssh_known_hosts 19:47:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:47 19:47:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:47 0.1.4: Pulling from edgex-devops/py-git-semver 19:47:47 b85a868b505f: Pulling fs layer 19:47:47 e2be974225ed: Pulling fs layer 19:47:47 339a4e72a1f5: Pulling fs layer 19:47:47 988bab9f4d93: Pulling fs layer 19:47:47 1469e6f7b9e6: Pulling fs layer 19:47:47 eaf3925da568: Pulling fs layer 19:47:47 988bab9f4d93: Waiting 19:47:47 bab4dde63d76: Pulling fs layer 19:47:47 bde34c3a00c8: Pulling fs layer 19:47:47 bab4dde63d76: Waiting 19:47:47 1469e6f7b9e6: Waiting 19:47:47 eaf3925da568: Waiting 19:47:47 b352a97aabf1: Pulling fs layer 19:47:47 4872d77fe225: Pulling fs layer 19:47:47 bde34c3a00c8: Waiting 19:47:47 b352a97aabf1: Waiting 19:47:47 5851b861e8e6: Pulling fs layer 19:47:47 4872d77fe225: Waiting 19:47:47 5851b861e8e6: Waiting 19:47:47 e2be974225ed: Verifying Checksum 19:47:47 e2be974225ed: Download complete 19:47:47 988bab9f4d93: Verifying Checksum 19:47:47 988bab9f4d93: Download complete 19:47:48 339a4e72a1f5: Verifying Checksum 19:47:48 339a4e72a1f5: Download complete 19:47:48 eaf3925da568: Verifying Checksum 19:47:48 eaf3925da568: Download complete 19:47:48 1469e6f7b9e6: Verifying Checksum 19:47:48 1469e6f7b9e6: Download complete 19:47:48 bde34c3a00c8: Verifying Checksum 19:47:48 bde34c3a00c8: Download complete 19:47:48 b352a97aabf1: Download complete 19:47:48 4872d77fe225: Verifying Checksum 19:47:48 4872d77fe225: Download complete 19:47:48 5851b861e8e6: Download complete 19:47:48 b85a868b505f: Verifying Checksum 19:47:48 b85a868b505f: Download complete 19:47:48 bab4dde63d76: Verifying Checksum 19:47:48 bab4dde63d76: Download complete 19:47:49 b85a868b505f: Pull complete 19:47:49 e2be974225ed: Pull complete 19:47:50 339a4e72a1f5: Pull complete 19:47:50 988bab9f4d93: Pull complete 19:47:50 1469e6f7b9e6: Pull complete 19:47:50 eaf3925da568: Pull complete 19:47:51 bab4dde63d76: Pull complete 19:47:52 bde34c3a00c8: Pull complete 19:47:52 b352a97aabf1: Pull complete 19:47:52 4872d77fe225: Pull complete 19:47:52 5851b861e8e6: Pull complete 19:47:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:52 prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container 19:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@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 19:47:55 $ docker top bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 -eo pid,comm 19:47:55 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). 19:47:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:55 [ssh-agent] Looking for ssh-agent implementation... 19:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:55 $ docker exec bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent 19:47:55 SSH_AUTH_SOCK=/tmp/ssh-FBt9jMi62QWg/agent.32 19:47:55 SSH_AGENT_PID=38 19:47:55 Running ssh-add (command line suppressed) 19:47:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_8728701331019310066.key (/w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_8728701331019310066.key) 19:47:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:55 + git tag --points-at HEAD [Pipeline] } 19:47:55 $ docker exec --env ******** --env ******** bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent -k 19:47:55 unset SSH_AUTH_SOCK; 19:47:55 unset SSH_AGENT_PID; 19:47:55 echo Agent pid 38 killed; 19:47:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:55 [ssh-agent] Looking for ssh-agent implementation... 19:47:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:56 $ docker exec bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent 19:47:56 SSH_AUTH_SOCK=/tmp/ssh-SAdPvALkxIA5/agent.70 19:47:56 SSH_AGENT_PID=76 19:47:56 Running ssh-add (command line suppressed) 19:47:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_1545157712775671970.key (/w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_1545157712775671970.key) 19:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:56 + git semver init 19:47:56 2023-03-29 19:47:56,822 [run_init] DEBUG init version:0.0.0 force:False 19:47:56 2023-03-29 19:47:56,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-294/.semver 19:47:56 2023-03-29 19:47:56,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-294/.semver 19:47:56 2023-03-29 19:47:56,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-294/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-294, universal_newlines=False, shell=None, istream=None) 19:47:57 2023-03-29 19:47:57,756 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-294/.git/info/exclude 19:47:57 2023-03-29 19:47:57,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 with force:False 19:47:57 2023-03-29 19:47:57,757 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 19:47:57 2023-03-29 19:47:57,759 [execute] INFO git cat-file --batch-check 19:47:57 2023-03-29 19:47:57,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-294/.semver, universal_newlines=False, shell=None, istream=) 19:47:57 2023-03-29 19:47:57,766 [execute] INFO git cat-file --batch 19:47:57 2023-03-29 19:47:57,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-294/.semver, universal_newlines=False, shell=None, istream=) 19:47:57 2023-03-29 19:47:57,773 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 19:47:57 0.0.0 [Pipeline] } 19:47:57 $ docker exec --env ******** --env ******** bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent -k 19:47:57 unset SSH_AUTH_SOCK; 19:47:57 unset SSH_AGENT_PID; 19:47:57 echo Agent pid 76 killed; 19:47:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:47:58 + git semver [Pipeline] } 19:47:58 $ docker stop --time=1 bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 19:47:59 $ docker rm -f --volumes bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 [Pipeline] // withDockerContainer [Pipeline] sh 19:48:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:48:00 Stashed 1 file(s) [Pipeline] echo 19:48:00 [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 19:48:00 provisioning config files... 19:48:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config4063581752457425132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:00 ---> docker-login.sh 19:48:00 nexus3.edgexfoundry.org:10001 19:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:00 Configure a credential helper to remove this warning. See 19:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:00 19:48:00 Login Succeeded 19:48:00 nexus3.edgexfoundry.org:10002 19:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:00 Configure a credential helper to remove this warning. See 19:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:00 19:48:00 Login Succeeded 19:48:00 nexus3.edgexfoundry.org:10003 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 nexus3.edgexfoundry.org:10004 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 docker.io 19:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:01 Configure a credential helper to remove this warning. See 19:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:01 19:48:01 Login Succeeded 19:48:01 ---> docker-login.sh ends [Pipeline] } 19:48:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:01 ========================================================= 19:48:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:48:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:02 + 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 . 19:48:02 Sending build context to Docker daemon 27.03MB 19:48:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:48:02 Step 2/13 : FROM ${BASE} AS builder 19:48:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:48:02 63b65145d645: Pulling fs layer 19:48:02 a2d21d5440eb: Pulling fs layer 19:48:02 935e6c44a52c: Pulling fs layer 19:48:02 94cc34f8dd06: Pulling fs layer 19:48:02 30dea6a524f1: Pulling fs layer 19:48:02 a2aff8979fd8: Pulling fs layer 19:48:02 6808be2612f2: Pulling fs layer 19:48:02 f25807f1079a: Pulling fs layer 19:48:02 94cc34f8dd06: Waiting 19:48:02 6808be2612f2: Waiting 19:48:02 30dea6a524f1: Waiting 19:48:02 a2aff8979fd8: Waiting 19:48:02 f25807f1079a: Waiting 19:48:02 a2d21d5440eb: Download complete 19:48:02 94cc34f8dd06: Verifying Checksum 19:48:02 94cc34f8dd06: Download complete 19:48:02 30dea6a524f1: Verifying Checksum 19:48:02 30dea6a524f1: Download complete 19:48:02 63b65145d645: Verifying Checksum 19:48:02 63b65145d645: Download complete 19:48:02 a2aff8979fd8: Verifying Checksum 19:48:02 a2aff8979fd8: Download complete 19:48:02 63b65145d645: Pull complete 19:48:02 a2d21d5440eb: Pull complete 19:48:02 f25807f1079a: Verifying Checksum 19:48:03 935e6c44a52c: Verifying Checksum 19:48:03 935e6c44a52c: Download complete 19:48:03 6808be2612f2: Verifying Checksum 19:48:03 6808be2612f2: Download complete 19:48:07 935e6c44a52c: Pull complete 19:48:07 94cc34f8dd06: Pull complete 19:48:07 30dea6a524f1: Pull complete 19:48:07 a2aff8979fd8: Pull complete 19:48:10 6808be2612f2: Pull complete 19:48:11 f25807f1079a: Pull complete 19:48:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:48:11 ---> 3b553350e43f 19:48:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:48:15 Still waiting to schedule task 19:48:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:48:16 ---> Running in 150f6aa04753 19:48:16 Removing intermediate container 150f6aa04753 19:48:16 ---> 75600f708bf8 19:48:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:48:16 ---> Running in 13a4072783bd 19:48:16 Removing intermediate container 13a4072783bd 19:48:16 ---> 7ec4a71aee1b 19:48:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:48:16 ---> Running in 5b54a7cee2aa 19:48:16 Removing intermediate container 5b54a7cee2aa 19:48:16 ---> 316d68902604 19:48:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:48:16 ---> Running in ced61d0fc6d4 19:48:16 Removing intermediate container ced61d0fc6d4 19:48:16 ---> 96686fb241df 19:48:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:48:16 ---> Running in e23174d3b36e 19:48:16 Removing intermediate container e23174d3b36e 19:48:16 ---> 95ee0310fc80 19:48:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:16 ---> Running in 74dafb69252d 19:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:48:17 OK: 265 MiB in 53 packages 19:48:17 Removing intermediate container 74dafb69252d 19:48:17 ---> f5160d12858d 19:48:17 Step 9/13 : WORKDIR /device-onvif-camera 19:48:17 ---> Running in 7f6ae632836d 19:48:17 Removing intermediate container 7f6ae632836d 19:48:17 ---> 1dd248135a7c 19:48:17 Step 10/13 : COPY go.mod vendor* ./ 19:48:17 ---> 936d161d14fc 19:48:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:17 ---> Running in e45f45537f7e 19:48:44 Removing intermediate container e45f45537f7e 19:48:44 ---> b00b20ec20f4 19:48:44 Step 12/13 : COPY . . 19:48:44 ---> 2b5c201cf205 19:48:44 Step 13/13 : RUN ${MAKE} 19:48:44 ---> Running in ed106d986bad 19:48:44 noop 19:48:44 Removing intermediate container ed106d986bad 19:48:44 ---> 81b98d9f984e 19:48:44 Successfully built 81b98d9f984e 19:48:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:44 + docker inspect -f . ci-base-image-x86_64 19:48:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:44 prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container 19:48:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@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 19:48:44 $ docker top 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:45 + go version 19:48:45 go version go1.20.2 linux/amd64 [Pipeline] } 19:48:45 $ docker stop --time=1 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b 19:48:46 $ docker rm -f --volumes 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:46 + docker inspect -f . ci-base-image-x86_64 19:48:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:47 prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container 19:48:47 $ 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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@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 19:48:47 $ docker top 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:47 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-294 [Pipeline] fileExists [Pipeline] sh 19:48:48 + make test 19:48:48 go test ./... -coverprofile=coverage.out ./... 19:48:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:49:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:49:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:49:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.7% of statements 19:49:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.211s coverage: 86.5% of statements 19:49:13 go vet ./... 19:49:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:15 ./bin/test-attribution-txt.sh [Pipeline] echo 19:49:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:15 $ docker stop --time=1 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 19:49:18 $ docker rm -f --volumes 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 [Pipeline] // withDockerContainer [Pipeline] sh 19:49:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:20 + ls -al . 19:49:20 total 232 19:49:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 19:48 . 19:49:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 .. 19:49:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:47 .git 19:49:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 .github 19:49:20 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:47 .gitignore 19:49:20 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:47 .golangci.yml 19:49:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:47 .semver 19:49:20 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:47 Attribution.txt 19:49:20 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:47 CHANGELOG.md 19:49:20 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:47 Dockerfile 19:49:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:47 GOVERNANCE.md 19:49:20 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:47 Jenkinsfile 19:49:20 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:47 LICENSE 19:49:20 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:47 Makefile 19:49:20 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:47 OWNERS.md 19:49:20 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:47 README.md 19:49:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION 19:49:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:47 bin 19:49:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 cmd 19:49:20 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:49 coverage.out 19:49:20 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:47 doc 19:49:20 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:47 go.mod 19:49:20 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:47 go.sum 19:49:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 internal 19:49:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 snap 19:49:20 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:20 + 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=c11c832ad94aad64069d937e40f2c2142e620a13 --label arch=amd64 --label version=0.0.0 . 19:49:20 Sending build context to Docker daemon 27.11MB 19:49:20 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:49:20 Step 2/26 : FROM ${BASE} AS builder 19:49:20 ---> 81b98d9f984e 19:49:20 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:49:20 ---> Running in 37ec48fa50e4 19:49:21 Removing intermediate container 37ec48fa50e4 19:49:21 ---> e5912a927c82 19:49:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:49:21 ---> Running in 6a1fa0a75397 19:49:21 Removing intermediate container 6a1fa0a75397 19:49:21 ---> 8309731073fe 19:49:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:49:21 ---> Running in a6d083cb9a41 19:49:21 Removing intermediate container a6d083cb9a41 19:49:21 ---> 8469a67dd8c7 19:49:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:49:21 ---> Running in 024bba723509 19:49:21 Removing intermediate container 024bba723509 19:49:21 ---> 8b3656235c62 19:49:21 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:49:21 ---> Running in 92e3ad14a0e5 19:49:21 Removing intermediate container 92e3ad14a0e5 19:49:21 ---> db9174087fdc 19:49:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:21 ---> Running in e1d1ac21490a 19:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:21 OK: 265 MiB in 53 packages 19:49:22 Removing intermediate container e1d1ac21490a 19:49:22 ---> 30296ca12d4f 19:49:22 Step 9/26 : WORKDIR /device-onvif-camera 19:49:22 ---> Running in 542592a96f64 19:49:22 Removing intermediate container 542592a96f64 19:49:22 ---> d585e85622ba 19:49:22 Step 10/26 : COPY go.mod vendor* ./ 19:49:22 ---> 75f21598e6a2 19:49:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:49:22 ---> Running in 258a087eb596 19:49:23 Removing intermediate container 258a087eb596 19:49:23 ---> 53a520c396e3 19:49:23 Step 12/26 : COPY . . 19:49:24 ---> fcaf87de529d 19:49:24 Step 13/26 : RUN ${MAKE} 19:49:24 ---> Running in 8b3b7bcf7027 19:49:24 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 19:49:46 Removing intermediate container 8b3b7bcf7027 19:49:46 ---> 8a28d6c3afb8 19:49:46 Step 14/26 : FROM alpine:3.17 19:49:46 3.17: Pulling from library/alpine 19:49:46 f56be85fc22e: Pulling fs layer 19:49:46 f56be85fc22e: Verifying Checksum 19:49:46 f56be85fc22e: Download complete 19:49:46 f56be85fc22e: Pull complete 19:49:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:49:46 Status: Downloaded newer image for alpine:3.17 19:49:46 ---> 9ed4aefc74f6 19:49:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:49:46 ---> Running in 995e16f77591 19:49:46 Removing intermediate container 995e16f77591 19:49:46 ---> 313cde47fa22 19:49:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:49:46 ---> Running in cdffdbd751d9 19:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:46 (1/1) Installing dumb-init (1.2.5-r2) 19:49:46 Executing busybox-1.35.0-r29.trigger 19:49:46 OK: 7 MiB in 16 packages 19:49:46 Removing intermediate container cdffdbd751d9 19:49:46 ---> eee1dfea11e7 19:49:46 Step 17/26 : WORKDIR / 19:49:46 ---> Running in 3cdcc2c68a27 19:49:46 Removing intermediate container 3cdcc2c68a27 19:49:46 ---> 4bc43c41ebe8 19:49:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:49:47 ---> ee5b23c309e5 19:49:47 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:49:47 ---> 1fc887440098 19:49:47 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:49:47 ---> 3b99c5c13f08 19:49:47 Step 21/26 : EXPOSE 59984 19:49:47 ---> Running in a9f25bab5e10 19:49:48 Removing intermediate container a9f25bab5e10 19:49:48 ---> d125169d19e8 19:49:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:49:48 ---> Running in 9cc85feb0110 19:49:48 Removing intermediate container 9cc85feb0110 19:49:48 ---> 66caa8f5087d 19:49:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:49:48 ---> Running in b03d53042fbd 19:49:48 Removing intermediate container b03d53042fbd 19:49:48 ---> 4c12770d3954 19:49:48 Step 24/26 : LABEL arch=amd64 19:49:48 ---> Running in 70df7d2fca32 19:49:48 Removing intermediate container 70df7d2fca32 19:49:48 ---> 601846315a90 19:49:48 Step 25/26 : LABEL git_sha=c11c832ad94aad64069d937e40f2c2142e620a13 19:49:48 ---> Running in b33859a22471 19:49:48 Removing intermediate container b33859a22471 19:49:48 ---> 22c29b099d84 19:49:48 Step 26/26 : LABEL version=0.0.0 19:49:48 ---> Running in 73b3ab531305 19:49:48 Removing intermediate container 73b3ab531305 19:49:48 ---> 9ea5ee366bf6 19:49:48 [Warning] One or more build-args [ARCH] were not consumed 19:49:48 Successfully built 9ea5ee366bf6 19:49:48 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 19:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:49:49 19:49:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:49:49 latest: Pulling from edgex-lftools-log-publisher 19:49:49 5eb5b503b376: Pulling fs layer 19:49:49 5c69ac0246d0: Pulling fs layer 19:49:49 ec43610c2a17: Pulling fs layer 19:49:49 3a2ae6a8a46f: Pulling fs layer 19:49:49 33b1e0a273af: Pulling fs layer 19:49:49 5d3b04190fa2: Pulling fs layer 19:49:49 2f39f015ded8: Pulling fs layer 19:49:49 33b1e0a273af: Waiting 19:49:49 5d3b04190fa2: Waiting 19:49:49 2f39f015ded8: Waiting 19:49:49 3a2ae6a8a46f: Waiting 19:49:49 5c69ac0246d0: Verifying Checksum 19:49:49 5c69ac0246d0: Download complete 19:49:49 3a2ae6a8a46f: Verifying Checksum 19:49:49 3a2ae6a8a46f: Download complete 19:49:49 33b1e0a273af: Verifying Checksum 19:49:49 33b1e0a273af: Download complete 19:49:49 ec43610c2a17: Verifying Checksum 19:49:49 ec43610c2a17: Download complete 19:49:49 5d3b04190fa2: Download complete 19:49:49 5eb5b503b376: Verifying Checksum 19:49:49 5eb5b503b376: Download complete 19:49:50 2f39f015ded8: Download complete 19:49:50 5eb5b503b376: Pull complete 19:49:50 5c69ac0246d0: Pull complete 19:49:51 ec43610c2a17: Pull complete 19:49:51 3a2ae6a8a46f: Pull complete 19:49:51 33b1e0a273af: Pull complete 19:49:51 5d3b04190fa2: Pull complete 19:49:55 2f39f015ded8: Pull complete 19:49:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:56 prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container 19:49:56 $ 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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@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 19:49:59 $ docker top 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:59 ---> job-cost.sh 19:49:59 lf-activate-venv: SKIPPING 19:49:59 INFO: No Stack... 19:50:00 INFO: Retrieving Pricing Info for: v3-standard-8 19:50:00 INFO: Archiving Costs [Pipeline] sh 19:50:00 + cat /w/workspace/undry_device-onvif-camera_PR-294/archives/cost.csv 19:50:00 + cut -d, -f6 [Pipeline] lock 19:50:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] 19:50:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] did not exist. Created. 19:50:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:50:01 + echo total: 0.2199999988079071 [Pipeline] stash 19:50:01 Stashed 1 file(s) [Pipeline] } 19:50:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:50:01 $ docker stop --time=1 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 19:50:02 $ docker rm -f --volumes 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:50:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6242 in /w/workspace/undry_device-onvif-camera_PR-294 [Pipeline] { [Pipeline] ws 19:50:37 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 19:50:37 The recommended git tool is: git 19:50:44 using credential edgex-jenkins-ssh 19:50:44 Cloning the remote Git repository 19:50:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:50:44 > git init /w/workspace/device-onvif-camera/2 # timeout=10 19:50:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:50:44 > git --version # timeout=10 19:50:44 > git --version # 'git version 2.25.1' 19:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:50:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:48 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit c11c832ad94aad64069d937e40f2c2142e620a13 19:50:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:50:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:50:48 Merge succeeded, producing c11c832ad94aad64069d937e40f2c2142e620a13 19:50:48 Checking out Revision c11c832ad94aad64069d937e40f2c2142e620a13 (PR-294) 19:50:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 19:50:48 > git config core.sparsecheckout # timeout=10 19:50:48 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 19:50:48 > git remote # timeout=10 19:50:48 > git config --get remote.origin.url # timeout=10 19:50:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:48 > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 19:50:48 > git rev-parse HEAD^{commit} # timeout=10 19:50:48 > git config core.sparsecheckout # timeout=10 19:50:48 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:50:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:50:50 % Total % Received % Xferd Average Speed Time Time Time Current 19:50:50 Dload Upload Total Spent Left Speed 19:50:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 19:50:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:50:51 + sudo tee /etc/docker/daemon.new 19:50:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:50:51 { 19:50:51 "registry-mirrors": [ 19:50:51 "https://nexus3.edgexfoundry.org:10001" 19:50:51 ], 19:50:51 "bip": "10.250.0.254/24", 19:50:51 "hosts": [ 19:50:51 "tcp://0.0.0.0:5555", 19:50:51 "unix:///var/run/docker.sock" 19:50:51 ], 19:50:51 "mtu": 1458, 19:50:51 "selinux-enabled": true, 19:50:51 "seccomp-profile": "/etc/docker/seccomp.json" 19:50:51 } [Pipeline] sh 19:50:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:50:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:10 provisioning config files... 19:51:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6457738010135729932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:10 ---> docker-login.sh 19:51:10 nexus3.edgexfoundry.org:10001 19:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:11 Configure a credential helper to remove this warning. See 19:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:11 19:51:11 Login Succeeded 19:51:11 nexus3.edgexfoundry.org:10002 19:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:11 Configure a credential helper to remove this warning. See 19:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:11 19:51:11 Login Succeeded 19:51:11 nexus3.edgexfoundry.org:10003 19:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:12 Configure a credential helper to remove this warning. See 19:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:12 19:51:12 Login Succeeded 19:51:12 nexus3.edgexfoundry.org:10004 19:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:12 Configure a credential helper to remove this warning. See 19:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:12 19:51:12 Login Succeeded 19:51:12 docker.io 19:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:12 Configure a credential helper to remove this warning. See 19:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:12 19:51:12 Login Succeeded 19:51:12 ---> docker-login.sh ends [Pipeline] } 19:51:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:51:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:13 ========================================================= 19:51:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:51:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:13 + 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 . 19:51:14 Sending build context to Docker daemon 19.71MB 19:51:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:51:14 Step 2/13 : FROM ${BASE} AS builder 19:51:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:51:14 af6eaf76a39c: Pulling fs layer 19:51:14 55522c791124: Pulling fs layer 19:51:14 ce5c4a1c91eb: Pulling fs layer 19:51:14 169dfbe0d373: Pulling fs layer 19:51:14 e1ff8fa3b103: Pulling fs layer 19:51:14 52ebb69f0ebf: Pulling fs layer 19:51:14 5abe8eddf0d5: Pulling fs layer 19:51:14 52ebb69f0ebf: Waiting 19:51:14 169dfbe0d373: Waiting 19:51:14 e1ff8fa3b103: Waiting 19:51:14 5abe8eddf0d5: Waiting 19:51:14 55522c791124: Download complete 19:51:14 169dfbe0d373: Verifying Checksum 19:51:14 169dfbe0d373: Download complete 19:51:14 e1ff8fa3b103: Verifying Checksum 19:51:14 e1ff8fa3b103: Download complete 19:51:14 af6eaf76a39c: Verifying Checksum 19:51:14 af6eaf76a39c: Download complete 19:51:15 af6eaf76a39c: Pull complete 19:51:15 5abe8eddf0d5: Verifying Checksum 19:51:15 5abe8eddf0d5: Download complete 19:51:16 55522c791124: Pull complete 19:51:17 ce5c4a1c91eb: Download complete 19:51:17 52ebb69f0ebf: Verifying Checksum 19:51:17 52ebb69f0ebf: Download complete 19:51:29 ce5c4a1c91eb: Pull complete 19:51:29 169dfbe0d373: Pull complete 19:51:29 e1ff8fa3b103: Pull complete 19:51:34 52ebb69f0ebf: Pull complete 19:51:38 5abe8eddf0d5: Pull complete 19:51:38 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:51:38 ---> 6cb57ee374ae 19:51:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:51:39 ---> Running in 8872c46ac0e0 19:51:40 Removing intermediate container 8872c46ac0e0 19:51:40 ---> c42083e011c2 19:51:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:51:40 ---> Running in de53bef1ab79 19:51:40 Removing intermediate container de53bef1ab79 19:51:40 ---> baf754e219db 19:51:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:51:40 ---> Running in e549cd25b1e9 19:51:41 Removing intermediate container e549cd25b1e9 19:51:41 ---> a72ac5af0d3b 19:51:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:51:41 ---> Running in 08f69aa99be1 19:51:41 Removing intermediate container 08f69aa99be1 19:51:41 ---> ff1426af3477 19:51:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:51:41 ---> Running in a8080e3ec4fe 19:51:41 Removing intermediate container a8080e3ec4fe 19:51:41 ---> d5b4e4c486bf 19:51:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:42 ---> Running in 11d5999bcd88 19:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:51:45 OK: 263 MiB in 53 packages 19:51:46 Removing intermediate container 11d5999bcd88 19:51:46 ---> 4776e35ed18f 19:51:46 Step 9/13 : WORKDIR /device-onvif-camera 19:51:46 ---> Running in f9ddb155b1ec 19:51:46 Removing intermediate container f9ddb155b1ec 19:51:46 ---> c6003be5b1c3 19:51:46 Step 10/13 : COPY go.mod vendor* ./ 19:51:47 ---> c2a51dce91ea 19:51:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:47 ---> Running in 8fa5efd5bd28 19:52:55 Removing intermediate container 8fa5efd5bd28 19:52:55 ---> e0a08d268de2 19:52:55 Step 12/13 : COPY . . 19:52:55 ---> 9ec9de783eab 19:52:55 Step 13/13 : RUN ${MAKE} 19:52:55 ---> Running in 1b1cc1d7e5bb 19:52:55 noop 19:52:57 Removing intermediate container 1b1cc1d7e5bb 19:52:57 ---> fbabba4c546c 19:52:57 Successfully built fbabba4c546c 19:52:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:57 + docker inspect -f . ci-base-image-arm64 19:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:58 prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container 19:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 19:52:59 $ docker top 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:00 + go version 19:53:00 go version go1.20.2 linux/arm64 [Pipeline] } 19:53:00 $ docker stop --time=1 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 19:53:01 $ docker rm -f --volumes 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:02 + docker inspect -f . ci-base-image-arm64 19:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:02 prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container 19:53:02 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 19:53:04 $ docker top cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 19:53:05 + make test 19:53:05 go test ./... -coverprofile=coverage.out ./... 19:53:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:56:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:56:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:56:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 31.7% of statements 19:56:58 --- FAIL: TestIpGenerator (0.00s) 19:56:58 --- FAIL: TestIpGenerator/basic_/8_subnet (30.05s) 19:56:58 util_test.go:180: 19:56:58 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 19:56:58 Error: Not equal: 19:56:58 expected: 0xfffffe 19:56:58 actual : 0xed8b07 19:56:58 Test: TestIpGenerator/basic_/8_subnet 19:56:58 util_test.go:183: 19:56:58 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 19:56:58 Error: Not equal: 19:56:58 expected: "10.255.255.254" 19:56:58 actual : "10.237.139.7" 19:56:58 19:56:58 Diff: 19:56:58 --- Expected 19:56:58 +++ Actual 19:56:58 @@ -1 +1 @@ 19:56:58 -10.255.255.254 19:56:58 +10.237.139.7 19:56:58 Test: TestIpGenerator/basic_/8_subnet 19:56:58 FAIL 19:56:58 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 19:56:58 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.287s 19:56:58 FAIL 19:56:59 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 19:56:59 $ docker stop --time=1 cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 19:57:01 $ docker rm -f --volumes cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 [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 19:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:02 19:57:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:03 arm64: Pulling from edgex-lftools-log-publisher 19:57:03 8998bd30e6a1: Pulling fs layer 19:57:03 04944245beec: Pulling fs layer 19:57:03 699f458cf7ca: Pulling fs layer 19:57:03 765212b225bb: Pulling fs layer 19:57:03 f23df028b6ca: Pulling fs layer 19:57:03 d65c8cfc05b1: Pulling fs layer 19:57:03 2437ff75d9bd: Pulling fs layer 19:57:03 f23df028b6ca: Waiting 19:57:03 d65c8cfc05b1: Waiting 19:57:03 2437ff75d9bd: Waiting 19:57:03 765212b225bb: Waiting 19:57:03 04944245beec: Verifying Checksum 19:57:03 04944245beec: Download complete 19:57:03 765212b225bb: Verifying Checksum 19:57:03 765212b225bb: Download complete 19:57:03 f23df028b6ca: Download complete 19:57:03 d65c8cfc05b1: Verifying Checksum 19:57:03 d65c8cfc05b1: Download complete 19:57:03 699f458cf7ca: Verifying Checksum 19:57:03 699f458cf7ca: Download complete 19:57:04 8998bd30e6a1: Verifying Checksum 19:57:04 8998bd30e6a1: Download complete 19:57:06 2437ff75d9bd: Verifying Checksum 19:57:06 2437ff75d9bd: Download complete 19:57:08 8998bd30e6a1: Pull complete 19:57:08 04944245beec: Pull complete 19:57:10 699f458cf7ca: Pull complete 19:57:10 765212b225bb: Pull complete 19:57:11 f23df028b6ca: Pull complete 19:57:11 d65c8cfc05b1: Pull complete 19:57:29 2437ff75d9bd: Pull complete 19:57:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:29 prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container 19:57:29 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 19:57:36 $ docker top 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:37 ---> job-cost.sh 19:57:37 lf-activate-venv: SKIPPING 19:57:37 INFO: No Stack... 19:57:37 INFO: Retrieving Pricing Info for: v3-standard-4 19:57:38 INFO: Archiving Costs [Pipeline] sh 19:57:38 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 19:57:38 + cut -d, -f6 [Pipeline] lock 19:57:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] 19:57:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] did not exist. Created. 19:57:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:57:39 /w/workspace/device-onvif-camera/2@tmp/durable-44a0c4e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:57:40 + echo total: 0.10999999940395355 [Pipeline] stash 19:57:40 Warning: overwriting stash ‘stack-cost’ 19:57:40 Stashed 1 file(s) [Pipeline] } 19:57:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:57:40 $ docker stop --time=1 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 19:57:42 $ docker rm -f --volumes 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:57:42 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 19:57:43 + [ -d /w/workspace/undry_device-onvif-camera_PR-294/archives ] 19:57:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-294/archives 19:57:43 total 16 19:57:43 drwxr-xr-x 3 root root 4096 Mar 29 19:50 . 19:57:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 19:57:43 drwxr-xr-x 2 root root 4096 Mar 29 19:50 cost 19:57:43 -rw-r--r-- 1 root root 91 Mar 29 19:50 cost.csv 19:57:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-294/archives 19:57:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-294/archives 19:57:43 total 16 19:57:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:50 . 19:57:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 19:57:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:50 cost 19:57:43 -rw-r--r-- 1 jenkins jenkins 91 Mar 29 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:57:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:57:44 ---> package-listing.sh 19:57:44 ++ facter osfamily 19:57:44 ++ tr '[:upper:]' '[:lower:]' 19:57:44 + OS_FAMILY=debian 19:57:44 + workspace=/w/workspace/undry_device-onvif-camera_PR-294 19:57:44 + START_PACKAGES=/tmp/packages_start.txt 19:57:44 + END_PACKAGES=/tmp/packages_end.txt 19:57:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:57:44 + PACKAGES=/tmp/packages_start.txt 19:57:44 + '[' /w/workspace/undry_device-onvif-camera_PR-294 ']' 19:57:44 + PACKAGES=/tmp/packages_end.txt 19:57:44 + case "${OS_FAMILY}" in 19:57:44 + dpkg -l 19:57:44 + grep '^ii' 19:57:44 + '[' -f /tmp/packages_start.txt ']' 19:57:44 + '[' -f /tmp/packages_end.txt ']' 19:57:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:57:44 + '[' /w/workspace/undry_device-onvif-camera_PR-294 ']' 19:57:44 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-294/archives/ 19:57:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-294/archives/ [Pipeline] echo 19:57:44 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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:57:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:45 prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container 19:57:45 $ 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-294/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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@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 19:57:46 $ docker top f42837a64a5c1311e0a794dccfe4d17e8d6d6d0d9a0d296c8b9f617928659b6e -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:46 + touch /tmp/pre-build-complete [Pipeline] sh 19:57:46 + mkdir -p /var/log/sysstat [Pipeline] sh 19:57:46 + ls /var/log/sa-host 19:57:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:47 provisioning config files... 19:57:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config10579262998280835710tmp [Pipeline] { [Pipeline] echo 19:57:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:57:47 ---> create-netrc.sh [Pipeline] } 19:57:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:57:47 ---> python-tools-install.sh [Pipeline] echo 19:57:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:57:47 ---> sudo-logs.sh 19:57:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:57:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:57:48 ---> job-cost.sh 19:57:48 lf-activate-venv: SKIPPING 19:57:48 DEBUG: total: 0.2199999988079071 19:57:48 INFO: Retrieving Stack Cost... 19:57:48 INFO: Retrieving Pricing Info for: v3-standard-8 19:57:49 INFO: Archiving Costs [Pipeline] echo 19:57:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:57:49 ---> logs-deploy.sh 19:57:49 lf-activate-venv: SKIPPING 19:57:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-294/2 19:57:49 INFO: archiving workspace using pattern(s): 19:57:50 Archives upload complete. 19:57:50 INFO: archiving logs to Nexus