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 b7cedde85df3692c69591f25206326ca90501e4e rather than da95bc562ae3fd9bb23c2e420cb4165fbe35a798 Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh7343822842315934644.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-ssh7320075024295965845.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5088927550034379392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh458095386512865262.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-ssh6750876080213926942.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15826826314834462015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-23803’ Running on prd-ubuntu20.04-docker-8c-8g-23805 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 b7cedde85df3692c69591f25206326ca90501e4e into PR head commit da95bc562ae3fd9bb23c2e420cb4165fbe35a798 Merge succeeded, producing da95bc562ae3fd9bb23c2e420cb4165fbe35a798 Checking out Revision da95bc562ae3fd9bb23c2e420cb4165fbe35a798 (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 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # 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 b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 Commit message: "Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:24:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:24:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:24:42 ========================================================= 22:24:42 EdgeX Global Pipelines Version Info 22:24:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:24:42 ------------------- 22:24:42 stable info: 22:24:42 ------------------- 22:24:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:24:42 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:24:42 Message: update stable to v1.0.239 22:24:43 ------------------- 22:24:43 experimental info: 22:24:43 ------------------- 22:24:43 Commited By: **** collab-it+edgex@linuxfoundation.org 22:24:43 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:24:43 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:24:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:24:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da95bc5 [Pipeline] echo 22:24:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:45 provisioning config files... 22:24:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7426036044491694279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:24:45 ---> docker-login.sh 22:24:45 nexus3.edgexfoundry.org:10001 22:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:45 Configure a credential helper to remove this warning. See 22:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:45 22:24:45 Login Succeeded 22:24:45 nexus3.edgexfoundry.org:10002 22:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:46 Configure a credential helper to remove this warning. See 22:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:46 22:24:46 Login Succeeded 22:24:46 nexus3.edgexfoundry.org:10003 22:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:46 Configure a credential helper to remove this warning. See 22:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:46 22:24:46 Login Succeeded 22:24:46 nexus3.edgexfoundry.org:10004 22:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:46 Configure a credential helper to remove this warning. See 22:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:46 22:24:46 Login Succeeded 22:24:46 docker.io 22:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:47 Configure a credential helper to remove this warning. See 22:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:47 22:24:47 Login Succeeded 22:24:47 ---> docker-login.sh ends [Pipeline] } 22:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:24:47 + git rev-list -1 --merges da95bc562ae3fd9bb23c2e420cb4165fbe35a798~1..da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo 22:24:47 -----------> git rev-list -1 --merges da95bc562ae3fd9bb23c2e420cb4165fbe35a798~1..da95bc562ae3fd9bb23c2e420cb4165fbe35a798 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 22:24:47 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [false] [Pipeline] sh 22:24:48 + git log --format=format:%s -1 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo 22:24:48 ========================================================= 22:24:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:24:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:48 + git log --format=format:%s -1 da95bc562ae3fd9bb23c2e420cb4165fbe35a798 [Pipeline] echo 22:24:48 [semverPrep] GIT_COMMIT: da95bc562ae3fd9bb23c2e420cb4165fbe35a798, Commit Message: Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage [Pipeline] echo 22:24:48 [semverPrep] This is not a build commit. [Pipeline] sh 22:24:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:24:48 + grep -v github /etc/ssh/ssh_known_hosts 22:24:48 + [ -e /tmp/ssh_known_hosts ] 22:24:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:24:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:24:48 + sudo tee -a /etc/ssh/ssh_known_hosts 22:24:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:49 22:24:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:49 0.1.4: Pulling from edgex-devops/py-git-semver 22:24:49 b85a868b505f: Pulling fs layer 22:24:49 e2be974225ed: Pulling fs layer 22:24:49 339a4e72a1f5: Pulling fs layer 22:24:49 988bab9f4d93: Pulling fs layer 22:24:49 1469e6f7b9e6: Pulling fs layer 22:24:49 eaf3925da568: Pulling fs layer 22:24:49 bab4dde63d76: Pulling fs layer 22:24:49 bde34c3a00c8: Pulling fs layer 22:24:49 b352a97aabf1: Pulling fs layer 22:24:49 4872d77fe225: Pulling fs layer 22:24:49 5851b861e8e6: Pulling fs layer 22:24:49 b352a97aabf1: Waiting 22:24:49 5851b861e8e6: Waiting 22:24:49 1469e6f7b9e6: Waiting 22:24:49 988bab9f4d93: Waiting 22:24:49 4872d77fe225: Waiting 22:24:49 bab4dde63d76: Waiting 22:24:49 eaf3925da568: Waiting 22:24:49 e2be974225ed: Verifying Checksum 22:24:49 e2be974225ed: Download complete 22:24:49 988bab9f4d93: Download complete 22:24:50 1469e6f7b9e6: Verifying Checksum 22:24:50 1469e6f7b9e6: Download complete 22:24:50 eaf3925da568: Verifying Checksum 22:24:50 eaf3925da568: Download complete 22:24:50 339a4e72a1f5: Verifying Checksum 22:24:50 339a4e72a1f5: Download complete 22:24:50 bde34c3a00c8: Download complete 22:24:50 b352a97aabf1: Verifying Checksum 22:24:50 b352a97aabf1: Download complete 22:24:50 4872d77fe225: Verifying Checksum 22:24:50 4872d77fe225: Download complete 22:24:50 5851b861e8e6: Verifying Checksum 22:24:50 5851b861e8e6: Download complete 22:24:50 b85a868b505f: Verifying Checksum 22:24:50 b85a868b505f: Download complete 22:24:50 bab4dde63d76: Verifying Checksum 22:24:50 bab4dde63d76: Download complete 22:24:51 b85a868b505f: Pull complete 22:24:51 e2be974225ed: Pull complete 22:24:52 339a4e72a1f5: Pull complete 22:24:52 988bab9f4d93: Pull complete 22:24:52 1469e6f7b9e6: Pull complete 22:24:52 eaf3925da568: Pull complete 22:24:54 bab4dde63d76: Pull complete 22:24:54 bde34c3a00c8: Pull complete 22:24:54 b352a97aabf1: Pull complete 22:24:54 4872d77fe225: Pull complete 22:24:54 5851b861e8e6: Pull complete 22:24:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:54 prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container 22:24:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:24:57 $ docker top 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 -eo pid,comm 22:24:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:24:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:24:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:57 [ssh-agent] Looking for ssh-agent implementation... 22:24:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:57 $ docker exec 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent 22:24:57 SSH_AUTH_SOCK=/tmp/ssh-IttTnNcTuocu/agent.32 22:24:57 SSH_AGENT_PID=39 22:24:57 Running ssh-add (command line suppressed) 22:24:57 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8496682187827733389.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8496682187827733389.key) 22:24:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:58 + git tag --points-at HEAD [Pipeline] } 22:24:58 $ docker exec --env ******** --env ******** 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent -k 22:24:58 unset SSH_AUTH_SOCK; 22:24:58 unset SSH_AGENT_PID; 22:24:58 echo Agent pid 39 killed; 22:24:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:24:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:58 [ssh-agent] Looking for ssh-agent implementation... 22:24:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:58 $ docker exec 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent 22:24:58 SSH_AUTH_SOCK=/tmp/ssh-SWXoWSouAdzj/agent.72 22:24:58 SSH_AGENT_PID=78 22:24:58 Running ssh-add (command line suppressed) 22:24:58 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8617070532872903945.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8617070532872903945.key) 22:24:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:59 + git semver init 22:24:59 2022-08-29 22:24:59,239 [run_init] DEBUG init version:0.0.0 force:False 22:24:59 2022-08-29 22:24:59,240 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 22:24:59 2022-08-29 22:24:59,241 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 22:24:59 2022-08-29 22:24:59,241 [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) 22:25:00 2022-08-29 22:24:59,996 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 22:25:00 2022-08-29 22:24:59,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 22:25:00 2022-08-29 22:24:59,997 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 22:25:00 2022-08-29 22:25:00,001 [execute] INFO git cat-file --batch-check 22:25:00 2022-08-29 22:25:00,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 22:25:00 2022-08-29 22:25:00,008 [execute] INFO git cat-file --batch 22:25:00 2022-08-29 22:25:00,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 22:25:00 2022-08-29 22:25:00,013 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 22:25:00 0.0.0 [Pipeline] } 22:25:00 $ docker exec --env ******** --env ******** 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 ssh-agent -k 22:25:00 unset SSH_AUTH_SOCK; 22:25:00 unset SSH_AGENT_PID; 22:25:00 echo Agent pid 78 killed; 22:25:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:25:00 + git semver [Pipeline] } 22:25:01 $ docker stop --time=1 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 22:25:02 $ docker rm -f 35f61582fc99f5c25eb538c0be4106073b43c0a8bea0750f66f57e6875ebfee1 [Pipeline] // withDockerContainer [Pipeline] sh 22:25:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:25:03 Stashed 1 file(s) [Pipeline] echo 22:25:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:04 provisioning config files... 22:25:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7258042713226543131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:04 ---> docker-login.sh 22:25:04 nexus3.edgexfoundry.org:10001 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 nexus3.edgexfoundry.org:10002 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 nexus3.edgexfoundry.org:10003 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 nexus3.edgexfoundry.org:10004 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 docker.io 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:05 Configure a credential helper to remove this warning. See 22:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:05 22:25:05 Login Succeeded 22:25:05 ---> docker-login.sh ends [Pipeline] } 22:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:05 ========================================================= 22:25:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:25:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:05 + 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 . 22:25:05 Sending build context to Docker daemon 20.59MB 22:25:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:25:05 Step 2/13 : FROM ${BASE} AS builder 22:25:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:25:06 2408cc74d12b: Pulling fs layer 22:25:06 ea60b727a1ce: Pulling fs layer 22:25:06 30c4a7721957: Pulling fs layer 22:25:06 370296b7ddb6: Pulling fs layer 22:25:06 7c6cee850709: Pulling fs layer 22:25:06 39a5fcdaea64: Pulling fs layer 22:25:06 d94ebbe4e438: Pulling fs layer 22:25:06 bcfd1f05c69d: Pulling fs layer 22:25:06 7c6cee850709: Waiting 22:25:06 d94ebbe4e438: Waiting 22:25:06 39a5fcdaea64: Waiting 22:25:06 bcfd1f05c69d: Waiting 22:25:06 370296b7ddb6: Waiting 22:25:06 59ccb84bbe0f: Pulling fs layer 22:25:06 59ccb84bbe0f: Waiting 22:25:06 30c4a7721957: Download complete 22:25:06 ea60b727a1ce: Download complete 22:25:06 7c6cee850709: Verifying Checksum 22:25:06 7c6cee850709: Download complete 22:25:06 39a5fcdaea64: Verifying Checksum 22:25:06 39a5fcdaea64: Download complete 22:25:06 2408cc74d12b: Verifying Checksum 22:25:06 2408cc74d12b: Download complete 22:25:06 d94ebbe4e438: Verifying Checksum 22:25:06 d94ebbe4e438: Download complete 22:25:06 2408cc74d12b: Pull complete 22:25:06 ea60b727a1ce: Pull complete 22:25:06 30c4a7721957: Pull complete 22:25:06 59ccb84bbe0f: Verifying Checksum 22:25:06 59ccb84bbe0f: Download complete 22:25:06 bcfd1f05c69d: Verifying Checksum 22:25:06 bcfd1f05c69d: Download complete 22:25:06 370296b7ddb6: Verifying Checksum 22:25:06 370296b7ddb6: Download complete 22:25:11 370296b7ddb6: Pull complete 22:25:11 7c6cee850709: Pull complete 22:25:11 39a5fcdaea64: Pull complete 22:25:11 d94ebbe4e438: Pull complete 22:25:13 bcfd1f05c69d: Pull complete 22:25:14 59ccb84bbe0f: Pull complete 22:25:14 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:25:14 ---> a4fb48ad2a94 22:25:14 Step 3/13 : ARG MAKE="make build" 22:25:17 ---> Running in 3cf40d441019 22:25:17 Removing intermediate container 3cf40d441019 22:25:17 ---> d5a55cdae262 22:25:17 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:25:17 ---> Running in 0c1052858720 22:25:17 Removing intermediate container 0c1052858720 22:25:17 ---> 92112d2af654 22:25:17 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:25:17 ---> Running in 688de0f824d1 22:25:17 Removing intermediate container 688de0f824d1 22:25:17 ---> bde750ded499 22:25:17 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:25:17 ---> Running in 1f0622873a71 22:25:17 Removing intermediate container 1f0622873a71 22:25:17 ---> 6d015a999b62 22:25:17 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:17 ---> Running in 1fd1398339ad 22:25:18 Removing intermediate container 1fd1398339ad 22:25:18 ---> 135b5311e348 22:25:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:25:18 ---> Running in 83068c31066a 22:25:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:25:18 Still waiting to schedule task 22:25:18 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23804’ 22:25:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:25:19 OK: 211 MiB in 51 packages 22:25:20 Removing intermediate container 83068c31066a 22:25:20 ---> 7d3c8e8d3539 22:25:20 Step 9/13 : WORKDIR /device-onvif-camera 22:25:20 ---> Running in 3fcd27162f95 22:25:20 Removing intermediate container 3fcd27162f95 22:25:20 ---> 735b0262c6d8 22:25:20 Step 10/13 : COPY go.mod vendor* ./ 22:25:20 ---> d07a66795afb 22:25:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:20 ---> Running in 460231bda611 22:25:42 Removing intermediate container 460231bda611 22:25:42 ---> cd3411c1a6f7 22:25:42 Step 12/13 : COPY . . 22:25:42 ---> a128c5a26511 22:25:42 Step 13/13 : RUN ${MAKE} 22:25:42 ---> Running in af56ae8b495b 22:25:42 noop 22:25:42 Removing intermediate container af56ae8b495b 22:25:42 ---> db9b5cce93fe 22:25:42 Successfully built db9b5cce93fe 22:25:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:42 + docker inspect -f . ci-base-image-x86_64 22:25:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:42 prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container 22:25:43 $ 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 ******** ci-base-image-x86_64 cat 22:25:43 $ docker top 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:43 + go version 22:25:43 go version go1.18.3 linux/amd64 [Pipeline] } 22:25:43 $ docker stop --time=1 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 22:25:45 $ docker rm -f 7447ad5225255f6a2975529e27ead74bd64d39f274740a5ea679bb5e3ef94613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:45 + docker inspect -f . ci-base-image-x86_64 22:25:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:45 prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container 22:25:45 $ 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 ******** ci-base-image-x86_64 cat 22:25:46 $ docker top ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 22:25:47 + make test 22:25:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:25:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:25:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:25:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 22.3% of statements 22:26:02 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.649s coverage: 13.8% of statements 22:26:10 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." 22:26:10 internal/driver/driver_test.go:99:30: func `(*mockGetOnvifClient).GetOnvifClient` is unused (unused) 22:26:10 func (m *mockGetOnvifClient) GetOnvifClient(deviceName string) (*OnvifClient, errors.EdgeX) { 22:26:10 ^ 22:26:10 internal/driver/driver_test.go:91:6: type `mockGetOnvifClient` is unused (unused) 22:26:10 type mockGetOnvifClient struct { 22:26:10 ^ 22:26:10 internal/driver/driver_test.go:103:33: func `(*mockCallOnvifFunction).CallOnvifFunction` is unused (unused) 22:26:10 func (m *mockCallOnvifFunction) CallOnvifFunction(req sdkModel.CommandRequest, functionType string, data []byte) (cv *sdkModel.CommandValue, edgexErr errors.EdgeX) { 22:26:10 ^ 22:26:10 internal/driver/driver_test.go:95:6: type `mockCallOnvifFunction` is unused (unused) 22:26:10 type mockCallOnvifFunction struct { 22:26:10 ^ 22:26:10 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 22:26:10 $ docker stop --time=1 ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 22:26:13 $ docker rm -f ae65c45a110a4e7394895dd3a44b0d5ecb07964c4a452c3f0060c15da021dd07 [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 22:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:26:14 22:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:26:14 latest: Pulling from edgex-lftools-log-publisher 22:26:14 5eb5b503b376: Pulling fs layer 22:26:14 5c69ac0246d0: Pulling fs layer 22:26:14 ec43610c2a17: Pulling fs layer 22:26:14 3a2ae6a8a46f: Pulling fs layer 22:26:14 33b1e0a273af: Pulling fs layer 22:26:14 5d3b04190fa2: Pulling fs layer 22:26:14 2f39f015ded8: Pulling fs layer 22:26:14 3a2ae6a8a46f: Waiting 22:26:14 33b1e0a273af: Waiting 22:26:14 5d3b04190fa2: Waiting 22:26:14 5c69ac0246d0: Download complete 22:26:14 3a2ae6a8a46f: Verifying Checksum 22:26:14 3a2ae6a8a46f: Download complete 22:26:14 33b1e0a273af: Verifying Checksum 22:26:14 33b1e0a273af: Download complete 22:26:14 ec43610c2a17: Verifying Checksum 22:26:14 ec43610c2a17: Download complete 22:26:14 5d3b04190fa2: Verifying Checksum 22:26:14 5d3b04190fa2: Download complete 22:26:14 5eb5b503b376: Verifying Checksum 22:26:14 5eb5b503b376: Download complete 22:26:15 2f39f015ded8: Download complete 22:26:16 5eb5b503b376: Pull complete 22:26:16 5c69ac0246d0: Pull complete 22:26:16 ec43610c2a17: Pull complete 22:26:16 3a2ae6a8a46f: Pull complete 22:26:17 33b1e0a273af: Pull complete 22:26:17 5d3b04190fa2: Pull complete 22:26:21 2f39f015ded8: Pull complete 22:26:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:21 prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container 22:26:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:26:24 $ docker top 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:24 ---> job-cost.sh 22:26:24 lf-activate-venv: SKIPPING 22:26:24 INFO: No Stack... 22:26:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:26:25 INFO: Archiving Costs [Pipeline] sh 22:26:26 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 22:26:26 + cut -d, -f6 [Pipeline] lock 22:26:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] 22:26:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] did not exist. Created. 22:26:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:26 + echo total: 0.2199999988079071 [Pipeline] stash 22:26:26 Stashed 1 file(s) [Pipeline] } 22:26:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:26:26 $ docker stop --time=1 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 22:26:27 $ docker rm -f 6e9a6b8ad19b16102c1c573d2c9d3cf56cf5b7e8c7767b6231a01b8bd0f36e78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:26:28 Failed in branch amd64 22:28:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23806 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 22:28:16 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:28:17 Selected Git installation does not exist. Using Default 22:28:17 The recommended git tool is: NONE 22:28:22 using credential edgex-jenkins-ssh 22:28:22 Cloning the remote Git repository 22:28:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:28:22 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:28:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:28:22 > git --version # timeout=10 22:28:22 > git --version # 'git version 2.25.1' 22:28:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:28:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:28:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:28:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:24 > 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 22:28:24 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit da95bc562ae3fd9bb23c2e420cb4165fbe35a798 22:28:25 Merge succeeded, producing da95bc562ae3fd9bb23c2e420cb4165fbe35a798 22:28:25 Checking out Revision da95bc562ae3fd9bb23c2e420cb4165fbe35a798 (PR-149) 22:28:24 > git config core.sparsecheckout # timeout=10 22:28:24 > git checkout -f da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 22:28:25 > git remote # timeout=10 22:28:25 > git config --get remote.origin.url # timeout=10 22:28:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:25 > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 22:28:25 > git rev-parse HEAD^{commit} # timeout=10 22:28:25 > git config core.sparsecheckout # timeout=10 22:28:25 > git checkout -f da95bc562ae3fd9bb23c2e420cb4165fbe35a798 # timeout=10 22:28:29 Commit message: "Merge branch 'main' of https://github.com/edgexfoundry/device-onvif-camera into test-coverage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:30 Dload Upload Total Spent Left Speed 22:28:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 22:28:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:31 + sudo tee /etc/docker/daemon.new 22:28:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:28:31 { 22:28:31 "registry-mirrors": [ 22:28:31 "https://nexus3.edgexfoundry.org:10001" 22:28:31 ], 22:28:31 "bip": "10.250.0.254/24", 22:28:31 "hosts": [ 22:28:31 "tcp://0.0.0.0:5555", 22:28:31 "unix:///var/run/docker.sock" 22:28:31 ], 22:28:31 "mtu": 1458, 22:28:31 "selinux-enabled": true, 22:28:31 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:31 } [Pipeline] sh 22:28:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:28:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:50 provisioning config files... 22:28:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3737037825449593549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:51 ---> docker-login.sh 22:28:51 nexus3.edgexfoundry.org:10001 22:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:52 Configure a credential helper to remove this warning. See 22:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:52 22:28:52 Login Succeeded 22:28:52 nexus3.edgexfoundry.org:10002 22:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:53 Configure a credential helper to remove this warning. See 22:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:53 22:28:53 Login Succeeded 22:28:53 nexus3.edgexfoundry.org:10003 22:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:53 Configure a credential helper to remove this warning. See 22:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:53 22:28:53 Login Succeeded 22:28:53 nexus3.edgexfoundry.org:10004 22:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:54 Configure a credential helper to remove this warning. See 22:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:54 22:28:54 Login Succeeded 22:28:54 docker.io 22:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:55 Configure a credential helper to remove this warning. See 22:28:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:55 22:28:55 Login Succeeded 22:28:55 ---> docker-login.sh ends [Pipeline] } 22:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:55 ========================================================= 22:28:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:28:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:56 + 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 . 22:28:56 Sending build context to Docker daemon 14.11MB 22:28:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:28:56 Step 2/13 : FROM ${BASE} AS builder 22:28:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:28:57 b3c136eddcbf: Pulling fs layer 22:28:57 c0a3192eca97: Pulling fs layer 22:28:57 a050256f5b6f: Pulling fs layer 22:28:57 656be50a0ddc: Pulling fs layer 22:28:57 2bbca73fdf42: Pulling fs layer 22:28:57 46d945488cbd: Pulling fs layer 22:28:57 8a5474983e97: Pulling fs layer 22:28:57 329c88fbcd65: Pulling fs layer 22:28:57 656be50a0ddc: Waiting 22:28:57 2bbca73fdf42: Waiting 22:28:57 46d945488cbd: Waiting 22:28:57 8a5474983e97: Waiting 22:28:57 329c88fbcd65: Waiting 22:28:57 a050256f5b6f: Verifying Checksum 22:28:57 a050256f5b6f: Download complete 22:28:57 c0a3192eca97: Download complete 22:28:57 2bbca73fdf42: Verifying Checksum 22:28:57 2bbca73fdf42: Download complete 22:28:57 46d945488cbd: Verifying Checksum 22:28:57 46d945488cbd: Download complete 22:28:57 b3c136eddcbf: Verifying Checksum 22:28:57 b3c136eddcbf: Download complete 22:28:58 b3c136eddcbf: Pull complete 22:28:58 329c88fbcd65: Verifying Checksum 22:28:58 329c88fbcd65: Download complete 22:28:58 c0a3192eca97: Pull complete 22:28:58 a050256f5b6f: Pull complete 22:28:59 8a5474983e97: Verifying Checksum 22:28:59 8a5474983e97: Download complete 22:29:00 656be50a0ddc: Verifying Checksum 22:29:00 656be50a0ddc: Download complete 22:29:15 656be50a0ddc: Pull complete 22:29:15 2bbca73fdf42: Pull complete 22:29:15 46d945488cbd: Pull complete 22:29:20 8a5474983e97: Pull complete 22:29:23 329c88fbcd65: Pull complete 22:29:23 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:29:23 ---> ff4287adb874 22:29:23 Step 3/13 : ARG MAKE="make build" 22:29:25 ---> Running in af4cc0d44dcc 22:29:25 Removing intermediate container af4cc0d44dcc 22:29:25 ---> b180257b2d6b 22:29:25 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:29:25 ---> Running in e38642abde23 22:29:25 Removing intermediate container e38642abde23 22:29:25 ---> 2ce3f3164d4f 22:29:25 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:29:25 ---> Running in 2e6cb135d103 22:29:26 Removing intermediate container 2e6cb135d103 22:29:26 ---> f0a8461bfb8e 22:29:26 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:29:26 ---> Running in e300f5b131e1 22:29:26 Removing intermediate container e300f5b131e1 22:29:26 ---> f91700b591ba 22:29:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:26 ---> Running in 3852e76a3360 22:29:28 Removing intermediate container 3852e76a3360 22:29:28 ---> 42eafd67b56f 22:29:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:28 ---> Running in 8f8e4536d095 22:29:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:31 OK: 221 MiB in 51 packages 22:29:32 Removing intermediate container 8f8e4536d095 22:29:32 ---> 344a0a2356ef 22:29:32 Step 9/13 : WORKDIR /device-onvif-camera 22:29:32 ---> Running in 037fc66ac351 22:29:32 Removing intermediate container 037fc66ac351 22:29:32 ---> 6791ade637d8 22:29:32 Step 10/13 : COPY go.mod vendor* ./ 22:29:33 ---> 62197990aad1 22:29:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:33 ---> Running in 31e3be9ce49e 22:30:30 Removing intermediate container 31e3be9ce49e 22:30:30 ---> c59cf0813bf9 22:30:30 Step 12/13 : COPY . . 22:30:30 ---> cca1360a9992 22:30:30 Step 13/13 : RUN ${MAKE} 22:30:30 ---> Running in 68a8fa4634fd 22:30:30 noop 22:30:30 Removing intermediate container 68a8fa4634fd 22:30:30 ---> 3c5ffc5d6db7 22:30:30 Successfully built 3c5ffc5d6db7 22:30:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:30 + docker inspect -f . ci-base-image-arm64 22:30:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:30 prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container 22:30:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:32 $ docker top 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:33 + go version 22:30:33 go version go1.18.3 linux/arm64 [Pipeline] } 22:30:33 $ docker stop --time=1 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 22:30:34 $ docker rm -f 4e64f636142dff34434e5eb293c4d84e5180b052c721a3349ad68fec65ceb791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:35 + docker inspect -f . ci-base-image-arm64 22:30:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:35 prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container 22:30:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:37 $ docker top a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:30:38 + make test 22:30:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:30:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:32:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:32:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.168s coverage: 22.3% of statements 22:32:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.582s coverage: 13.8% of statements 22:32:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:32:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:33:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:33:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:33:07 ./bin/test-attribution-txt.sh [Pipeline] echo 22:33:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:33:07 $ docker stop --time=1 a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 22:33:09 $ docker rm -f a89bd1f554932019e0574f25d089b488bc67e1ccc2fcdfa5445a7b0fe8a55ad5 [Pipeline] // withDockerContainer [Pipeline] sh 22:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:33:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:33:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:33:11 + ls -al . 22:33:11 total 228 22:33:11 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 22:30 . 22:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 .. 22:33:11 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 22:28 .git 22:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 22:28 .github 22:33:11 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 22:28 .gitignore 22:33:11 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 22:28 .golangci.yml 22:33:11 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 22:28 Attribution.txt 22:33:11 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 22:28 CHANGELOG.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 22:28 Dockerfile 22:33:11 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 22:28 GOVERNANCE.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 22:28 Jenkinsfile 22:33:11 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 22:28 LICENSE 22:33:11 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 22:28 Makefile 22:33:11 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 22:28 OWNERS.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 22:28 README.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 22:25 VERSION 22:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 22:28 bin 22:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 22:28 cmd 22:33:11 -rw-r--r-- 1 jenkins jenkins 76672 Aug 29 22:32 coverage.out 22:33:11 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 22:28 doc 22:33:11 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 22:28 go.mod 22:33:11 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 22:28 go.sum 22:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 internal 22:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 22:28 snap 22:33:11 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:12 + 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=da95bc562ae3fd9bb23c2e420cb4165fbe35a798 --label arch=arm64 --label version=0.0.0 . 22:33:12 Sending build context to Docker daemon 14.19MB 22:33:12 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:33:12 Step 2/26 : FROM ${BASE} AS builder 22:33:12 ---> 3c5ffc5d6db7 22:33:12 Step 3/26 : ARG MAKE="make build" 22:33:12 ---> Running in 8710c9fc9d93 22:33:13 Removing intermediate container 8710c9fc9d93 22:33:13 ---> b13ed120de7c 22:33:13 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:33:13 ---> Running in 361c16d80b2b 22:33:13 Removing intermediate container 361c16d80b2b 22:33:13 ---> 9a6a4d3b2784 22:33:13 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:33:13 ---> Running in a18812187b75 22:33:14 Removing intermediate container a18812187b75 22:33:14 ---> e672a729f21a 22:33:14 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:33:14 ---> Running in 580c149d72c2 22:33:14 Removing intermediate container 580c149d72c2 22:33:14 ---> 976547c22372 22:33:14 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:33:14 ---> Running in 26fadc04752f 22:33:16 Removing intermediate container 26fadc04752f 22:33:16 ---> 0d709a738dd7 22:33:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:16 ---> Running in a29f87f04a5e 22:33:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:33:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:33:19 OK: 221 MiB in 51 packages 22:33:19 Removing intermediate container a29f87f04a5e 22:33:19 ---> f76c7c622bd2 22:33:19 Step 9/26 : WORKDIR /device-onvif-camera 22:33:20 ---> Running in 7d5f01e908d9 22:33:20 Removing intermediate container 7d5f01e908d9 22:33:20 ---> efe8bf317b20 22:33:20 Step 10/26 : COPY go.mod vendor* ./ 22:33:21 ---> 66d5cb09f313 22:33:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:21 ---> Running in 28f01e4bbc39 22:33:23 Removing intermediate container 28f01e4bbc39 22:33:23 ---> 0273acfafeea 22:33:23 Step 12/26 : COPY . . 22:33:24 ---> 55f5c6c4405f 22:33:24 Step 13/26 : RUN ${MAKE} 22:33:24 ---> Running in c6c1ac66a713 22:33:25 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 22:35:47 Removing intermediate container c6c1ac66a713 22:35:47 ---> 08c6057b002e 22:35:47 Step 14/26 : FROM alpine:3.16 22:35:47 3.16: Pulling from library/alpine 22:35:47 9b18e9b68314: Pulling fs layer 22:35:47 9b18e9b68314: Verifying Checksum 22:35:47 9b18e9b68314: Download complete 22:35:47 9b18e9b68314: Pull complete 22:35:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:35:47 Status: Downloaded newer image for alpine:3.16 22:35:47 ---> a6215f271958 22:35:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:35:47 ---> Running in 52843aaf950a 22:35:47 Removing intermediate container 52843aaf950a 22:35:47 ---> 92ee83cc1db3 22:35:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:35:47 ---> Running in 1a945552c92d 22:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:35:47 (1/6) Installing dumb-init (1.2.5-r1) 22:35:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:35:47 (3/6) Installing libsodium (1.0.18-r0) 22:35:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:35:47 (5/6) Installing libzmq (4.3.4-r0) 22:35:47 (6/6) Installing zeromq (4.3.4-r0) 22:35:47 Executing busybox-1.35.0-r17.trigger 22:35:47 OK: 8 MiB in 20 packages 22:35:47 Removing intermediate container 1a945552c92d 22:35:47 ---> 69bb80d03512 22:35:47 Step 17/26 : WORKDIR / 22:35:47 ---> Running in 2f6ff7b54390 22:35:47 Removing intermediate container 2f6ff7b54390 22:35:47 ---> 097f1658d5ce 22:35:47 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:35:47 ---> 70b31fb82e51 22:35:47 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:35:47 ---> 813cbebe3297 22:35:47 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:35:47 ---> 6cbbc4d7a736 22:35:47 Step 21/26 : EXPOSE 59984 22:35:47 ---> Running in 75ce644408e6 22:35:47 Removing intermediate container 75ce644408e6 22:35:47 ---> 0ad60b03db14 22:35:47 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:35:47 ---> Running in fa67a292af98 22:35:47 Removing intermediate container fa67a292af98 22:35:47 ---> c3b4d6c682a7 22:35:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:35:47 ---> Running in bc589d48f1c8 22:35:47 Removing intermediate container bc589d48f1c8 22:35:47 ---> 569a646042e1 22:35:47 Step 24/26 : LABEL arch=arm64 22:35:47 ---> Running in 2aeb853d550a 22:35:47 Removing intermediate container 2aeb853d550a 22:35:47 ---> fbd1a6856344 22:35:47 Step 25/26 : LABEL git_sha=da95bc562ae3fd9bb23c2e420cb4165fbe35a798 22:35:47 ---> Running in ebbaf91f4aa6 22:35:47 Removing intermediate container ebbaf91f4aa6 22:35:47 ---> 7ee486a32464 22:35:47 Step 26/26 : LABEL version=0.0.0 22:35:47 ---> Running in d1eee2f4b708 22:35:47 Removing intermediate container d1eee2f4b708 22:35:47 ---> dd1e2a2fa51b 22:35:47 [Warning] One or more build-args [ARCH] were not consumed 22:35:47 Successfully built dd1e2a2fa51b 22:35:47 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 22:35:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:35:48 22:35:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:35:48 arm64: Pulling from edgex-lftools-log-publisher 22:35:48 8998bd30e6a1: Pulling fs layer 22:35:48 04944245beec: Pulling fs layer 22:35:48 699f458cf7ca: Pulling fs layer 22:35:48 765212b225bb: Pulling fs layer 22:35:48 f23df028b6ca: Pulling fs layer 22:35:48 d65c8cfc05b1: Pulling fs layer 22:35:48 2437ff75d9bd: Pulling fs layer 22:35:48 765212b225bb: Waiting 22:35:48 d65c8cfc05b1: Waiting 22:35:48 2437ff75d9bd: Waiting 22:35:48 f23df028b6ca: Waiting 22:35:48 04944245beec: Verifying Checksum 22:35:48 04944245beec: Download complete 22:35:48 765212b225bb: Verifying Checksum 22:35:48 765212b225bb: Download complete 22:35:48 f23df028b6ca: Verifying Checksum 22:35:48 f23df028b6ca: Download complete 22:35:48 d65c8cfc05b1: Verifying Checksum 22:35:48 d65c8cfc05b1: Download complete 22:35:49 699f458cf7ca: Verifying Checksum 22:35:49 699f458cf7ca: Download complete 22:35:49 8998bd30e6a1: Download complete 22:35:52 2437ff75d9bd: Verifying Checksum 22:35:52 2437ff75d9bd: Download complete 22:35:53 8998bd30e6a1: Pull complete 22:35:54 04944245beec: Pull complete 22:35:55 699f458cf7ca: Pull complete 22:35:55 765212b225bb: Pull complete 22:35:56 f23df028b6ca: Pull complete 22:35:56 d65c8cfc05b1: Pull complete 22:36:11 2437ff75d9bd: Pull complete 22:36:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:36:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:12 prd-ubuntu20.04-docker-arm64-4c-16g-23806 does not seem to be running inside a container 22:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:36:15 $ docker top a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:36:16 ---> job-cost.sh 22:36:16 lf-activate-venv: SKIPPING 22:36:16 INFO: No Stack... 22:36:16 INFO: Retrieving Pricing Info for: v3-standard-4 22:36:17 INFO: Archiving Costs [Pipeline] sh 22:36:18 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:36:18 + cut -d, -f6 [Pipeline] lock 22:36:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] 22:36:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] did not exist. Created. 22:36:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:36:19 /w/workspace/device-onvif-camera/2@tmp/durable-60835aba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:36:20 + echo total: 0.10999999940395355 [Pipeline] stash 22:36:20 Warning: overwriting stash ‘stack-cost’ 22:36:20 Stashed 1 file(s) [Pipeline] } 22:36:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:36:20 $ docker stop --time=1 a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 22:36:21 $ docker rm -f a838ff14215c37a13840e8b5cfa5aa4d2183d3b9f74598851d1968aa376b33d8 [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 22:36:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 22:36:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 22:36:24 total 16 22:36:24 drwxr-xr-x 3 root root 4096 Aug 29 22:26 . 22:36:24 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 22:26 .. 22:36:24 drwxr-xr-x 2 root root 4096 Aug 29 22:26 cost 22:36:24 -rw-r--r-- 1 root root 91 Aug 29 22:26 cost.csv 22:36:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 22:36:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 22:36:24 total 16 22:36:24 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 22:26 . 22:36:24 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 22:26 .. 22:36:24 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 22:26 cost 22:36:24 -rw-r--r-- 1 jenkins jenkins 91 Aug 29 22:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:36:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:36:25 ---> package-listing.sh 22:36:25 ++ facter osfamily 22:36:25 ++ tr '[:upper:]' '[:lower:]' 22:36:25 + OS_FAMILY=debian 22:36:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 22:36:25 + START_PACKAGES=/tmp/packages_start.txt 22:36:25 + END_PACKAGES=/tmp/packages_end.txt 22:36:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:36:25 + PACKAGES=/tmp/packages_start.txt 22:36:25 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 22:36:25 + PACKAGES=/tmp/packages_end.txt 22:36:25 + case "${OS_FAMILY}" in 22:36:25 + dpkg -l 22:36:25 + grep '^ii' 22:36:25 + '[' -f /tmp/packages_start.txt ']' 22:36:25 + '[' -f /tmp/packages_end.txt ']' 22:36:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:36:25 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 22:36:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 22:36:25 + 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 22:36:25 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 22:36:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:27 prd-ubuntu20.04-docker-8c-8g-23805 does not seem to be running inside a container 22:36:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:36:27 $ docker top 574cde3ce2522d21c044ee268ce4e55b52096e595b112350c36f86829de77c30 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:36:28 + mkdir -p /var/log/sysstat [Pipeline] sh 22:36:28 + ls /var/log/sa-host 22:36:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:36:28 provisioning config files... 22:36:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config155827929063957117tmp [Pipeline] { [Pipeline] echo 22:36:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:36:29 ---> create-netrc.sh [Pipeline] } 22:36:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:36:29 ---> python-tools-install.sh [Pipeline] echo 22:36:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:36:29 ---> sudo-logs.sh 22:36:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:36:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:36:30 ---> job-cost.sh 22:36:30 lf-activate-venv: SKIPPING 22:36:30 DEBUG: total: 0.2199999988079071 22:36:30 INFO: Retrieving Stack Cost... 22:36:30 INFO: Retrieving Pricing Info for: v3-standard-8 22:36:31 INFO: Archiving Costs [Pipeline] echo 22:36:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:36:31 ---> logs-deploy.sh 22:36:31 lf-activate-venv: SKIPPING 22:36:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/2 22:36:31 INFO: archiving workspace using pattern(s): 22:36:32 Archives upload complete. 22:36:32 INFO: archiving logs to Nexus