Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than 73d8b018e1281e2d180e7d96b9a68723dde3fc6a Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh1036073518540967106.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13796341767076453326.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh194000675177550072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7433345608478496892.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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7543622314541907619.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24211 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-149 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 73d8b018e1281e2d180e7d96b9a68723dde3fc6a Merge succeeded, producing bf5024e08c160343adf2d2ad5e70d68860042d51 Checking out Revision bf5024e08c160343adf2d2ad5e70d68860042d51 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73d8b018e1281e2d180e7d96b9a68723dde3fc6a # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf5024e08c160343adf2d2ad5e70d68860042d51 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:36:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 576067f624797fc93aa539b1599dfc524b042ae0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:36:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:36:38 ========================================================= 16:36:38 EdgeX Global Pipelines Version Info 16:36:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:36:39 ------------------- 16:36:39 stable info: 16:36:39 ------------------- 16:36:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:36:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:36:39 Message: update stable to v1.0.239 16:36:40 ------------------- 16:36:40 experimental info: 16:36:40 ------------------- 16:36:40 Commited By: **** collab-it+edgex@linuxfoundation.org 16:36:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:36:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf5024e [Pipeline] echo 16:36:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:40 provisioning config files... 16:36:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4915663502296537744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:41 ---> docker-login.sh 16:36:41 nexus3.edgexfoundry.org:10001 16:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:41 Configure a credential helper to remove this warning. See 16:36:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:41 16:36:41 Login Succeeded 16:36:41 nexus3.edgexfoundry.org:10002 16:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:41 Configure a credential helper to remove this warning. See 16:36:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:41 16:36:41 Login Succeeded 16:36:41 nexus3.edgexfoundry.org:10003 16:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:41 Configure a credential helper to remove this warning. See 16:36:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:41 16:36:41 Login Succeeded 16:36:41 nexus3.edgexfoundry.org:10004 16:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:42 Configure a credential helper to remove this warning. See 16:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:42 16:36:42 Login Succeeded 16:36:42 docker.io 16:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:42 Configure a credential helper to remove this warning. See 16:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:42 16:36:42 Login Succeeded 16:36:42 ---> docker-login.sh ends [Pipeline] } 16:36:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:36:43 + git rev-list -1 --merges bf5024e08c160343adf2d2ad5e70d68860042d51~1..bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo 16:36:43 -----------> git rev-list -1 --merges bf5024e08c160343adf2d2ad5e70d68860042d51~1..bf5024e08c160343adf2d2ad5e70d68860042d51 bf5024e08c160343adf2d2ad5e70d68860042d51 16:36:43 bf5024e08c160343adf2d2ad5e70d68860042d51 [false] [Pipeline] sh 16:36:43 + git log --format=format:%s -1 bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo 16:36:43 ========================================================= 16:36:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:36:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:36:43 + git log --format=format:%s -1 bf5024e08c160343adf2d2ad5e70d68860042d51 [Pipeline] echo 16:36:43 [semverPrep] GIT_COMMIT: bf5024e08c160343adf2d2ad5e70d68860042d51, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo 16:36:43 [semverPrep] This is not a build commit. [Pipeline] sh 16:36:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:36:44 + grep -v github /etc/ssh/ssh_known_hosts 16:36:44 + [ -e /tmp/ssh_known_hosts ] 16:36:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:36:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:36:44 + sudo tee -a /etc/ssh/ssh_known_hosts 16:36:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:44 16:36:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:45 0.1.4: Pulling from edgex-devops/py-git-semver 16:36:45 b85a868b505f: Pulling fs layer 16:36:45 e2be974225ed: Pulling fs layer 16:36:45 339a4e72a1f5: Pulling fs layer 16:36:45 988bab9f4d93: Pulling fs layer 16:36:45 1469e6f7b9e6: Pulling fs layer 16:36:45 eaf3925da568: Pulling fs layer 16:36:45 bab4dde63d76: Pulling fs layer 16:36:45 bde34c3a00c8: Pulling fs layer 16:36:45 b352a97aabf1: Pulling fs layer 16:36:45 4872d77fe225: Pulling fs layer 16:36:45 5851b861e8e6: Pulling fs layer 16:36:45 988bab9f4d93: Waiting 16:36:45 1469e6f7b9e6: Waiting 16:36:45 eaf3925da568: Waiting 16:36:45 bab4dde63d76: Waiting 16:36:45 bde34c3a00c8: Waiting 16:36:45 b352a97aabf1: Waiting 16:36:45 4872d77fe225: Waiting 16:36:45 5851b861e8e6: Waiting 16:36:45 e2be974225ed: Download complete 16:36:45 988bab9f4d93: Verifying Checksum 16:36:45 988bab9f4d93: Download complete 16:36:45 1469e6f7b9e6: Verifying Checksum 16:36:45 1469e6f7b9e6: Download complete 16:36:45 eaf3925da568: Verifying Checksum 16:36:45 eaf3925da568: Download complete 16:36:45 339a4e72a1f5: Verifying Checksum 16:36:45 339a4e72a1f5: Download complete 16:36:45 bde34c3a00c8: Verifying Checksum 16:36:45 bde34c3a00c8: Download complete 16:36:45 b352a97aabf1: Download complete 16:36:45 4872d77fe225: Verifying Checksum 16:36:45 4872d77fe225: Download complete 16:36:45 5851b861e8e6: Verifying Checksum 16:36:45 5851b861e8e6: Download complete 16:36:45 b85a868b505f: Verifying Checksum 16:36:45 b85a868b505f: Download complete 16:36:45 bab4dde63d76: Verifying Checksum 16:36:45 bab4dde63d76: Download complete 16:36:46 b85a868b505f: Pull complete 16:36:47 e2be974225ed: Pull complete 16:36:47 339a4e72a1f5: Pull complete 16:36:47 988bab9f4d93: Pull complete 16:36:47 1469e6f7b9e6: Pull complete 16:36:47 eaf3925da568: Pull complete 16:36:49 bab4dde63d76: Pull complete 16:36:50 bde34c3a00c8: Pull complete 16:36:50 b352a97aabf1: Pull complete 16:36:50 4872d77fe225: Pull complete 16:36:50 5851b861e8e6: Pull complete 16:36:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:36:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:50 prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container 16:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:36:51 $ docker top 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 -eo pid,comm 16:36:51 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). 16:36:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:52 [ssh-agent] Looking for ssh-agent implementation... 16:36:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:52 $ docker exec 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent 16:36:52 SSH_AUTH_SOCK=/tmp/ssh-nNQipXxkKag6/agent.33 16:36:52 SSH_AGENT_PID=39 16:36:52 Running ssh-add (command line suppressed) 16:36:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7940998812235325787.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7940998812235325787.key) 16:36:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:52 + git tag --points-at HEAD [Pipeline] } 16:36:52 $ docker exec --env ******** --env ******** 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent -k 16:36:52 unset SSH_AUTH_SOCK; 16:36:52 unset SSH_AGENT_PID; 16:36:52 echo Agent pid 39 killed; 16:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:52 [ssh-agent] Looking for ssh-agent implementation... 16:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:53 $ docker exec 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent 16:36:53 SSH_AUTH_SOCK=/tmp/ssh-enNik7SkHCY7/agent.72 16:36:53 SSH_AGENT_PID=79 16:36:53 Running ssh-add (command line suppressed) 16:36:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4206532300183048922.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4206532300183048922.key) 16:36:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:53 + git semver init 16:36:53 2022-08-31 16:36:53,876 [run_init] DEBUG init version:0.0.0 force:False 16:36:53 2022-08-31 16:36:53,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 16:36:53 2022-08-31 16:36:53,877 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 16:36:53 2022-08-31 16:36:53,878 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) 16:36:54 2022-08-31 16:36:54,622 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 16:36:54 2022-08-31 16:36:54,623 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 16:36:54 2022-08-31 16:36:54,623 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:36:54 2022-08-31 16:36:54,627 [execute] INFO git cat-file --batch-check 16:36:54 2022-08-31 16:36:54,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:36:54 2022-08-31 16:36:54,634 [execute] INFO git cat-file --batch 16:36:54 2022-08-31 16:36:54,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:36:54 2022-08-31 16:36:54,638 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:36:54 0.0.0 [Pipeline] } 16:36:54 $ docker exec --env ******** --env ******** 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 ssh-agent -k 16:36:55 unset SSH_AUTH_SOCK; 16:36:55 unset SSH_AGENT_PID; 16:36:55 echo Agent pid 79 killed; 16:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:36:55 + git semver [Pipeline] } 16:36:55 $ docker stop --time=1 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 16:36:57 $ docker rm -f 230b9170a0a3d388871109030f43aa5d047180549188d7b2572a7da124c27178 [Pipeline] // withDockerContainer [Pipeline] sh 16:36:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:36:57 Stashed 1 file(s) [Pipeline] echo 16:36:57 [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 16:36:57 provisioning config files... 16:36:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config2229129800443121739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:58 ---> docker-login.sh 16:36:58 nexus3.edgexfoundry.org:10001 16:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:58 Configure a credential helper to remove this warning. See 16:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:58 16:36:58 Login Succeeded 16:36:58 nexus3.edgexfoundry.org:10002 16:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:58 Configure a credential helper to remove this warning. See 16:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:58 16:36:58 Login Succeeded 16:36:58 nexus3.edgexfoundry.org:10003 16:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:58 Configure a credential helper to remove this warning. See 16:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:58 16:36:58 Login Succeeded 16:36:58 nexus3.edgexfoundry.org:10004 16:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:58 Configure a credential helper to remove this warning. See 16:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:58 16:36:58 Login Succeeded 16:36:58 docker.io 16:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:58 Configure a credential helper to remove this warning. See 16:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:58 16:36:58 Login Succeeded 16:36:58 ---> docker-login.sh ends [Pipeline] } 16:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:36:58 ========================================================= 16:36:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:36:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:36:59 Sending build context to Docker daemon 20.72MB 16:36:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:36:59 Step 2/13 : FROM ${BASE} AS builder 16:36:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:36:59 2408cc74d12b: Pulling fs layer 16:36:59 ea60b727a1ce: Pulling fs layer 16:36:59 30c4a7721957: Pulling fs layer 16:36:59 370296b7ddb6: Pulling fs layer 16:36:59 7c6cee850709: Pulling fs layer 16:36:59 39a5fcdaea64: Pulling fs layer 16:36:59 d94ebbe4e438: Pulling fs layer 16:36:59 bcfd1f05c69d: Pulling fs layer 16:36:59 59ccb84bbe0f: Pulling fs layer 16:36:59 370296b7ddb6: Waiting 16:36:59 7c6cee850709: Waiting 16:36:59 39a5fcdaea64: Waiting 16:36:59 d94ebbe4e438: Waiting 16:36:59 59ccb84bbe0f: Waiting 16:36:59 bcfd1f05c69d: Waiting 16:36:59 30c4a7721957: Verifying Checksum 16:36:59 30c4a7721957: Download complete 16:36:59 ea60b727a1ce: Verifying Checksum 16:36:59 ea60b727a1ce: Download complete 16:36:59 7c6cee850709: Download complete 16:36:59 39a5fcdaea64: Download complete 16:36:59 2408cc74d12b: Verifying Checksum 16:36:59 2408cc74d12b: Download complete 16:36:59 d94ebbe4e438: Verifying Checksum 16:36:59 d94ebbe4e438: Download complete 16:36:59 2408cc74d12b: Pull complete 16:36:59 ea60b727a1ce: Pull complete 16:36:59 30c4a7721957: Pull complete 16:37:00 59ccb84bbe0f: Download complete 16:37:00 bcfd1f05c69d: Verifying Checksum 16:37:00 bcfd1f05c69d: Download complete 16:37:00 370296b7ddb6: Verifying Checksum 16:37:00 370296b7ddb6: Download complete 16:37:05 370296b7ddb6: Pull complete 16:37:05 7c6cee850709: Pull complete 16:37:05 39a5fcdaea64: Pull complete 16:37:05 d94ebbe4e438: Pull complete 16:37:07 bcfd1f05c69d: Pull complete 16:37:08 59ccb84bbe0f: Pull complete 16:37:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:37:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:37:08 ---> a4fb48ad2a94 16:37:08 Step 3/13 : ARG MAKE="make build" 16:37:09 ---> Running in 1f01addebaef 16:37:09 Removing intermediate container 1f01addebaef 16:37:09 ---> 14c84b2b9053 16:37:09 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:37:09 ---> Running in f4de57ab9cec 16:37:09 Removing intermediate container f4de57ab9cec 16:37:09 ---> 2bd28ccc105b 16:37:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:37:09 ---> Running in bd57765f5097 16:37:10 Removing intermediate container bd57765f5097 16:37:10 ---> ae9f4d0be41a 16:37:10 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:37:10 ---> Running in 3f6a3f825f48 16:37:10 Removing intermediate container 3f6a3f825f48 16:37:10 ---> c7e9697e51d4 16:37:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:37:10 ---> Running in 0d59e1574958 16:37:10 Removing intermediate container 0d59e1574958 16:37:10 ---> f8776784ca9a 16:37:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:37:10 ---> Running in 260fe4ac2881 16:37:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:37:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:37:12 OK: 211 MiB in 51 packages 16:37:12 Removing intermediate container 260fe4ac2881 16:37:12 ---> 4f9a0ac3c2ec 16:37:12 Step 9/13 : WORKDIR /device-onvif-camera 16:37:12 ---> Running in ccc9e40b28dd 16:37:12 Removing intermediate container ccc9e40b28dd 16:37:12 ---> b89d15222084 16:37:12 Step 10/13 : COPY go.mod vendor* ./ 16:37:12 Still waiting to schedule task 16:37:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:37:12 ---> 72fd0a417f8a 16:37:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:37:12 ---> Running in 9be5fd0680d5 16:37:30 Removing intermediate container 9be5fd0680d5 16:37:30 ---> 23ca1c72d6e0 16:37:30 Step 12/13 : COPY . . 16:37:30 ---> 53a97728ff24 16:37:30 Step 13/13 : RUN ${MAKE} 16:37:30 ---> Running in a6d70107e0c7 16:37:30 noop 16:37:30 Removing intermediate container a6d70107e0c7 16:37:30 ---> eb950e4715e5 16:37:30 Successfully built eb950e4715e5 16:37:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:31 + docker inspect -f . ci-base-image-x86_64 16:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:31 prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container 16:37:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** ci-base-image-x86_64 cat 16:37:31 $ docker top f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:32 + go version 16:37:32 go version go1.18.3 linux/amd64 [Pipeline] } 16:37:32 $ docker stop --time=1 f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be 16:37:33 $ docker rm -f f1af16ad0df855428d854342ee43e9aa82e813ed69d3ce2c17207b4febff51be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:33 + docker inspect -f . ci-base-image-x86_64 16:37:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:34 prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container 16:37:34 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** ci-base-image-x86_64 cat 16:37:34 $ docker top 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:34 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 16:37:35 + make test 16:37:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:37:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:37:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:37:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 28.5% of statements 16:37:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:37:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.123s coverage: 13.8% of statements 16:37:59 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:37:59 internal/driver/driver_test.go:257:17: Error return value of `writer.Write` is not checked (errcheck) 16:37:59 writer.Write([]byte(test.resp)) 16:37:59 ^ 16:37:59 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 16:37:59 $ docker stop --time=1 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 16:38:01 $ docker rm -f 147b388a15ce5f86d6fda561e6596384bcaf09c66db60ffb6ba0f391571be0b0 [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 16:38:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:02 16:38:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:02 latest: Pulling from edgex-lftools-log-publisher 16:38:02 5eb5b503b376: Pulling fs layer 16:38:02 5c69ac0246d0: Pulling fs layer 16:38:02 ec43610c2a17: Pulling fs layer 16:38:02 3a2ae6a8a46f: Pulling fs layer 16:38:02 33b1e0a273af: Pulling fs layer 16:38:02 3a2ae6a8a46f: Waiting 16:38:02 5d3b04190fa2: Pulling fs layer 16:38:02 2f39f015ded8: Pulling fs layer 16:38:02 33b1e0a273af: Waiting 16:38:02 5d3b04190fa2: Waiting 16:38:02 2f39f015ded8: Waiting 16:38:02 5c69ac0246d0: Verifying Checksum 16:38:02 5c69ac0246d0: Download complete 16:38:02 3a2ae6a8a46f: Verifying Checksum 16:38:02 3a2ae6a8a46f: Download complete 16:38:02 ec43610c2a17: Verifying Checksum 16:38:02 ec43610c2a17: Download complete 16:38:02 33b1e0a273af: Verifying Checksum 16:38:02 33b1e0a273af: Download complete 16:38:02 5d3b04190fa2: Verifying Checksum 16:38:02 5d3b04190fa2: Download complete 16:38:02 5eb5b503b376: Download complete 16:38:03 2f39f015ded8: Download complete 16:38:03 5eb5b503b376: Pull complete 16:38:04 5c69ac0246d0: Pull complete 16:38:04 ec43610c2a17: Pull complete 16:38:04 3a2ae6a8a46f: Pull complete 16:38:04 33b1e0a273af: Pull complete 16:38:04 5d3b04190fa2: Pull complete 16:38:09 2f39f015ded8: Pull complete 16:38:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:38:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:38:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:09 prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container 16:38:09 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:38:11 $ docker top 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:11 ---> job-cost.sh 16:38:11 lf-activate-venv: SKIPPING 16:38:11 INFO: No Stack... 16:38:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:38:12 INFO: Archiving Costs [Pipeline] sh 16:38:12 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 16:38:12 + cut -d, -f6 [Pipeline] lock 16:38:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] 16:38:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] did not exist. Created. 16:38:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:38:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:38:13 Stashed 1 file(s) [Pipeline] } 16:38:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] // lock [Pipeline] } 16:38:13 $ docker stop --time=1 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 16:38:14 $ docker rm -f 37d80a8bd0562b6a3930ba7fe2e64b09d4c892267306a6f03e93eab857a7f8a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:38:14 Failed in branch amd64 16:38:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24212 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 16:38:52 Running in /w/workspace/device-onvif-camera/22 [Pipeline] { [Pipeline] checkout 16:38:52 Selected Git installation does not exist. Using Default 16:38:52 The recommended git tool is: NONE 16:38:57 using credential edgex-jenkins-ssh 16:38:57 Cloning the remote Git repository 16:38:57 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:38:57 > git init /w/workspace/device-onvif-camera/22 # timeout=10 16:38:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:38:57 > git --version # timeout=10 16:38:58 > git --version # 'git version 2.25.1' 16:38:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:59 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 73d8b018e1281e2d180e7d96b9a68723dde3fc6a 16:38:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:38:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:38:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:38:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:38:59 > git config core.sparsecheckout # timeout=10 16:38:59 > git checkout -f 73d8b018e1281e2d180e7d96b9a68723dde3fc6a # timeout=10 16:39:00 > git remote # timeout=10 16:39:00 > git config --get remote.origin.url # timeout=10 16:39:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:39:00 > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 16:39:00 Merge succeeded, producing 666e69bd0fee7fd468a9fde2298d0ea16309f433 16:39:00 Checking out Revision 666e69bd0fee7fd468a9fde2298d0ea16309f433 (PR-149) 16:39:00 > git rev-parse HEAD^{commit} # timeout=10 16:39:00 > git config core.sparsecheckout # timeout=10 16:39:00 > git checkout -f 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 16:39:04 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" 16:39:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:39:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:39:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:39:05 Dload Upload Total Spent Left Speed 16:39:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 16:39:04 > git rev-list --no-walk 576067f624797fc93aa539b1599dfc524b042ae0 # timeout=10 16:39:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:39:06 + + sudo teesudo /etc/docker/daemon.new jq 16:39:06 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:39:06 { 16:39:06 "registry-mirrors": [ 16:39:06 "https://nexus3.edgexfoundry.org:10001" 16:39:06 ], 16:39:06 "bip": "10.250.0.254/24", 16:39:06 "hosts": [ 16:39:06 "tcp://0.0.0.0:5555", 16:39:06 "unix:///var/run/docker.sock" 16:39:06 ], 16:39:06 "mtu": 1458, 16:39:06 "selinux-enabled": true, 16:39:06 "seccomp-profile": "/etc/docker/seccomp.json" 16:39:06 } [Pipeline] sh 16:39:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:39:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:25 provisioning config files... 16:39:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/22@tmp/config1808614114440221204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:26 ---> docker-login.sh 16:39:26 nexus3.edgexfoundry.org:10001 16:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:26 Configure a credential helper to remove this warning. See 16:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:26 16:39:26 Login Succeeded 16:39:26 nexus3.edgexfoundry.org:10002 16:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:27 Configure a credential helper to remove this warning. See 16:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:27 16:39:27 Login Succeeded 16:39:27 nexus3.edgexfoundry.org:10003 16:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:27 Configure a credential helper to remove this warning. See 16:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:27 16:39:27 Login Succeeded 16:39:27 nexus3.edgexfoundry.org:10004 16:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:28 Configure a credential helper to remove this warning. See 16:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:28 16:39:28 Login Succeeded 16:39:28 docker.io 16:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:28 Configure a credential helper to remove this warning. See 16:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:28 16:39:28 Login Succeeded 16:39:29 ---> docker-login.sh ends [Pipeline] } 16:39:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:39:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:29 ========================================================= 16:39:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:39:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:39:30 Sending build context to Docker daemon 14.23MB 16:39:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:39:30 Step 2/13 : FROM ${BASE} AS builder 16:39:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:39:31 b3c136eddcbf: Pulling fs layer 16:39:31 c0a3192eca97: Pulling fs layer 16:39:31 a050256f5b6f: Pulling fs layer 16:39:31 656be50a0ddc: Pulling fs layer 16:39:31 2bbca73fdf42: Pulling fs layer 16:39:31 656be50a0ddc: Waiting 16:39:31 46d945488cbd: Pulling fs layer 16:39:31 8a5474983e97: Pulling fs layer 16:39:31 329c88fbcd65: Pulling fs layer 16:39:31 2bbca73fdf42: Waiting 16:39:31 46d945488cbd: Waiting 16:39:31 8a5474983e97: Waiting 16:39:31 329c88fbcd65: Waiting 16:39:31 a050256f5b6f: Verifying Checksum 16:39:31 a050256f5b6f: Download complete 16:39:31 c0a3192eca97: Verifying Checksum 16:39:31 c0a3192eca97: Download complete 16:39:31 2bbca73fdf42: Verifying Checksum 16:39:31 2bbca73fdf42: Download complete 16:39:31 b3c136eddcbf: Verifying Checksum 16:39:31 46d945488cbd: Verifying Checksum 16:39:31 46d945488cbd: Download complete 16:39:32 b3c136eddcbf: Pull complete 16:39:32 329c88fbcd65: Verifying Checksum 16:39:32 329c88fbcd65: Download complete 16:39:32 c0a3192eca97: Pull complete 16:39:32 a050256f5b6f: Pull complete 16:39:33 8a5474983e97: Verifying Checksum 16:39:33 8a5474983e97: Download complete 16:39:34 656be50a0ddc: Verifying Checksum 16:39:34 656be50a0ddc: Download complete 16:39:46 656be50a0ddc: Pull complete 16:39:46 2bbca73fdf42: Pull complete 16:39:46 46d945488cbd: Pull complete 16:39:53 8a5474983e97: Pull complete 16:39:55 329c88fbcd65: Pull complete 16:39:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:39:55 ---> ff4287adb874 16:39:55 Step 3/13 : ARG MAKE="make build" 16:39:57 ---> Running in ff2bbe46035d 16:39:57 Removing intermediate container ff2bbe46035d 16:39:57 ---> c624db627856 16:39:57 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:39:57 ---> Running in 7a62296b2923 16:39:58 Removing intermediate container 7a62296b2923 16:39:58 ---> 307125f7c307 16:39:58 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:39:58 ---> Running in 84551b7e1c99 16:39:58 Removing intermediate container 84551b7e1c99 16:39:58 ---> 0226febc0eb2 16:39:58 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:39:58 ---> Running in 7d75327d534e 16:39:58 Removing intermediate container 7d75327d534e 16:39:58 ---> 59d06e32d7c4 16:39:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:39:58 ---> Running in fef527d2edee 16:40:00 Removing intermediate container fef527d2edee 16:40:00 ---> 4d5d17b64a17 16:40:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:00 ---> Running in 901882693e3e 16:40:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:40:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:40:03 OK: 221 MiB in 51 packages 16:40:04 Removing intermediate container 901882693e3e 16:40:04 ---> ee5e9612d9e4 16:40:04 Step 9/13 : WORKDIR /device-onvif-camera 16:40:04 ---> Running in 3662a8091dc7 16:40:04 Removing intermediate container 3662a8091dc7 16:40:04 ---> 52afe03d26bb 16:40:04 Step 10/13 : COPY go.mod vendor* ./ 16:40:05 ---> bc952818c4e6 16:40:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:05 ---> Running in 60a6b19b56d1 16:41:01 Removing intermediate container 60a6b19b56d1 16:41:01 ---> 63b363551860 16:41:01 Step 12/13 : COPY . . 16:41:01 ---> af25b4253c8a 16:41:01 Step 13/13 : RUN ${MAKE} 16:41:01 ---> Running in 629425d56923 16:41:01 noop 16:41:01 Removing intermediate container 629425d56923 16:41:01 ---> 88ceb280622e 16:41:01 Successfully built 88ceb280622e 16:41:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:01 + docker inspect -f . ci-base-image-arm64 16:41:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:02 prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container 16:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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 ******** -e ******** ci-base-image-arm64 cat 16:41:03 $ docker top ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:04 + go version 16:41:04 go version go1.18.3 linux/arm64 [Pipeline] } 16:41:04 $ docker stop --time=1 ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 16:41:06 $ docker rm -f ac77ac8b765886533ee319e1859cc43c831fb3d7cb8df49b47bb888c059e21b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:06 + docker inspect -f . ci-base-image-arm64 16:41:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:06 prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container 16:41:07 $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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 ******** -e ******** ci-base-image-arm64 cat 16:41:08 $ docker top aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/22 [Pipeline] fileExists [Pipeline] sh 16:41:09 + make test 16:41:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:41:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:42:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:42:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.5% of statements 16:42:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:43:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.281s coverage: 13.8% of statements 16:43:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:43:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:43:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:43:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:43:27 ./bin/test-attribution-txt.sh [Pipeline] echo 16:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:43:27 $ docker stop --time=1 aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 16:43:29 $ docker rm -f aab6e15b1b4df35b288d65ddc890862e52b7cda7a98487e0e01fbfffc4a349c8 [Pipeline] // withDockerContainer [Pipeline] sh 16:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:43:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:43:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:43:31 + ls -al . 16:43:31 total 228 16:43:31 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 16:41 . 16:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:38 .. 16:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 16:39 .git 16:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:38 .github 16:43:31 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 16:38 .gitignore 16:43:31 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 16:38 .golangci.yml 16:43:31 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 16:38 Attribution.txt 16:43:31 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 16:38 CHANGELOG.md 16:43:31 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 16:38 Dockerfile 16:43:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 16:38 GOVERNANCE.md 16:43:31 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 16:38 Jenkinsfile 16:43:31 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 16:38 LICENSE 16:43:31 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 16:38 Makefile 16:43:31 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 16:38 OWNERS.md 16:43:31 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 16:38 README.md 16:43:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 16:36 VERSION 16:43:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 16:38 bin 16:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:38 cmd 16:43:31 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 16:43 coverage.out 16:43:31 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 16:39 doc 16:43:31 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 16:39 go.mod 16:43:31 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 16:39 go.sum 16:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:39 internal 16:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:39 snap 16:43:31 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:32 + 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=666e69bd0fee7fd468a9fde2298d0ea16309f433 --label arch=arm64 --label version=0.0.0 . 16:43:32 Sending build context to Docker daemon 14.31MB 16:43:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:43:32 Step 2/26 : FROM ${BASE} AS builder 16:43:32 ---> 88ceb280622e 16:43:32 Step 3/26 : ARG MAKE="make build" 16:43:33 ---> Running in cb57e4e8e0fd 16:43:33 Removing intermediate container cb57e4e8e0fd 16:43:33 ---> 5bbcb83d8ee9 16:43:33 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:43:33 ---> Running in 43e161903f6f 16:43:33 Removing intermediate container 43e161903f6f 16:43:33 ---> 8a1457209c71 16:43:33 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:43:33 ---> Running in 9d1b955d04d8 16:43:34 Removing intermediate container 9d1b955d04d8 16:43:34 ---> ee6d94ed2772 16:43:34 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:43:34 ---> Running in eae517cea534 16:43:34 Removing intermediate container eae517cea534 16:43:34 ---> 0a7c05f08d6a 16:43:34 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:43:34 ---> Running in e46e3b307fb6 16:43:36 Removing intermediate container e46e3b307fb6 16:43:36 ---> 15e497e62f6a 16:43:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:43:36 ---> Running in 2d5f6a2a00af 16:43:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:43:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:43:39 OK: 221 MiB in 51 packages 16:43:40 Removing intermediate container 2d5f6a2a00af 16:43:40 ---> a3686c92d999 16:43:40 Step 9/26 : WORKDIR /device-onvif-camera 16:43:40 ---> Running in dbdf73df7006 16:43:40 Removing intermediate container dbdf73df7006 16:43:40 ---> cad36b90e4db 16:43:40 Step 10/26 : COPY go.mod vendor* ./ 16:43:40 ---> 4d3cbe3d828f 16:43:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:43:40 ---> Running in 47bdba894efe 16:43:42 Removing intermediate container 47bdba894efe 16:43:42 ---> fd00157abc64 16:43:42 Step 12/26 : COPY . . 16:43:44 ---> 99a37bc62f6c 16:43:44 Step 13/26 : RUN ${MAKE} 16:43:44 ---> Running in 9f5a82e023b3 16:43:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:46:07 Removing intermediate container 9f5a82e023b3 16:46:07 ---> cc49f66f4c8f 16:46:07 Step 14/26 : FROM alpine:3.16 16:46:07 3.16: Pulling from library/alpine 16:46:07 9b18e9b68314: Pulling fs layer 16:46:07 9b18e9b68314: Download complete 16:46:07 9b18e9b68314: Pull complete 16:46:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:46:07 Status: Downloaded newer image for alpine:3.16 16:46:07 ---> a6215f271958 16:46:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:46:07 ---> Running in 0433b79eed88 16:46:07 Removing intermediate container 0433b79eed88 16:46:07 ---> d2f74ba48fe9 16:46:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:46:07 ---> Running in f3f876d0b957 16:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:46:07 (1/6) Installing dumb-init (1.2.5-r1) 16:46:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:46:07 (3/6) Installing libsodium (1.0.18-r0) 16:46:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:46:07 (5/6) Installing libzmq (4.3.4-r0) 16:46:07 (6/6) Installing zeromq (4.3.4-r0) 16:46:07 Executing busybox-1.35.0-r17.trigger 16:46:07 OK: 8 MiB in 20 packages 16:46:07 Removing intermediate container f3f876d0b957 16:46:07 ---> 93433296cf67 16:46:07 Step 17/26 : WORKDIR / 16:46:07 ---> Running in f01555e622dd 16:46:07 Removing intermediate container f01555e622dd 16:46:07 ---> 72e7034dc221 16:46:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:46:07 ---> a69014d5b5b9 16:46:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:46:07 ---> 55a3c80d1a1f 16:46:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:46:07 ---> 875b2d237b41 16:46:07 Step 21/26 : EXPOSE 59984 16:46:07 ---> Running in 0b5875ee565d 16:46:07 Removing intermediate container 0b5875ee565d 16:46:07 ---> 30bbd8562f97 16:46:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:46:07 ---> Running in 100b9d0393f7 16:46:07 Removing intermediate container 100b9d0393f7 16:46:07 ---> 1b9f648f16db 16:46:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:46:07 ---> Running in a4dc4b3a9f16 16:46:07 Removing intermediate container a4dc4b3a9f16 16:46:07 ---> b1b7ebe061f7 16:46:07 Step 24/26 : LABEL arch=arm64 16:46:07 ---> Running in 1975f8ecc302 16:46:07 Removing intermediate container 1975f8ecc302 16:46:07 ---> 29fd6c9ccfcb 16:46:07 Step 25/26 : LABEL git_sha=666e69bd0fee7fd468a9fde2298d0ea16309f433 16:46:07 ---> Running in 73a030f4f002 16:46:07 Removing intermediate container 73a030f4f002 16:46:07 ---> 5915cbcd5a9a 16:46:07 Step 26/26 : LABEL version=0.0.0 16:46:07 ---> Running in 430e11054d73 16:46:07 Removing intermediate container 430e11054d73 16:46:07 ---> 818c4230e0c5 16:46:07 [Warning] One or more build-args [ARCH] were not consumed 16:46:07 Successfully built 818c4230e0c5 16:46:07 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 16:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:46:07 16:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:46:08 arm64: Pulling from edgex-lftools-log-publisher 16:46:08 8998bd30e6a1: Pulling fs layer 16:46:08 04944245beec: Pulling fs layer 16:46:08 699f458cf7ca: Pulling fs layer 16:46:08 765212b225bb: Pulling fs layer 16:46:08 f23df028b6ca: Pulling fs layer 16:46:08 d65c8cfc05b1: Pulling fs layer 16:46:08 2437ff75d9bd: Pulling fs layer 16:46:08 765212b225bb: Waiting 16:46:08 f23df028b6ca: Waiting 16:46:08 d65c8cfc05b1: Waiting 16:46:08 2437ff75d9bd: Waiting 16:46:08 04944245beec: Verifying Checksum 16:46:08 04944245beec: Download complete 16:46:08 765212b225bb: Verifying Checksum 16:46:08 765212b225bb: Download complete 16:46:08 f23df028b6ca: Verifying Checksum 16:46:08 f23df028b6ca: Download complete 16:46:08 d65c8cfc05b1: Verifying Checksum 16:46:08 d65c8cfc05b1: Download complete 16:46:08 699f458cf7ca: Verifying Checksum 16:46:08 699f458cf7ca: Download complete 16:46:08 8998bd30e6a1: Verifying Checksum 16:46:08 8998bd30e6a1: Download complete 16:46:11 2437ff75d9bd: Verifying Checksum 16:46:11 2437ff75d9bd: Download complete 16:46:12 8998bd30e6a1: Pull complete 16:46:13 04944245beec: Pull complete 16:46:15 699f458cf7ca: Pull complete 16:46:15 765212b225bb: Pull complete 16:46:16 f23df028b6ca: Pull complete 16:46:16 d65c8cfc05b1: Pull complete 16:46:31 2437ff75d9bd: Pull complete 16:46:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:46:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:31 prd-ubuntu20.04-docker-arm64-4c-16g-24212 does not seem to be running inside a container 16:46:31 $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:46:34 $ docker top 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:35 ---> job-cost.sh 16:46:35 lf-activate-venv: SKIPPING 16:46:35 INFO: No Stack... 16:46:35 INFO: Retrieving Pricing Info for: v3-standard-4 16:46:36 INFO: Archiving Costs [Pipeline] sh 16:46:37 + cat /w/workspace/device-onvif-camera/22/archives/cost.csv 16:46:37 + cut -d, -f6 [Pipeline] lock 16:46:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] 16:46:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] did not exist. Created. 16:46:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:46:37 /w/workspace/device-onvif-camera/22@tmp/durable-9a7ea296/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:46:38 + echo total: 0.10999999940395355 [Pipeline] stash 16:46:38 Warning: overwriting stash ‘stack-cost’ 16:46:38 Stashed 1 file(s) [Pipeline] } 16:46:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-22-stack-cost] [Pipeline] // lock [Pipeline] } 16:46:38 $ docker stop --time=1 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 16:46:40 $ docker rm -f 7c9a95fc82f28e9c7ec765909ef68e5df02c11add63eced86f7fb7dcb39bcfa2 [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 16:46:41 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 16:46:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:46:41 total 16 16:46:41 drwxr-xr-x 3 root root 4096 Aug 31 16:38 . 16:46:41 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:38 .. 16:46:41 drwxr-xr-x 2 root root 4096 Aug 31 16:38 cost 16:46:41 -rw-r--r-- 1 root root 92 Aug 31 16:38 cost.csv 16:46:41 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 16:46:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:46:41 total 16 16:46:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 16:38 . 16:46:41 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:38 .. 16:46:41 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 16:38 cost 16:46:41 -rw-r--r-- 1 jenkins jenkins 92 Aug 31 16:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:46:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:42 ---> package-listing.sh 16:46:42 ++ facter osfamily 16:46:42 ++ tr '[:upper:]' '[:lower:]' 16:46:42 + OS_FAMILY=debian 16:46:42 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 16:46:42 + START_PACKAGES=/tmp/packages_start.txt 16:46:42 + END_PACKAGES=/tmp/packages_end.txt 16:46:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:42 + PACKAGES=/tmp/packages_start.txt 16:46:42 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:46:42 + PACKAGES=/tmp/packages_end.txt 16:46:42 + case "${OS_FAMILY}" in 16:46:42 + dpkg -l 16:46:42 + grep '^ii' 16:46:42 + '[' -f /tmp/packages_start.txt ']' 16:46:42 + '[' -f /tmp/packages_end.txt ']' 16:46:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:46:42 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:46:42 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 16:46:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo 16:46:42 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:46:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:43 prd-ubuntu20.04-docker-8c-8g-24211 does not seem to be running inside a container 16:46:43 $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:46:43 $ docker top e070d9ea4df77d2f8c31319b44a72875ef98604abfdca52a9917f93d6ec79802 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:44 + touch /tmp/pre-build-complete [Pipeline] sh 16:46:44 + mkdir -p /var/log/sysstat [Pipeline] sh 16:46:44 + ls /var/log/sa-host 16:46:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:45 provisioning config files... 16:46:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6335138713957446606tmp [Pipeline] { [Pipeline] echo 16:46:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:46:45 ---> create-netrc.sh [Pipeline] } 16:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:46:45 ---> python-tools-install.sh [Pipeline] echo 16:46:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:46:46 ---> sudo-logs.sh 16:46:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:46:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:46:46 ---> job-cost.sh 16:46:46 lf-activate-venv: SKIPPING 16:46:46 DEBUG: total: 0.2199999988079071 16:46:46 INFO: Retrieving Stack Cost... 16:46:46 INFO: Retrieving Pricing Info for: v3-standard-8 16:46:47 INFO: Archiving Costs [Pipeline] echo 16:46:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:46:47 ---> logs-deploy.sh 16:46:47 lf-activate-venv: SKIPPING 16:46:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/22 16:46:47 INFO: archiving workspace using pattern(s): 16:46:48 Archives upload complete. 16:46:48 INFO: archiving logs to Nexus