Pull request #276 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd49cb9089c181d367b0ebe050260a5659162f18+35e0b630cb735782c58facbcf80c1125d056e597 (136234f35f168b281440c485025240355ae9efa9) 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-ssh5510525518245938945.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4973622376996283429.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/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-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1659114436736560456.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12342606713416933520.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-276/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-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2211006704603587516.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4598’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4599 in /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-276 # 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 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit fd49cb9089c181d367b0ebe050260a5659162f18 > 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/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd49cb9089c181d367b0ebe050260a5659162f18 # 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 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 Merge succeeded, producing fd49cb9089c181d367b0ebe050260a5659162f18 Checking out Revision fd49cb9089c181d367b0ebe050260a5659162f18 (PR-276) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:20:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:20:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:44 ========================================================= 16:20:44 EdgeX Global Pipelines Version Info 16:20:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd49cb9089c181d367b0ebe050260a5659162f18 # timeout=10 > git rev-list --no-walk a8f522801d03f5672c6b75d8de10b14b6b626fe5 # timeout=10 16:20:45 ------------------- 16:20:45 stable info: 16:20:45 ------------------- 16:20:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:20:45 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:20:45 Message: update stable to v1.0.245 16:20:45 ------------------- 16:20:45 experimental info: 16:20:45 ------------------- 16:20:45 Commited By: **** collab-it+edgex@linuxfoundation.org 16:20:45 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:20:45 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd49cb9089c181d367b0ebe050260a5659162f18 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd49cb9 [Pipeline] echo 16:20:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:46 provisioning config files... 16:20:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config5510118768519326613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:46 ---> docker-login.sh 16:20:46 nexus3.edgexfoundry.org:10001 16:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:47 Configure a credential helper to remove this warning. See 16:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:47 16:20:47 Login Succeeded 16:20:47 nexus3.edgexfoundry.org:10002 16:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:47 Configure a credential helper to remove this warning. See 16:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:47 16:20:47 Login Succeeded 16:20:47 nexus3.edgexfoundry.org:10003 16:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:47 Configure a credential helper to remove this warning. See 16:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:47 16:20:47 Login Succeeded 16:20:47 nexus3.edgexfoundry.org:10004 16:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:47 Configure a credential helper to remove this warning. See 16:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:47 16:20:47 Login Succeeded 16:20:47 docker.io 16:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:47 Configure a credential helper to remove this warning. See 16:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:47 16:20:47 Login Succeeded 16:20:47 ---> docker-login.sh ends [Pipeline] } 16:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:20:47 + git rev-list -1 --merges fd49cb9089c181d367b0ebe050260a5659162f18~1..fd49cb9089c181d367b0ebe050260a5659162f18 [Pipeline] echo 16:20:48 -----------> git rev-list -1 --merges fd49cb9089c181d367b0ebe050260a5659162f18~1..fd49cb9089c181d367b0ebe050260a5659162f18 fd49cb9089c181d367b0ebe050260a5659162f18 [false] [Pipeline] sh 16:20:48 + git log --format=format:%s -1 fd49cb9089c181d367b0ebe050260a5659162f18 [Pipeline] echo 16:20:48 ========================================================= 16:20:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:20:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:48 + git log --format=format:%s -1 fd49cb9089c181d367b0ebe050260a5659162f18 [Pipeline] echo 16:20:48 [semverPrep] GIT_COMMIT: fd49cb9089c181d367b0ebe050260a5659162f18, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 16:20:48 [semverPrep] This is not a build commit. [Pipeline] sh 16:20:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:20:49 + grep -v github /etc/ssh/ssh_known_hosts 16:20:49 + [ -e /tmp/ssh_known_hosts ] 16:20:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:20:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:20:49 + sudo tee -a /etc/ssh/ssh_known_hosts 16:20:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:49 16:20:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:49 0.1.4: Pulling from edgex-devops/py-git-semver 16:20:49 b85a868b505f: Pulling fs layer 16:20:49 e2be974225ed: Pulling fs layer 16:20:49 339a4e72a1f5: Pulling fs layer 16:20:49 988bab9f4d93: Pulling fs layer 16:20:49 1469e6f7b9e6: Pulling fs layer 16:20:49 eaf3925da568: Pulling fs layer 16:20:49 bab4dde63d76: Pulling fs layer 16:20:49 bde34c3a00c8: Pulling fs layer 16:20:49 b352a97aabf1: Pulling fs layer 16:20:49 4872d77fe225: Pulling fs layer 16:20:49 5851b861e8e6: Pulling fs layer 16:20:49 1469e6f7b9e6: Waiting 16:20:49 eaf3925da568: Waiting 16:20:49 b352a97aabf1: Waiting 16:20:49 bab4dde63d76: Waiting 16:20:49 988bab9f4d93: Waiting 16:20:49 bde34c3a00c8: Waiting 16:20:49 5851b861e8e6: Waiting 16:20:49 4872d77fe225: Waiting 16:20:49 e2be974225ed: Download complete 16:20:49 988bab9f4d93: Verifying Checksum 16:20:49 988bab9f4d93: Download complete 16:20:49 1469e6f7b9e6: Verifying Checksum 16:20:49 1469e6f7b9e6: Download complete 16:20:49 339a4e72a1f5: Verifying Checksum 16:20:49 339a4e72a1f5: Download complete 16:20:49 eaf3925da568: Verifying Checksum 16:20:49 eaf3925da568: Download complete 16:20:49 b352a97aabf1: Verifying Checksum 16:20:49 b352a97aabf1: Download complete 16:20:49 4872d77fe225: Verifying Checksum 16:20:49 4872d77fe225: Download complete 16:20:49 5851b861e8e6: Verifying Checksum 16:20:49 5851b861e8e6: Download complete 16:20:49 b85a868b505f: Verifying Checksum 16:20:49 b85a868b505f: Download complete 16:20:50 bab4dde63d76: Verifying Checksum 16:20:50 bab4dde63d76: Download complete 16:20:51 b85a868b505f: Pull complete 16:20:51 e2be974225ed: Pull complete 16:20:51 339a4e72a1f5: Pull complete 16:20:51 988bab9f4d93: Pull complete 16:20:52 1469e6f7b9e6: Pull complete 16:20:52 eaf3925da568: Pull complete 16:20:53 bab4dde63d76: Pull complete 16:20:53 bde34c3a00c8: Pull complete 16:20:53 b352a97aabf1: Pull complete 16:20:53 4872d77fe225: Pull complete 16:20:53 5851b861e8e6: Pull complete 16:20:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:54 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 16:20:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 16:20:56 $ docker top c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 -eo pid,comm 16:20:56 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:20:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:20:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:56 [ssh-agent] Looking for ssh-agent implementation... 16:20:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:56 $ docker exec c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 ssh-agent 16:20:56 SSH_AUTH_SOCK=/tmp/ssh-eB8U3f8SXHuE/agent.33 16:20:56 SSH_AGENT_PID=39 16:20:56 Running ssh-add (command line suppressed) 16:20:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_4446765866901687548.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_4446765866901687548.key) 16:20:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:57 + git tag --points-at HEAD [Pipeline] } 16:20:57 $ docker exec --env ******** --env ******** c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 ssh-agent -k 16:20:57 unset SSH_AUTH_SOCK; 16:20:57 unset SSH_AGENT_PID; 16:20:57 echo Agent pid 39 killed; 16:20:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:57 [ssh-agent] Looking for ssh-agent implementation... 16:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:57 $ docker exec c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 ssh-agent 16:20:57 SSH_AUTH_SOCK=/tmp/ssh-XMLjOQPT41OU/agent.71 16:20:57 SSH_AGENT_PID=77 16:20:57 Running ssh-add (command line suppressed) 16:20:57 Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_17767338936727214912.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_17767338936727214912.key) 16:20:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:57 + git semver init 16:20:58 2023-03-20 16:20:58,002 [run_init] DEBUG init version:0.0.0 force:False 16:20:58 2023-03-20 16:20:58,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-276/.semver 16:20:58 2023-03-20 16:20:58,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-276/.semver 16:20:58 2023-03-20 16:20:58,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-276/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-276, universal_newlines=False, shell=None, istream=None) 16:20:59 2023-03-20 16:20:58,895 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-276/.git/info/exclude 16:20:59 2023-03-20 16:20:58,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 with force:False 16:20:59 2023-03-20 16:20:58,896 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 16:20:59 2023-03-20 16:20:58,900 [execute] INFO git cat-file --batch-check 16:20:59 2023-03-20 16:20:58,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 16:20:59 2023-03-20 16:20:58,906 [execute] INFO git cat-file --batch 16:20:59 2023-03-20 16:20:58,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 16:20:59 2023-03-20 16:20:58,911 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 16:20:59 0.0.0 [Pipeline] } 16:20:59 $ docker exec --env ******** --env ******** c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 ssh-agent -k 16:20:59 unset SSH_AUTH_SOCK; 16:20:59 unset SSH_AGENT_PID; 16:20:59 echo Agent pid 77 killed; 16:20:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:59 + git semver [Pipeline] } 16:20:59 $ docker stop --time=1 c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 16:21:00 $ docker rm -f --volumes c75a620d26d34169867254af243b2ddeec696c23a90acb32650bb3643bf3bc42 [Pipeline] // withDockerContainer [Pipeline] sh 16:21:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:21:01 Stashed 1 file(s) [Pipeline] echo 16:21:01 [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:21:01 provisioning config files... 16:21:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config12654835474433721442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:01 ---> docker-login.sh 16:21:01 nexus3.edgexfoundry.org:10001 16:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:01 Configure a credential helper to remove this warning. See 16:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:01 16:21:01 Login Succeeded 16:21:01 nexus3.edgexfoundry.org:10002 16:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:01 Configure a credential helper to remove this warning. See 16:21:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:01 16:21:01 Login Succeeded 16:21:01 nexus3.edgexfoundry.org:10003 16:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:02 Configure a credential helper to remove this warning. See 16:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:02 16:21:02 Login Succeeded 16:21:02 nexus3.edgexfoundry.org:10004 16:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:02 Configure a credential helper to remove this warning. See 16:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:02 16:21:02 Login Succeeded 16:21:02 docker.io 16:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:02 Configure a credential helper to remove this warning. See 16:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:02 16:21:02 Login Succeeded 16:21:02 ---> docker-login.sh ends [Pipeline] } 16:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:02 ========================================================= 16:21:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:21:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:21:02 Sending build context to Docker daemon 27.98MB 16:21:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:21:02 Step 2/13 : FROM ${BASE} AS builder 16:21:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:21:03 63b65145d645: Pulling fs layer 16:21:03 a2d21d5440eb: Pulling fs layer 16:21:03 935e6c44a52c: Pulling fs layer 16:21:03 94cc34f8dd06: Pulling fs layer 16:21:03 30dea6a524f1: Pulling fs layer 16:21:03 a2aff8979fd8: Pulling fs layer 16:21:03 6808be2612f2: Pulling fs layer 16:21:03 f25807f1079a: Pulling fs layer 16:21:03 a2aff8979fd8: Waiting 16:21:03 94cc34f8dd06: Waiting 16:21:03 30dea6a524f1: Waiting 16:21:03 6808be2612f2: Waiting 16:21:03 f25807f1079a: Waiting 16:21:03 a2d21d5440eb: Download complete 16:21:03 94cc34f8dd06: Verifying Checksum 16:21:03 94cc34f8dd06: Download complete 16:21:03 63b65145d645: Download complete 16:21:03 a2aff8979fd8: Verifying Checksum 16:21:03 a2aff8979fd8: Download complete 16:21:03 30dea6a524f1: Verifying Checksum 16:21:03 30dea6a524f1: Download complete 16:21:03 63b65145d645: Pull complete 16:21:03 a2d21d5440eb: Pull complete 16:21:03 f25807f1079a: Verifying Checksum 16:21:03 f25807f1079a: Download complete 16:21:03 935e6c44a52c: Download complete 16:21:04 6808be2612f2: Verifying Checksum 16:21:04 6808be2612f2: Download complete 16:21:06 935e6c44a52c: Pull complete 16:21:06 94cc34f8dd06: Pull complete 16:21:06 30dea6a524f1: Pull complete 16:21:06 a2aff8979fd8: Pull complete 16:21:09 6808be2612f2: Pull complete 16:21:10 f25807f1079a: Pull complete 16:21:10 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:21:10 ---> 3b553350e43f 16:21:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:21:15 ---> Running in ba82e441d4d5 16:21:15 Removing intermediate container ba82e441d4d5 16:21:15 ---> 146a3a41de91 16:21:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:15 ---> Running in 3d66c3d32521 16:21:15 Removing intermediate container 3d66c3d32521 16:21:15 ---> d36acf7dd535 16:21:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:21:15 ---> Running in b634a212bcdb 16:21:15 Removing intermediate container b634a212bcdb 16:21:15 ---> 57eb06de7fc8 16:21:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:21:15 ---> Running in 754c4950ac1f 16:21:15 Removing intermediate container 754c4950ac1f 16:21:15 ---> 164f3304631f 16:21:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:21:15 ---> Running in dee64ef5d7c5 16:21:16 Removing intermediate container dee64ef5d7c5 16:21:16 ---> 14ef8046d7c9 16:21:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:16 ---> Running in 280575c76087 16:21:16 Still waiting to schedule task 16:21:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4596’ 16:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:21:16 OK: 265 MiB in 53 packages 16:21:17 Removing intermediate container 280575c76087 16:21:17 ---> 4650685e4754 16:21:17 Step 9/13 : WORKDIR /device-onvif-camera 16:21:17 ---> Running in 84d84ffa8429 16:21:17 Removing intermediate container 84d84ffa8429 16:21:17 ---> 0ca4a45b3804 16:21:17 Step 10/13 : COPY go.mod vendor* ./ 16:21:17 ---> 6ffb1a843339 16:21:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:17 ---> Running in f806f2eb5ac7 16:21:43 Removing intermediate container f806f2eb5ac7 16:21:43 ---> 0a1146fca6d5 16:21:43 Step 12/13 : COPY . . 16:21:44 ---> c6f9de9069eb 16:21:44 Step 13/13 : RUN ${MAKE} 16:21:44 ---> Running in 2c7ec16cd616 16:21:44 noop 16:21:44 Removing intermediate container 2c7ec16cd616 16:21:44 ---> 33db5f456794 16:21:44 Successfully built 33db5f456794 16:21:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:44 + docker inspect -f . ci-base-image-x86_64 16:21:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:44 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 16:21:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 16:21:45 $ docker top aa5581a0764ab738c657edd2061c30971db167e17b0f38f27c6668bcb4d7192c -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:45 + go version 16:21:45 go version go1.20.2 linux/amd64 [Pipeline] } 16:21:45 $ docker stop --time=1 aa5581a0764ab738c657edd2061c30971db167e17b0f38f27c6668bcb4d7192c 16:21:46 $ docker rm -f --volumes aa5581a0764ab738c657edd2061c30971db167e17b0f38f27c6668bcb4d7192c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:47 + docker inspect -f . ci-base-image-x86_64 16:21:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:47 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 16:21:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 16:21:47 $ docker top f1240e7f360b051d3e99c88633d2f7a8d62565e94568e0f90e49cb2178e1396a -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:48 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] fileExists [Pipeline] sh 16:21:48 + make test 16:21:48 go test ./... -coverprofile=coverage.out ./... 16:21:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:22:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:22:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:22:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.7% of statements 16:22:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.112s coverage: 86.5% of statements 16:22:11 go vet ./... 16:22:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:22:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:22:14 ./bin/test-attribution-txt.sh [Pipeline] echo 16:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:22:14 $ docker stop --time=1 f1240e7f360b051d3e99c88633d2f7a8d62565e94568e0f90e49cb2178e1396a 16:22:17 $ docker rm -f --volumes f1240e7f360b051d3e99c88633d2f7a8d62565e94568e0f90e49cb2178e1396a [Pipeline] // withDockerContainer [Pipeline] sh 16:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:18 + ls -al . 16:22:18 total 236 16:22:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 16:21 . 16:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:20 .. 16:22:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:20 .git 16:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:20 .github 16:22:18 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:20 .gitignore 16:22:18 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:20 .golangci.yml 16:22:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:20 .semver 16:22:18 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:20 Attribution.txt 16:22:18 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:20 CHANGELOG.md 16:22:18 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:20 Dockerfile 16:22:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:20 GOVERNANCE.md 16:22:18 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:20 Jenkinsfile 16:22:18 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:20 LICENSE 16:22:18 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:20 Makefile 16:22:18 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:20 OWNERS.md 16:22:18 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:20 README.md 16:22:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 16:21 VERSION 16:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:20 bin 16:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:20 cmd 16:22:18 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:22 coverage.out 16:22:18 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:20 doc 16:22:18 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 20 16:20 go.mod 16:22:18 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 20 16:20 go.sum 16:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:20 internal 16:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:20 snap 16:22:18 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:18 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fd49cb9089c181d367b0ebe050260a5659162f18 --label arch=amd64 --label version=0.0.0 . 16:22:18 Sending build context to Docker daemon 28.06MB 16:22:18 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:22:18 Step 2/26 : FROM ${BASE} AS builder 16:22:18 ---> 33db5f456794 16:22:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:22:19 ---> Running in 5bb0b9f261f4 16:22:19 Removing intermediate container 5bb0b9f261f4 16:22:19 ---> a42b8f34355e 16:22:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:19 ---> Running in df26b46cbde9 16:22:19 Removing intermediate container df26b46cbde9 16:22:19 ---> 330f38bc5a9a 16:22:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:22:19 ---> Running in 7e18bb0e11a1 16:22:19 Removing intermediate container 7e18bb0e11a1 16:22:19 ---> 2c8da377636e 16:22:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:22:19 ---> Running in 839df36b5754 16:22:19 Removing intermediate container 839df36b5754 16:22:19 ---> 14e68f44ec91 16:22:19 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:22:19 ---> Running in df2ad866ac2e 16:22:19 Removing intermediate container df2ad866ac2e 16:22:19 ---> ddd170e81fa4 16:22:19 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:19 ---> Running in 10337d677c51 16:22:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:22:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:22:20 OK: 265 MiB in 53 packages 16:22:20 Removing intermediate container 10337d677c51 16:22:20 ---> bce09d6e8875 16:22:20 Step 9/26 : WORKDIR /device-onvif-camera 16:22:20 ---> Running in 834cb3b08488 16:22:20 Removing intermediate container 834cb3b08488 16:22:20 ---> 7ad8e9c03f6f 16:22:20 Step 10/26 : COPY go.mod vendor* ./ 16:22:20 ---> 561f61270393 16:22:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:20 ---> Running in 502aa46b4401 16:22:21 Removing intermediate container 502aa46b4401 16:22:21 ---> 7efadfd3f509 16:22:21 Step 12/26 : COPY . . 16:22:22 ---> 724bd6ffc3a4 16:22:22 Step 13/26 : RUN ${MAKE} 16:22:22 ---> Running in 1e1798ed44e0 16:22:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:22:44 Removing intermediate container 1e1798ed44e0 16:22:44 ---> 735069ce1254 16:22:44 Step 14/26 : FROM alpine:3.17 16:22:44 3.17: Pulling from library/alpine 16:22:44 63b65145d645: Already exists 16:22:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:22:44 Status: Downloaded newer image for alpine:3.17 16:22:44 ---> b2aa39c304c2 16:22:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:22:44 ---> Running in 1c7e96e755d6 16:22:44 Removing intermediate container 1c7e96e755d6 16:22:44 ---> 392d53fb55b3 16:22:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:22:44 ---> Running in d3a34352adce 16:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:22:44 (1/1) Installing dumb-init (1.2.5-r2) 16:22:44 Executing busybox-1.35.0-r29.trigger 16:22:44 OK: 7 MiB in 16 packages 16:22:44 Removing intermediate container d3a34352adce 16:22:44 ---> 25a433ab8673 16:22:44 Step 17/26 : WORKDIR / 16:22:44 ---> Running in 5dedf7ab68fa 16:22:44 Removing intermediate container 5dedf7ab68fa 16:22:44 ---> fd6b27ed088b 16:22:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:22:44 ---> 33c3771adaf0 16:22:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:22:44 ---> 0ada55d1ff1f 16:22:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:22:44 ---> 7692aa4ae660 16:22:44 Step 21/26 : EXPOSE 59984 16:22:44 ---> Running in 284e5ab5021f 16:22:44 Removing intermediate container 284e5ab5021f 16:22:44 ---> 9720cc30f053 16:22:44 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:22:44 ---> Running in aef2fb1a282e 16:22:44 Removing intermediate container aef2fb1a282e 16:22:44 ---> 20889e5b2b60 16:22:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:22:44 ---> Running in 0bb444a860df 16:22:44 Removing intermediate container 0bb444a860df 16:22:44 ---> a6528ffedee5 16:22:44 Step 24/26 : LABEL arch=amd64 16:22:44 ---> Running in b8e6e317107e 16:22:44 Removing intermediate container b8e6e317107e 16:22:44 ---> 57a5b8603800 16:22:44 Step 25/26 : LABEL git_sha=fd49cb9089c181d367b0ebe050260a5659162f18 16:22:44 ---> Running in 15b77c435b26 16:22:44 Removing intermediate container 15b77c435b26 16:22:44 ---> ab61c657ed6b 16:22:44 Step 26/26 : LABEL version=0.0.0 16:22:44 ---> Running in 23abb5eb04db 16:22:44 Removing intermediate container 23abb5eb04db 16:22:44 ---> 2330ead46515 16:22:44 [Warning] One or more build-args [ARCH] were not consumed 16:22:44 Successfully built 2330ead46515 16:22:44 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:44 16:22:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:45 latest: Pulling from edgex-lftools-log-publisher 16:22:45 5eb5b503b376: Pulling fs layer 16:22:45 5c69ac0246d0: Pulling fs layer 16:22:45 ec43610c2a17: Pulling fs layer 16:22:45 3a2ae6a8a46f: Pulling fs layer 16:22:45 33b1e0a273af: Pulling fs layer 16:22:45 5d3b04190fa2: Pulling fs layer 16:22:45 2f39f015ded8: Pulling fs layer 16:22:45 33b1e0a273af: Waiting 16:22:45 5d3b04190fa2: Waiting 16:22:45 2f39f015ded8: Waiting 16:22:45 3a2ae6a8a46f: Waiting 16:22:45 5c69ac0246d0: Download complete 16:22:45 3a2ae6a8a46f: Download complete 16:22:45 33b1e0a273af: Verifying Checksum 16:22:45 33b1e0a273af: Download complete 16:22:45 5d3b04190fa2: Verifying Checksum 16:22:45 5d3b04190fa2: Download complete 16:22:45 ec43610c2a17: Verifying Checksum 16:22:45 ec43610c2a17: Download complete 16:22:45 5eb5b503b376: Verifying Checksum 16:22:45 5eb5b503b376: Download complete 16:22:46 2f39f015ded8: Verifying Checksum 16:22:46 5eb5b503b376: Pull complete 16:22:46 5c69ac0246d0: Pull complete 16:22:47 ec43610c2a17: Pull complete 16:22:47 3a2ae6a8a46f: Pull complete 16:22:47 33b1e0a273af: Pull complete 16:22:47 5d3b04190fa2: Pull complete 16:22:51 2f39f015ded8: Pull complete 16:22:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:51 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 16:22:51 $ 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-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 16:22:54 $ docker top b450f2202ddb06e644e7e8e1ee1f7a9171752a3b40604f8864698931bbf02613 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:55 ---> job-cost.sh 16:22:55 lf-activate-venv: SKIPPING 16:22:55 INFO: No Stack... 16:22:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:55 INFO: Archiving Costs [Pipeline] sh 16:22:56 + cat /w/workspace/undry_device-onvif-camera_PR-276/archives/cost.csv 16:22:56 + cut -d, -f6 [Pipeline] lock 16:22:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] 16:22:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] did not exist. Created. 16:22:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:56 + echo total: 0.2199999988079071 [Pipeline] stash 16:22:56 Stashed 1 file(s) [Pipeline] } 16:22:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:56 $ docker stop --time=1 b450f2202ddb06e644e7e8e1ee1f7a9171752a3b40604f8864698931bbf02613 16:22:57 $ docker rm -f --volumes b450f2202ddb06e644e7e8e1ee1f7a9171752a3b40604f8864698931bbf02613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:23:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4602 in /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] { [Pipeline] ws 16:23:54 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 16:23:54 The recommended git tool is: git 16:24:01 using credential edgex-jenkins-ssh 16:24:01 Cloning the remote Git repository 16:24:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:24:02 > git init /w/workspace/device-onvif-camera/4 # timeout=10 16:24:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:24:02 > git --version # timeout=10 16:24:02 > git --version # 'git version 2.25.1' 16:24:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:24:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:06 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit fd49cb9089c181d367b0ebe050260a5659162f18 16:24:06 Merge succeeded, producing fd49cb9089c181d367b0ebe050260a5659162f18 16:24:06 Checking out Revision fd49cb9089c181d367b0ebe050260a5659162f18 (PR-276) 16:24:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:24:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:24:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:24:06 > git config core.sparsecheckout # timeout=10 16:24:06 > git checkout -f fd49cb9089c181d367b0ebe050260a5659162f18 # timeout=10 16:24:06 > git remote # timeout=10 16:24:06 > git config --get remote.origin.url # timeout=10 16:24:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:06 > git merge 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 16:24:06 > git rev-parse HEAD^{commit} # timeout=10 16:24:06 > git config core.sparsecheckout # timeout=10 16:24:07 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:06 > git checkout -f fd49cb9089c181d367b0ebe050260a5659162f18 # timeout=10 16:24:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:08 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:08 Dload Upload Total Spent Left Speed 16:24:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 16:24:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:09 + sudo tee /etc/docker/daemon.new 16:24:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:09 { 16:24:09 "registry-mirrors": [ 16:24:09 "https://nexus3.edgexfoundry.org:10001" 16:24:09 ], 16:24:09 "bip": "10.250.0.254/24", 16:24:09 "hosts": [ 16:24:09 "tcp://0.0.0.0:5555", 16:24:09 "unix:///var/run/docker.sock" 16:24:09 ], 16:24:09 "mtu": 1458, 16:24:09 "selinux-enabled": true, 16:24:09 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:09 } [Pipeline] sh 16:24:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:28 provisioning config files... 16:24:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config8011159420498066688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:29 ---> docker-login.sh 16:24:29 nexus3.edgexfoundry.org:10001 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:29 Configure a credential helper to remove this warning. See 16:24:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:29 16:24:29 Login Succeeded 16:24:29 nexus3.edgexfoundry.org:10002 16:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:30 Configure a credential helper to remove this warning. See 16:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:30 16:24:30 Login Succeeded 16:24:30 nexus3.edgexfoundry.org:10003 16:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:30 Configure a credential helper to remove this warning. See 16:24:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:30 16:24:30 Login Succeeded 16:24:30 nexus3.edgexfoundry.org:10004 16:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:31 Configure a credential helper to remove this warning. See 16:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:31 16:24:31 Login Succeeded 16:24:31 docker.io 16:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:31 Configure a credential helper to remove this warning. See 16:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:31 16:24:31 Login Succeeded 16:24:31 ---> docker-login.sh ends [Pipeline] } 16:24:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:31 ========================================================= 16:24:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:24:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:24:32 Sending build context to Docker daemon 20.67MB 16:24:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:24:32 Step 2/13 : FROM ${BASE} AS builder 16:24:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:24:33 af6eaf76a39c: Pulling fs layer 16:24:33 55522c791124: Pulling fs layer 16:24:33 ce5c4a1c91eb: Pulling fs layer 16:24:33 169dfbe0d373: Pulling fs layer 16:24:33 e1ff8fa3b103: Pulling fs layer 16:24:33 52ebb69f0ebf: Pulling fs layer 16:24:33 5abe8eddf0d5: Pulling fs layer 16:24:33 e1ff8fa3b103: Waiting 16:24:33 52ebb69f0ebf: Waiting 16:24:33 5abe8eddf0d5: Waiting 16:24:33 169dfbe0d373: Waiting 16:24:33 55522c791124: Verifying Checksum 16:24:33 55522c791124: Download complete 16:24:33 169dfbe0d373: Verifying Checksum 16:24:33 169dfbe0d373: Download complete 16:24:33 e1ff8fa3b103: Verifying Checksum 16:24:33 e1ff8fa3b103: Download complete 16:24:33 af6eaf76a39c: Verifying Checksum 16:24:33 af6eaf76a39c: Download complete 16:24:34 af6eaf76a39c: Pull complete 16:24:34 5abe8eddf0d5: Verifying Checksum 16:24:34 5abe8eddf0d5: Download complete 16:24:35 55522c791124: Pull complete 16:24:36 ce5c4a1c91eb: Verifying Checksum 16:24:36 ce5c4a1c91eb: Download complete 16:24:36 52ebb69f0ebf: Verifying Checksum 16:24:36 52ebb69f0ebf: Download complete 16:24:48 ce5c4a1c91eb: Pull complete 16:24:48 169dfbe0d373: Pull complete 16:24:48 e1ff8fa3b103: Pull complete 16:24:56 52ebb69f0ebf: Pull complete 16:24:58 5abe8eddf0d5: Pull complete 16:24:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:24:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:24:58 ---> 6cb57ee374ae 16:24:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:25:00 ---> Running in 42189f29a37e 16:25:00 Removing intermediate container 42189f29a37e 16:25:00 ---> 6f18a6403948 16:25:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:00 ---> Running in 67473624fcb4 16:25:01 Removing intermediate container 67473624fcb4 16:25:01 ---> 613c4b1099fb 16:25:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:25:01 ---> Running in 2996707e8ad2 16:25:01 Removing intermediate container 2996707e8ad2 16:25:01 ---> 26ed4341e908 16:25:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:25:01 ---> Running in 57de32e6ad63 16:25:02 Removing intermediate container 57de32e6ad63 16:25:02 ---> cb84e82ed4dd 16:25:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:25:02 ---> Running in 570ba23d0933 16:25:02 Removing intermediate container 570ba23d0933 16:25:02 ---> 83088bc5bf36 16:25:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:02 ---> Running in f5490cdaef89 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:25:05 OK: 263 MiB in 53 packages 16:25:06 Removing intermediate container f5490cdaef89 16:25:06 ---> 293aec5c7719 16:25:06 Step 9/13 : WORKDIR /device-onvif-camera 16:25:06 ---> Running in 98cc7e00c11d 16:25:06 Removing intermediate container 98cc7e00c11d 16:25:06 ---> 528ba2f9b74b 16:25:06 Step 10/13 : COPY go.mod vendor* ./ 16:25:07 ---> b028639200e3 16:25:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:07 ---> Running in c5d64d532703 16:26:15 Removing intermediate container c5d64d532703 16:26:15 ---> 8323edc47126 16:26:15 Step 12/13 : COPY . . 16:26:15 ---> b85cd7bd9901 16:26:15 Step 13/13 : RUN ${MAKE} 16:26:15 ---> Running in 3e803324f14b 16:26:15 noop 16:26:16 Removing intermediate container 3e803324f14b 16:26:16 ---> 75c6e7133aa8 16:26:16 Successfully built 75c6e7133aa8 16:26:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:16 + docker inspect -f . ci-base-image-arm64 16:26:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-4602 does not seem to be running inside a container 16:26:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 16:26:18 $ docker top 54655a9e4e95f570c942c61f056bc704aebfd474d5e0031c7f1a9c66a76d212f -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:19 + go version 16:26:19 go version go1.20.2 linux/arm64 [Pipeline] } 16:26:19 $ docker stop --time=1 54655a9e4e95f570c942c61f056bc704aebfd474d5e0031c7f1a9c66a76d212f 16:26:20 $ docker rm -f --volumes 54655a9e4e95f570c942c61f056bc704aebfd474d5e0031c7f1a9c66a76d212f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:21 + docker inspect -f . ci-base-image-arm64 16:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:21 prd-ubuntu20.04-docker-arm64-4c-16g-4602 does not seem to be running inside a container 16:26:21 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 16:26:22 $ docker top 4551a7e204440a118fdede772aae1ddb63de9491516000942c6456cf28b9762d -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:23 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 16:26:24 + make test 16:26:24 go test ./... -coverprofile=coverage.out ./... 16:27:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:29:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:29:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:29:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.232s coverage: 31.7% of statements 16:30:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.238s coverage: 86.5% of statements 16:30:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:10 go vet ./... 16:30:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:30:42 ./bin/test-attribution-txt.sh [Pipeline] echo 16:30:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:42 $ docker stop --time=1 4551a7e204440a118fdede772aae1ddb63de9491516000942c6456cf28b9762d 16:30:44 $ docker rm -f --volumes 4551a7e204440a118fdede772aae1ddb63de9491516000942c6456cf28b9762d [Pipeline] // withDockerContainer [Pipeline] sh 16:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:45 Warning: overwriting stash ‘coverage-report’ 16:30:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:30:46 + ls -al . 16:30:46 total 232 16:30:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 16:26 . 16:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:24 .. 16:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:24 .git 16:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:24 .github 16:30:46 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:24 .gitignore 16:30:46 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:24 .golangci.yml 16:30:46 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:24 Attribution.txt 16:30:46 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:24 CHANGELOG.md 16:30:46 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:24 Dockerfile 16:30:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:24 GOVERNANCE.md 16:30:46 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:24 Jenkinsfile 16:30:46 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:24 LICENSE 16:30:46 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:24 Makefile 16:30:46 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:24 OWNERS.md 16:30:46 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:24 README.md 16:30:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 16:21 VERSION 16:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:24 bin 16:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:24 cmd 16:30:46 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:30 coverage.out 16:30:46 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:24 doc 16:30:46 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 20 16:24 go.mod 16:30:46 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 20 16:24 go.sum 16:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:24 internal 16:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:24 snap 16:30:46 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:47 + 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=fd49cb9089c181d367b0ebe050260a5659162f18 --label arch=arm64 --label version=0.0.0 . 16:30:47 Sending build context to Docker daemon 20.75MB 16:30:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:30:47 Step 2/26 : FROM ${BASE} AS builder 16:30:47 ---> 75c6e7133aa8 16:30:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:30:48 ---> Running in 5fda56e620cf 16:30:48 Removing intermediate container 5fda56e620cf 16:30:48 ---> 366d782eee1f 16:30:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:48 ---> Running in c0bce918564e 16:30:49 Removing intermediate container c0bce918564e 16:30:49 ---> f8c273117443 16:30:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:30:49 ---> Running in 017cc5d5e73a 16:30:49 Removing intermediate container 017cc5d5e73a 16:30:49 ---> 274905dcdc38 16:30:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:30:49 ---> Running in 43885b372ce5 16:30:50 Removing intermediate container 43885b372ce5 16:30:50 ---> dd648ef131c5 16:30:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:30:50 ---> Running in 6452078fa88c 16:30:50 Removing intermediate container 6452078fa88c 16:30:50 ---> 183c5d9dae83 16:30:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:50 ---> Running in f7d5182b2e8c 16:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:30:54 OK: 263 MiB in 53 packages 16:30:55 Removing intermediate container f7d5182b2e8c 16:30:55 ---> d2d9beaf4591 16:30:55 Step 9/26 : WORKDIR /device-onvif-camera 16:30:55 ---> Running in d7ef5e6d94d5 16:30:55 Removing intermediate container d7ef5e6d94d5 16:30:55 ---> 1016a3eabef2 16:30:55 Step 10/26 : COPY go.mod vendor* ./ 16:30:56 ---> 94fe6dfd78cf 16:30:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:56 ---> Running in 6225d250e8cc 16:30:59 Removing intermediate container 6225d250e8cc 16:30:59 ---> d7c939e0d52f 16:30:59 Step 12/26 : COPY . . 16:31:01 ---> a96e4c3d60fd 16:31:01 Step 13/26 : RUN ${MAKE} 16:31:01 ---> Running in 5f1af53bd1b0 16:31:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:33:54 Removing intermediate container 5f1af53bd1b0 16:33:54 ---> 131fb92b957e 16:33:54 Step 14/26 : FROM alpine:3.17 16:33:54 3.17: Pulling from library/alpine 16:33:54 af6eaf76a39c: Already exists 16:33:54 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:33:54 Status: Downloaded newer image for alpine:3.17 16:33:54 ---> d74e625d9115 16:33:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:33:54 ---> Running in ac83af41f177 16:33:54 Removing intermediate container ac83af41f177 16:33:54 ---> 827ad9e367c4 16:33:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:33:54 ---> Running in 629233277a74 16:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:33:54 (1/1) Installing dumb-init (1.2.5-r2) 16:33:54 Executing busybox-1.35.0-r29.trigger 16:33:54 OK: 8 MiB in 16 packages 16:33:54 Removing intermediate container 629233277a74 16:33:54 ---> 4c70250485df 16:33:54 Step 17/26 : WORKDIR / 16:33:54 ---> Running in cecb41dc071f 16:33:54 Removing intermediate container cecb41dc071f 16:33:54 ---> 5d23933b5105 16:33:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:33:54 ---> 662074eb03ed 16:33:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:33:54 ---> fc673117c5a3 16:33:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:33:54 ---> 05c2e754edc5 16:33:54 Step 21/26 : EXPOSE 59984 16:33:54 ---> Running in b65b9fc2a9ca 16:33:54 Removing intermediate container b65b9fc2a9ca 16:33:54 ---> 5a980179842f 16:33:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:33:54 ---> Running in 278d57736adf 16:33:54 Removing intermediate container 278d57736adf 16:33:54 ---> fe45cc7edf07 16:33:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:33:54 ---> Running in d15be5f76d7a 16:33:54 Removing intermediate container d15be5f76d7a 16:33:54 ---> 034a2564a3e7 16:33:54 Step 24/26 : LABEL arch=arm64 16:33:54 ---> Running in 2188fe19b476 16:33:54 Removing intermediate container 2188fe19b476 16:33:54 ---> 27ffb1af36c2 16:33:54 Step 25/26 : LABEL git_sha=fd49cb9089c181d367b0ebe050260a5659162f18 16:33:54 ---> Running in 7cfaf9df3934 16:33:54 Removing intermediate container 7cfaf9df3934 16:33:54 ---> eee5d2f138b9 16:33:54 Step 26/26 : LABEL version=0.0.0 16:33:54 ---> Running in 1b6a1b6fe042 16:33:54 Removing intermediate container 1b6a1b6fe042 16:33:54 ---> fc82a17d0084 16:33:54 [Warning] One or more build-args [ARCH] were not consumed 16:33:54 Successfully built fc82a17d0084 16:33:54 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:55 16:33:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:55 arm64: Pulling from edgex-lftools-log-publisher 16:33:55 8998bd30e6a1: Pulling fs layer 16:33:55 04944245beec: Pulling fs layer 16:33:55 699f458cf7ca: Pulling fs layer 16:33:55 765212b225bb: Pulling fs layer 16:33:55 f23df028b6ca: Pulling fs layer 16:33:55 d65c8cfc05b1: Pulling fs layer 16:33:55 2437ff75d9bd: Pulling fs layer 16:33:55 765212b225bb: Waiting 16:33:55 f23df028b6ca: Waiting 16:33:55 2437ff75d9bd: Waiting 16:33:55 d65c8cfc05b1: Waiting 16:33:55 04944245beec: Verifying Checksum 16:33:55 04944245beec: Download complete 16:33:55 765212b225bb: Download complete 16:33:55 f23df028b6ca: Verifying Checksum 16:33:55 f23df028b6ca: Download complete 16:33:55 d65c8cfc05b1: Verifying Checksum 16:33:55 d65c8cfc05b1: Download complete 16:33:56 699f458cf7ca: Verifying Checksum 16:33:56 699f458cf7ca: Download complete 16:33:56 8998bd30e6a1: Download complete 16:33:59 2437ff75d9bd: Verifying Checksum 16:33:59 2437ff75d9bd: Download complete 16:34:00 8998bd30e6a1: Pull complete 16:34:00 04944245beec: Pull complete 16:34:03 699f458cf7ca: Pull complete 16:34:03 765212b225bb: Pull complete 16:34:04 f23df028b6ca: Pull complete 16:34:04 d65c8cfc05b1: Pull complete 16:34:16 2437ff75d9bd: Pull complete 16:34:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:16 prd-ubuntu20.04-docker-arm64-4c-16g-4602 does not seem to be running inside a container 16:34:16 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:34:19 $ docker top ea3b7bc27105a6766cd2f6402ac59f26b68848ba128343166f87c4ba9ac13daf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:20 ---> job-cost.sh 16:34:20 lf-activate-venv: SKIPPING 16:34:20 INFO: No Stack... 16:34:21 INFO: Retrieving Pricing Info for: v3-standard-4 16:34:21 INFO: Archiving Costs [Pipeline] sh 16:34:22 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 16:34:22 + cut -d, -f6 [Pipeline] lock 16:34:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] 16:34:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] did not exist. Created. 16:34:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:34:23 /w/workspace/device-onvif-camera/4@tmp/durable-078380ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:34:23 + echo total: 0.10999999940395355 [Pipeline] stash 16:34:23 Warning: overwriting stash ‘stack-cost’ 16:34:23 Stashed 1 file(s) [Pipeline] } 16:34:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:34:23 $ docker stop --time=1 ea3b7bc27105a6766cd2f6402ac59f26b68848ba128343166f87c4ba9ac13daf 16:34:25 $ docker rm -f --volumes ea3b7bc27105a6766cd2f6402ac59f26b68848ba128343166f87c4ba9ac13daf [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) [Pipeline] unstash [Pipeline] configFileProvider 16:34:25 provisioning config files... 16:34:25 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config15836115583592161365tmp [Pipeline] { [Pipeline] sh 16:34:26 + set +x 16:34:26 + curl -s https://codecov.io/bash 16:34:26 + bash -s -- 16:34:26 16:34:26 _____ _ 16:34:26 / ____| | | 16:34:26 | | ___ __| | ___ ___ _____ __ 16:34:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:34:26 | |___| (_) | (_| | __/ (_| (_) \ V / 16:34:26 \_____\___/ \__,_|\___|\___\___/ \_/ 16:34:26 Bash-1.0.6 16:34:26 16:34:26 16:34:26 ==> git version 2.25.1 found 16:34:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:34:26 Release-Date: 2020-01-08 16:34:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:34:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:34:26 ==> Jenkins CI detected. 16:34:26 current dir:  /w/workspace/undry_device-onvif-camera_PR-276 16:34:26 project root: . 16:34:26 --> token set from env 16:34:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:34:26 ==> Running gcov in . (disable via -X gcov) 16:34:26 ==> Python coveragepy not found 16:34:26 ==> Searching for coverage reports in: 16:34:26 + . 16:34:26 -> Found 1 reports 16:34:26 ==> Detecting git/mercurial file structure 16:34:26 ==> Reading reports 16:34:26 + ./coverage.out bytes=78487 16:34:26 ==> Appending adjustments 16:34:26 https://docs.codecov.io/docs/fixing-reports 16:34:26 + Found adjustments 16:34:26 ==> Gzipping contents 16:34:26 12K /tmp/codecov.MhL1o9.gz 16:34:26 ==> Uploading reports 16:34:26 url: https://codecov.io 16:34:26 query: branch=PR-276&commit=fd49cb9089c181d367b0ebe050260a5659162f18&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-276%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 16:34:26 -> Pinging Codecov 16:34:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-276&commit=fd49cb9089c181d367b0ebe050260a5659162f18&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-276%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 16:34:26 -> Uploading to 16:34:26 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/fd49cb9089c181d367b0ebe050260a5659162f18/89f95aa6-1b82-4a9a-96b2-baca8e8ef706.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T163426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1af1205834c69160b08193cfe85a2a96ec9f231c1d53f475122bbd5c7164ff4 16:34:26 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:26 Dload Upload Total Spent Left Speed 16:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 42615 --:--:-- --:--:-- --:--:-- 42615 16:34:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fd49cb9089c181d367b0ebe050260a5659162f18 [Pipeline] } 16:34:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:34:27 + [ -d /w/workspace/undry_device-onvif-camera_PR-276/archives ] 16:34:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives 16:34:27 total 16 16:34:27 drwxr-xr-x 3 root root 4096 Mar 20 16:22 . 16:34:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:22 .. 16:34:27 drwxr-xr-x 2 root root 4096 Mar 20 16:22 cost 16:34:27 -rw-r--r-- 1 root root 91 Mar 20 16:22 cost.csv 16:34:27 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-276/archives 16:34:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives 16:34:27 total 16 16:34:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:22 . 16:34:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:22 .. 16:34:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 16:22 cost 16:34:27 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 16:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:34:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:34:28 ---> package-listing.sh 16:34:28 ++ facter osfamily 16:34:28 ++ tr '[:upper:]' '[:lower:]' 16:34:28 + OS_FAMILY=debian 16:34:28 + workspace=/w/workspace/undry_device-onvif-camera_PR-276 16:34:28 + START_PACKAGES=/tmp/packages_start.txt 16:34:28 + END_PACKAGES=/tmp/packages_end.txt 16:34:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:34:28 + PACKAGES=/tmp/packages_start.txt 16:34:28 + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' 16:34:28 + PACKAGES=/tmp/packages_end.txt 16:34:28 + case "${OS_FAMILY}" in 16:34:28 + dpkg -l 16:34:28 + grep '^ii' 16:34:28 + '[' -f /tmp/packages_start.txt ']' 16:34:28 + '[' -f /tmp/packages_end.txt ']' 16:34:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:34:28 + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' 16:34:28 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-276/archives/ 16:34:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-276/archives/ [Pipeline] echo 16:34:28 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-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:34:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:34:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:29 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 16:34:29 $ 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-276/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-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 16:34:30 $ docker top bc524cdad6f17c5c8736f02aa05cedaf382f17aa51f5c1c88262b3a90879451e -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:30 + touch /tmp/pre-build-complete [Pipeline] sh 16:34:30 + mkdir -p /var/log/sysstat [Pipeline] sh 16:34:31 + ls /var/log/sa-host 16:34:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:31 provisioning config files... 16:34:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config3835435702634116328tmp [Pipeline] { [Pipeline] echo 16:34:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:34:31 ---> create-netrc.sh [Pipeline] } 16:34:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:34:31 ---> python-tools-install.sh [Pipeline] echo 16:34:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:34:32 ---> sudo-logs.sh 16:34:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:34:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:34:32 ---> job-cost.sh 16:34:32 lf-activate-venv: SKIPPING 16:34:32 DEBUG: total: 0.2199999988079071 16:34:32 INFO: Retrieving Stack Cost... 16:34:32 INFO: Retrieving Pricing Info for: v3-standard-8 16:34:33 INFO: Archiving Costs [Pipeline] echo 16:34:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:34:33 ---> logs-deploy.sh 16:34:33 lf-activate-venv: SKIPPING 16:34:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-276/4 16:34:33 INFO: archiving workspace using pattern(s): 16:34:34 Archives upload complete. 16:34:34 INFO: archiving logs to Nexus