Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f4d982d16408bad46e03cde750422a7ad4473cd+0c872bbe8febdc0c9add13ac0a600aadf7c89b53 (385e66a02c508fb3a49dc5cca86dcda7f7e08456) 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-ssh3024221874345199624.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14052069517258623681.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-371/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-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14534123786678894241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh4283207314108792635.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-371/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-371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12591613431630282863.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/v3]] ========================================================= [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/v3 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-17576 in /w/workspace/undry_device-onvif-camera_PR-371 [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-371 # 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 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 into PR head commit 5f4d982d16408bad46e03cde750422a7ad4473cd Merge succeeded, producing 2ab45bca8da2b1d48d30295b6043f07e86d90c50 Checking out Revision 2ab45bca8da2b1d48d30295b6043f07e86d90c50 (PR-371) > 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/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f4d982d16408bad46e03cde750422a7ad4473cd # 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 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab45bca8da2b1d48d30295b6043f07e86d90c50 # timeout=10 Commit message: "Merge commit '0c872bbe8febdc0c9add13ac0a600aadf7c89b53' into HEAD" > git rev-list --no-walk 5f4d982d16408bad46e03cde750422a7ad4473cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:59 ========================================================= 22:10:59 EdgeX Global Pipelines Version Info 22:10:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:00 ------------------- 22:11:00 stable info: 22:11:00 ------------------- 22:11:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:11:00 Message: update stable to v1.0.249 22:11:01 ------------------- 22:11:01 experimental info: 22:11:01 ------------------- 22:11:01 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:11:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-371 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-371 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-371 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ab45bca8da2b1d48d30295b6043f07e86d90c50 [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ab45bc [Pipeline] echo 22:11:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:01 provisioning config files... 22:11:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config15457691057801355705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:02 ---> docker-login.sh 22:11:02 nexus3.edgexfoundry.org:10001 22:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:02 Configure a credential helper to remove this warning. See 22:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:02 22:11:02 Login Succeeded 22:11:02 nexus3.edgexfoundry.org:10002 22:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:02 Configure a credential helper to remove this warning. See 22:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:02 22:11:02 Login Succeeded 22:11:02 nexus3.edgexfoundry.org:10003 22:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:02 Configure a credential helper to remove this warning. See 22:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:02 22:11:02 Login Succeeded 22:11:02 nexus3.edgexfoundry.org:10004 22:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:02 Configure a credential helper to remove this warning. See 22:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:02 22:11:02 Login Succeeded 22:11:02 docker.io 22:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:03 Configure a credential helper to remove this warning. See 22:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:03 22:11:03 Login Succeeded 22:11:03 ---> docker-login.sh ends [Pipeline] } 22:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:03 + git rev-list -1 --merges 2ab45bca8da2b1d48d30295b6043f07e86d90c50~1..2ab45bca8da2b1d48d30295b6043f07e86d90c50 [Pipeline] echo 22:11:03 -----------> git rev-list -1 --merges 2ab45bca8da2b1d48d30295b6043f07e86d90c50~1..2ab45bca8da2b1d48d30295b6043f07e86d90c50 2ab45bca8da2b1d48d30295b6043f07e86d90c50 22:11:03 2ab45bca8da2b1d48d30295b6043f07e86d90c50 [false] [Pipeline] sh 22:11:03 + git log --format=format:%s -1 2ab45bca8da2b1d48d30295b6043f07e86d90c50 [Pipeline] echo 22:11:03 ========================================================= 22:11:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:04 + git log --format=format:%s -1 2ab45bca8da2b1d48d30295b6043f07e86d90c50 [Pipeline] echo 22:11:04 [semverPrep] GIT_COMMIT: 2ab45bca8da2b1d48d30295b6043f07e86d90c50, Commit Message: Merge commit '0c872bbe8febdc0c9add13ac0a600aadf7c89b53' into HEAD [Pipeline] echo 22:11:04 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:04 + grep -v github /etc/ssh/ssh_known_hosts 22:11:04 + [ -e /tmp/ssh_known_hosts ] 22:11:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:04 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:05 22:11:05 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:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:05 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:05 b85a868b505f: Pulling fs layer 22:11:05 e2be974225ed: Pulling fs layer 22:11:05 339a4e72a1f5: Pulling fs layer 22:11:05 988bab9f4d93: Pulling fs layer 22:11:05 1469e6f7b9e6: Pulling fs layer 22:11:05 eaf3925da568: Pulling fs layer 22:11:05 bab4dde63d76: Pulling fs layer 22:11:05 bde34c3a00c8: Pulling fs layer 22:11:05 b352a97aabf1: Pulling fs layer 22:11:05 4872d77fe225: Pulling fs layer 22:11:05 5851b861e8e6: Pulling fs layer 22:11:05 bab4dde63d76: Waiting 22:11:05 bde34c3a00c8: Waiting 22:11:05 5851b861e8e6: Waiting 22:11:05 b352a97aabf1: Waiting 22:11:05 4872d77fe225: Waiting 22:11:05 988bab9f4d93: Waiting 22:11:05 1469e6f7b9e6: Waiting 22:11:05 eaf3925da568: Waiting 22:11:05 e2be974225ed: Download complete 22:11:05 988bab9f4d93: Download complete 22:11:05 1469e6f7b9e6: Verifying Checksum 22:11:05 1469e6f7b9e6: Download complete 22:11:05 eaf3925da568: Download complete 22:11:05 b85a868b505f: Verifying Checksum 22:11:05 b85a868b505f: Download complete 22:11:05 339a4e72a1f5: Verifying Checksum 22:11:05 339a4e72a1f5: Download complete 22:11:05 bde34c3a00c8: Verifying Checksum 22:11:05 bde34c3a00c8: Download complete 22:11:05 4872d77fe225: Verifying Checksum 22:11:05 4872d77fe225: Download complete 22:11:05 5851b861e8e6: Verifying Checksum 22:11:05 5851b861e8e6: Download complete 22:11:05 b352a97aabf1: Verifying Checksum 22:11:05 b352a97aabf1: Download complete 22:11:05 bab4dde63d76: Verifying Checksum 22:11:05 bab4dde63d76: Download complete 22:11:06 b85a868b505f: Pull complete 22:11:06 e2be974225ed: Pull complete 22:11:07 339a4e72a1f5: Pull complete 22:11:07 988bab9f4d93: Pull complete 22:11:07 1469e6f7b9e6: Pull complete 22:11:07 eaf3925da568: Pull complete 22:11:09 bab4dde63d76: Pull complete 22:11:09 bde34c3a00c8: Pull complete 22:11:09 b352a97aabf1: Pull complete 22:11:09 4872d77fe225: Pull complete 22:11:09 5851b861e8e6: Pull complete 22:11:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:09 prd-ubuntu20.04-docker-8c-8g-17576 does not seem to be running inside a container 22:11:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@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:10 $ docker top d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 -eo pid,comm 22:11:10 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:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:10 [ssh-agent] Looking for ssh-agent implementation... 22:11:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:10 $ docker exec d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 ssh-agent 22:11:11 SSH_AUTH_SOCK=/tmp/ssh-J6wWxxWFaD9b/agent.33 22:11:11 SSH_AGENT_PID=39 22:11:11 Running ssh-add (command line suppressed) 22:11:11 Identity added: /w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_17937858250724170974.key (/w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_17937858250724170974.key) 22:11:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:11 + git tag --points-at HEAD [Pipeline] } 22:11:11 $ docker exec --env ******** --env ******** d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 ssh-agent -k 22:11:11 unset SSH_AUTH_SOCK; 22:11:11 unset SSH_AGENT_PID; 22:11:11 echo Agent pid 39 killed; 22:11:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:11 [ssh-agent] Looking for ssh-agent implementation... 22:11:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:11 $ docker exec d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 ssh-agent 22:11:11 SSH_AUTH_SOCK=/tmp/ssh-obCAIdv5lGKI/agent.71 22:11:11 SSH_AGENT_PID=78 22:11:11 Running ssh-add (command line suppressed) 22:11:12 Identity added: /w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_14167564353590696947.key (/w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_14167564353590696947.key) 22:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:12 + git semver init 22:11:12 2023-05-31 22:11:12,474 [run_init] DEBUG init version:0.0.0 force:False 22:11:12 2023-05-31 22:11:12,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-371/.semver 22:11:12 2023-05-31 22:11:12,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-371/.semver 22:11:12 2023-05-31 22:11:12,475 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-371/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-371, universal_newlines=False, shell=None, istream=None) 22:11:13 2023-05-31 22:11:13,413 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-371/.git/info/exclude 22:11:13 2023-05-31 22:11:13,414 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 with force:False 22:11:13 2023-05-31 22:11:13,414 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 22:11:13 2023-05-31 22:11:13,419 [execute] INFO git cat-file --batch-check 22:11:13 2023-05-31 22:11:13,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-371/.semver, universal_newlines=False, shell=None, istream=) 22:11:13 2023-05-31 22:11:13,426 [execute] INFO git cat-file --batch 22:11:13 2023-05-31 22:11:13,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-371/.semver, universal_newlines=False, shell=None, istream=) 22:11:13 2023-05-31 22:11:13,431 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 22:11:13 0.0.0 [Pipeline] } 22:11:13 $ docker exec --env ******** --env ******** d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 ssh-agent -k 22:11:13 unset SSH_AUTH_SOCK; 22:11:13 unset SSH_AGENT_PID; 22:11:13 echo Agent pid 78 killed; 22:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:13 + git semver [Pipeline] } 22:11:14 $ docker stop --time=1 d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 22:11:15 $ docker rm -f --volumes d199ce328f9b7c18e1254e483ba09ac1a9cd7152b615437f6b613e797b0ddf17 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:15 Stashed 1 file(s) [Pipeline] echo 22:11:15 [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:16 provisioning config files... 22:11:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config7823545680905460504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:16 ---> docker-login.sh 22:11:16 nexus3.edgexfoundry.org:10001 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 nexus3.edgexfoundry.org:10002 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 nexus3.edgexfoundry.org:10003 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 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:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:17 Configure a credential helper to remove this warning. See 22:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:17 22:11:17 Login Succeeded 22:11:17 ---> docker-login.sh ends [Pipeline] } 22:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:17 ========================================================= 22:11:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:17 + 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:17 Sending build context to Docker daemon 21.96MB 22:11:17 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:17 Step 2/13 : FROM ${BASE} AS builder 22:11:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:17 f56be85fc22e: Pulling fs layer 22:11:17 85791d961cd3: Pulling fs layer 22:11:17 d694b5ae8c79: Pulling fs layer 22:11:17 9f32a84ed3da: Pulling fs layer 22:11:17 4d19c01a9841: Pulling fs layer 22:11:17 9325e15d5711: Pulling fs layer 22:11:17 556b6ee489ea: Pulling fs layer 22:11:17 c5a4b2cf53e6: Pulling fs layer 22:11:17 9f32a84ed3da: Waiting 22:11:17 4d19c01a9841: Waiting 22:11:17 556b6ee489ea: Waiting 22:11:17 85791d961cd3: Verifying Checksum 22:11:17 85791d961cd3: Download complete 22:11:17 9f32a84ed3da: Download complete 22:11:17 4d19c01a9841: Download complete 22:11:17 9325e15d5711: Verifying Checksum 22:11:17 9325e15d5711: Download complete 22:11:17 f56be85fc22e: Verifying Checksum 22:11:17 f56be85fc22e: Download complete 22:11:18 f56be85fc22e: Pull complete 22:11:18 85791d961cd3: Pull complete 22:11:19 c5a4b2cf53e6: Verifying Checksum 22:11:19 c5a4b2cf53e6: Download complete 22:11:19 d694b5ae8c79: Verifying Checksum 22:11:19 d694b5ae8c79: Download complete 22:11:19 556b6ee489ea: Verifying Checksum 22:11:19 556b6ee489ea: Download complete 22:11:23 d694b5ae8c79: Pull complete 22:11:23 9f32a84ed3da: Pull complete 22:11:23 4d19c01a9841: Pull complete 22:11:23 9325e15d5711: Pull complete 22:11:24 556b6ee489ea: Pull complete 22:11:25 c5a4b2cf53e6: Pull complete 22:11:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:25 ---> c4be618373d6 22:11:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:27 ---> Running in 3e021b384f33 22:11:27 Removing intermediate container 3e021b384f33 22:11:27 ---> 97be9f29ab06 22:11:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:27 ---> Running in 448d304377bc 22:11:27 Removing intermediate container 448d304377bc 22:11:27 ---> 2364c24e8480 22:11:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:27 ---> Running in e174685ea4fa 22:11:27 Removing intermediate container e174685ea4fa 22:11:27 ---> e7cb8ba4bb67 22:11:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:27 ---> Running in 0d74711755f3 22:11:27 Removing intermediate container 0d74711755f3 22:11:27 ---> 83c25ddcb59e 22:11:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:27 ---> Running in 5be10ec8989d 22:11:27 Removing intermediate container 5be10ec8989d 22:11:27 ---> 8c7d2603b6bc 22:11:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:27 ---> Running in 8a9b9cb954b7 22:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:28 OK: 265 MiB in 53 packages 22:11:28 Removing intermediate container 8a9b9cb954b7 22:11:28 ---> 2337e1364571 22:11:28 Step 9/13 : WORKDIR /device-onvif-camera 22:11:28 ---> Running in d9e849317bc9 22:11:28 Removing intermediate container d9e849317bc9 22:11:28 ---> 6ae09d64abac 22:11:28 Step 10/13 : COPY go.mod vendor* ./ 22:11:28 ---> e61dc84cbb6b 22:11:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:28 ---> Running in c4cff684c5ff 22:11:31 Still waiting to schedule task 22:11:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:00 Removing intermediate container c4cff684c5ff 22:12:00 ---> 4658b8f5f8ae 22:12:00 Step 12/13 : COPY . . 22:12:00 ---> 153a47b9ae36 22:12:00 Step 13/13 : RUN ${MAKE} 22:12:00 ---> Running in b8dd29b3181d 22:12:00 noop 22:12:00 Removing intermediate container b8dd29b3181d 22:12:00 ---> d76336c04482 22:12:00 Successfully built d76336c04482 22:12:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + docker inspect -f . ci-base-image-x86_64 22:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:01 prd-ubuntu20.04-docker-8c-8g-17576 does not seem to be running inside a container 22:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@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:01 $ docker top 75751740b9041417da5b7517a169b284ae1de46e436a743411f8c5e4debb7a3f -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:02 + go version 22:12:02 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:02 $ docker stop --time=1 75751740b9041417da5b7517a169b284ae1de46e436a743411f8c5e4debb7a3f 22:12:03 $ docker rm -f --volumes 75751740b9041417da5b7517a169b284ae1de46e436a743411f8c5e4debb7a3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:03 + docker inspect -f . ci-base-image-x86_64 22:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:03 prd-ubuntu20.04-docker-8c-8g-17576 does not seem to be running inside a container 22:12:03 $ 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-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@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:04 $ docker top 2bd7554c3f329e4b1501cf1755507247bf02a55d3dd795b421b60b207810e4f8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-371 [Pipeline] fileExists [Pipeline] sh 22:12:04 + make test 22:12:04 go test ./... -coverprofile=coverage.out ./... 22:12:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements 22:12:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.125s coverage: 86.5% of statements 22:12:28 go vet ./... 22:12:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:30 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:30 $ docker stop --time=1 2bd7554c3f329e4b1501cf1755507247bf02a55d3dd795b421b60b207810e4f8 22:12:32 $ docker rm -f --volumes 2bd7554c3f329e4b1501cf1755507247bf02a55d3dd795b421b60b207810e4f8 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:34 + ls -al . 22:12:34 total 240 22:12:34 drwxrwxr-x 10 jenkins jenkins 4096 May 31 22:12 . 22:12:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:10 .. 22:12:34 drwxrwxr-x 8 jenkins jenkins 4096 May 31 22:11 .git 22:12:34 drwxrwxr-x 3 jenkins jenkins 4096 May 31 22:10 .github 22:12:34 -rw-rw-r-- 1 jenkins jenkins 496 May 31 22:10 .gitignore 22:12:34 -rw-rw-r-- 1 jenkins jenkins 42 May 31 22:10 .golangci.yml 22:12:34 drwxr-xr-x 3 jenkins jenkins 4096 May 31 22:11 .semver 22:12:34 -rw-rw-r-- 1 jenkins jenkins 10087 May 31 22:10 Attribution.txt 22:12:34 -rw-rw-r-- 1 jenkins jenkins 15932 May 31 22:10 CHANGELOG.md 22:12:34 -rw-rw-r-- 1 jenkins jenkins 1574 May 31 22:10 Dockerfile 22:12:34 -rw-rw-r-- 1 jenkins jenkins 677 May 31 22:10 GOVERNANCE.md 22:12:34 -rw-rw-r-- 1 jenkins jenkins 739 May 31 22:10 Jenkinsfile 22:12:34 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 22:10 LICENSE 22:12:34 -rw-rw-r-- 1 jenkins jenkins 2751 May 31 22:10 Makefile 22:12:34 -rw-rw-r-- 1 jenkins jenkins 625 May 31 22:10 OWNERS.md 22:12:34 -rw-rw-r-- 1 jenkins jenkins 2690 May 31 22:10 README.md 22:12:34 -rw-rw-r-- 1 jenkins jenkins 5 May 31 22:11 VERSION 22:12:34 drwxrwxr-x 2 jenkins jenkins 4096 May 31 22:10 bin 22:12:34 drwxrwxr-x 3 jenkins jenkins 4096 May 31 22:10 cmd 22:12:34 -rw-r--r-- 1 jenkins jenkins 78459 May 31 22:12 coverage.out 22:12:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:10 doc 22:12:34 -rw-rw-r-- 1 jenkins jenkins 3594 May 31 22:10 go.mod 22:12:34 -rw-rw-r-- 1 jenkins jenkins 33485 May 31 22:10 go.sum 22:12:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:10 internal 22:12:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:10 snap 22:12:34 -rw-rw-r-- 1 jenkins jenkins 236 May 31 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:34 + 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=2ab45bca8da2b1d48d30295b6043f07e86d90c50 --label arch=amd64 --label version=0.0.0 . 22:12:34 Sending build context to Docker daemon 22.04MB 22:12:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:34 Step 2/26 : FROM ${BASE} AS builder 22:12:34 ---> d76336c04482 22:12:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:34 ---> Running in 9f0d0b52e332 22:12:34 Removing intermediate container 9f0d0b52e332 22:12:34 ---> da3ab736fc56 22:12:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:34 ---> Running in 5a4b23c5ebc1 22:12:34 Removing intermediate container 5a4b23c5ebc1 22:12:34 ---> 81c313e67e32 22:12:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:34 ---> Running in 12be5e06501e 22:12:34 Removing intermediate container 12be5e06501e 22:12:34 ---> 6d861434a465 22:12:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:34 ---> Running in f41539f0de81 22:12:34 Removing intermediate container f41539f0de81 22:12:34 ---> 70f6c7f0bdb2 22:12:34 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:34 ---> Running in 54d3e5205d87 22:12:34 Removing intermediate container 54d3e5205d87 22:12:34 ---> 18b5153e1f2a 22:12:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:34 ---> Running in a0a7a6aeb52f 22:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:35 OK: 265 MiB in 53 packages 22:12:35 Removing intermediate container a0a7a6aeb52f 22:12:35 ---> c5f8a77c93df 22:12:35 Step 9/26 : WORKDIR /device-onvif-camera 22:12:35 ---> Running in 1943764ed567 22:12:35 Removing intermediate container 1943764ed567 22:12:35 ---> 40979293d0d6 22:12:35 Step 10/26 : COPY go.mod vendor* ./ 22:12:35 ---> d3f9ddb2d90e 22:12:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:35 ---> Running in 0ab8ee4eeff7 22:12:36 Removing intermediate container 0ab8ee4eeff7 22:12:36 ---> 1ca732f92e57 22:12:36 Step 12/26 : COPY . . 22:12:37 ---> 98544e3052c5 22:12:37 Step 13/26 : RUN ${MAKE} 22:12:37 ---> Running in 6db15ac4559f 22:12:37 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:12:55 Removing intermediate container 6db15ac4559f 22:12:55 ---> 066c9ae4681a 22:12:55 Step 14/26 : FROM alpine:3.17 22:12:55 3.17: Pulling from library/alpine 22:12:55 f56be85fc22e: Already exists 22:12:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:12:55 Status: Downloaded newer image for alpine:3.17 22:12:55 ---> 9ed4aefc74f6 22:12:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:55 ---> Running in 047c428f29a2 22:12:55 Removing intermediate container 047c428f29a2 22:12:55 ---> 9667a87d8236 22:12:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:55 ---> Running in fab54642a33b 22:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:55 (1/1) Installing dumb-init (1.2.5-r2) 22:12:55 Executing busybox-1.35.0-r29.trigger 22:12:55 OK: 7 MiB in 16 packages 22:12:55 Removing intermediate container fab54642a33b 22:12:55 ---> d77952fd7971 22:12:55 Step 17/26 : WORKDIR / 22:12:55 ---> Running in 7d3401e5c17c 22:12:55 Removing intermediate container 7d3401e5c17c 22:12:55 ---> be09ec263663 22:12:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:55 ---> 5eccb69a8fe5 22:12:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:55 ---> 54b5824c2168 22:12:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:55 ---> 03e5ffed314e 22:12:55 Step 21/26 : EXPOSE 59984 22:12:55 ---> Running in 2d5dfec6d980 22:12:55 Removing intermediate container 2d5dfec6d980 22:12:55 ---> 2fa786051884 22:12:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:55 ---> Running in a2598a5b634a 22:12:55 Removing intermediate container a2598a5b634a 22:12:55 ---> 91e3a971ffcd 22:12:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:55 ---> Running in 82fcc81ef9be 22:12:56 Removing intermediate container 82fcc81ef9be 22:12:56 ---> c520fb4679dc 22:12:56 Step 24/26 : LABEL arch=amd64 22:12:56 ---> Running in c2a3f14240a3 22:12:56 Removing intermediate container c2a3f14240a3 22:12:56 ---> 3d7c3509e78c 22:12:56 Step 25/26 : LABEL git_sha=2ab45bca8da2b1d48d30295b6043f07e86d90c50 22:12:56 ---> Running in 023eca8223d3 22:12:56 Removing intermediate container 023eca8223d3 22:12:56 ---> c7d021bf6994 22:12:56 Step 26/26 : LABEL version=0.0.0 22:12:56 ---> Running in 51d18fe4c15c 22:12:56 Removing intermediate container 51d18fe4c15c 22:12:56 ---> 654b65f195fc 22:12:56 [Warning] One or more build-args [ARCH] were not consumed 22:12:56 Successfully built 654b65f195fc 22:12:56 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:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:56 22:12:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:57 latest: Pulling from edgex-lftools-log-publisher 22:12:57 5eb5b503b376: Pulling fs layer 22:12:57 5c69ac0246d0: Pulling fs layer 22:12:57 ec43610c2a17: Pulling fs layer 22:12:57 3a2ae6a8a46f: Pulling fs layer 22:12:57 33b1e0a273af: Pulling fs layer 22:12:57 5d3b04190fa2: Pulling fs layer 22:12:57 2f39f015ded8: Pulling fs layer 22:12:57 33b1e0a273af: Waiting 22:12:57 5d3b04190fa2: Waiting 22:12:57 2f39f015ded8: Waiting 22:12:57 3a2ae6a8a46f: Waiting 22:12:57 5c69ac0246d0: Verifying Checksum 22:12:57 5c69ac0246d0: Download complete 22:12:57 3a2ae6a8a46f: Verifying Checksum 22:12:57 3a2ae6a8a46f: Download complete 22:12:57 33b1e0a273af: Verifying Checksum 22:12:57 33b1e0a273af: Download complete 22:12:57 5d3b04190fa2: Verifying Checksum 22:12:57 5d3b04190fa2: Download complete 22:12:57 ec43610c2a17: Verifying Checksum 22:12:57 ec43610c2a17: Download complete 22:12:57 5eb5b503b376: Verifying Checksum 22:12:57 5eb5b503b376: Download complete 22:12:58 5eb5b503b376: Pull complete 22:12:58 5c69ac0246d0: Pull complete 22:12:58 ec43610c2a17: Pull complete 22:12:58 3a2ae6a8a46f: Pull complete 22:12:58 33b1e0a273af: Pull complete 22:12:58 5d3b04190fa2: Pull complete 22:13:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17577 in /w/workspace/undry_device-onvif-camera_PR-371 [Pipeline] { [Pipeline] ws 22:13:03 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:13:03 The recommended git tool is: git 22:13:03 2f39f015ded8: Pull complete 22:13:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:03 prd-ubuntu20.04-docker-8c-8g-17576 does not seem to be running inside a container 22:13: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/undry_device-onvif-camera_PR-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@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:04 $ docker top 2b715e0388915d47c255dc577666442dc85c10fb4b5c908d7372740cd6eb8117 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:04 ---> job-cost.sh 22:13:04 lf-activate-venv: SKIPPING 22:13:04 INFO: No Stack... 22:13:04 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:05 INFO: Archiving Costs [Pipeline] sh 22:13:05 + cat /w/workspace/undry_device-onvif-camera_PR-371/archives/cost.csv 22:13:05 + cut -d, -f6 [Pipeline] lock 22:13:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] 22:13:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] did not exist. Created. 22:13:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:06 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:06 Stashed 1 file(s) [Pipeline] } 22:13:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:06 $ docker stop --time=1 2b715e0388915d47c255dc577666442dc85c10fb4b5c908d7372740cd6eb8117 22:13:07 $ docker rm -f --volumes 2b715e0388915d47c255dc577666442dc85c10fb4b5c908d7372740cd6eb8117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:08 using credential edgex-jenkins-ssh 22:13:08 Cloning the remote Git repository 22:13:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:13:08 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:13:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:08 > git --version # timeout=10 22:13:08 > git --version # 'git version 2.25.1' 22:13:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:11 Merging remotes/origin/main commit 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 into PR head commit 5f4d982d16408bad46e03cde750422a7ad4473cd 22:13:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:11 > git config core.sparsecheckout # timeout=10 22:13:12 Merge succeeded, producing 7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb 22:13:12 Checking out Revision 7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb (PR-371) 22:13:11 > git checkout -f 5f4d982d16408bad46e03cde750422a7ad4473cd # timeout=10 22:13:11 > git remote # timeout=10 22:13:11 > git config --get remote.origin.url # timeout=10 22:13:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:12 > git merge 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 # timeout=10 22:13:12 > git rev-parse HEAD^{commit} # timeout=10 22:13:12 > git config core.sparsecheckout # timeout=10 22:13:12 > git checkout -f 7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb # timeout=10 22:13:15 Commit message: "Merge commit '0c872bbe8febdc0c9add13ac0a600aadf7c89b53' into HEAD" 22:13:15 > git rev-list --no-walk 5f4d982d16408bad46e03cde750422a7ad4473cd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:16 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:16 Dload Upload Total Spent Left Speed 22:13:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62200 0 --:--:-- --:--:-- --:--:-- 62200 [Pipeline] sh 22:13:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:17 + sudo tee /etc/docker/daemon.new 22:13:17 { 22:13:17 "registry-mirrors": [ 22:13:17 "https://nexus3.edgexfoundry.org:10001" 22:13:17 ], 22:13:17 "bip": "10.250.0.254/24", 22:13:17 "hosts": [ 22:13:17 "tcp://0.0.0.0:5555", 22:13:17 "unix:///var/run/docker.sock" 22:13:17 ], 22:13:17 "mtu": 1458, 22:13:17 "selinux-enabled": true, 22:13:17 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:17 } [Pipeline] sh 22:13:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:37 provisioning config files... 22:13:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config1955813570062981225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:37 ---> docker-login.sh 22:13:37 nexus3.edgexfoundry.org:10001 22:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:38 Configure a credential helper to remove this warning. See 22:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:38 22:13:38 Login Succeeded 22:13:38 nexus3.edgexfoundry.org:10002 22:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:38 Configure a credential helper to remove this warning. See 22:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:38 22:13:38 Login Succeeded 22:13:38 nexus3.edgexfoundry.org:10003 22:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:38 Configure a credential helper to remove this warning. See 22:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:38 22:13:38 Login Succeeded 22:13:38 nexus3.edgexfoundry.org:10004 22:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:39 Configure a credential helper to remove this warning. See 22:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:39 22:13:39 Login Succeeded 22:13:39 docker.io 22:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:39 Configure a credential helper to remove this warning. See 22:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:39 22:13:39 Login Succeeded 22:13:39 ---> docker-login.sh ends [Pipeline] } 22:13:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:39 ========================================================= 22:13:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:13:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:40 + 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:13:42 Sending build context to Docker daemon 14.42MB 22:13:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:13:42 Step 2/13 : FROM ${BASE} AS builder 22:13:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:42 c41833b44d91: Pulling fs layer 22:13:42 ed15518f5707: Pulling fs layer 22:13:42 feae8fd75edb: Pulling fs layer 22:13:42 242c74f7c9fa: Pulling fs layer 22:13:42 3cdef696dda3: Pulling fs layer 22:13:42 2ced38df9373: Pulling fs layer 22:13:42 58f1dce35555: Pulling fs layer 22:13:42 3cdef696dda3: Waiting 22:13:42 2ced38df9373: Waiting 22:13:42 58f1dce35555: Waiting 22:13:42 242c74f7c9fa: Waiting 22:13:42 ed15518f5707: Verifying Checksum 22:13:42 ed15518f5707: Download complete 22:13:42 242c74f7c9fa: Verifying Checksum 22:13:42 242c74f7c9fa: Download complete 22:13:42 3cdef696dda3: Verifying Checksum 22:13:42 3cdef696dda3: Download complete 22:13:42 c41833b44d91: Download complete 22:13:43 c41833b44d91: Pull complete 22:13:44 58f1dce35555: Verifying Checksum 22:13:44 58f1dce35555: Download complete 22:13:44 ed15518f5707: Pull complete 22:13:44 feae8fd75edb: Verifying Checksum 22:13:44 feae8fd75edb: Download complete 22:13:45 2ced38df9373: Verifying Checksum 22:13:45 2ced38df9373: Download complete 22:13:57 feae8fd75edb: Pull complete 22:13:57 242c74f7c9fa: Pull complete 22:13:57 3cdef696dda3: Pull complete 22:14:04 2ced38df9373: Pull complete 22:14:06 58f1dce35555: Pull complete 22:14:06 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:14:06 ---> fadd8f120f05 22:14:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:07 ---> Running in 5b07a8129f55 22:14:07 Removing intermediate container 5b07a8129f55 22:14:07 ---> d269f54a9311 22:14:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:08 ---> Running in 9f3b2359b43a 22:14:08 Removing intermediate container 9f3b2359b43a 22:14:08 ---> a3e6feed640f 22:14:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:14:08 ---> Running in 17647954be0a 22:14:08 Removing intermediate container 17647954be0a 22:14:08 ---> 9347d7d35ad3 22:14:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:08 ---> Running in 4bfd129f4a6c 22:14:08 Removing intermediate container 4bfd129f4a6c 22:14:08 ---> 76bc047c60d8 22:14:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:09 ---> Running in 2f5abb939c57 22:14:09 Removing intermediate container 2f5abb939c57 22:14:09 ---> 885d0a5b73ea 22:14:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:09 ---> Running in ed4804e64541 22:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:14:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:14:12 OK: 263 MiB in 53 packages 22:14:13 Removing intermediate container ed4804e64541 22:14:13 ---> dec95f524d18 22:14:13 Step 9/13 : WORKDIR /device-onvif-camera 22:14:13 ---> Running in 3c7df1cd6bc7 22:14:13 Removing intermediate container 3c7df1cd6bc7 22:14:13 ---> 8deb07567983 22:14:13 Step 10/13 : COPY go.mod vendor* ./ 22:14:13 ---> 223c7cdc7870 22:14:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:13 ---> Running in 63db9c82c3ce 22:15:21 Removing intermediate container 63db9c82c3ce 22:15:21 ---> a854f6c3bcdc 22:15:21 Step 12/13 : COPY . . 22:15:21 ---> eac9585633ea 22:15:21 Step 13/13 : RUN ${MAKE} 22:15:21 ---> Running in cdc16bf67cc8 22:15:21 noop 22:15:21 Removing intermediate container cdc16bf67cc8 22:15:21 ---> 6a748261232a 22:15:21 Successfully built 6a748261232a 22:15:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:22 + docker inspect -f . ci-base-image-arm64 22:15:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:22 prd-ubuntu20.04-docker-arm64-4c-16g-17577 does not seem to be running inside a container 22:15:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:23 $ docker top afd59621950daa2400bf36b91acbfaffdbf81208b7f532ab922398e819b42276 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:24 + go version 22:15:24 go version go1.20.2 linux/arm64 [Pipeline] } 22:15:24 $ docker stop --time=1 afd59621950daa2400bf36b91acbfaffdbf81208b7f532ab922398e819b42276 22:15:25 $ docker rm -f --volumes afd59621950daa2400bf36b91acbfaffdbf81208b7f532ab922398e819b42276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:26 + docker inspect -f . ci-base-image-arm64 22:15:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:26 prd-ubuntu20.04-docker-arm64-4c-16g-17577 does not seem to be running inside a container 22:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:27 $ docker top 7001c2efd60201716de2da218a2a477c30b3b752e5423502b9a9dfdafa106cb4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:15:28 + make test 22:15:28 go test ./... -coverprofile=coverage.out ./... 22:16:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.336s coverage: 31.4% of statements 22:18:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.747s coverage: 86.5% of statements 22:18:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:18:25 go vet ./... 22:18:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:52 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:52 $ docker stop --time=1 7001c2efd60201716de2da218a2a477c30b3b752e5423502b9a9dfdafa106cb4 22:18:54 $ docker rm -f --volumes 7001c2efd60201716de2da218a2a477c30b3b752e5423502b9a9dfdafa106cb4 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:55 Warning: overwriting stash ‘coverage-report’ 22:18:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:56 + ls -al . 22:18:56 total 236 22:18:56 drwxrwxr-x 9 jenkins jenkins 4096 May 31 22:15 . 22:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:13 .. 22:18:56 drwxrwxr-x 8 jenkins jenkins 4096 May 31 22:13 .git 22:18:56 drwxrwxr-x 3 jenkins jenkins 4096 May 31 22:13 .github 22:18:56 -rw-rw-r-- 1 jenkins jenkins 496 May 31 22:13 .gitignore 22:18:56 -rw-rw-r-- 1 jenkins jenkins 42 May 31 22:13 .golangci.yml 22:18:56 -rw-rw-r-- 1 jenkins jenkins 10087 May 31 22:13 Attribution.txt 22:18:56 -rw-rw-r-- 1 jenkins jenkins 15932 May 31 22:13 CHANGELOG.md 22:18:56 -rw-rw-r-- 1 jenkins jenkins 1574 May 31 22:13 Dockerfile 22:18:56 -rw-rw-r-- 1 jenkins jenkins 677 May 31 22:13 GOVERNANCE.md 22:18:56 -rw-rw-r-- 1 jenkins jenkins 739 May 31 22:13 Jenkinsfile 22:18:56 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 22:13 LICENSE 22:18:56 -rw-rw-r-- 1 jenkins jenkins 2751 May 31 22:13 Makefile 22:18:56 -rw-rw-r-- 1 jenkins jenkins 625 May 31 22:13 OWNERS.md 22:18:56 -rw-rw-r-- 1 jenkins jenkins 2690 May 31 22:13 README.md 22:18:56 -rw-rw-r-- 1 jenkins jenkins 5 May 31 22:11 VERSION 22:18:56 drwxrwxr-x 2 jenkins jenkins 4096 May 31 22:13 bin 22:18:56 drwxrwxr-x 3 jenkins jenkins 4096 May 31 22:13 cmd 22:18:56 -rw-r--r-- 1 jenkins jenkins 78459 May 31 22:18 coverage.out 22:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:13 doc 22:18:56 -rw-rw-r-- 1 jenkins jenkins 3594 May 31 22:13 go.mod 22:18:56 -rw-rw-r-- 1 jenkins jenkins 33485 May 31 22:13 go.sum 22:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:13 internal 22:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 22:13 snap 22:18:56 -rw-rw-r-- 1 jenkins jenkins 236 May 31 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:57 + 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=7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb --label arch=arm64 --label version=0.0.0 . 22:18:57 Sending build context to Docker daemon 14.5MB 22:18:57 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:18:57 Step 2/26 : FROM ${BASE} AS builder 22:18:57 ---> 6a748261232a 22:18:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:57 ---> Running in 9e9088137b32 22:18:57 Removing intermediate container 9e9088137b32 22:18:57 ---> 3c6bbd77ec83 22:18:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:57 ---> Running in 04fe37aa1ecc 22:18:58 Removing intermediate container 04fe37aa1ecc 22:18:58 ---> 2826700dfcb5 22:18:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:18:58 ---> Running in c2a20b91deb0 22:18:58 Removing intermediate container c2a20b91deb0 22:18:58 ---> 57126a1f6bd7 22:18:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:18:58 ---> Running in b8b4a9c62aa1 22:18:59 Removing intermediate container b8b4a9c62aa1 22:18:59 ---> c840c51d27c9 22:18:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:18:59 ---> Running in ac3088a1a453 22:18:59 Removing intermediate container ac3088a1a453 22:18:59 ---> 483800d0b114 22:18:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:59 ---> Running in 47d887b92417 22:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:01 OK: 263 MiB in 53 packages 22:19:02 Removing intermediate container 47d887b92417 22:19:02 ---> d7a61c094f30 22:19:02 Step 9/26 : WORKDIR /device-onvif-camera 22:19:02 ---> Running in a7c3889e0dd4 22:19:02 Removing intermediate container a7c3889e0dd4 22:19:02 ---> 9210a514088a 22:19:02 Step 10/26 : COPY go.mod vendor* ./ 22:19:03 ---> 9ed9a624e090 22:19:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:03 ---> Running in 654f3db1b230 22:19:06 Removing intermediate container 654f3db1b230 22:19:06 ---> 361ef166d9ac 22:19:06 Step 12/26 : COPY . . 22:19:07 ---> 3ae9c4b65523 22:19:07 Step 13/26 : RUN ${MAKE} 22:19:07 ---> Running in 00e5351202ca 22:19:08 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:21:15 Removing intermediate container 00e5351202ca 22:21:15 ---> 1efdb76c8436 22:21:15 Step 14/26 : FROM alpine:3.17 22:21:15 3.17: Pulling from library/alpine 22:21:15 c41833b44d91: Already exists 22:21:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:21:15 Status: Downloaded newer image for alpine:3.17 22:21:15 ---> 51e60588ff2c 22:21:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:15 ---> Running in bae832224a8d 22:21:15 Removing intermediate container bae832224a8d 22:21:15 ---> 573eed0fc1d1 22:21:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:21:15 ---> Running in d322cce30736 22:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:16 (1/1) Installing dumb-init (1.2.5-r2) 22:21:16 Executing busybox-1.35.0-r29.trigger 22:21:16 OK: 8 MiB in 16 packages 22:21:17 Removing intermediate container d322cce30736 22:21:17 ---> 387dc36c3cc2 22:21:17 Step 17/26 : WORKDIR / 22:21:17 ---> Running in 32961ecfc68e 22:21:17 Removing intermediate container 32961ecfc68e 22:21:17 ---> 018bb832bae0 22:21:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:21:18 ---> 523055797aea 22:21:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:19 ---> 7172c83eb73a 22:21:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:19 ---> 7d72f740e878 22:21:19 Step 21/26 : EXPOSE 59984 22:21:19 ---> Running in 5d3f83f75db0 22:21:19 Removing intermediate container 5d3f83f75db0 22:21:19 ---> f9e18d4881b2 22:21:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:21:19 ---> Running in 0c9209ead45b 22:21:20 Removing intermediate container 0c9209ead45b 22:21:20 ---> 26c7788c677b 22:21:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:21:20 ---> Running in b1289e39ee24 22:21:20 Removing intermediate container b1289e39ee24 22:21:20 ---> 0b125e3af586 22:21:20 Step 24/26 : LABEL arch=arm64 22:21:20 ---> Running in 91172879ff62 22:21:20 Removing intermediate container 91172879ff62 22:21:20 ---> 551e515cec6e 22:21:20 Step 25/26 : LABEL git_sha=7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb 22:21:20 ---> Running in 458b4cc1a53f 22:21:20 Removing intermediate container 458b4cc1a53f 22:21:20 ---> 458afc982105 22:21:20 Step 26/26 : LABEL version=0.0.0 22:21:21 ---> Running in d6eef4877535 22:21:21 Removing intermediate container d6eef4877535 22:21:21 ---> 6755151c1ac5 22:21:21 [Warning] One or more build-args [ARCH] were not consumed 22:21:21 Successfully built 6755151c1ac5 22:21:21 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:21:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:22 22:21:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:22 arm64: Pulling from edgex-lftools-log-publisher 22:21:22 8998bd30e6a1: Pulling fs layer 22:21:22 04944245beec: Pulling fs layer 22:21:22 699f458cf7ca: Pulling fs layer 22:21:22 765212b225bb: Pulling fs layer 22:21:22 f23df028b6ca: Pulling fs layer 22:21:22 d65c8cfc05b1: Pulling fs layer 22:21:22 2437ff75d9bd: Pulling fs layer 22:21:22 f23df028b6ca: Waiting 22:21:22 d65c8cfc05b1: Waiting 22:21:22 2437ff75d9bd: Waiting 22:21:22 765212b225bb: Waiting 22:21:22 04944245beec: Verifying Checksum 22:21:22 04944245beec: Download complete 22:21:22 765212b225bb: Verifying Checksum 22:21:22 765212b225bb: Download complete 22:21:22 f23df028b6ca: Verifying Checksum 22:21:22 f23df028b6ca: Download complete 22:21:22 d65c8cfc05b1: Verifying Checksum 22:21:22 d65c8cfc05b1: Download complete 22:21:22 699f458cf7ca: Verifying Checksum 22:21:22 699f458cf7ca: Download complete 22:21:23 8998bd30e6a1: Verifying Checksum 22:21:23 8998bd30e6a1: Download complete 22:21:25 2437ff75d9bd: Verifying Checksum 22:21:25 2437ff75d9bd: Download complete 22:21:27 8998bd30e6a1: Pull complete 22:21:27 04944245beec: Pull complete 22:21:28 699f458cf7ca: Pull complete 22:21:28 765212b225bb: Pull complete 22:21:29 f23df028b6ca: Pull complete 22:21:29 d65c8cfc05b1: Pull complete 22:21:44 2437ff75d9bd: Pull complete 22:21:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:44 prd-ubuntu20.04-docker-arm64-4c-16g-17577 does not seem to be running inside a container 22:21:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:21:47 $ docker top e8c41e23ea41c734837beb2de3ed6b1cd24bf934a4d5cede37e2bff71d4760a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:48 ---> job-cost.sh 22:21:48 lf-activate-venv: SKIPPING 22:21:48 INFO: No Stack... 22:21:48 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:49 INFO: Archiving Costs [Pipeline] sh 22:21:49 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:21:49 + cut -d, -f6 [Pipeline] lock 22:21:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] 22:21:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] did not exist. Created. 22:21:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:50 /w/workspace/device-onvif-camera/2@tmp/durable-efcf6277/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:50 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:50 Warning: overwriting stash ‘stack-cost’ 22:21:50 Stashed 1 file(s) [Pipeline] } 22:21:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:50 $ docker stop --time=1 e8c41e23ea41c734837beb2de3ed6b1cd24bf934a4d5cede37e2bff71d4760a3 22:21:52 $ docker rm -f --volumes e8c41e23ea41c734837beb2de3ed6b1cd24bf934a4d5cede37e2bff71d4760a3 [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:21:52 provisioning config files... 22:21:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config16699404725424889126tmp [Pipeline] { [Pipeline] sh 22:21:53 + set +x 22:21:53 + bash -s -- 22:21:53 + curl -s https://codecov.io/bash 22:21:53 22:21:53 _____ _ 22:21:53 / ____| | | 22:21:53 | | ___ __| | ___ ___ _____ __ 22:21:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:21:53 | |___| (_) | (_| | __/ (_| (_) \ V / 22:21:53 \_____\___/ \__,_|\___|\___\___/ \_/ 22:21:53 Bash-1.0.6 22:21:53 22:21:53 22:21:53 ==> git version 2.25.1 found 22:21:53 ==> 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:21:53 Release-Date: 2020-01-08 22:21:53 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:21:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:21:53 ==> Jenkins CI detected. 22:21:53 current dir:  /w/workspace/undry_device-onvif-camera_PR-371 22:21:53 project root: . 22:21:53 --> token set from env 22:21:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:21:53 ==> Running gcov in . (disable via -X gcov) 22:21:53 ==> Python coveragepy not found 22:21:53 ==> Searching for coverage reports in: 22:21:53 + . 22:21:53 -> Found 1 reports 22:21:53 ==> Detecting git/mercurial file structure 22:21:53 ==> Reading reports 22:21:53 + ./coverage.out bytes=78459 22:21:53 ==> Appending adjustments 22:21:53 https://docs.codecov.io/docs/fixing-reports 22:21:53 + Found adjustments 22:21:53 ==> Gzipping contents 22:21:53 12K /tmp/codecov.MFGQvT.gz 22:21:53 ==> Uploading reports 22:21:53 url: https://codecov.io 22:21:53 query: branch=PR-371&commit=2ab45bca8da2b1d48d30295b6043f07e86d90c50&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-371%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=371&job=&cmd_args= 22:21:53 -> Pinging Codecov 22:21:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-371&commit=2ab45bca8da2b1d48d30295b6043f07e86d90c50&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-371%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=371&job=&cmd_args= 22:21:53 -> Uploading to 22:21:53 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/F29A59C45E3A92E06B3E522C9905F8EF/2ab45bca8da2b1d48d30295b6043f07e86d90c50/ab019d14-e7a5-4033-88c7-c88b713f8c1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T222153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd79cb888c1c961000e909da9c585d2d94a38bdf0ed4f0419bdf1695f7dfc68c 22:21:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:53 Dload Upload Total Spent Left Speed 22:21:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 42059 --:--:-- --:--:-- --:--:-- 42228 22:21:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2ab45bca8da2b1d48d30295b6043f07e86d90c50 [Pipeline] } 22:21:53 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:21:54 + [ -d /w/workspace/undry_device-onvif-camera_PR-371/archives ] 22:21:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-371/archives 22:21:54 total 16 22:21:54 drwxr-xr-x 3 root root 4096 May 31 22:13 . 22:21:54 drwxrwxr-x 11 jenkins jenkins 4096 May 31 22:13 .. 22:21:54 drwxr-xr-x 2 root root 4096 May 31 22:13 cost 22:21:54 -rw-r--r-- 1 root root 91 May 31 22:13 cost.csv 22:21:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-371/archives 22:21:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-371/archives 22:21:54 total 16 22:21:54 drwxr-xr-x 3 jenkins jenkins 4096 May 31 22:13 . 22:21:54 drwxrwxr-x 11 jenkins jenkins 4096 May 31 22:13 .. 22:21:54 drwxr-xr-x 2 jenkins jenkins 4096 May 31 22:13 cost 22:21:54 -rw-r--r-- 1 jenkins jenkins 91 May 31 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> package-listing.sh 22:21:55 ++ facter osfamily 22:21:55 ++ tr '[:upper:]' '[:lower:]' 22:21:56 + OS_FAMILY=debian 22:21:56 + workspace=/w/workspace/undry_device-onvif-camera_PR-371 22:21:56 + START_PACKAGES=/tmp/packages_start.txt 22:21:56 + END_PACKAGES=/tmp/packages_end.txt 22:21:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:56 + PACKAGES=/tmp/packages_start.txt 22:21:56 + '[' /w/workspace/undry_device-onvif-camera_PR-371 ']' 22:21:56 + PACKAGES=/tmp/packages_end.txt 22:21:56 + case "${OS_FAMILY}" in 22:21:56 + dpkg -l 22:21:56 + grep '^ii' 22:21:56 + '[' -f /tmp/packages_start.txt ']' 22:21:56 + '[' -f /tmp/packages_end.txt ']' 22:21:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:56 + '[' /w/workspace/undry_device-onvif-camera_PR-371 ']' 22:21:56 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-371/archives/ 22:21:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-371/archives/ [Pipeline] echo 22:21:56 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-371/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:57 prd-ubuntu20.04-docker-8c-8g-17576 does not seem to be running inside a container 22:21:57 $ 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-371/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-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@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:21:57 $ docker top 4d90c21aa54529647d237934919503f23993bd0c7a26f7c024b90c187152b57c -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:57 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:57 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:58 + ls /var/log/sa-host 22:21:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:58 provisioning config files... 22:21:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config17706129537199914021tmp [Pipeline] { [Pipeline] echo 22:21:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:58 ---> create-netrc.sh [Pipeline] } 22:21:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:59 ---> python-tools-install.sh [Pipeline] echo 22:21:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:59 ---> sudo-logs.sh 22:21:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:59 ---> job-cost.sh 22:21:59 lf-activate-venv: SKIPPING 22:21:59 DEBUG: total: 0.2199999988079071 22:21:59 INFO: Retrieving Stack Cost... 22:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:00 INFO: Archiving Costs [Pipeline] echo 22:22:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:22:00 ---> logs-deploy.sh 22:22:00 lf-activate-venv: SKIPPING 22:22:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-371/2 22:22:00 INFO: archiving workspace using pattern(s): 22:22:01 Archives upload complete. 22:22:01 INFO: archiving logs to Nexus