Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd49cb9089c181d367b0ebe050260a5659162f18+e03c6e991c633265ca57616196638541aa716f8b (00ca9c37fbadc1913fac2261ebaec5de4c824b45) 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-ssh5174757956635856774.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-ssh6593914317020828945.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-ssh2799173618956095820.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-ssh2207449765350101107.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-ssh8257894887955715795.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5304 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 > 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 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit fd49cb9089c181d367b0ebe050260a5659162f18 Merge succeeded, producing 31c8773095eb107eb7b6c8916018f149d7140a59 Checking out Revision 31c8773095eb107eb7b6c8916018f149d7140a59 (PR-276) > 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 e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31c8773095eb107eb7b6c8916018f149d7140a59 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:13 ========================================================= 22:11:13 EdgeX Global Pipelines Version Info 22:11:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a301c93b40d32de8ef54322092e3640ff4944030 # timeout=10 22:11:13 ------------------- 22:11:13 stable info: 22:11:13 ------------------- 22:11:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:13 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:11:13 Message: update stable to v1.0.245 22:11:14 ------------------- 22:11:14 experimental info: 22:11:14 ------------------- 22:11:14 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 22:11:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31c8773095eb107eb7b6c8916018f149d7140a59 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31c8773 [Pipeline] echo 22:11:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:14 provisioning config files... 22:11:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config7203318788316617331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:15 ---> docker-login.sh 22:11:15 nexus3.edgexfoundry.org:10001 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 nexus3.edgexfoundry.org:10002 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 nexus3.edgexfoundry.org:10003 22:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:15 Configure a credential helper to remove this warning. See 22:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:15 22:11:15 Login Succeeded 22:11:15 nexus3.edgexfoundry.org:10004 22:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:16 Configure a credential helper to remove this warning. See 22:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:16 22:11:16 Login Succeeded 22:11:16 docker.io 22:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:16 Configure a credential helper to remove this warning. See 22:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:16 22:11:16 Login Succeeded 22:11:16 ---> docker-login.sh ends [Pipeline] } 22:11:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:16 + git rev-list -1 --merges 31c8773095eb107eb7b6c8916018f149d7140a59~1..31c8773095eb107eb7b6c8916018f149d7140a59 [Pipeline] echo 22:11:16 -----------> git rev-list -1 --merges 31c8773095eb107eb7b6c8916018f149d7140a59~1..31c8773095eb107eb7b6c8916018f149d7140a59 31c8773095eb107eb7b6c8916018f149d7140a59 22:11:16 31c8773095eb107eb7b6c8916018f149d7140a59 [false] [Pipeline] sh 22:11:17 + git log --format=format:%s -1 31c8773095eb107eb7b6c8916018f149d7140a59 [Pipeline] echo 22:11:17 ========================================================= 22:11:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:17 + git log --format=format:%s -1 31c8773095eb107eb7b6c8916018f149d7140a59 [Pipeline] echo 22:11:17 [semverPrep] GIT_COMMIT: 31c8773095eb107eb7b6c8916018f149d7140a59, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 22:11:17 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:17 + grep -v github /etc/ssh/ssh_known_hosts 22:11:17 + [ -e /tmp/ssh_known_hosts ] 22:11:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:17 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:18 22:11:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:18 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:18 b85a868b505f: Pulling fs layer 22:11:18 e2be974225ed: Pulling fs layer 22:11:18 339a4e72a1f5: Pulling fs layer 22:11:18 988bab9f4d93: Pulling fs layer 22:11:18 1469e6f7b9e6: Pulling fs layer 22:11:18 eaf3925da568: Pulling fs layer 22:11:18 bab4dde63d76: Pulling fs layer 22:11:18 bde34c3a00c8: Pulling fs layer 22:11:18 b352a97aabf1: Pulling fs layer 22:11:18 4872d77fe225: Pulling fs layer 22:11:18 5851b861e8e6: Pulling fs layer 22:11:18 1469e6f7b9e6: Waiting 22:11:18 eaf3925da568: Waiting 22:11:18 bde34c3a00c8: Waiting 22:11:18 b352a97aabf1: Waiting 22:11:18 5851b861e8e6: Waiting 22:11:18 988bab9f4d93: Waiting 22:11:18 4872d77fe225: Waiting 22:11:18 e2be974225ed: Verifying Checksum 22:11:18 e2be974225ed: Download complete 22:11:18 988bab9f4d93: Verifying Checksum 22:11:18 988bab9f4d93: Download complete 22:11:18 1469e6f7b9e6: Verifying Checksum 22:11:18 1469e6f7b9e6: Download complete 22:11:18 eaf3925da568: Verifying Checksum 22:11:18 eaf3925da568: Download complete 22:11:18 339a4e72a1f5: Verifying Checksum 22:11:18 339a4e72a1f5: Download complete 22:11:18 bde34c3a00c8: Verifying Checksum 22:11:18 bde34c3a00c8: Download complete 22:11:18 b352a97aabf1: Verifying Checksum 22:11:18 b352a97aabf1: Download complete 22:11:18 4872d77fe225: Download complete 22:11:18 5851b861e8e6: Download complete 22:11:18 b85a868b505f: Verifying Checksum 22:11:18 b85a868b505f: Download complete 22:11:18 bab4dde63d76: Verifying Checksum 22:11:18 bab4dde63d76: Download complete 22:11:19 b85a868b505f: Pull complete 22:11:20 e2be974225ed: Pull complete 22:11:20 339a4e72a1f5: Pull complete 22:11:20 988bab9f4d93: Pull complete 22:11:20 1469e6f7b9e6: Pull complete 22:11:20 eaf3925da568: Pull complete 22:11:22 bab4dde63d76: Pull complete 22:11:22 bde34c3a00c8: Pull complete 22:11:23 b352a97aabf1: Pull complete 22:11:23 4872d77fe225: Pull complete 22:11:23 5851b861e8e6: Pull complete 22:11:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:23 prd-ubuntu20.04-docker-8c-8g-5304 does not seem to be running inside a container 22:11:23 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:24 $ docker top 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 -eo pid,comm 22:11:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:24 [ssh-agent] Looking for ssh-agent implementation... 22:11:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:24 $ docker exec 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 ssh-agent 22:11:24 SSH_AUTH_SOCK=/tmp/ssh-OTqbWr9mtJLl/agent.32 22:11:24 SSH_AGENT_PID=38 22:11:24 Running ssh-add (command line suppressed) 22:11:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_12308959940973029951.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_12308959940973029951.key) 22:11:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:25 + git tag --points-at HEAD [Pipeline] } 22:11:25 $ docker exec --env ******** --env ******** 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 ssh-agent -k 22:11:25 unset SSH_AUTH_SOCK; 22:11:25 unset SSH_AGENT_PID; 22:11:25 echo Agent pid 38 killed; 22:11:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:25 [ssh-agent] Looking for ssh-agent implementation... 22:11:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:25 $ docker exec 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 ssh-agent 22:11:25 SSH_AUTH_SOCK=/tmp/ssh-x4BbZH2vc33c/agent.70 22:11:25 SSH_AGENT_PID=76 22:11:25 Running ssh-add (command line suppressed) 22:11:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_15171839510652476769.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_15171839510652476769.key) 22:11:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:26 + git semver init 22:11:26 2023-03-22 22:11:26,233 [run_init] DEBUG init version:0.0.0 force:False 22:11:26 2023-03-22 22:11:26,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-276/.semver 22:11:26 2023-03-22 22:11:26,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-276/.semver 22:11:26 2023-03-22 22:11:26,234 [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) 22:11:27 2023-03-22 22:11:27,055 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-276/.git/info/exclude 22:11:27 2023-03-22 22:11:27,055 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 with force:False 22:11:27 2023-03-22 22:11:27,055 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 22:11:27 2023-03-22 22:11:27,060 [execute] INFO git cat-file --batch-check 22:11:27 2023-03-22 22:11:27,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 22:11:27 2023-03-22 22:11:27,066 [execute] INFO git cat-file --batch 22:11:27 2023-03-22 22:11:27,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 22:11:27 2023-03-22 22:11:27,071 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 22:11:27 0.0.0 [Pipeline] } 22:11:27 $ docker exec --env ******** --env ******** 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 ssh-agent -k 22:11:27 unset SSH_AUTH_SOCK; 22:11:27 unset SSH_AGENT_PID; 22:11:27 echo Agent pid 76 killed; 22:11:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:27 + git semver [Pipeline] } 22:11:27 $ docker stop --time=1 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 22:11:29 $ docker rm -f --volumes 8a55424c5fe9a8c0c68f9f670cefd2b3441363944be06ba5f74aa0c6fd8cad54 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:29 Stashed 1 file(s) [Pipeline] echo 22:11:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:29 provisioning config files... 22:11:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config7836415748803439318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:30 ---> docker-login.sh 22:11:30 nexus3.edgexfoundry.org:10001 22:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:30 Configure a credential helper to remove this warning. See 22:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:30 22:11:30 Login Succeeded 22:11:30 nexus3.edgexfoundry.org:10002 22:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:30 Configure a credential helper to remove this warning. See 22:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:30 22:11:30 Login Succeeded 22:11:30 nexus3.edgexfoundry.org:10003 22:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:30 Configure a credential helper to remove this warning. See 22:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:30 22:11:30 Login Succeeded 22:11:30 nexus3.edgexfoundry.org:10004 22:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:30 Configure a credential helper to remove this warning. See 22:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:30 22:11:30 Login Succeeded 22:11:30 docker.io 22:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:30 Configure a credential helper to remove this warning. See 22:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:30 22:11:30 Login Succeeded 22:11:30 ---> docker-login.sh ends [Pipeline] } 22:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:30 ========================================================= 22:11:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:31 + 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 . 22:11:31 Sending build context to Docker daemon 27MB 22:11:31 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:31 Step 2/13 : FROM ${BASE} AS builder 22:11:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:31 63b65145d645: Pulling fs layer 22:11:31 a2d21d5440eb: Pulling fs layer 22:11:31 935e6c44a52c: Pulling fs layer 22:11:31 94cc34f8dd06: Pulling fs layer 22:11:31 30dea6a524f1: Pulling fs layer 22:11:31 a2aff8979fd8: Pulling fs layer 22:11:31 6808be2612f2: Pulling fs layer 22:11:31 f25807f1079a: Pulling fs layer 22:11:31 f25807f1079a: Waiting 22:11:31 a2aff8979fd8: Waiting 22:11:31 6808be2612f2: Waiting 22:11:31 94cc34f8dd06: Waiting 22:11:31 30dea6a524f1: Waiting 22:11:31 a2d21d5440eb: Download complete 22:11:31 94cc34f8dd06: Verifying Checksum 22:11:31 94cc34f8dd06: Download complete 22:11:31 30dea6a524f1: Verifying Checksum 22:11:31 30dea6a524f1: Download complete 22:11:31 63b65145d645: Verifying Checksum 22:11:31 63b65145d645: Download complete 22:11:31 a2aff8979fd8: Verifying Checksum 22:11:31 a2aff8979fd8: Download complete 22:11:31 63b65145d645: Pull complete 22:11:31 a2d21d5440eb: Pull complete 22:11:31 f25807f1079a: Verifying Checksum 22:11:32 935e6c44a52c: Verifying Checksum 22:11:32 935e6c44a52c: Download complete 22:11:32 6808be2612f2: Verifying Checksum 22:11:32 6808be2612f2: Download complete 22:11:35 935e6c44a52c: Pull complete 22:11:35 94cc34f8dd06: Pull complete 22:11:35 30dea6a524f1: Pull complete 22:11:35 a2aff8979fd8: Pull complete 22:11:38 6808be2612f2: Pull complete 22:11:39 f25807f1079a: Pull complete 22:11:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:39 ---> 3b553350e43f 22:11:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:40 ---> Running in 88ad341ed97d 22:11:40 Removing intermediate container 88ad341ed97d 22:11:40 ---> 001cf0aa3478 22:11:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:40 ---> Running in 04591bcf095c 22:11:40 Removing intermediate container 04591bcf095c 22:11:40 ---> aea72bd2a012 22:11:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:40 ---> Running in 61a75e30df6c 22:11:41 Removing intermediate container 61a75e30df6c 22:11:41 ---> 7ea7b7f01d7e 22:11:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:41 ---> Running in 06c4937d8894 22:11:41 Removing intermediate container 06c4937d8894 22:11:41 ---> 8ca2f813c8bf 22:11:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:41 ---> Running in 563ed87479c5 22:11:41 Removing intermediate container 563ed87479c5 22:11:41 ---> 0168437084cb 22:11:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:41 ---> Running in 3c8b0fa97d69 22:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:41 OK: 265 MiB in 53 packages 22:11:42 Removing intermediate container 3c8b0fa97d69 22:11:42 ---> 731d4e896dd5 22:11:42 Step 9/13 : WORKDIR /device-onvif-camera 22:11:42 ---> Running in 85f5e7bbceee 22:11:42 Removing intermediate container 85f5e7bbceee 22:11:42 ---> c71a6b5e9b25 22:11:42 Step 10/13 : COPY go.mod vendor* ./ 22:11:42 ---> 411d464e4447 22:11:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:42 ---> Running in 8f1134524dbc 22:11:44 Still waiting to schedule task 22:11:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:08 Removing intermediate container 8f1134524dbc 22:12:08 ---> 4144095838b1 22:12:08 Step 12/13 : COPY . . 22:12:08 ---> dcf3ea8c85c3 22:12:08 Step 13/13 : RUN ${MAKE} 22:12:08 ---> Running in 12371a01b908 22:12:08 noop 22:12:08 Removing intermediate container 12371a01b908 22:12:08 ---> 9b4ff2f854c2 22:12:08 Successfully built 9b4ff2f854c2 22:12:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:09 + docker inspect -f . ci-base-image-x86_64 22:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:09 prd-ubuntu20.04-docker-8c-8g-5304 does not seem to be running inside a container 22:12:09 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:09 $ docker top e3bd39432a74029563f9e215a59c8b11bc39614cbc1c9ac2ce30ca5f13b31e78 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:10 + go version 22:12:10 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:10 $ docker stop --time=1 e3bd39432a74029563f9e215a59c8b11bc39614cbc1c9ac2ce30ca5f13b31e78 22:12:11 $ docker rm -f --volumes e3bd39432a74029563f9e215a59c8b11bc39614cbc1c9ac2ce30ca5f13b31e78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:11 + docker inspect -f . ci-base-image-x86_64 22:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:11 prd-ubuntu20.04-docker-8c-8g-5304 does not seem to be running inside a container 22:12:11 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:12 $ docker top f7d696649f6cfeced5c51383ee62b0c8c63bc9c5894fca948564e125d82d7c7a -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:12 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] fileExists [Pipeline] sh 22:12:12 + make test 22:12:12 go test ./... -coverprofile=coverage.out ./... 22:12:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.7% of statements 22:12:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.536s coverage: 86.5% of statements 22:12:42 go vet ./... 22:12:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:46 $ docker stop --time=1 f7d696649f6cfeced5c51383ee62b0c8c63bc9c5894fca948564e125d82d7c7a 22:12:48 $ docker rm -f --volumes f7d696649f6cfeced5c51383ee62b0c8c63bc9c5894fca948564e125d82d7c7a [Pipeline] // withDockerContainer [Pipeline] sh 22:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:49 + ls -al . 22:12:49 total 236 22:12:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:12 . 22:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:11 .. 22:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:11 .git 22:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:11 .github 22:12:49 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 22:11 .gitignore 22:12:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:11 .golangci.yml 22:12:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:11 .semver 22:12:49 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 22:11 Attribution.txt 22:12:49 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 22:11 CHANGELOG.md 22:12:49 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 22:11 Dockerfile 22:12:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:11 GOVERNANCE.md 22:12:49 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 22:11 Jenkinsfile 22:12:49 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 22:11 LICENSE 22:12:49 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 22:11 Makefile 22:12:49 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 22:11 OWNERS.md 22:12:49 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 22:11 README.md 22:12:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:11 VERSION 22:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:11 bin 22:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:11 cmd 22:12:49 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 22:12 coverage.out 22:12:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:11 doc 22:12:49 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 22:11 go.mod 22:12:49 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 22:11 go.sum 22:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:11 internal 22:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:11 snap 22:12:49 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:49 + 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=31c8773095eb107eb7b6c8916018f149d7140a59 --label arch=amd64 --label version=0.0.0 . 22:12:49 Sending build context to Docker daemon 27.08MB 22:12:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:49 Step 2/26 : FROM ${BASE} AS builder 22:12:49 ---> 9b4ff2f854c2 22:12:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:50 ---> Running in babc0f13e6d6 22:12:50 Removing intermediate container babc0f13e6d6 22:12:50 ---> ac7db19d6275 22:12:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:50 ---> Running in 93487081ebce 22:12:50 Removing intermediate container 93487081ebce 22:12:50 ---> 245046481a31 22:12:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:50 ---> Running in 4115ed63b852 22:12:50 Removing intermediate container 4115ed63b852 22:12:50 ---> 70bed9df2889 22:12:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:50 ---> Running in 66062a76954a 22:12:50 Removing intermediate container 66062a76954a 22:12:50 ---> 7e935fcfbec7 22:12:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:50 ---> Running in ce31d75c0063 22:12:50 Removing intermediate container ce31d75c0063 22:12:50 ---> 63b209353510 22:12:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:50 ---> Running in e6294b80b8f6 22:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:51 OK: 265 MiB in 53 packages 22:12:51 Removing intermediate container e6294b80b8f6 22:12:51 ---> 40f8fe5e4398 22:12:51 Step 9/26 : WORKDIR /device-onvif-camera 22:12:51 ---> Running in 1be022afbfde 22:12:51 Removing intermediate container 1be022afbfde 22:12:51 ---> ff820966248f 22:12:51 Step 10/26 : COPY go.mod vendor* ./ 22:12:51 ---> f90e8a78c431 22:12:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:51 ---> Running in 18c25a9202f3 22:12:52 Removing intermediate container 18c25a9202f3 22:12:52 ---> 6dc2a8e0b226 22:12:52 Step 12/26 : COPY . . 22:12:52 ---> a31b55dbde16 22:12:52 Step 13/26 : RUN ${MAKE} 22:12:52 ---> Running in 8e44a48c4f35 22:12:53 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 22:13:11 Removing intermediate container 8e44a48c4f35 22:13:11 ---> 4a538945eada 22:13:11 Step 14/26 : FROM alpine:3.17 22:13:11 3.17: Pulling from library/alpine 22:13:11 63b65145d645: Already exists 22:13:11 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:13:11 Status: Downloaded newer image for alpine:3.17 22:13:11 ---> b2aa39c304c2 22:13:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:11 ---> Running in a1a8bd7e017f 22:13:11 Removing intermediate container a1a8bd7e017f 22:13:11 ---> 735885078843 22:13:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:11 ---> Running in ff27d7b15e77 22:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:12 (1/1) Installing dumb-init (1.2.5-r2) 22:13:12 Executing busybox-1.35.0-r29.trigger 22:13:12 OK: 7 MiB in 16 packages 22:13:12 Removing intermediate container ff27d7b15e77 22:13:12 ---> 55b8901b3017 22:13:12 Step 17/26 : WORKDIR / 22:13:12 ---> Running in fd3c5cb970fc 22:13:12 Removing intermediate container fd3c5cb970fc 22:13:12 ---> 4c543011e41b 22:13:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:13 ---> c29062291a4d 22:13:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:13 ---> 86a98ccebb13 22:13:13 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:13 ---> b0520ace6338 22:13:13 Step 21/26 : EXPOSE 59984 22:13:13 ---> Running in 11c00b417fe3 22:13:13 Removing intermediate container 11c00b417fe3 22:13:13 ---> 0898e89bf10d 22:13:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:13 ---> Running in fdaff9e5f4a1 22:13:13 Removing intermediate container fdaff9e5f4a1 22:13:13 ---> 93f2c00ae978 22:13:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:13 ---> Running in ce5a032cc42d 22:13:13 Removing intermediate container ce5a032cc42d 22:13:13 ---> 728cd9d32ceb 22:13:13 Step 24/26 : LABEL arch=amd64 22:13:13 ---> Running in fd6f9357fce9 22:13:13 Removing intermediate container fd6f9357fce9 22:13:13 ---> 22b19fbdd9d4 22:13:13 Step 25/26 : LABEL git_sha=31c8773095eb107eb7b6c8916018f149d7140a59 22:13:13 ---> Running in 9b78551c077a 22:13:13 Removing intermediate container 9b78551c077a 22:13:13 ---> 3a1af4d8ad12 22:13:13 Step 26/26 : LABEL version=0.0.0 22:13:13 ---> Running in 06fa0b97d166 22:13:13 Removing intermediate container 06fa0b97d166 22:13:13 ---> 862f93329887 22:13:13 [Warning] One or more build-args [ARCH] were not consumed 22:13:13 Successfully built 862f93329887 22:13:13 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 22:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:14 22:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:14 latest: Pulling from edgex-lftools-log-publisher 22:13:14 5eb5b503b376: Pulling fs layer 22:13:14 5c69ac0246d0: Pulling fs layer 22:13:14 ec43610c2a17: Pulling fs layer 22:13:14 3a2ae6a8a46f: Pulling fs layer 22:13:14 33b1e0a273af: Pulling fs layer 22:13:14 5d3b04190fa2: Pulling fs layer 22:13:14 33b1e0a273af: Waiting 22:13:14 5d3b04190fa2: Waiting 22:13:14 2f39f015ded8: Pulling fs layer 22:13:14 2f39f015ded8: Waiting 22:13:14 3a2ae6a8a46f: Waiting 22:13:14 5c69ac0246d0: Download complete 22:13:14 3a2ae6a8a46f: Verifying Checksum 22:13:14 3a2ae6a8a46f: Download complete 22:13:14 33b1e0a273af: Verifying Checksum 22:13:14 33b1e0a273af: Download complete 22:13:14 5d3b04190fa2: Verifying Checksum 22:13:14 5d3b04190fa2: Download complete 22:13:14 ec43610c2a17: Verifying Checksum 22:13:14 ec43610c2a17: Download complete 22:13:14 5eb5b503b376: Verifying Checksum 22:13:14 5eb5b503b376: Download complete 22:13:15 2f39f015ded8: Download complete 22:13:16 5eb5b503b376: Pull complete 22:13:16 5c69ac0246d0: Pull complete 22:13:16 ec43610c2a17: Pull complete 22:13:16 3a2ae6a8a46f: Pull complete 22:13:16 33b1e0a273af: Pull complete 22:13:17 5d3b04190fa2: Pull complete 22:13:21 2f39f015ded8: Pull complete 22:13:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:21 prd-ubuntu20.04-docker-8c-8g-5304 does not seem to be running inside a container 22:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:13:22 $ docker top 918ff4b5c656cdfb63d35fe94da60a66c67a2c2335678863d013a185e5a90f86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:22 ---> job-cost.sh 22:13:22 lf-activate-venv: SKIPPING 22:13:22 INFO: No Stack... 22:13:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:23 INFO: Archiving Costs [Pipeline] sh 22:13:24 + + cat /w/workspace/undry_device-onvif-camera_PR-276/archives/cost.csv 22:13:24 cut -d, -f6 [Pipeline] lock 22:13:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] 22:13:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] did not exist. Created. 22:13:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:24 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:24 Stashed 1 file(s) [Pipeline] } 22:13:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:24 $ docker stop --time=1 918ff4b5c656cdfb63d35fe94da60a66c67a2c2335678863d013a185e5a90f86 22:13:25 $ docker rm -f --volumes 918ff4b5c656cdfb63d35fe94da60a66c67a2c2335678863d013a185e5a90f86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5309 in /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] { [Pipeline] ws 22:14:17 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 22:14:17 The recommended git tool is: git 22:14:23 using credential edgex-jenkins-ssh 22:14:23 Cloning the remote Git repository 22:14:23 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:23 > git init /w/workspace/device-onvif-camera/6 # timeout=10 22:14:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:23 > git --version # timeout=10 22:14:23 > git --version # 'git version 2.25.1' 22:14:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:27 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit fd49cb9089c181d367b0ebe050260a5659162f18 22:14:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:26 > 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 22:14:27 > git config core.sparsecheckout # timeout=10 22:14:27 > git checkout -f fd49cb9089c181d367b0ebe050260a5659162f18 # timeout=10 22:14:27 > git remote # timeout=10 22:14:28 Merge succeeded, producing aca500f40c6f1da576c9b7839b1c56545537bc7c 22:14:28 Checking out Revision aca500f40c6f1da576c9b7839b1c56545537bc7c (PR-276) 22:14:27 > git config --get remote.origin.url # timeout=10 22:14:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:27 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 22:14:28 > git rev-parse HEAD^{commit} # timeout=10 22:14:28 > git config core.sparsecheckout # timeout=10 22:14:28 > git checkout -f aca500f40c6f1da576c9b7839b1c56545537bc7c # timeout=10 22:14:32 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 22:14:32 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 22:14:32 > git rev-list --no-walk a301c93b40d32de8ef54322092e3640ff4944030 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:33 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:33 Dload Upload Total Spent Left Speed 22:14:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 22:14:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:34 + sudo tee /etc/docker/daemon.new 22:14:34 { 22:14:34 "registry-mirrors": [ 22:14:34 "https://nexus3.edgexfoundry.org:10001" 22:14:34 ], 22:14:34 "bip": "10.250.0.254/24", 22:14:34 "hosts": [ 22:14:34 "tcp://0.0.0.0:5555", 22:14:34 "unix:///var/run/docker.sock" 22:14:34 ], 22:14:34 "mtu": 1458, 22:14:34 "selinux-enabled": true, 22:14:34 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:34 } [Pipeline] sh 22:14:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:53 provisioning config files... 22:14:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config4762540013396275379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:53 ---> docker-login.sh 22:14:53 nexus3.edgexfoundry.org:10001 22:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:54 Configure a credential helper to remove this warning. See 22:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:54 22:14:54 Login Succeeded 22:14:54 nexus3.edgexfoundry.org:10002 22:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:54 Configure a credential helper to remove this warning. See 22:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:54 22:14:54 Login Succeeded 22:14:54 nexus3.edgexfoundry.org:10003 22:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:55 Configure a credential helper to remove this warning. See 22:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:55 22:14:55 Login Succeeded 22:14:55 nexus3.edgexfoundry.org:10004 22:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:55 Configure a credential helper to remove this warning. See 22:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:55 22:14:55 Login Succeeded 22:14:55 docker.io 22:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:56 Configure a credential helper to remove this warning. See 22:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:56 22:14:56 Login Succeeded 22:14:56 ---> docker-login.sh ends [Pipeline] } 22:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:56 ========================================================= 22:14:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:57 + 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 . 22:14:57 Sending build context to Docker daemon 19.69MB 22:14:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:57 Step 2/13 : FROM ${BASE} AS builder 22:14:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:57 af6eaf76a39c: Pulling fs layer 22:14:57 55522c791124: Pulling fs layer 22:14:57 ce5c4a1c91eb: Pulling fs layer 22:14:57 169dfbe0d373: Pulling fs layer 22:14:57 e1ff8fa3b103: Pulling fs layer 22:14:57 52ebb69f0ebf: Pulling fs layer 22:14:57 5abe8eddf0d5: Pulling fs layer 22:14:57 52ebb69f0ebf: Waiting 22:14:57 169dfbe0d373: Waiting 22:14:57 5abe8eddf0d5: Waiting 22:14:57 55522c791124: Verifying Checksum 22:14:57 55522c791124: Download complete 22:14:57 169dfbe0d373: Download complete 22:14:57 e1ff8fa3b103: Verifying Checksum 22:14:57 e1ff8fa3b103: Download complete 22:14:57 af6eaf76a39c: Verifying Checksum 22:14:57 af6eaf76a39c: Download complete 22:14:58 af6eaf76a39c: Pull complete 22:14:59 5abe8eddf0d5: Verifying Checksum 22:14:59 5abe8eddf0d5: Download complete 22:14:59 55522c791124: Pull complete 22:15:00 ce5c4a1c91eb: Verifying Checksum 22:15:00 ce5c4a1c91eb: Download complete 22:15:00 52ebb69f0ebf: Verifying Checksum 22:15:00 52ebb69f0ebf: Download complete 22:15:13 ce5c4a1c91eb: Pull complete 22:15:13 169dfbe0d373: Pull complete 22:15:13 e1ff8fa3b103: Pull complete 22:15:21 52ebb69f0ebf: Pull complete 22:15:23 5abe8eddf0d5: Pull complete 22:15:23 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:15:23 ---> 6cb57ee374ae 22:15:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:25 ---> Running in 5f354c5c6213 22:15:25 Removing intermediate container 5f354c5c6213 22:15:25 ---> cc1bf36fe59c 22:15:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:26 ---> Running in e4bbbb79edea 22:15:26 Removing intermediate container e4bbbb79edea 22:15:26 ---> 1810843cb422 22:15:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:26 ---> Running in 1b87eb436ebe 22:15:26 Removing intermediate container 1b87eb436ebe 22:15:26 ---> 57055bcca06f 22:15:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:27 ---> Running in 61f0e2cf83e9 22:15:27 Removing intermediate container 61f0e2cf83e9 22:15:27 ---> 3adbb2c4cef1 22:15:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:27 ---> Running in 403e70f7870a 22:15:27 Removing intermediate container 403e70f7870a 22:15:27 ---> ffba14ff5d13 22:15:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:27 ---> Running in b2bbca5fd142 22:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:30 OK: 263 MiB in 53 packages 22:15:31 Removing intermediate container b2bbca5fd142 22:15:31 ---> dee32cab7b88 22:15:31 Step 9/13 : WORKDIR /device-onvif-camera 22:15:31 ---> Running in f4b194034879 22:15:32 Removing intermediate container f4b194034879 22:15:32 ---> ce47aedf5a8f 22:15:32 Step 10/13 : COPY go.mod vendor* ./ 22:15:32 ---> 3787da721ee5 22:15:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:33 ---> Running in b0fb9636be83 22:16:54 Removing intermediate container b0fb9636be83 22:16:54 ---> 7ebd1cbe16d9 22:16:54 Step 12/13 : COPY . . 22:16:54 ---> 4bf7643467fe 22:16:54 Step 13/13 : RUN ${MAKE} 22:16:54 ---> Running in d88a2ae783fe 22:16:54 noop 22:16:54 Removing intermediate container d88a2ae783fe 22:16:54 ---> afe374593bee 22:16:54 Successfully built afe374593bee 22:16:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:55 + docker inspect -f . ci-base-image-arm64 22:16:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:55 prd-ubuntu20.04-docker-arm64-4c-16g-5309 does not seem to be running inside a container 22:16:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:56 $ docker top 409a18b559b258775776f66b3b0156b8afbcb596fae4d4c6a5bfaf8a81a0d294 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:57 + go version 22:16:57 go version go1.20.2 linux/arm64 [Pipeline] } 22:16:57 $ docker stop --time=1 409a18b559b258775776f66b3b0156b8afbcb596fae4d4c6a5bfaf8a81a0d294 22:16:59 $ docker rm -f --volumes 409a18b559b258775776f66b3b0156b8afbcb596fae4d4c6a5bfaf8a81a0d294 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:00 + docker inspect -f . ci-base-image-arm64 22:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:00 prd-ubuntu20.04-docker-arm64-4c-16g-5309 does not seem to be running inside a container 22:17:00 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:17:01 $ docker top a1d72ca9ca13e425dc1097eca7476ab2cf9683059b8a52cccd689334dcd970f7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:02 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 22:17:03 + make test 22:17:03 go test ./... -coverprofile=coverage.out ./... 22:17:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.7% of statements 22:21:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.896s coverage: 86.5% of statements 22:21:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:00 go vet ./... 22:21:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:32 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:33 $ docker stop --time=1 a1d72ca9ca13e425dc1097eca7476ab2cf9683059b8a52cccd689334dcd970f7 22:21:34 $ docker rm -f --volumes a1d72ca9ca13e425dc1097eca7476ab2cf9683059b8a52cccd689334dcd970f7 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:36 Warning: overwriting stash ‘coverage-report’ 22:21:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:37 + ls -al . 22:21:37 total 232 22:21:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 22:17 . 22:21:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:14 .. 22:21:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:14 .git 22:21:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:14 .github 22:21:37 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 22:14 .gitignore 22:21:37 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:14 .golangci.yml 22:21:37 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 22:14 Attribution.txt 22:21:37 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 22:14 CHANGELOG.md 22:21:37 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 22:14 Dockerfile 22:21:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:14 GOVERNANCE.md 22:21:37 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 22:14 Jenkinsfile 22:21:37 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 22:14 LICENSE 22:21:37 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 22:14 Makefile 22:21:37 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 22:14 OWNERS.md 22:21:37 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 22:14 README.md 22:21:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:11 VERSION 22:21:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:14 bin 22:21:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:14 cmd 22:21:37 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 22:20 coverage.out 22:21:37 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:14 doc 22:21:37 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 22:14 go.mod 22:21:37 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 22:14 go.sum 22:21:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:14 internal 22:21:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:14 snap 22:21:37 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:38 + 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=aca500f40c6f1da576c9b7839b1c56545537bc7c --label arch=arm64 --label version=0.0.0 . 22:21:38 Sending build context to Docker daemon 19.77MB 22:21:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:21:38 Step 2/26 : FROM ${BASE} AS builder 22:21:38 ---> afe374593bee 22:21:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:38 ---> Running in 0554b03a44fa 22:21:39 Removing intermediate container 0554b03a44fa 22:21:39 ---> f3b2f2f5f27d 22:21:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:39 ---> Running in fe22a157c289 22:21:39 Removing intermediate container fe22a157c289 22:21:39 ---> 189845d6c995 22:21:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:21:39 ---> Running in 6fdec547ad94 22:21:40 Removing intermediate container 6fdec547ad94 22:21:40 ---> 4ab5699d0bc4 22:21:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:40 ---> Running in 05d5533623cb 22:21:40 Removing intermediate container 05d5533623cb 22:21:40 ---> ba122b3dbf33 22:21:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:21:40 ---> Running in ecb2e520bfc5 22:21:40 Removing intermediate container ecb2e520bfc5 22:21:40 ---> 574ae116f583 22:21:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:40 ---> Running in 5735a70811f4 22:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:44 OK: 263 MiB in 53 packages 22:21:44 Removing intermediate container 5735a70811f4 22:21:44 ---> c3d367813849 22:21:44 Step 9/26 : WORKDIR /device-onvif-camera 22:21:45 ---> Running in 51b0a877191e 22:21:45 Removing intermediate container 51b0a877191e 22:21:45 ---> f32225b14be6 22:21:45 Step 10/26 : COPY go.mod vendor* ./ 22:21:46 ---> 6d0031ce95c6 22:21:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:46 ---> Running in 9bd1c657bfbc 22:21:49 Removing intermediate container 9bd1c657bfbc 22:21:49 ---> aeb816332cdc 22:21:49 Step 12/26 : COPY . . 22:21:50 ---> 4ae8f2a560ec 22:21:50 Step 13/26 : RUN ${MAKE} 22:21:50 ---> Running in 20850145207d 22:21:51 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 22:24:28 Removing intermediate container 20850145207d 22:24:28 ---> 494ade8bc1cd 22:24:28 Step 14/26 : FROM alpine:3.17 22:24:28 3.17: Pulling from library/alpine 22:24:28 af6eaf76a39c: Already exists 22:24:28 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:24:28 Status: Downloaded newer image for alpine:3.17 22:24:28 ---> d74e625d9115 22:24:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:24:28 ---> Running in 05d6809654f9 22:24:29 Removing intermediate container 05d6809654f9 22:24:29 ---> f7252530974c 22:24:29 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:29 ---> Running in c41aa00d2bbb 22:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:32 (1/1) Installing dumb-init (1.2.5-r2) 22:24:32 Executing busybox-1.35.0-r29.trigger 22:24:32 OK: 8 MiB in 16 packages 22:24:33 Removing intermediate container c41aa00d2bbb 22:24:33 ---> 1d785e024a64 22:24:33 Step 17/26 : WORKDIR / 22:24:33 ---> Running in 919acdb9c9cf 22:24:33 Removing intermediate container 919acdb9c9cf 22:24:33 ---> 8e78aed71450 22:24:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:24:34 ---> 62c8dd7d3038 22:24:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:24:35 ---> f3ee57fc217d 22:24:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:24:35 ---> b376eb5a20c5 22:24:35 Step 21/26 : EXPOSE 59984 22:24:35 ---> Running in e186faf4fe27 22:24:36 Removing intermediate container e186faf4fe27 22:24:36 ---> 269d9d3136e6 22:24:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:24:36 ---> Running in c1d6956ae194 22:24:36 Removing intermediate container c1d6956ae194 22:24:36 ---> f961ebb01dac 22:24:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:37 ---> Running in 47fc5353abd8 22:24:37 Removing intermediate container 47fc5353abd8 22:24:37 ---> b842122776fa 22:24:37 Step 24/26 : LABEL arch=arm64 22:24:37 ---> Running in 33f7da0831b2 22:24:37 Removing intermediate container 33f7da0831b2 22:24:37 ---> 91430d0837fa 22:24:37 Step 25/26 : LABEL git_sha=aca500f40c6f1da576c9b7839b1c56545537bc7c 22:24:37 ---> Running in 41e770a81cfb 22:24:38 Removing intermediate container 41e770a81cfb 22:24:38 ---> b62b5b60618a 22:24:38 Step 26/26 : LABEL version=0.0.0 22:24:38 ---> Running in 6d8ffa3e5475 22:24:38 Removing intermediate container 6d8ffa3e5475 22:24:38 ---> 05acb9a3843b 22:24:38 [Warning] One or more build-args [ARCH] were not consumed 22:24:38 Successfully built 05acb9a3843b 22:24:38 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:39 22:24:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:39 arm64: Pulling from edgex-lftools-log-publisher 22:24:39 8998bd30e6a1: Pulling fs layer 22:24:39 04944245beec: Pulling fs layer 22:24:39 699f458cf7ca: Pulling fs layer 22:24:39 765212b225bb: Pulling fs layer 22:24:39 f23df028b6ca: Pulling fs layer 22:24:39 d65c8cfc05b1: Pulling fs layer 22:24:39 2437ff75d9bd: Pulling fs layer 22:24:39 f23df028b6ca: Waiting 22:24:39 d65c8cfc05b1: Waiting 22:24:39 2437ff75d9bd: Waiting 22:24:39 765212b225bb: Waiting 22:24:39 04944245beec: Verifying Checksum 22:24:39 04944245beec: Download complete 22:24:39 765212b225bb: Verifying Checksum 22:24:39 765212b225bb: Download complete 22:24:39 f23df028b6ca: Verifying Checksum 22:24:39 f23df028b6ca: Download complete 22:24:39 d65c8cfc05b1: Verifying Checksum 22:24:39 d65c8cfc05b1: Download complete 22:24:40 699f458cf7ca: Verifying Checksum 22:24:40 699f458cf7ca: Download complete 22:24:40 8998bd30e6a1: Verifying Checksum 22:24:40 8998bd30e6a1: Download complete 22:24:42 2437ff75d9bd: Verifying Checksum 22:24:42 2437ff75d9bd: Download complete 22:24:44 8998bd30e6a1: Pull complete 22:24:45 04944245beec: Pull complete 22:24:46 699f458cf7ca: Pull complete 22:24:46 765212b225bb: Pull complete 22:24:47 f23df028b6ca: Pull complete 22:24:47 d65c8cfc05b1: Pull complete 22:25:02 2437ff75d9bd: Pull complete 22:25:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:03 prd-ubuntu20.04-docker-arm64-4c-16g-5309 does not seem to be running inside a container 22:25:03 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:25:06 $ docker top b6cb7d4b6329eda4f0aa2629933d3348b71bbecbab804e72ea82ea60c4fb5c17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:07 ---> job-cost.sh 22:25:07 lf-activate-venv: SKIPPING 22:25:07 INFO: No Stack... 22:25:07 INFO: Retrieving Pricing Info for: v3-standard-4 22:25:08 INFO: Archiving Costs [Pipeline] sh 22:25:09 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv 22:25:09 + cut -d, -f6 [Pipeline] lock 22:25:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] 22:25:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] did not exist. Created. 22:25:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:09 /w/workspace/device-onvif-camera/6@tmp/durable-c501276b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:10 + echo total: 0.10999999940395355 [Pipeline] stash 22:25:10 Warning: overwriting stash ‘stack-cost’ 22:25:10 Stashed 1 file(s) [Pipeline] } 22:25:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:10 $ docker stop --time=1 b6cb7d4b6329eda4f0aa2629933d3348b71bbecbab804e72ea82ea60c4fb5c17 22:25:12 $ docker rm -f --volumes b6cb7d4b6329eda4f0aa2629933d3348b71bbecbab804e72ea82ea60c4fb5c17 [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 22:25:12 provisioning config files... 22:25:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config3415632879577689554tmp [Pipeline] { [Pipeline] sh 22:25:13 + set +x 22:25:13 + curl -s https://codecov.io/bash 22:25:13 + bash -s -- 22:25:13 22:25:13 _____ _ 22:25:13 / ____| | | 22:25:13 | | ___ __| | ___ ___ _____ __ 22:25:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:13 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:13 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:13 Bash-1.0.6 22:25:13 22:25:13 22:25:13 ==> git version 2.25.1 found 22:25:13 ==> 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 22:25:13 Release-Date: 2020-01-08 22:25:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:25:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:25:13 ==> Jenkins CI detected. 22:25:13 current dir:  /w/workspace/undry_device-onvif-camera_PR-276 22:25:13 project root: . 22:25:13 --> token set from env 22:25:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:13 ==> Running gcov in . (disable via -X gcov) 22:25:13 ==> Python coveragepy not found 22:25:13 ==> Searching for coverage reports in: 22:25:13 + . 22:25:13 -> Found 1 reports 22:25:13 ==> Detecting git/mercurial file structure 22:25:13 ==> Reading reports 22:25:13 + ./coverage.out bytes=78487 22:25:13 ==> Appending adjustments 22:25:13 https://docs.codecov.io/docs/fixing-reports 22:25:13 + Found adjustments 22:25:13 ==> Gzipping contents 22:25:13 12K /tmp/codecov.yN7Ise.gz 22:25:13 ==> Uploading reports 22:25:13 url: https://codecov.io 22:25:13 query: branch=PR-276&commit=31c8773095eb107eb7b6c8916018f149d7140a59&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-276%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 22:25:13 -> Pinging Codecov 22:25:13 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=31c8773095eb107eb7b6c8916018f149d7140a59&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-276%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 22:25:13 -> Uploading to 22:25:13 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/F29A59C45E3A92E06B3E522C9905F8EF/31c8773095eb107eb7b6c8916018f149d7140a59/3513beb5-0917-46a4-858c-dc662adc3042.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T222513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69d4269b9637e57d59307c442713cb074be2634b97d18eba509a75615f253956 22:25:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:13 Dload Upload Total Spent Left Speed 22:25:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10527 0 0 100 10527 0 52113 --:--:-- --:--:-- --:--:-- 51857 100 10527 0 0 100 10527 0 36679 --:--:-- --:--:-- --:--:-- 36552 22:25:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/31c8773095eb107eb7b6c8916018f149d7140a59 [Pipeline] } 22:25:13 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 22:25:14 + [ -d /w/workspace/undry_device-onvif-camera_PR-276/archives ] 22:25:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives 22:25:14 total 16 22:25:14 drwxr-xr-x 3 root root 4096 Mar 22 22:13 . 22:25:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 22:13 .. 22:25:14 drwxr-xr-x 2 root root 4096 Mar 22 22:13 cost 22:25:14 -rw-r--r-- 1 root root 91 Mar 22 22:13 cost.csv 22:25:14 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-276/archives 22:25:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives 22:25:14 total 16 22:25:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:13 . 22:25:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 22:13 .. 22:25:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:13 cost 22:25:14 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:15 ---> package-listing.sh 22:25:15 ++ facter osfamily 22:25:15 ++ tr '[:upper:]' '[:lower:]' 22:25:15 + OS_FAMILY=debian 22:25:15 + workspace=/w/workspace/undry_device-onvif-camera_PR-276 22:25:15 + START_PACKAGES=/tmp/packages_start.txt 22:25:15 + END_PACKAGES=/tmp/packages_end.txt 22:25:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:15 + PACKAGES=/tmp/packages_start.txt 22:25:15 + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' 22:25:15 + PACKAGES=/tmp/packages_end.txt 22:25:15 + case "${OS_FAMILY}" in 22:25:15 + dpkg -l 22:25:15 + grep '^ii' 22:25:15 + '[' -f /tmp/packages_start.txt ']' 22:25:15 + '[' -f /tmp/packages_end.txt ']' 22:25:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:15 + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' 22:25:15 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-276/archives/ 22:25:15 + 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 22:25:15 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 22:25:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:16 prd-ubuntu20.04-docker-8c-8g-5304 does not seem to be running inside a container 22:25:16 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:17 $ docker top 454f0617994da0cd57471dcec854bb20f67cb865607fe17be4842069ad5aff02 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:17 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:17 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:17 + ls /var/log/sa-host 22:25:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:18 provisioning config files... 22:25:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config13644624534177453107tmp [Pipeline] { [Pipeline] echo 22:25:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:18 ---> create-netrc.sh [Pipeline] } 22:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:18 ---> python-tools-install.sh [Pipeline] echo 22:25:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:18 ---> sudo-logs.sh 22:25:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:19 ---> job-cost.sh 22:25:19 lf-activate-venv: SKIPPING 22:25:19 DEBUG: total: 0.2199999988079071 22:25:19 INFO: Retrieving Stack Cost... 22:25:19 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:20 INFO: Archiving Costs [Pipeline] echo 22:25:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:20 ---> logs-deploy.sh 22:25:20 lf-activate-venv: SKIPPING 22:25:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-276/6 22:25:20 INFO: archiving workspace using pattern(s): 22:25:21 Archives upload complete. 22:25:21 INFO: archiving logs to Nexus