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 9faaa447fdfc0a620ceb7bc469331885287a030b 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-ssh1416544903290460049.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-ssh15770862041092206445.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-ssh2016526285056648573.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-ssh6063040952509351517.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-ssh8798392321547175988.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 ‘prd-ubuntu20.04-docker-8c-8g-24211’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24213 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 9faaa447fdfc0a620ceb7bc469331885287a030b Merge succeeded, producing 967fb0e3cef229071ce3783acc1c863f2b30e745 Checking out Revision 967fb0e3cef229071ce3783acc1c863f2b30e745 (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 9faaa447fdfc0a620ceb7bc469331885287a030b # 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 967fb0e3cef229071ce3783acc1c863f2b30e745 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:49:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:49:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:49:28 ========================================================= 16:49:28 EdgeX Global Pipelines Version Info 16:49:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:49:29 ------------------- 16:49:29 stable info: 16:49:29 ------------------- 16:49:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:49:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:49:29 Message: update stable to v1.0.239 16:49:30 ------------------- 16:49:30 experimental info: 16:49:30 ------------------- 16:49:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:49:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:49:30 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 967fb0e [Pipeline] echo 16:49:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:49:30 provisioning config files... 16:49:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6533042128993475357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:31 ---> docker-login.sh 16:49:31 nexus3.edgexfoundry.org:10001 16:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:31 Configure a credential helper to remove this warning. See 16:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:31 16:49:31 Login Succeeded 16:49:31 nexus3.edgexfoundry.org:10002 16:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:31 Configure a credential helper to remove this warning. See 16:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:31 16:49:31 Login Succeeded 16:49:31 nexus3.edgexfoundry.org:10003 16:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:31 Configure a credential helper to remove this warning. See 16:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:31 16:49:31 Login Succeeded 16:49:31 nexus3.edgexfoundry.org:10004 16:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:32 Configure a credential helper to remove this warning. See 16:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:32 16:49:32 Login Succeeded 16:49:32 docker.io 16:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:32 Configure a credential helper to remove this warning. See 16:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:32 16:49:32 Login Succeeded 16:49:32 ---> docker-login.sh ends [Pipeline] } 16:49:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:49:33 + git rev-list -1 --merges 967fb0e3cef229071ce3783acc1c863f2b30e745~1..967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo 16:49:33 -----------> git rev-list -1 --merges 967fb0e3cef229071ce3783acc1c863f2b30e745~1..967fb0e3cef229071ce3783acc1c863f2b30e745 967fb0e3cef229071ce3783acc1c863f2b30e745 16:49:33 967fb0e3cef229071ce3783acc1c863f2b30e745 [false] [Pipeline] sh 16:49:33 + git log --format=format:%s -1 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo 16:49:33 ========================================================= 16:49:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:49:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:49:33 + git log --format=format:%s -1 967fb0e3cef229071ce3783acc1c863f2b30e745 [Pipeline] echo 16:49:33 [semverPrep] GIT_COMMIT: 967fb0e3cef229071ce3783acc1c863f2b30e745, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo 16:49:33 [semverPrep] This is not a build commit. [Pipeline] sh 16:49:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:49:34 + grep -v github /etc/ssh/ssh_known_hosts 16:49:34 + [ -e /tmp/ssh_known_hosts ] 16:49:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:49:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:49:34 + sudo tee -a /etc/ssh/ssh_known_hosts 16:49:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:49:34 16:49:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:49:34 0.1.4: Pulling from edgex-devops/py-git-semver 16:49:34 b85a868b505f: Pulling fs layer 16:49:34 e2be974225ed: Pulling fs layer 16:49:34 339a4e72a1f5: Pulling fs layer 16:49:34 988bab9f4d93: Pulling fs layer 16:49:34 1469e6f7b9e6: Pulling fs layer 16:49:34 988bab9f4d93: Waiting 16:49:34 eaf3925da568: Pulling fs layer 16:49:34 bab4dde63d76: Pulling fs layer 16:49:34 1469e6f7b9e6: Waiting 16:49:34 eaf3925da568: Waiting 16:49:34 bde34c3a00c8: Pulling fs layer 16:49:34 b352a97aabf1: Pulling fs layer 16:49:34 4872d77fe225: Pulling fs layer 16:49:34 5851b861e8e6: Pulling fs layer 16:49:34 bab4dde63d76: Waiting 16:49:34 b352a97aabf1: Waiting 16:49:34 5851b861e8e6: Waiting 16:49:34 bde34c3a00c8: Waiting 16:49:34 4872d77fe225: Waiting 16:49:34 e2be974225ed: Verifying Checksum 16:49:34 e2be974225ed: Download complete 16:49:34 988bab9f4d93: Verifying Checksum 16:49:34 988bab9f4d93: Download complete 16:49:35 1469e6f7b9e6: Verifying Checksum 16:49:35 1469e6f7b9e6: Download complete 16:49:35 339a4e72a1f5: Verifying Checksum 16:49:35 eaf3925da568: Verifying Checksum 16:49:35 eaf3925da568: Download complete 16:49:35 339a4e72a1f5: Download complete 16:49:35 bde34c3a00c8: Download complete 16:49:35 b352a97aabf1: Download complete 16:49:35 4872d77fe225: Verifying Checksum 16:49:35 4872d77fe225: Download complete 16:49:35 b85a868b505f: Verifying Checksum 16:49:35 b85a868b505f: Download complete 16:49:35 bab4dde63d76: Verifying Checksum 16:49:35 bab4dde63d76: Download complete 16:49:36 b85a868b505f: Pull complete 16:49:36 e2be974225ed: Pull complete 16:49:37 339a4e72a1f5: Pull complete 16:49:37 988bab9f4d93: Pull complete 16:49:37 1469e6f7b9e6: Pull complete 16:49:37 eaf3925da568: Pull complete 16:49:39 bab4dde63d76: Pull complete 16:49:39 bde34c3a00c8: Pull complete 16:49:39 b352a97aabf1: Pull complete 16:49:40 4872d77fe225: Pull complete 16:49:40 5851b861e8e6: Pull complete 16:49:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:49:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:49:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:40 prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container 16:49:40 $ 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:49:41 $ docker top df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 -eo pid,comm 16:49:41 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:49:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:49:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:49:41 [ssh-agent] Looking for ssh-agent implementation... 16:49:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:49:41 $ docker exec df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent 16:49:41 SSH_AUTH_SOCK=/tmp/ssh-E0GYz097D4eZ/agent.35 16:49:41 SSH_AGENT_PID=41 16:49:41 Running ssh-add (command line suppressed) 16:49:41 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1642635959557710410.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1642635959557710410.key) 16:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:49:42 + git tag --points-at HEAD [Pipeline] } 16:49:42 $ docker exec --env ******** --env ******** df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent -k 16:49:42 unset SSH_AUTH_SOCK; 16:49:42 unset SSH_AGENT_PID; 16:49:42 echo Agent pid 41 killed; 16:49:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:49:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:49:42 [ssh-agent] Looking for ssh-agent implementation... 16:49:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:49:42 $ docker exec df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent 16:49:42 SSH_AUTH_SOCK=/tmp/ssh-4AS3BwIJVJv9/agent.74 16:49:42 SSH_AGENT_PID=80 16:49:42 Running ssh-add (command line suppressed) 16:49:42 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_2390641726004718985.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_2390641726004718985.key) 16:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:49:43 + git semver init 16:49:43 2022-08-31 16:49:43,441 [run_init] DEBUG init version:0.0.0 force:False 16:49:43 2022-08-31 16:49:43,442 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 16:49:43 2022-08-31 16:49:43,443 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 16:49:43 2022-08-31 16:49:43,443 [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:49:44 2022-08-31 16:49:44,197 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 16:49:44 2022-08-31 16:49:44,197 [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:49:44 2022-08-31 16:49:44,198 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:49:44 2022-08-31 16:49:44,201 [execute] INFO git cat-file --batch-check 16:49:44 2022-08-31 16:49:44,202 [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:49:44 2022-08-31 16:49:44,208 [execute] INFO git cat-file --batch 16:49:44 2022-08-31 16:49:44,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:49:44 2022-08-31 16:49:44,213 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:49:44 0.0.0 [Pipeline] } 16:49:44 $ docker exec --env ******** --env ******** df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 ssh-agent -k 16:49:44 unset SSH_AUTH_SOCK; 16:49:44 unset SSH_AGENT_PID; 16:49:44 echo Agent pid 80 killed; 16:49:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:49:44 + git semver [Pipeline] } 16:49:45 $ docker stop --time=1 df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 16:49:46 $ docker rm -f df42fba695ad1fe29e226be19fc01e2730191c91eabfd63308dc7d14d3e6c0f1 [Pipeline] // withDockerContainer [Pipeline] sh 16:49:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:49:47 Stashed 1 file(s) [Pipeline] echo 16:49:47 [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:49:47 provisioning config files... 16:49:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1434502758222730143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:47 ---> docker-login.sh 16:49:47 nexus3.edgexfoundry.org:10001 16:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:47 Configure a credential helper to remove this warning. See 16:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:47 16:49:47 Login Succeeded 16:49:47 nexus3.edgexfoundry.org:10002 16:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:47 Configure a credential helper to remove this warning. See 16:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:47 16:49:47 Login Succeeded 16:49:47 nexus3.edgexfoundry.org:10003 16:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:47 Configure a credential helper to remove this warning. See 16:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:47 16:49:47 Login Succeeded 16:49:47 nexus3.edgexfoundry.org:10004 16:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:48 Configure a credential helper to remove this warning. See 16:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:48 16:49:48 Login Succeeded 16:49:48 docker.io 16:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:48 Configure a credential helper to remove this warning. See 16:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:48 16:49:48 Login Succeeded 16:49:48 ---> docker-login.sh ends [Pipeline] } 16:49:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:48 ========================================================= 16:49:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:49:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:48 + 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:49:48 Sending build context to Docker daemon 20.73MB 16:49:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:49:48 Step 2/13 : FROM ${BASE} AS builder 16:49:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:49:48 2408cc74d12b: Pulling fs layer 16:49:48 ea60b727a1ce: Pulling fs layer 16:49:48 30c4a7721957: Pulling fs layer 16:49:48 370296b7ddb6: Pulling fs layer 16:49:48 7c6cee850709: Pulling fs layer 16:49:48 39a5fcdaea64: Pulling fs layer 16:49:48 d94ebbe4e438: Pulling fs layer 16:49:48 bcfd1f05c69d: Pulling fs layer 16:49:48 59ccb84bbe0f: Pulling fs layer 16:49:48 bcfd1f05c69d: Waiting 16:49:48 59ccb84bbe0f: Waiting 16:49:48 39a5fcdaea64: Waiting 16:49:48 370296b7ddb6: Waiting 16:49:48 d94ebbe4e438: Waiting 16:49:48 7c6cee850709: Waiting 16:49:48 30c4a7721957: Verifying Checksum 16:49:48 30c4a7721957: Download complete 16:49:48 ea60b727a1ce: Download complete 16:49:48 7c6cee850709: Verifying Checksum 16:49:48 7c6cee850709: Download complete 16:49:48 39a5fcdaea64: Download complete 16:49:48 2408cc74d12b: Verifying Checksum 16:49:48 2408cc74d12b: Download complete 16:49:48 d94ebbe4e438: Verifying Checksum 16:49:48 d94ebbe4e438: Download complete 16:49:48 2408cc74d12b: Pull complete 16:49:49 ea60b727a1ce: Pull complete 16:49:49 30c4a7721957: Pull complete 16:49:49 370296b7ddb6: Verifying Checksum 16:49:49 370296b7ddb6: Download complete 16:49:49 59ccb84bbe0f: Verifying Checksum 16:49:49 59ccb84bbe0f: Download complete 16:49:49 bcfd1f05c69d: Verifying Checksum 16:49:49 bcfd1f05c69d: Download complete 16:49:54 370296b7ddb6: Pull complete 16:49:54 7c6cee850709: Pull complete 16:49:54 39a5fcdaea64: Pull complete 16:49:54 d94ebbe4e438: Pull complete 16:49:55 bcfd1f05c69d: Pull complete 16:49:56 59ccb84bbe0f: Pull complete 16:49:56 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:49:56 ---> a4fb48ad2a94 16:49:56 Step 3/13 : ARG MAKE="make build" 16:49:57 ---> Running in b5d8b4b0c791 16:49:57 Removing intermediate container b5d8b4b0c791 16:49:57 ---> c25c2fdff174 16:49:57 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:49:57 ---> Running in 4b4ac43f1f9d 16:49:57 Removing intermediate container 4b4ac43f1f9d 16:49:57 ---> ca4e70ed73aa 16:49:57 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:49:57 ---> Running in 741ad09b9a73 16:49:57 Removing intermediate container 741ad09b9a73 16:49:57 ---> 281fde8a2e81 16:49:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:49:58 ---> Running in 4c23a0a849d2 16:49:58 Removing intermediate container 4c23a0a849d2 16:49:58 ---> b631ead8c97d 16:49:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:58 ---> Running in c0ab7946aeaf 16:49:58 Removing intermediate container c0ab7946aeaf 16:49:58 ---> 375ef1bae3ca 16:49:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:58 ---> Running in 9546c87130eb 16:49:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:49:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:00 OK: 211 MiB in 51 packages 16:50:00 Removing intermediate container 9546c87130eb 16:50:00 ---> d6083400301e 16:50:00 Step 9/13 : WORKDIR /device-onvif-camera 16:50:00 ---> Running in fa41637a2a35 16:50:00 Removing intermediate container fa41637a2a35 16:50:00 ---> d4a6e84b872a 16:50:00 Step 10/13 : COPY go.mod vendor* ./ 16:50:00 ---> 20132dd4390d 16:50:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:00 ---> Running in 5f8c0cdd4dc8 16:50:02 Still waiting to schedule task 16:50:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24212’ is offline 16:50:15 Removing intermediate container 5f8c0cdd4dc8 16:50:15 ---> ceb20c15a230 16:50:15 Step 12/13 : COPY . . 16:50:15 ---> 6ffd1c1e1e8e 16:50:15 Step 13/13 : RUN ${MAKE} 16:50:15 ---> Running in 2649afdab923 16:50:15 noop 16:50:16 Removing intermediate container 2649afdab923 16:50:16 ---> 9354cc44fb34 16:50:16 Successfully built 9354cc44fb34 16:50:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:16 + docker inspect -f . ci-base-image-x86_64 16:50:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:16 prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container 16:50:16 $ 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:50:17 $ docker top e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:17 + go version 16:50:17 go version go1.18.3 linux/amd64 [Pipeline] } 16:50:17 $ docker stop --time=1 e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 16:50:18 $ docker rm -f e72f726cfc3bf6d62e6a198127a26ecb87d1f15259b330872873c7f35cc9a257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:19 + docker inspect -f . ci-base-image-x86_64 16:50:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:19 prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container 16:50:19 $ 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:50:19 $ docker top 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 16:50:20 + make test 16:50:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:50:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:50:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:50:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.5% of statements 16:50:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:50:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.997s coverage: 13.8% of statements 16:50:43 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:50:43 internal/driver/driver_test.go:257:17: Error return value of `writer.Write` is not checked (errcheck) 16:50:43 writer.Write([]byte(test.resp)) 16:50:43 ^ 16:50:43 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 16:50:43 $ docker stop --time=1 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 16:50:45 $ docker rm -f 6081d2dc48a191f84b9e8436bf4b17a9dfaa0e3fadd1ceda2d0e958f265dc275 [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:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:45 16:50:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:46 latest: Pulling from edgex-lftools-log-publisher 16:50:46 5eb5b503b376: Pulling fs layer 16:50:46 5c69ac0246d0: Pulling fs layer 16:50:46 ec43610c2a17: Pulling fs layer 16:50:46 3a2ae6a8a46f: Pulling fs layer 16:50:46 33b1e0a273af: Pulling fs layer 16:50:46 5d3b04190fa2: Pulling fs layer 16:50:46 2f39f015ded8: Pulling fs layer 16:50:46 33b1e0a273af: Waiting 16:50:46 5d3b04190fa2: Waiting 16:50:46 2f39f015ded8: Waiting 16:50:46 3a2ae6a8a46f: Waiting 16:50:46 5c69ac0246d0: Verifying Checksum 16:50:46 5c69ac0246d0: Download complete 16:50:46 3a2ae6a8a46f: Verifying Checksum 16:50:46 3a2ae6a8a46f: Download complete 16:50:46 33b1e0a273af: Verifying Checksum 16:50:46 33b1e0a273af: Download complete 16:50:46 ec43610c2a17: Verifying Checksum 16:50:46 ec43610c2a17: Download complete 16:50:46 5d3b04190fa2: Verifying Checksum 16:50:46 5d3b04190fa2: Download complete 16:50:46 5eb5b503b376: Verifying Checksum 16:50:46 5eb5b503b376: Download complete 16:50:46 2f39f015ded8: Download complete 16:50:47 5eb5b503b376: Pull complete 16:50:47 5c69ac0246d0: Pull complete 16:50:48 ec43610c2a17: Pull complete 16:50:48 3a2ae6a8a46f: Pull complete 16:50:48 33b1e0a273af: Pull complete 16:50:48 5d3b04190fa2: Pull complete 16:50:53 2f39f015ded8: Pull complete 16:50:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:50:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:53 prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container 16:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:50:55 $ docker top d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:55 ---> job-cost.sh 16:50:55 lf-activate-venv: SKIPPING 16:50:55 INFO: No Stack... 16:50:56 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:56 INFO: Archiving Costs [Pipeline] sh 16:50:56 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 16:50:56 + cut -d, -f6 [Pipeline] lock 16:50:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] 16:50:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] did not exist. Created. 16:50:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:57 + echo total: 0.2199999988079071 [Pipeline] stash 16:50:57 Stashed 1 file(s) [Pipeline] } 16:50:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:57 $ docker stop --time=1 d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 16:50:58 $ docker rm -f d3601b72259d796cf1d193b7ca05927988f1ee1303da51c94f1c706de8e65db1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:50:58 Failed in branch amd64 16:51:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24214 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 16:51:53 Running in /w/workspace/device-onvif-camera/23 [Pipeline] { [Pipeline] checkout 16:51:53 Selected Git installation does not exist. Using Default 16:51:53 The recommended git tool is: NONE 16:52:01 using credential edgex-jenkins-ssh 16:52:01 Cloning the remote Git repository 16:52:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:52:01 > git init /w/workspace/device-onvif-camera/23 # timeout=10 16:52:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:52:01 > git --version # timeout=10 16:52:01 > git --version # 'git version 2.25.1' 16:52:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:52:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:03 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 9faaa447fdfc0a620ceb7bc469331885287a030b 16:52:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:52:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:52:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:52:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:52:03 > 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:52:03 > git config core.sparsecheckout # timeout=10 16:52:03 > git checkout -f 9faaa447fdfc0a620ceb7bc469331885287a030b # timeout=10 16:52:04 Merge succeeded, producing ab3203f8ff95aa26f4c496710e8e5ed17a41c506 16:52:04 Checking out Revision ab3203f8ff95aa26f4c496710e8e5ed17a41c506 (PR-149) 16:52:04 > git remote # timeout=10 16:52:04 > git config --get remote.origin.url # timeout=10 16:52:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:52:04 > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 16:52:04 > git rev-parse HEAD^{commit} # timeout=10 16:52:04 > git config core.sparsecheckout # timeout=10 16:52:04 > git checkout -f ab3203f8ff95aa26f4c496710e8e5ed17a41c506 # timeout=10 16:52:08 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" 16:52:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:52:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:52:09 Dload Upload Total Spent Left Speed 16:52:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh 16:52:08 > git rev-list --no-walk 666e69bd0fee7fd468a9fde2298d0ea16309f433 # timeout=10 16:52:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:52:11 + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:52:11 /etc/docker/daemon.new 16:52:11 { 16:52:11 "registry-mirrors": [ 16:52:11 "https://nexus3.edgexfoundry.org:10001" 16:52:11 ], 16:52:11 "bip": "10.250.0.254/24", 16:52:11 "hosts": [ 16:52:11 "tcp://0.0.0.0:5555", 16:52:11 "unix:///var/run/docker.sock" 16:52:11 ], 16:52:11 "mtu": 1458, 16:52:11 "selinux-enabled": true, 16:52:11 "seccomp-profile": "/etc/docker/seccomp.json" 16:52:11 } [Pipeline] sh 16:52:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:52:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:30 provisioning config files... 16:52:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/23@tmp/config7345275149761366725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:30 ---> docker-login.sh 16:52:30 nexus3.edgexfoundry.org:10001 16:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:31 Configure a credential helper to remove this warning. See 16:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:31 16:52:31 Login Succeeded 16:52:31 nexus3.edgexfoundry.org:10002 16:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:32 Configure a credential helper to remove this warning. See 16:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:32 16:52:32 Login Succeeded 16:52:32 nexus3.edgexfoundry.org:10003 16:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:32 Configure a credential helper to remove this warning. See 16:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:32 16:52:32 Login Succeeded 16:52:32 nexus3.edgexfoundry.org:10004 16:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:33 Configure a credential helper to remove this warning. See 16:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:33 16:52:33 Login Succeeded 16:52:33 docker.io 16:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:33 Configure a credential helper to remove this warning. See 16:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:33 16:52:33 Login Succeeded 16:52:33 ---> docker-login.sh ends [Pipeline] } 16:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:34 ========================================================= 16:52:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:52:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:34 + 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:52:35 Sending build context to Docker daemon 14.23MB 16:52:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:52:35 Step 2/13 : FROM ${BASE} AS builder 16:52:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:52:35 b3c136eddcbf: Pulling fs layer 16:52:35 c0a3192eca97: Pulling fs layer 16:52:35 a050256f5b6f: Pulling fs layer 16:52:35 656be50a0ddc: Pulling fs layer 16:52:35 2bbca73fdf42: Pulling fs layer 16:52:35 46d945488cbd: Pulling fs layer 16:52:35 8a5474983e97: Pulling fs layer 16:52:35 329c88fbcd65: Pulling fs layer 16:52:35 656be50a0ddc: Waiting 16:52:35 2bbca73fdf42: Waiting 16:52:35 46d945488cbd: Waiting 16:52:35 8a5474983e97: Waiting 16:52:35 329c88fbcd65: Waiting 16:52:35 a050256f5b6f: Verifying Checksum 16:52:35 a050256f5b6f: Download complete 16:52:35 c0a3192eca97: Download complete 16:52:36 2bbca73fdf42: Download complete 16:52:36 46d945488cbd: Verifying Checksum 16:52:36 46d945488cbd: Download complete 16:52:36 b3c136eddcbf: Verifying Checksum 16:52:36 b3c136eddcbf: Download complete 16:52:37 b3c136eddcbf: Pull complete 16:52:37 329c88fbcd65: Verifying Checksum 16:52:37 329c88fbcd65: Download complete 16:52:37 c0a3192eca97: Pull complete 16:52:37 a050256f5b6f: Pull complete 16:52:38 8a5474983e97: Verifying Checksum 16:52:38 8a5474983e97: Download complete 16:52:39 656be50a0ddc: Verifying Checksum 16:52:39 656be50a0ddc: Download complete 16:52:54 656be50a0ddc: Pull complete 16:52:54 2bbca73fdf42: Pull complete 16:52:54 46d945488cbd: Pull complete 16:52:59 8a5474983e97: Pull complete 16:53:02 329c88fbcd65: Pull complete 16:53:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:53:02 ---> ff4287adb874 16:53:02 Step 3/13 : ARG MAKE="make build" 16:53:04 ---> Running in 1876710af100 16:53:04 Removing intermediate container 1876710af100 16:53:04 ---> e9e550b1e618 16:53:04 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:53:04 ---> Running in 402ca79cfaa4 16:53:05 Removing intermediate container 402ca79cfaa4 16:53:05 ---> 0541f8305bc2 16:53:05 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:53:05 ---> Running in f3118846b89c 16:53:05 Removing intermediate container f3118846b89c 16:53:05 ---> 6932c3c469c6 16:53:05 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:53:05 ---> Running in 2d81629ba9d2 16:53:05 Removing intermediate container 2d81629ba9d2 16:53:05 ---> b3e87e6d0588 16:53:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:06 ---> Running in ed32e7602c60 16:53:08 Removing intermediate container ed32e7602c60 16:53:08 ---> c4c8c076f416 16:53:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:08 ---> Running in 031e0a9c62d8 16:53:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:53:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:53:11 OK: 221 MiB in 51 packages 16:53:12 Removing intermediate container 031e0a9c62d8 16:53:12 ---> a5876caa0cb1 16:53:12 Step 9/13 : WORKDIR /device-onvif-camera 16:53:12 ---> Running in e1a369f0bb24 16:53:12 Removing intermediate container e1a369f0bb24 16:53:12 ---> c50c7e31c379 16:53:12 Step 10/13 : COPY go.mod vendor* ./ 16:53:12 ---> ed46d9cb0a92 16:53:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:53:13 ---> Running in 1a61a7a35bb7 16:54:09 Removing intermediate container 1a61a7a35bb7 16:54:09 ---> a9c2236ea261 16:54:09 Step 12/13 : COPY . . 16:54:09 ---> c3d8994ccc0f 16:54:09 Step 13/13 : RUN ${MAKE} 16:54:09 ---> Running in b429e58209f5 16:54:09 noop 16:54:09 Removing intermediate container b429e58209f5 16:54:09 ---> 4dc70a3decf9 16:54:09 Successfully built 4dc70a3decf9 16:54:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:10 + docker inspect -f . ci-base-image-arm64 16:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container 16:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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:54:11 $ docker top 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:12 + go version 16:54:12 go version go1.18.3 linux/arm64 [Pipeline] } 16:54:12 $ docker stop --time=1 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a 16:54:14 $ docker rm -f 175dd565207934bebe6d81f95f7ce5ee654a5d9ccfab4daca837c3ca42fc5b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:15 + docker inspect -f . ci-base-image-arm64 16:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container 16:54:15 $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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:54:16 $ docker top 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/23 [Pipeline] fileExists [Pipeline] sh 16:54:18 + make test 16:54:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:54:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:55:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:56:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.250s coverage: 28.5% of statements 16:56:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:56:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.832s coverage: 13.8% of statements 16:56:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:56:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:56:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:56:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:56:59 ./bin/test-attribution-txt.sh [Pipeline] echo 16:56:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:56:59 $ docker stop --time=1 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a 16:57:01 $ docker rm -f 34cb5e0204f1ded68715e8f244019491c80cd0cdf63b0daee011322b1d21d55a [Pipeline] // withDockerContainer [Pipeline] sh 16:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:57:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:03 + ls -al . 16:57:03 total 228 16:57:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 16:54 . 16:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 .. 16:57:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 16:52 .git 16:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:52 .github 16:57:03 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 16:52 .gitignore 16:57:03 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 16:52 .golangci.yml 16:57:03 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 16:52 Attribution.txt 16:57:03 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 16:52 CHANGELOG.md 16:57:03 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 16:52 Dockerfile 16:57:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 16:52 GOVERNANCE.md 16:57:03 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 16:52 Jenkinsfile 16:57:03 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 16:52 LICENSE 16:57:03 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 16:52 Makefile 16:57:03 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 16:52 OWNERS.md 16:57:03 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 16:52 README.md 16:57:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 16:49 VERSION 16:57:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 16:52 bin 16:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 16:52 cmd 16:57:03 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 16:56 coverage.out 16:57:03 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 16:52 doc 16:57:03 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 16:52 go.mod 16:57:03 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 16:52 go.sum 16:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 internal 16:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 16:52 snap 16:57:03 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 16:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:04 + 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=ab3203f8ff95aa26f4c496710e8e5ed17a41c506 --label arch=arm64 --label version=0.0.0 . 16:57:04 Sending build context to Docker daemon 14.31MB 16:57:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:57:04 Step 2/26 : FROM ${BASE} AS builder 16:57:04 ---> 4dc70a3decf9 16:57:04 Step 3/26 : ARG MAKE="make build" 16:57:05 ---> Running in f9f99a8847f6 16:57:05 Removing intermediate container f9f99a8847f6 16:57:05 ---> 3eac128c709e 16:57:05 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:57:05 ---> Running in a58be08fe4a0 16:57:05 Removing intermediate container a58be08fe4a0 16:57:05 ---> 3f1c0cb0e1cb 16:57:05 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:57:05 ---> Running in b970096ab560 16:57:06 Removing intermediate container b970096ab560 16:57:06 ---> 855f8cc52efd 16:57:06 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:57:06 ---> Running in 6317a10e579c 16:57:06 Removing intermediate container 6317a10e579c 16:57:06 ---> 463b8bb29379 16:57:06 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:06 ---> Running in 112767df8394 16:57:08 Removing intermediate container 112767df8394 16:57:08 ---> fc0dfebee082 16:57:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:08 ---> Running in 9292b40759c5 16:57:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:57:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:57:12 OK: 221 MiB in 51 packages 16:57:13 Removing intermediate container 9292b40759c5 16:57:13 ---> 08abf56ae417 16:57:13 Step 9/26 : WORKDIR /device-onvif-camera 16:57:13 ---> Running in f03d084383a5 16:57:13 Removing intermediate container f03d084383a5 16:57:13 ---> ca936bd67c95 16:57:13 Step 10/26 : COPY go.mod vendor* ./ 16:57:14 ---> 9ed20502e4d9 16:57:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:14 ---> Running in 9d5627bf3a50 16:57:17 Removing intermediate container 9d5627bf3a50 16:57:17 ---> 3c78e027e4b0 16:57:17 Step 12/26 : COPY . . 16:57:18 ---> 225b85a7aec3 16:57:18 Step 13/26 : RUN ${MAKE} 16:57:18 ---> Running in 1d9f6cae5c96 16:57:19 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:59:56 Removing intermediate container 1d9f6cae5c96 16:59:56 ---> f3afdad384db 16:59:56 Step 14/26 : FROM alpine:3.16 16:59:56 3.16: Pulling from library/alpine 16:59:56 9b18e9b68314: Pulling fs layer 16:59:56 9b18e9b68314: Verifying Checksum 16:59:56 9b18e9b68314: Download complete 16:59:56 9b18e9b68314: Pull complete 16:59:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:59:56 Status: Downloaded newer image for alpine:3.16 16:59:56 ---> a6215f271958 16:59:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:59:56 ---> Running in 3c7e819e6c22 16:59:56 Removing intermediate container 3c7e819e6c22 16:59:56 ---> ac03d27de41c 16:59:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:59:56 ---> Running in eed720f4aa6d 16:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:59:56 (1/6) Installing dumb-init (1.2.5-r1) 16:59:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:59:56 (3/6) Installing libsodium (1.0.18-r0) 16:59:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:59:56 (5/6) Installing libzmq (4.3.4-r0) 16:59:56 (6/6) Installing zeromq (4.3.4-r0) 16:59:56 Executing busybox-1.35.0-r17.trigger 16:59:56 OK: 8 MiB in 20 packages 16:59:56 Removing intermediate container eed720f4aa6d 16:59:56 ---> 8538cbdfd7c5 16:59:56 Step 17/26 : WORKDIR / 16:59:56 ---> Running in 42b42e53ef5c 16:59:56 Removing intermediate container 42b42e53ef5c 16:59:56 ---> 14d351d43c4d 16:59:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:59:57 ---> 02d3371e72af 16:59:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:59:57 ---> ea397ddbb649 16:59:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:59:58 ---> 80207d356dd7 16:59:58 Step 21/26 : EXPOSE 59984 16:59:58 ---> Running in c9cf553e482b 16:59:58 Removing intermediate container c9cf553e482b 16:59:58 ---> a70e1a1d4fa1 16:59:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:59:58 ---> Running in 7ff469133d1b 16:59:58 Removing intermediate container 7ff469133d1b 16:59:58 ---> ef1b1659b6c1 16:59:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:59:58 ---> Running in fa696c471b22 16:59:59 Removing intermediate container fa696c471b22 16:59:59 ---> e346b5c5f225 16:59:59 Step 24/26 : LABEL arch=arm64 16:59:59 ---> Running in 1a2a72d5fe3d 16:59:59 Removing intermediate container 1a2a72d5fe3d 16:59:59 ---> 29f6d2d13e65 16:59:59 Step 25/26 : LABEL git_sha=ab3203f8ff95aa26f4c496710e8e5ed17a41c506 16:59:59 ---> Running in a7e00995db49 16:59:59 Removing intermediate container a7e00995db49 16:59:59 ---> 5163f6e5bcbb 16:59:59 Step 26/26 : LABEL version=0.0.0 16:59:59 ---> Running in 584e5b1e5371 17:00:00 Removing intermediate container 584e5b1e5371 17:00:00 ---> 7c4ac59515ff 17:00:00 [Warning] One or more build-args [ARCH] were not consumed 17:00:00 Successfully built 7c4ac59515ff 17:00:00 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 17:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:00 17:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:01 arm64: Pulling from edgex-lftools-log-publisher 17:00:01 8998bd30e6a1: Pulling fs layer 17:00:01 04944245beec: Pulling fs layer 17:00:01 699f458cf7ca: Pulling fs layer 17:00:01 765212b225bb: Pulling fs layer 17:00:01 f23df028b6ca: Pulling fs layer 17:00:01 d65c8cfc05b1: Pulling fs layer 17:00:01 2437ff75d9bd: Pulling fs layer 17:00:01 f23df028b6ca: Waiting 17:00:01 d65c8cfc05b1: Waiting 17:00:01 765212b225bb: Waiting 17:00:01 2437ff75d9bd: Waiting 17:00:01 04944245beec: Verifying Checksum 17:00:01 04944245beec: Download complete 17:00:01 765212b225bb: Verifying Checksum 17:00:01 765212b225bb: Download complete 17:00:01 f23df028b6ca: Download complete 17:00:01 d65c8cfc05b1: Verifying Checksum 17:00:01 d65c8cfc05b1: Download complete 17:00:01 699f458cf7ca: Verifying Checksum 17:00:01 699f458cf7ca: Download complete 17:00:02 8998bd30e6a1: Download complete 17:00:04 2437ff75d9bd: Verifying Checksum 17:00:04 2437ff75d9bd: Download complete 17:00:06 8998bd30e6a1: Pull complete 17:00:07 04944245beec: Pull complete 17:00:08 699f458cf7ca: Pull complete 17:00:08 765212b225bb: Pull complete 17:00:09 f23df028b6ca: Pull complete 17:00:10 d65c8cfc05b1: Pull complete 17:00:25 2437ff75d9bd: Pull complete 17:00:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:00:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:25 prd-ubuntu20.04-docker-arm64-4c-16g-24214 does not seem to be running inside a container 17:00:25 $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 17:00:28 $ docker top 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:29 ---> job-cost.sh 17:00:29 lf-activate-venv: SKIPPING 17:00:29 INFO: No Stack... 17:00:29 INFO: Retrieving Pricing Info for: v3-standard-4 17:00:30 INFO: Archiving Costs [Pipeline] sh 17:00:31 + + cat /w/workspace/device-onvif-camera/23/archives/cost.csv 17:00:31 cut -d, -f6 [Pipeline] lock 17:00:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] 17:00:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] did not exist. Created. 17:00:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:00:32 /w/workspace/device-onvif-camera/23@tmp/durable-35c8b35f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:00:32 + echo total: 0.10999999940395355 [Pipeline] stash 17:00:32 Warning: overwriting stash ‘stack-cost’ 17:00:32 Stashed 1 file(s) [Pipeline] } 17:00:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-23-stack-cost] [Pipeline] // lock [Pipeline] } 17:00:32 $ docker stop --time=1 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 17:00:34 $ docker rm -f 89c704e342ff4488c830bef4d47e802f7e11bcf5d005682907aac65740539819 [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 17:00:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 17:00:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 17:00:35 total 16 17:00:35 drwxr-xr-x 3 root root 4096 Aug 31 16:50 . 17:00:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:50 .. 17:00:35 drwxr-xr-x 2 root root 4096 Aug 31 16:50 cost 17:00:35 -rw-r--r-- 1 root root 92 Aug 31 16:50 cost.csv 17:00:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 17:00:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 17:00:35 total 16 17:00:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 16:50 . 17:00:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 16:50 .. 17:00:35 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 16:50 cost 17:00:35 -rw-r--r-- 1 jenkins jenkins 92 Aug 31 16:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:00:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:00:36 ---> package-listing.sh 17:00:36 ++ facter osfamily 17:00:36 ++ tr '[:upper:]' '[:lower:]' 17:00:36 + OS_FAMILY=debian 17:00:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 17:00:36 + START_PACKAGES=/tmp/packages_start.txt 17:00:36 + END_PACKAGES=/tmp/packages_end.txt 17:00:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:00:36 + PACKAGES=/tmp/packages_start.txt 17:00:36 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 17:00:36 + PACKAGES=/tmp/packages_end.txt 17:00:36 + case "${OS_FAMILY}" in 17:00:36 + dpkg -l 17:00:36 + grep '^ii' 17:00:36 + '[' -f /tmp/packages_start.txt ']' 17:00:36 + '[' -f /tmp/packages_end.txt ']' 17:00:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:00:36 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 17:00:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 17:00:36 + 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 17:00:36 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 17:00:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:00:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:37 prd-ubuntu20.04-docker-8c-8g-24213 does not seem to be running inside a container 17:00:37 $ 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 17:00:38 $ docker top 93621bbcaf59ac4533142988742b9f40255a026120d8ec16137848841291e01d -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:38 + touch /tmp/pre-build-complete [Pipeline] sh 17:00:38 + mkdir -p /var/log/sysstat [Pipeline] sh 17:00:39 + ls /var/log/sa-host 17:00:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:39 provisioning config files... 17:00:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8301419947878451774tmp [Pipeline] { [Pipeline] echo 17:00:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:00:39 ---> create-netrc.sh [Pipeline] } 17:00:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:00:39 ---> python-tools-install.sh [Pipeline] echo 17:00:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:00:40 ---> sudo-logs.sh 17:00:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:00:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:00:40 ---> job-cost.sh 17:00:40 lf-activate-venv: SKIPPING 17:00:40 DEBUG: total: 0.2199999988079071 17:00:40 INFO: Retrieving Stack Cost... 17:00:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:00:41 INFO: Archiving Costs [Pipeline] echo 17:00:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:00:41 ---> logs-deploy.sh 17:00:41 lf-activate-venv: SKIPPING 17:00:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/23 17:00:41 INFO: archiving workspace using pattern(s): 17:00:42 Archives upload complete. 17:00:42 INFO: archiving logs to Nexus